Skip to Content
0
Former Member
Nov 24, 2011 at 09:01 AM

PERFORM Statement is not getting called

171 Views

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 &REGUH-VBLNR&

USING &REGUH-RBETR&

USING &REGUP-SKFBT&

USING &REGUD-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