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: 

User Exit for iDocs?

Former Member
0 Kudos

Hi All,

I am working on Version 4.7.

I have been working on Cheque Printing/Payment Advice through the Transaction F110 (Program is RFFOEDI1) after running the Proposals and Payments made.

In the Process an iDoc is generated which is processed through the Transaction WE14 and then printed.

But the Address on the Payment Advice is truncated.

I have checked with the structure of the iDoc generated in the Transaction WE19 and it has all the Address fields with 35 characters only but we require them to be 70 characters long.

Hence, I have tried to extend the Basic iDoc type PEXR2001 with the Message type Payext with all the extended fields for which I will have to use the User Exit.

First of all, what is the procedure of finding the Program name which generated the iDoc?

Secondly, always there are 2 iDocs generated with the message types -


Payext and IDCREF01, hence which one to extend?

Thirdly, what is the best possible way of finding the User-Exit?

And Lastly, if the Basic iDoc type PEXR2001 with the Message type Payext is already extended as ZEXR2001 (which is already Released) how to tie them with the transaction WE82?

1 REPLY 1

Former Member
0 Kudos

Hi Puneet,

> First of all, what is the procedure of finding the

> Program name which generated the iDoc?

in R/3, any Idoc is generated through std FM 'MASTER_IDOC_DISTRIBUTE'.

so put a breakpoint at this FM and run F110. u would come to know from where the IDoc is generated.

then from call trace, u can find whether any user -exit is called or not?

> Thirdly, what is the best possible way of finding the

> User-Exit?

Search in ur program for string ' CALL CUSTOMER-FUNCTION'.