Skip to Content

Idoc creation per record in sap po mapping

Hi Experts,

I have a requirement in mapping to create an idoc per record in the source structure.

Source structure is like this

Root node

Sub node

field (ABC) the subnode

Target structure idoc is like

Root node

Segment

Field in the segment

Field 1 in the source structure is mapped to the field in the idoc. Now is requirement is like for every value of ABC in the source an idoc should be created . How to do it?

Thanks in advance,

Vikas

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

13 Answers

  • Mar 29, 2017 at 02:25 PM

    hello experts,

    Any inputs are highly appreciated.

    Thanks in advance,

    Vikas

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 30, 2017 at 07:33 AM

    Hi Vikas,

    Could you please share the source structure(XML) and IDOC structure (relevant field) ?

    Regards

    Baski

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 31, 2017 at 07:57 AM

    thanks Baski for your help.

    I just changed the occurrence of the target idoc node IDOC to 0.unbounded by exporting ,hard coding and then importing it back.

    Mapped it this way

    Source --map with default--exists--IDOC

    But still only one idoc is being posted for 2 values of the source field, can you please help me with this?

    Thanks in advance,

    Vikas

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 31, 2017 at 08:09 AM

    Hi Vikas!

    Check your Source field output queue. All elements should come in one context.

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 31, 2017 at 09:18 AM

    Thanks Evgeniy for a quick replly.

    There are 2 nodes under this source field is populated but still only one idoc is created.

    Can you please help on this?

    Thanks in advance,

    Vikas

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 31, 2017 at 09:48 AM

    Or the mapping logic or the steps I followed is correct?

    Thanks in advance

    Vikas

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 31, 2017 at 07:19 PM

    Use Remove Context

    Source --map with default--exists--remove context-IDOC

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 01, 2017 at 11:29 AM

    thanks Amit. Let me try this

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 01, 2017 at 04:12 PM

    hello Amit,

    I tried the mapping as per the above logic but it is giving an error

    Values missing in queue context EDI_DC40

    Can you please help me ?

    Thanks in advance,

    Vikas

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 03, 2017 at 06:12 AM

    hello experts,

    Any help please?

    Thanks in advance,

    Vikas

    Add comment
    10|10000 characters needed characters exceeded