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

testing User Exit ZXEDFU02

Former Member
0 Likes
1,847

Hi!

I have made some modifications in User Exit ZXEDFU02, if to be more precise I have populated some more lines in segments of Idoc of Invoice List.

And now I want to test it.

The thing is that I do not know SAP SD, because I'm ABAP programmer and do not know how to check if my Invoice List changed after changing User Exit ZXEDFU02... any ideas?

Help will be rewarded,

Mindaugas

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,231

Hi,

Please go to transaction WE02/WE05 and search an IDoc number with the following criteria search and execute.


Created on     --> 01.01.2007 to 11.06.2007

Direction      --> 1 (Outbound)

Current Status --> 03

Basic Type     --> INVOIC02

The system will show list of IDoc(s). Then you select one IDoc and go to transaction WE19 and enter existing IDoc with the above selected IDoc and click on execute button. Next enter '/h' in command field, press enter and click on standard outbound processing. System will take you to ABAP debug mode. Then go to menu: Breakpoints -> Breakpoint at -> Function Module -> EXIT_SAPLVEDF_002. Then click on Run button (F8) ... and system will stop at the above user exits. From here you can debug through your codes.

Regards,

Ferry Lianto

3 REPLIES 3
Read only

Former Member
0 Likes
1,231

HI Mindaugas ,

Yo test it, you can use the transaction WE19.

Depending on whether this IDOC is an inbound or outbound, you can use the buttons on the application tool bar to trigger inbund or outbound processing.

I think it will be an Inbound scenario for your case.

This will create an Invoice which you can see in the transaction VF03 or the table VBRK.

Regards,

Ravi

Read only

Former Member
0 Likes
1,232

Hi,

Please go to transaction WE02/WE05 and search an IDoc number with the following criteria search and execute.


Created on     --> 01.01.2007 to 11.06.2007

Direction      --> 1 (Outbound)

Current Status --> 03

Basic Type     --> INVOIC02

The system will show list of IDoc(s). Then you select one IDoc and go to transaction WE19 and enter existing IDoc with the above selected IDoc and click on execute button. Next enter '/h' in command field, press enter and click on standard outbound processing. System will take you to ABAP debug mode. Then go to menu: Breakpoints -> Breakpoint at -> Function Module -> EXIT_SAPLVEDF_002. Then click on Run button (F8) ... and system will stop at the above user exits. From here you can debug through your codes.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
1,231

Take the idoc number in WE02 or WE05 Transaction based on message type .

Now keep the break point at your exit ,

now goto WE19 Transaction -> enter idoc number -> here click on inbound function module -> select check box call in debugging