Skip to Content

Accessing variable across User Exit (i.e. across function pools)

Hi,

I have writen a user exit for MB31 transaction. Which uses following function modules...

EXIT_SAPLIPW1_001

EXIT_SAPLIPW1_004

EXIT_SAPLIE01_005

EXIT_SAPMM07M_001

First three functions belongs to XQSM function group and last function fuction belong to XMBC function group.

I have two top includes, ZXQSMTOP for first 3 and

ZXMBCTOP for the last one.

I am not able to access the variables declared in ZXMBCTOP in the first 3 functions...

(I am using EXIT_SAPMM07M_001 only to get the posting date.)

How to do it?

Advance thanks.

Regards,

Balaji Viswanath.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2005 at 06:42 AM

    Hi,

    there are several ways to achieve this.

    a) export the variables to a parameter using set/get parameter

    b) export the variables to a memory using export/import to/from memory

    c) create your own fm and pass the values to the fm, post it to the global memory of your fm and in the other exits, get from the global memory of your fm.

    Hope this helps

    regards

    Siggi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 18, 2005 at 10:42 PM

    Sorry accidentally entered.

    Message was edited by: Srinivas Adavi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 24, 2005 at 01:24 PM

    Thanks Siegfried Szameitat. Using GET & SET Parameter I was able to do it. I have awarded you the points.

    Regards,

    Balaji Viswanath.

    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.