cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PO 7.5 map field in source field A or B to 1 target field unbounded

vba001
Discoverer
0 Kudos

Dear Experts.

Please assist with a mapping issue.If a purchase order has a single account assignment the values are shown in source node account->segment-1 to 7 highlighted in green .(1 per purchase order line item) If a purchase order has multiple account assignments the values are shown in source account-allocations-account->segment-1 to 7. (2 or more per purchase order line item)

For the multiple account assignment test the 2nd value in account-allocation-account-segment-5 does not show in target field account.

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

amysh95
Participant
0 Kudos

Hello,

create a simple solution for account & account_allocations.

Step-1 --> just create one duplicate subtree at your receiver side for "Accounts". (right click on Accounts and click duplicate subtree)

first, map with your "account" single account assignment and map your subtree with "account_allocations".

For the first account mapping do as below:

account --> exists --> create if --> Accounts

segment-5 --> mapWithDefault --> CostCentre

For the first account_allocations mapping do as below:

account_allocations --> exists --> create If --> Accounts

segment-5 --> mapWithDefault --> CostCentre

Do not use any split by value remove context here.

It will resolve your issue.

but you need to do the mapping for Accounts remaining fiedlagain for subtree.

Thanks

Answers (2)

Answers (2)

vba001
Discoverer
0 Kudos

Thank you Harish.

I had tried that but it didnt work.The display queue for the IF statement only returned 1 value.I changed the context and moved the segment 5 around and that worked.

Harish
Active Contributor
0 Kudos

Hi Vanessa,

Please add split by value before cost centre (after if else).

regards,

Harish