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

How to get Header data into multiple times along with the Line Items

Dear All,

I have problem while mapping the Header data and line item data to the flat file structure, Header data have to repeat along with the Line item data in the flatfile.

Details is below.

Example

Header record is one

E1EDK01

E1EDKA1

Line items are two

E1EDP01

E1EDP01

I want in the flat file two records having duplicate data in the fields which is belongs to header data

Like :

Record # partner data Line item data

Record 1 : WE name1 city 00010 materialname1 156

Record 2 : WE name1 city 00020 materialname2 198

( WE name1 city - data is same in the record 1)

For this what I did is I mapped the node E1EDP01 to the flat file message type node then I got all the line item data and first record is with header data but not in the second record.

I tried all node functions but no result because Idoc itself header data exists one record, I am not able to copy.

If any one knows , please give solution.

It is great help to me.

Thanks in Advance.

Ramarao

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Sep 22, 2006 at 03:59 PM

    Hi,

    Use Mappign Built in functions like UseOneAsMany to achieve the same with context change.

    To know more- /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

    /people/william.li/blog/2006/03/21/minimize-memory-usage-during-message-mapping-when-replicating-an-element

    Regards,

    Moorthy

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 23, 2006 at 04:06 PM

    Dear Ramarao,

    This will help you,

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f59730fa-0901-0010-df97-c12f071f7d3b

    No Documentation for Mapping Function useOneAsMany (Mapping Problem)

    /people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool

    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi

    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

    Thanks & Regards

    Agasthuri Doss

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 25, 2006 at 09:31 AM

    Dear Rama Rao,

    This might help you,

    http://help.sap.com/saphelp_nw04/helpdata/en/96/791c42375d5033e10000000a155106/content.htm

    Regards

    Agasthuri Doss

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 25, 2006 at 09:51 AM

    Dear Rao,

    I hope your problem got resolved,

    Have a cool day.

    Regards

    Agasthuri Doss

    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.