on 2023 Oct 18 8:56 AM
Hi Experts,
I am trying to map a custom money field from PurchaseOrderChangeExportRequest to ARBCIG_BAPI_PO_CHANGE.
We have a custom field under <ERPOrder_ChangePurchOrdLineDet_Item><item><LineItems><item><custom>
Mapping conditions are as follows
This mapping works well for original line items in the PO. e.g. changing the unit price or applying a discount would reflect the correct NET_PRICE. If however we made a PO change and added a new line item number, the NET_PRICE for the added line item number would be equal to "0.0000", while all the other original line items would reflect the correct NET_PRICE.
I tried to make use of Target Value Variable to handle loops, but what happens is that the NET_PRICE for all the line items would default to the standard mapping, and not to this custom money field. For reference this is how I defined the condition using target value.
Appreciate any help or pointers that you can offer on how to resolve this.
Last point, in the source payload from ariba, the added line items are added after the taxes, discounts & charges from the original line items. If I rearrange the sequence such that the added line item numbers immediately follows the original line items, the mapping result correctly indicates the NET_RPICE for all line items (including the newly added line item)
Thanks.
Request clarification before answering.
User | Count |
---|---|
63 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.