Skip to Content
author's profile photo Former Member
Former Member

PERFORM Statement is not getting called

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Nov 24, 2011 at 11:07 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.