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

Exchange of data between two User-Exits MBCF0002 and MB_CF001

Hi,

I'm using exits MBCF0002 (EXIT_SAPMM07M_001) and MB_CF001 (EXIT_SAPLMBMB_001) for material movements.

In EXIT_SAPLMBMB_001, data is transferred to a subsystem. Some of the data for the subsystem must be provided in the segment-text field sgtxt (no other standard field without checks and enough space). But: In EXIT_SAPMM07M_001, the segment-text is replaced by the material-text (this is needed to make the material visible in the accounting document).

Since both function exits belong to the same function group and share a TOP-Include, I thought, it should be possible to exchange data from EXIT_SAPMM07M_001 to EXIT_SAPLMBMB_001:

Now, EXIT_SAPMM07M_001 builds an internal table (data-declaration in shared top-include) of all lines and their original texts in sgtxt before replacing it with the material text. Unfortunately, this internal table is initial (no entries) again in EXIT_SAPLMBMB_001.

Is the data in the internal table gone because EXIT_SAPLMBMB_001 is called in update task?

Any other advises, how data could be transferred from the first to the second exit?

Thanx for any help, Kathrin!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Apr 27, 2004 at 12:03 PM

    I don't know these users exits, but generally speaking I would try with

    EXPORT obj1 ... objn TO MEMORY. 
    IMPORT obj1 ... objn FROM MEMORY. 

    Incho

    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.