Application Development and Automation 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: 
Read only

User exit to modify the segment E1IDB02 data

Former Member
0 Likes
2,705

Hi SAP Experts,

I have a requirement to change the data in the segment E1IDB02 field FIIKONTO before generating the IDOC.

I'm using the transaction code F110 for payment and the program in payment run transaction is RFF0EDI1, message type PAYEXT and the Basic Idoc type PEXR2002.

I have tried the user exit 'EXIT_SAPLIEDP_002' to modify the data, but it is not triggering that user exit I guess, even tried by putting 'BREAK-POINT' as well but still it is not stopping the control at that particular point.

This is for outbound idoc creation.

note : I have activated everything like project, function module etc.

Please kindly let me know whether I am using the correct user exit or not and if not please kindly provide me the correct user exit.

Thanks in advance.

kalikonda.

12 REPLIES 12
Read only

Pawan_Kesari
Active Contributor
0 Likes
1,843

In program SAPLIEDP search CALL CUSTOMER-FUNCTION '002' and put break point there. In debug mode check if statement CALL CUSTOMER-FUNCTION '002' is executed.

If this statment doesn;t execute then this is not the right user-exit..

If this statement executes but FM 'EXIT_SAPLIEDP_002' is not called then .. there is problem in your CMOD definition.

Read only

0 Likes
1,843

Hi Pawan,

Thanks for your prompt reply.

I tried all ways as you told but still it is not stopping.

Also implemented the sap note 937966 (RFFOEDI1: User exits EXIT_SAPLIEDP_002 and PEXR2002)

but still no result.

Is there any other way where I can modify the data in the segment E1IDB02?

Thanks,

kalikonda.

Read only

0 Likes
1,843

which function module is used to process your idoc?

Edited by: Pawan Kesari on Apr 2, 2009 8:33 PM

Read only

0 Likes
1,843

Hi Pawan,

The IDOC is generated automatically when I use the transaction F110 in which I have mentioned the program name as RFFOEDI1.

And I dont know which function module you are talking about ?

please clarify it.

Thanks,

Kalikonda.

.

Read only

0 Likes
1,843

How are you debugging? Are you running transactio F110 or executing the program RFFOEDI1?

Usually idocs are processed by respective function module. If you know the function module then you can start debugging from there to check why exit is not being called.

How did you defined enhancement and project in CMOD and SMOD?

Read only

0 Likes
1,843

Pawan,

I am running the transaction F110 and not the program RFFOEDI1.

Thanks,

Kalikonda.

Read only

0 Likes
1,843

I think that explain why program is not stopping at your break-point...

F110 call program RFFOEDI1 in background... run program RFFOEDI1 directly from SE38. use the variant specified in F110.

Read only

0 Likes
1,843

Hi Pawan,

Actually I was using the incorrect user exit, but later I found the correct one and solved my problem.

Thanks for your time and help.

Awarding points.

Regards,

Kalikonda.

Read only

0 Likes
1,843

Which one was the correct user exit?

Read only

Former Member
0 Likes
1,843

Hi ,

checek this FM--EXIT_SAPLIEDP_902

and check the include--ZXF08U06

Regds/Prabhudas

Read only

giri-san
Discoverer
0 Likes
1,843

Hi, could you please share the correct user exit. It is needed for my requirement.

Read only

moshenaveh
Community Manager
Community Manager
0 Likes
1,843
Hello, While we're happy that you've come to SAP Community to get an answer to your question, you posted your question as an comment in an old thread.

If you're looking for help, you should ask a new question: https://answers.sap.com/questions/ask.html.
Here are some tips to help you craft an effective question for our community: https://community.sap.com/resources/questions-and-answers, https://developers.sap.com/tutorials/community-qa.html, https://groups.community.sap.com/t5/welcome-corner-discussions/advice-from-sap-champions-questions-a....
I encourage you to follow this guidance, as I'd really like to see you get a solution to your problem.
I hope you find this advice useful!