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

Mapping Header Detail with Line Item Details

Dear All,

I am working on the scenario in which on creation of Sales Order in ECC will create Purchase Order back in ECC using PI mappings. The PO are getting splitted while creation based on the plants available in the line items ie say there are 6 line items with plants like

Line Item No. Plant

000010 1000

000020 1001

000030 1001

000040 1002

000050 1002

000060 1003

So, in the output total 4 PO Idocs will be created. First Idoc will have one line item with plant 1000, second Idoc will have two line items with plant 1001, third Idoc will have two line items with plant 1002 & fourth Idoc will have only one line item with plant 1003.

I am able to do the mappings upto this stage.

Now, the header data required to create the required output PO is available with me in the line-items of the Sales Order only ie.

Line Item No. Plant Company Code

000010 1000 1000

000020 1001 2000

000030 1001 2000

000040 1002 3000

000050 1002 3000

000060 1003 4000

Now please guide me how to map header details with the line item details as I am getting 6 line items whereas I will be requiring header details for 4 Idocs only.

Regards,

NJ

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2009 at 07:39 AM

    what is the scenario that you try to do?

    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.