0% found this document useful (0 votes)
209 views1 page

Triggering IDOC Error Workflow With Custom Business Object

To trigger an IDOC error workflow for message types without a Business Object, one must: 1) create a custom Business Object with type IDOCAPPL; 2) create a standard task using the new Business Object; 3) bind the task to trigger on a PFTC event; and 4) add the task to an organization plan. Additionally, to handle errors through event triggering, one must: create a BOR object type, define its key fields and events, generate the BOR, and release it.

Uploaded by

Selva Selva
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
209 views1 page

Triggering IDOC Error Workflow With Custom Business Object

To trigger an IDOC error workflow for message types without a Business Object, one must: 1) create a custom Business Object with type IDOCAPPL; 2) create a standard task using the new Business Object; 3) bind the task to trigger on a PFTC event; and 4) add the task to an organization plan. Additionally, to handle errors through event triggering, one must: create a BOR object type, define its key fields and events, generate the BOR, and release it.

Uploaded by

Selva Selva
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Triggering IDOC Error Workflow with Custom Business Object

There are some message types for which there are no Business Objects available, e.g. IDOCDEBMAS
for DEBMAS but there is none for BATMAS. To trigger an error workflow following steps need to be done.

Create a custom Business Object with Super Type IDOCAPPL.

Create a Standard Task; use the above BO in it.

Bind the task with event (PFTC).

Add the task in Org Plan.

Create a custom process code using BO in Step1.

Error Handling Through Triggering the Event in Process Code


The error handling will be done through the event triggering and for that an event needs to be created in
the BOR object type.
Go to the transaction SWO1. Enter the name in the Object Interface type and click the button CREATE to
create the BOR object Type.
Create the Key fields for the BOR object Type.
Click on Key Fields and Click on create button for creating the Key fields.
Click on Events and click on Create button for creating the events. Click on parameters for creating the
parameters of the event.
After finally creating the BOR object click on Generate button for generating the BOR and after that
change the status of the BOR object to Released.
Create button for creating event or Key fields
Parameters button for setting the parameters of Method or Event
SAP DEVELOPER

You might also like