cancel
Showing results for 
Search instead for 
Did you mean: 

Delivery Completion Indicator PO item - MM_PUR_S4_PO_MODIFY_ITEM

darshanv23
Explorer
0 Kudos
239

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

 

View Entire Topic
jagoda_drwiega
Explorer
0 Kudos

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

    Note

    PURCHASINGINFORECORDUPDATECODE is an optional parameter and the available values are:

    FixedShort Description

     

    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

Note

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.

https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/af9ef57f504840d2b81be8667206d485/4a3cd87985414d2c97f...

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

darshanv23
Explorer
0 Kudos
Hi Jagoda,
darshanv23
Explorer
0 Kudos
Hi Jagoda, Thank you for the reply, actually i want to mark the delivery completion indicator for movement type 102
jagoda_drwiega
Explorer
0 Kudos
Hello, setting Delivery Completition Indicator while movement type 102 doesn't seem to be standard behaviour, so this BAdI might not be able to cover your requirements. Have you tried using custom fields? https://help.sap.com/docs/ABAP_PLATFORM_NEW/b5670aaaa2364a29935f40b16499972d/57909455bf7c4fdd8bcf48d...
darshanv23
Explorer
0 Kudos
Hi Jagoda,
darshanv23
Explorer
0 Kudos
Hi Jagoda, How would custom field help me in achieving my requirement, does any kind of mapping required inorder to achieve this
darshanv23
Explorer
0 Kudos
Hi Folks, any one could support me here the above solution is not feasible for my case