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: 

Finding Program Name

Former Member
0 Kudos

How to find IDOC Program name from IDOC number.

How to findout program running in background when I execute background jobs.

Thanks in advance.

1 ACCEPTED SOLUTION

ferry_lianto
Active Contributor
0 Kudos

Hi,

Are you looking a program to generate an IDoc?

If you are then please go to transaction WE02.

Enter the IDoc number to find the corresponding message type and direction (inbound or outbound). Next go to transaction WE64 to find the corresponding process code (usually function module) of the above message type and direction.

For example, the process code of outbound message type ORDCHG is ME11 (FM IDOC_OUTPUT_ORDCHG).

Regards,

Ferry Lianto

4 REPLIES 4

Former Member
0 Kudos

Hi,

goto SM 37, give job name in next screen click on STEP button on application tool bar, it will show u the program name of background job

ferry_lianto
Active Contributor
0 Kudos

Hi,

Are you looking a program to generate an IDoc?

If you are then please go to transaction WE02.

Enter the IDoc number to find the corresponding message type and direction (inbound or outbound). Next go to transaction WE64 to find the corresponding process code (usually function module) of the above message type and direction.

For example, the process code of outbound message type ORDCHG is ME11 (FM IDOC_OUTPUT_ORDCHG).

Regards,

Ferry Lianto

former_member195698
Active Contributor
0 Kudos

Hi,

From the Idoc get the details of the message type and the idoc type (WE02) and the Partner . From the partner get the process code. WE20

Goto WE41 for Outbound Process Code - It contains the association of the Process code and the Function Module. (Creating the idoc)

Goto WE42 for Inbound Process Code - It contains the association of the Process Code and the Function Module. (Processing the Idoc)

In BD57 you will get the association of the FM with Message and basic type.

If the Idoc is created through a report then you have to see the where used list for the FM -- MASTER_IDOC_DISTRIBUTE..... Or You can search for the Idoc type name using the Program RPR_ABAP_SOURCE_SCAN ( it will search for all the programs which have the Idoc type string )

Regards,

Abhishek

Former Member
0 Kudos

THANKS GUYS.