cancel
Showing results for 
Search instead for 
Did you mean: 

PERFORM Statement is not getting called

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186052
Active Participant
0 Kudos

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