Skip to Content
0

DMEE tree - USTRD data displaying after STRD

Mar 02, 2017 at 04:56 AM

96

avatar image
Former Member

Hello Gurus,

I recently updated the DMEE tree and am facing an issue in getting the right XML output.

The requirement is to publish the invoice reference from XREF1 or invoice number mentioned in XBLNR field if XREF is empty, between <Ustrd> tags for all the invoices processed in that payment, one below the other. Our ABAPER wrote an exit module for this.

Now when I carry out payment run for 2 invoices, I get the reference of first one in the correct location as can be seen in the image, but the second reference comes after the subsequent <Strd> information is displayed. Please suggest what process I should follow to get the desired output as below:

<Ustrd>/INV REF TST1</Ustrd>

<Ustrd>/INV REF TST2</Ustrd>

Thanks a lot in advance.

XML Output: (the two highlighted need to be one below the other)

DMEE structure:

RmtInf:

USTRD:

InvRef:

dmee-1.jpg (61.9 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member Mar 02, 2017 at 05:00 AM
1

Images did not get uploaded earlier so uploading again.


dmee-tree.jpg (13.5 kB)
invref.jpg (30.8 kB)
rmtinf.jpg (27.6 kB)
ustrd.jpg (27.5 kB)
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Mar 03, 2017 at 09:41 PM
0

Hello experts,

Any help on this? Thanks

Share
10 |10000 characters needed characters left characters exceeded