3 weeks ago
Hi,
I am implementing the cloud BAdI MM_PUR_S4_PO_MODIFY_ITEM to set the Delivery Completion Indicator at the purchase order item level based on certain conditions.
However, I found that the purchaseorderitem parameter is an importing variable and cannot be modified directly.
Could you please suggest how I can achieve this requirement?
ERP: S4HANA Cloud Private Edition, SP: 2
Request clarification before answering.
Hello,
In SAP Help documentation you can find following information:
With this BAdI, you can
Set or change values of custom fields in purchase orders on item level and make changes to the following standard fields:
TAXCODE, TAXCOUNTRY, INCOTERMSCLASSIFICATION, INCOTERMSTRANSFERLOCATION, INCOTERMSLOCATION1, INCOTERMSLOCATION2,SHIPPINGTYPE, PURCHASINGINFORECORDUPDATECODE
PURCHASINGINFORECORDUPDATECODE is an optional parameter and the available values are:
| No update |
A | Update with or without plant |
B | Update with plant (if no plant ban) |
C | Update without plant (if no plant requirement) |
Use the optional importing parameter: PURCHASEORDERITEM_OLD. This parameter contains the item data of the previous roundtrip, for example, the data before the last change was done.
Raise messages by filling the changing parameter table MESSAGES
If neither BAdI Modify Purchase Order Header nor BAdI Modify Purchase Order Item is implemented, the custom fields will be open for input when creating or changing purchase orders and will be in read-only mode when displaying purchase orders.
So parameter PURCHASEORDERITEM is not modifible field in this BAdI.
Could you please specifie the result you want to achive? You need Delivery Completion Indicator to be set at item level after meeting certain requirements?
Regards,
Jagoda Drwiega
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
22 | |
9 | |
8 | |
7 | |
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.