2007 Jun 11 8:49 PM
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
2007 Jun 11 9:14 PM
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
2007 Jun 11 8:54 PM
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
2007 Jun 11 9:14 PM
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
2007 Jun 11 9:40 PM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |