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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    author's profile photo
    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 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 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 comment
    10|10000 characters needed characters exceeded