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: 

Hi This is Very Very Urgent................

Former Member
0 Kudos

Hi Guys

I want the below detail.

1-How to find out the customer-function of a paticualr idoc.

2-Is there any function module which will help me to find out the customer-function of a particualr idoc.

Plz help me to solve these issues.

Thanks a Lot

Mrutyunjaya Tripathy

1 ACCEPTED SOLUTION

ferry_lianto
Active Contributor
0 Kudos

Hi Mrutyunjaya,

For inbound processing, you can go to transaction code <b>WE42</b> and find corresponding function module. From this function module, you search where CUSTOMER-FUNCTION is being used in global program. If there is available one or more, the system will display and you can drill down onto.

For outbound processing, this is quite challenging to find out. The easy way is to go transaction <b>SMOD/CMOD</b> and find any user exits for EDI or IDoc processing related.

Please check this links for all user exits available.

http://www.planetsap.com/Userexit_List.htm

http://www.easymarketplace.de/userexit.php

Hope this will help you to start with.

Regards,

Ferry Lianto

3 REPLIES 3

ferry_lianto
Active Contributor
0 Kudos

Hi Mrutyunjaya,

For inbound processing, you can go to transaction code <b>WE42</b> and find corresponding function module. From this function module, you search where CUSTOMER-FUNCTION is being used in global program. If there is available one or more, the system will display and you can drill down onto.

For outbound processing, this is quite challenging to find out. The easy way is to go transaction <b>SMOD/CMOD</b> and find any user exits for EDI or IDoc processing related.

Please check this links for all user exits available.

http://www.planetsap.com/Userexit_List.htm

http://www.easymarketplace.de/userexit.php

Hope this will help you to start with.

Regards,

Ferry Lianto

0 Kudos

Hi

Thanks for your help,but i am writing a report in which if i will enter the messge type then it will return me the appropriate userexit of the particular idocs.

I am having two tables

edifct

vediedifct

From these table i can get the message type and by comparing with the field value i can get the appropriate function module.

Now the question is how to scan the function module which will return me the userexit of that particular function module.

If you have any solution for this than plz help me.

Thanks a Lot

Mrutyunjaya Tripathy

ferry_lianto
Active Contributor
0 Kudos

Hi,

Interesting ... I wish SAP has a standard tool/program to search.

I am not sure you can automate the searching process other than manual process as I explained earlier. Let us know if you are able to do so. Later, you can post to weblogs.

Perhaps you can use/call this programs to search user exits.

<b>RPR_ABAP_SOURCE_SCAN

RSRSCAN1</b>

Good Luck!

Regards,

Ferry Lianto