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: 

How to trigger process code for inbound idoc (No transaction invoved)

Former Member
0 Kudos

Hi friends..

I have to select data from SAP and put it in internal table and then put that data in standard IDOC and standard process that idoc...there is no transaction involved..

its SAP to SAP Posting ie within same client using IDOC.

i have tested in WE19..its OK..

how shud i do coding and triggering of process code.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI

Assuming u have defined a basic type

Procedure

Choose SAP Menu ® Tools ® IDoc Interface/ALE ® Development ® Inbound Processing ® Process Code (WE42), or navigate to Inbound Processing Process Code, then and New Entries.

Enter your process code and a description. Choose the Processing with ALE and Processing by function module options and save your entries.

The maintenance screen is displayed (either automatically or manually), in which you can assign the inbound function module to the process code.

Choose New entries and enter in the detail screen:

Your process code

Module (inbound) frame: Your function module and the maximum number of attempts permitted for posting the application data before exception handling is triggered.

IDoc frame: Your object type, the trigger event inputErrorOccurred and the completing event inputFinished.

Application object frame: Your object type

Leave the other fields blank. Save your entries and return to the process codes inbound initial screen.

Go back using to maintain the inbound process codes and choose the Logical message navigation.

In change mode choose New Entries.

Enter the message type (logical message) and the process code and save your entries. As a result, the possible entries (F4) in the partner profiles can display the possible process codes from the logical message, that is, the business view.

regards

dinesh

1 REPLY 1

Former Member
0 Kudos

HI

Assuming u have defined a basic type

Procedure

Choose SAP Menu ® Tools ® IDoc Interface/ALE ® Development ® Inbound Processing ® Process Code (WE42), or navigate to Inbound Processing Process Code, then and New Entries.

Enter your process code and a description. Choose the Processing with ALE and Processing by function module options and save your entries.

The maintenance screen is displayed (either automatically or manually), in which you can assign the inbound function module to the process code.

Choose New entries and enter in the detail screen:

Your process code

Module (inbound) frame: Your function module and the maximum number of attempts permitted for posting the application data before exception handling is triggered.

IDoc frame: Your object type, the trigger event inputErrorOccurred and the completing event inputFinished.

Application object frame: Your object type

Leave the other fields blank. Save your entries and return to the process codes inbound initial screen.

Go back using to maintain the inbound process codes and choose the Logical message navigation.

In change mode choose New Entries.

Enter the message type (logical message) and the process code and save your entries. As a result, the possible entries (F4) in the partner profiles can display the possible process codes from the logical message, that is, the business view.

regards

dinesh