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

In LSMW, how to assign many source structures to one destination structure?

Here is the image of what I would like to archive: [Maintain Field Mapping and Conversion Rules|]

In the above picture, you can see that there are 2 source structures assigned to one destination structure.

However, in [Maintain Structure Relations|], I can see only one structure assigned to the destination structure

Any suggestion would be appreciated.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jul 22, 2009 at 05:11 AM

    It is possible with SAP XI.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 08, 2009 at 03:36 PM

    Sorry, LSMW does not provide for this. It would probably be too complex to come up with a generic algorithm for generating a conversion program that could handle n:m relations between source and target structures, so 1:n is all you get (you can assign the same source structure to multiple target structures).

    There is a complicated workaround by putting in your own code into the conversion rules, which reads a different internal table holding source data than the one which is currently being looped through.

    You will have to carefully study the generated conversion program to know what to do.


    Hint: check out form routine "convert_transaction" and examine the nested loops.

    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.