10-18-2005 1:27 PM
Hi all,
Please tell me is it possible to give an message in print program for transaction vl02n.
if possible please give me some hint
regards
chandu
10-18-2005 2:44 PM
Hi rich,
The print program we are using is not required,just our requirement is to see a message when we press save button,
thats why we checked that print program is useful for that, but unfortunately it is in update task and also checked with 'update debugging on' but its not stopping at my break point.
please help
regards
chandu.
10-18-2005 1:38 PM
10-18-2005 1:48 PM
hi rich,
in vl02n for ex for outbound type 'YDPD' we are using the
custom print program. when i put a breakpoint in the program and process this transaction vl02n with outbound type 'YDPD' i need to jump direct to the breakpoint where i set without processing all other blocks,if it is possible then we will delete the program(we dont require)
and just put an warning message in the program (requirement).
i hope this clarifies, if u have any doubts just give me a reply.
regards
chandu.
10-18-2005 1:52 PM
So you want to put a warning message in the custom print program? May I ask for what purpose? Anyway put a break point in the custom print program. Execute the VL02n transaction normally and try to get it to execute your print program. If the program stops at your breakpoint, then you know that the print program is being executed "online" or in the same task as the transaction. Then you should be able to put your warning message in the print program. If it doesn't stop at your breakpoint, then it is probably being passed off to the update task, which in this case, you are out of luck.
Regards,
Rich Heilman
10-18-2005 2:02 PM
Hi rich,
Yes you are right.When i put a breakpoint in the program and execute the trans vl02n then its not stopping at breakpoint where i set an its executing normally ,thats why we want to put an error message. so please tell me is there any other way to accomplish this task.
regards
chandu
10-18-2005 2:10 PM
10-18-2005 2:13 PM
If you want to debug your print program, you have to turn on the "Update debugging". First, put a break point in your print program. Now go into VL02n, process the transaction up untill the point of saving, turn on debugging and complete the transaction. Once in the debugger, click Settings, Update Debugging. Now continue to debug till it stops at your breakpoint.
Please remember to award points for helpful answers. Thanks.
Regards,
Rich Heilman
10-18-2005 2:44 PM
Hi rich,
The print program we are using is not required,just our requirement is to see a message when we press save button,
thats why we checked that print program is useful for that, but unfortunately it is in update task and also checked with 'update debugging on' but its not stopping at my break point.
please help
regards
chandu.
10-18-2005 2:50 PM
10-18-2005 2:58 PM
10-18-2005 3:05 PM
Put your message in subroutine USEREXIT_SAVE_DOCUMENT_PREPARE of program MV50AFZ1. This will appear when you press SAVE.
( To change above program you will need an access key if this program is being changed for first time in your system ).
Cheers.
10-18-2005 3:13 PM
10-18-2005 4:58 PM
Thanks alot for your valuable replies
and I awarded points
10-18-2005 6:03 PM