Skip to Content
avatar image
Former Member

How to map XML data into IDOC SDATA field

Hello Experts,

I am trying to send quality data using IDOC_INBOUND_ASYNCHRONOUS from MII to SAP.

My understanding is that I have to convert my XML data into string format and map it to sdata field. While conversion I also need to take care of string length in sap.

In my case, the xml has several segments nested eg:

<?xml version="1.0"?>
<E1NTHDR>
..data..
     <CustomSegment1>
        ...data...
     </CustomSegment1>
     <CustomSegment2>
        ...data...
     </CustomSegment2>
     <E1ORHDR>
      ...data..
     </E1ORHDR>
     <E1ORHDR>
      ...data..
     </E1ORHDR>
     <E1NTTSK>
      ...data..
     </E1NTTSK>
     <CustomSegment3>
        ...data...
     </CustomSegment3>
</E1NTHDR>

Now I am checking on how I can do the mapping for such a nesting and custom segments in MII.

Any help will be appreciated.

Thanks,

Minakshi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers