Skip to Content

Global Variable (?)

I have written code in user-exit for MB31.

EXIT_SAPLIPW1_001 and EXIT_SAPLIPW1_008.

EXIT_SAPLIPW1_001 is getting fired first when user clicks "Create Serial Number automatically" button. If this is code is executed I don't want to execute EXIT_SAPLIPW1_008. So now I want to keep some global flag variable (?) and check the status. If the status is updated then I will not execute the code in EXIT_SAPLIPW1_008. If the status is not updated i.e. user has not clicked "Create Serial Number automatically" button then I want to execute EXIT_SAPLIPW1_008.

How to do it?

Advance thanks.

Regards,

Balaji Viswanath.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 06, 2004 at 03:47 PM

    Hi Balaji.

    From the first screen of the exit EXIT_SAPLIPW1_001 goto global data and choose include ZXQSMTOP which will be created the first time you click. Any data defined in this include will be global data, so define a switch here which will be set in EXIT_SAPLIPW1_001. You can then check in exit EXIT_SAPLIPW1_008 if the switch has been set.

    Regards,

    John.

    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.