I want to set you a workflow for one IBOUND idoc coming via edi partner. I want to use the organization units and then assign the user to it. what are the steps required for setting up a new workflow totally from the start for a IDOC / Message type and config.
Thanks in adv
You can try the following steps:
TXN: WE81 - to create message type
WE82 - Assign msg type to Idoc type
WE57 - Assign Function module to message type
WE42 - Define inbound process code
WE20 - Maintain partner profile -> Inbound parameters -> msg type (create) -> supply inbound process code and in process code. attach function module name
SM59 - RFC destination
BD54 - create logical system
Steps to configure Error Processing through Workflow
1) Complete base workflow and ALE configuration.
2) Create one or more organisational units and make task assignments.
3) Activate event linkages
4) Maintain the partner profile notification.
Example scenario for Classification Master error handling
- Inbound function module tells ALE layer that an error has occured.
- ALE triggers objects(e.g IDOCCLFMAS) event inputErrorOccured.
- Objects event is linked with standard task (e.g 40877, Clfmas_ Error_Send).
- Workitem appears in users inbox.
- When user executes workitem,objects method InputForeground is executed.
- When Idoc was successfully processed objects event inputFinished is triggered,which completes workitem.
Can you explain a bit more about these things.
1)Complete base workflow and ALE configuration.
<i>what are the base workflow which is required to be completed and the steps along with the ALE config.</i>
2)Create one or more organizational units and make task assignments.
<i>By task assignments do you mean by standard tasks if there is any or any task which related to particular workflow?</i>
3) Activate event linkages
<i>Please explain what you meant by this</i>
4) Maintain the partner profile notification
<i>Do you mean the person to be notified the field in partner profile</i>
STEP 1. USE SALE -> Error Handling
STEP 2. Go To Basic Workflow Settings.Use Auto-customise button to allow the system to configure most of the options.
a)Go to SAP MENU -> TOOLS-> BUSINESS WORKFLOW ->
DEVELOPMENT ->DEFINITION TOOLS->TASKS
b) Create a customised task putting IDOCCLFMAS for example as object type and INPUTFOREGROUND as object method.
c)Associate the triggring event InputErrorOccurred with the standard task.
d)Associate the terminating event InputFinished with the standard task
e) Assign appropiate agent to the customised task. For this GO TO
Additional data -> Agent assignment -> Maintain
STEP 4 -- Go to transaction WE20.In the partner profile of the message type CLFMAS enter for the post processing permitted agent.Enter the agent type (Organisational unit,Workcenter,Job,Person,Position or User),agentId and the language.
STEP 5- In case of any error in processing of Idoc a workflow notification is sent to concerned agents.The message is sent to the inboxes of concerned persons which indicates which interface has erred,the associated IDOC number ,status of the IDOC and the date and time of error.
Regarding the complete set up you can check the workflow tutorial in help.sap.com.