Skip to Content
0
Dec 22, 2022 at 12:51 PM

Target Node Occurrence are not replicating

165 Views Last edit Dec 26, 2022 at 08:53 AM 4 rev

Dear All SAP Experts

in SAP CPI , I am doing IDoc to XML mapping for bank

on sender side i have structure like this

Idoc

E1IDPU1

E1IDPU5

On receiver side we have structure as

RmtInf

Strd

Rfrd Doc amount

RmtdAmt

@CCY

For each occurrence of E1IDPU1 node where DOCNAME value =INV there should be Strd node generated on receiver side. Then we have additional conditions based on E1IDPU5 node to generate RmtdAmt node

Test Case: in current test case there are 3 E1IDPU1 node where DocName =INR so 3 Strd should get generated and nodes under Strd should also have values.

Here in my case i am able to generate 2 Strd nodes but underneath node get generated for only first value ( not for all 3)

if i display queue on split by value node( just before to target node ) it shows proper 3 values but target node gets generated for first value

image.png

Here attached are few screen shots.

As i read in few blogs that SAP CPI has limitation on function " all values of a queue"

Is this awkward behavior due to this limitation

Please suggest how to achieve this requirement

thanks

Sandeep Sharma1.jpg2.jpg3.jpgmapping-ququeu.jpg

Attachments

1.jpg (110.1 kB)
2.jpg (158.1 kB)
3.jpg (139.7 kB)
mapping-ququeu.jpg (127.0 kB)
image.png (384.1 kB)