‎2007 Feb 09 8:31 PM
Hi :
How can i execute an INCLUDE in MV45AFZZ.
I updated userexit_save_document_prepare , im unable to execute it since this is an INCLUDE.
How can i debug and execute it so that i can c the output of my updation.
Thx
Raghu
‎2007 Feb 10 4:23 PM
Hi,
Put a breakpoint at the place in the include from where you want to debug and execute the transaction VA01 or VA02 . You control will stop at the place where the debug point has been placed when you save the sales order.
Regards,
Sowmya
‎2007 Feb 09 8:34 PM
Hi,
You can code something like this in userexit_save_document_prepare.
BREAK <sy-uname>. <---- Your user ID.
When you are saving the document, it will stop at this exits.
Regards,
Ferry Lianto
‎2007 Feb 09 8:35 PM
put a break point and run your tcode. you shud be able to test it.
‎2007 Feb 09 9:12 PM
put break-point
or break <username>
execute your tcode and pass values to the mandatory fields then the abap debugger will trigger.
regards
sarathbaabu
‎2007 Feb 10 1:53 PM
routine is part of sales order. so create or change sales order and this routine will be called.
‎2007 Feb 10 2:01 PM
Put a break point in the include of the code .
make the project active .
now u need to either do a VA01 transaction / or VA02 with the option on hand and check the same if hte user exit is getting triggerred .
u cannot execute it independently as it is triggered with the transaction of the sales order .
regards,
vijay
‎2007 Feb 10 4:23 PM
Hi,
Put a breakpoint at the place in the include from where you want to debug and execute the transaction VA01 or VA02 . You control will stop at the place where the debug point has been placed when you save the sales order.
Regards,
Sowmya
‎2007 Feb 10 5:44 PM
Raghu,
if you want to test your changes, create a small test program with an external PERFORM <your exit> IN PROGRAM MV45AFZZ. But then you must puin some data in debugger.
Regards,
Clemens
P.S. Was this your question?