on 03-06-2012 6:59 AM
Hi Friends,
I am generating the Billing Invoice from the transaction VF02, Now I want to check for the bank detials in the SAP Script
for that I wated to debug the Script.
I have tried 3 ways,
1. Activate debugger in SE71 to the script and execute VF02
2. Kept Break Point in the OPEN_FORM in the driver program and Activate debugger in SE71 and execute VF02
3. In VF02 I have given Biling document Number and before saving gave the /h and saved, in the debugging Menu-Settings-Update Debugging, I have switched on
In all the above three cases the control is not stopped at the SAP Script.
Please look into this and advise me how can I stop control at Script ?
Hi,
You can try this option then -
Use a routine in program.
in sapscript you can have :
/: Define &var1&
/: Perform Get_var in Program Name_program
/:using &var2&
/:changing &var1&
/:ENDPERFORM
And then in the program in this routine i create a endless loop
data: a(1).
data: b(1).
while a = b.
if sy-uname eq 'user'.
break user.
a = '1'.
endif.
ENDWHILE.
Regards,
Harsh Bansal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
Follow this steps.
1.- Go to SE71 and activate the debug.
2.- Go to VF02, put the number of the billing doc without clic ENTER (stay in the same screen) and then on the toolbar to to "Billing Document" and then "Issue Output to" and then clic on Print Preview.
That should work.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
During saving of billing document the script is not triggered. After SAVE goto menu>Billing Document>Issue Output then select the o/p type then the script will be trigered.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Let me explain what I am doing exactly
VF02 - Billing Document then Enter - Menu GOTO - HEADER- OUTPUT - select RD00 - Press 'Repeat Output' Button on the bar
- select that output and - Communication Method on tha bar - change the printer to LOCL - then SAVE
After that we will come back to the VF02 initial screen and with the Info mesage "Billing Document 9000XXX Sved"
Spool has been generated - In SP01 I can see the invoice output.
All this process is in same client.
Please advise me now.
Hi,
May be you have specified Printer thats why it is going to spool.
Set it to LOCL for time being..then you will be able to debug i think.
Regards,
Harsh Bansal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The first method should have worked.
Try activating debugger and then open VF02 again.
Make sure you are doing both these things in same client.
Regards,
Harsh Bansal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.