Ansicht
Dokumentation

MM_PUR_S4_PO_MOD_ITE - BAdI: Modify Purchase Order Item

MM_PUR_S4_PO_MOD_ITE - BAdI: Modify Purchase Order Item

ROGBILLS - Synchronize billing plans   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

You use this BAdI to modify values of custom fields as well as to make changes to the fields listed below.
This BAdI is primarily intended to be used in the apps Custom Fields and Custom Logic.

In SAP S/4HANA (on-premise), in SE18/SE19, you have the more powerful BAdI Enhancements for Purchase Order Processing: Customer (ME:PROCESS_PO_CUST) at your disposal.

With this BAdI you can use the optional importing parameter: PURCHASEORDERITEM_OLD
Note: This parameter contains the item data of the previous roundtrip, for example, the data before the last change was done.

Using the BAdI you can change the following fields

Fieldname on the User Interface Technical Name
Tax on Sales/Purchases Code TAXCODE
Tax Reporting Country/Region TAXCOUNTRY
Incoterms (Part 1) INCOTERMSCLASSIFICATION
Incoterms (Part2) INCOTERMSTRANSFERLOCATION
Incoterms Location 1 INCOTERMSLOCATION1
Incoterms Location 2 INCOTERMSLOCATION2
Indicator: Update Info Record PURCHASINGINFORECORDUPDATECODE
The indicator Update Info Record is an optional parameter and the available values are:
Fixed Short 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)

Note: Use the technical name of the fields for the BAdI implementation. Ensure that you do not delete standard fields unless you want to delete them. Note that SAP may add new fields so do not use statements that change the overall structure.

Using the BAdI, you can raise messages by filling the changing parameter table MESSAGES.

C C C

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

C

Modify message:
DATA: ls_message LIKE LINE OF messages.
ls_message-messagetype = 'E'.
ls_message-messagevariable 1 = 'Error from cloud BAdI'.
ls_message-messageid = 'MEPO'.
ls_message-messagenumber = '250'.
APPEND ls_message TO messages.






rdisp/max_wprun_time - Maximum work process run time   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 4058 Date: 20240523 Time: 210610     sap01-206 ( 103 ms )