Skip to Content

Mapping requirement in SAP HCI

Dear Experts,

We have requirement in SAP HCI i.e., we need to generate target node "Date" in receiver XML structure with same number of occurrences as that of E1IDPU1 segment [XPath: /PEXR2002/IDOC/E1IDPU1] in PEXR2002 IDoc type. The values that need to be populated to "Date" node are from DATUM field which is under E1EDK03 [/PEXR2002/IDOC/E1EDK03] segment with IDDAT value = 017 only. Please note that there will be five E1EDK03 segments which will be present in the input IDoc structure triggered to HCI. In short the requirement is firstly filter E1EDK03 segment with IDDAT value = 017 and then populate "Date" field with DATUM field value which is under same E1EDK03 segment [with IDDAT = 017] with same number of times as that of E1IDPU1 segments occurring in input structure. Kindly help to achieve this requirement in SAP HCI either using UDF or message mapping in HCI.

Thanks,

Ramu.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jul 03, 2017 at 05:10 PM

    Hi Experts,

    Kindly help me to achieve this requirement.

    Thanks,

    Ramu.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 05, 2017 at 07:07 PM

    Hi Ramu,

    It would help if you could share screenshots of the source/target structures of the mapping for our community experts to understand the use case your trying achieve better .

    regards,

    Gayathri

    Add comment
    10|10000 characters needed characters exceeded