Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow for INBOUND IDOC

Former Member
0 Kudos

Hi,

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

/Manik

9 REPLIES 9

Former Member
0 Kudos

Hi Manik

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

Cheers

Ashish

Former Member
0 Kudos

Hi Ashish,

What i want to set up is Error Handling workflow for inbound IDOC. already performed the above mentioned steps. My query is related to error handling workflow for indound idoc process not setting up the IDOC or partner profiles

/Manik

0 Kudos

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 object’s(e.g IDOCCLFMAS) event ‘inputErrorOccured’.

- Object’s event is linked with standard task (e.g 40877, Clfmas_ Error_Send).

- Workitem appears in user’s inbox.

- When user executes workitem,object’s method ‘InputForeground’ is executed.

- When Idoc was successfully processed object’s event ‘inputFinished’ is triggered,which completes workitem.

regards

Aveek

0 Kudos

Hi Aveek

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>

/Manik

0 Kudos

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.

STEP 3

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.

regards

Aveek

0 Kudos

Dont forget to reward points for the answers.

regards

Aveek

Former Member
0 Kudos

Hi Raveek,

Reading your posting, there is one question from me :

How to link between Message type (CLFMAS) to Business Object Repository (IDOCCLFMAS) ?

many thanks,

yudie

Former Member
0 Kudos

thanks alot , very detailed explanation