on 2020 Aug 20 12:28 PM
Hi Guys,
I am getting IDoc with two different segments like Delivery change and Delivery Delete from ECC and send those details to 3rd party(Rest adapter). My challenge here, I need to populate both Delivery change and Delete details like shown below Json format. Is there any possibility to get mentioned Json?/ how to map both segments to items node same time?
Two segments:
<E1BPOBDLVITEMCHG>
<DELIV_NUMB>123456
<DELIV_ITEM>01
<DLV_QTY>48.00
<E1BPOBDLVITEMCTRLCHG>
<DELIV_NUMB>789456
<DELIV_ITEM>11
<DEL_ITEM>X
Receiver structure:
<Record>
<DELIVERY>
<Items>
<DELIV_NUMB>
<DELIV_ITEM>
<DLV_QTY>
<DEL_ITEM>
</Items>
</Record>
Expected JSon: In mentioned Json format Record node ignored.
[
{
"DELIVERY": "0082598790",
"Items": [ {
"DELIV_NUMB":"789456"
"DELIV_ITEM": "11",
"DEL_ITEM": "X"
}
{
"DELIV_NUMB":123456
"DELIV_ITEM": "01",
"DLV_QTY": "48.000"
}
]
}
]
Yes, that's how you will get item node. you need to arrange DLV_QTY and DEL_ITEM accordingly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
11 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.