on 11-24-2011 9:01 AM
PERFORM Statement is not getting called in Z-copy of standard SAP script F110_PRENUM_CHCK.
On debugging the code i am not getting any value in all changing parameters.
and when debugger cursor comes to PERFORM statement then on Pressing F5 it goes to next line and ultimate result is
that i don't get any value in generated form.
I had used follwing perform in my script ZF110_PRENUM_CHC which is copy of F110_PRENUM_CHCK.
DEFINE &ZDOCNUM& = &SPACE&
DEFINE &ZDOCNUM2& = &SPACE&
DEFINE &ZAMOUNT_BSAK& = &SPACE&
DEFINE &ZAMOUNT_BSIK& = &SPACE&
DEFINE &ZVNDR_INVREF_BSAK& = &SPACE&
DEFINE &ZVNDR_INVREF_BSAK& = &SPACE&
PERFORM ZFI_PRENUM_GSF IN PROGRAM ZFI_PRENUM
USING ®UH-VBLNR&
USING ®UH-RBETR&
USING ®UP-SKFBT&
USING ®UD-WRBTR&
USING &LFA1-LIFNR&
CHANGING &ZDOCNUM&
CHANGING &ZDOCNUM2&
CHANGING &ZAMOUNT_BSAK&
CHANGING &ZAMOUNT_BSIK&
CHANGING &ZVNDR_INVREF_BSAK&
CHANGING &ZVNDR_INVREF_BSIK&
ENDPERFORM.
PROTECT
&ULINE&
DOCUMENT NUMBER AMOUNT(RS.) VENDOR INVOICE REFERENCE DEDUCTIONS
&ZDOCNUM& &ZAMOUNT_BSAK& &ZVNDR_INVREF_BSAK& &ZDED_AMT&
&ULINE&
Edited by: Ajay84 on Nov 24, 2011 2:32 PM
Hi,
when you are using SAP SCRIPT debugger, on perform statement it doesn't go to the FORM in the program.
The reason is the FORM should be debugged in ABAP debugger.
So put a break point in the FORM which you want to debug and then execute the transaction. That will take you to the form in you r program.
Hope this helps..
Regards,
-Sandeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.