BAPI for material storage location Add

 We can add material storage location plant wise using third party app or web. BAPI names : BAPI_MATERIAL_MAINTAINDATA_RT Import parameters: HEADDATA: Material Tables: STORAGELOCATIONDATA: Material: Plant: STGE_LOC:   STORAGELOCATIONDATAX: Material: Plant: STGE_LOC:   use below code after completing steps. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.        

BAPI to Change STO PO/ PO Delivery date in SAP

 In SAP, a BAPI (Business Application Programming Interface) serves as a standardized method to allow external applications or custom code to access and interact with data and processes within SAP business objects, essentially providing a way to "call" specific business functions within the SAP system from outside applications, ensuring data integrity and proper business logic execution through a defined interface.

Function:
BAPIs enable external applications to read, create, update, or delete data within SAP by interacting with the underlying business object model.


Implementation:
BAPIs are implemented as function modules in the SAP system, which can be called remotely using the Remote Function Call (RFC) protocol.
Business Object Repository (BOR):
BAPIs are defined as methods of SAP Business Object Types, which are stored and managed within the BOR. 


Benefits:

    Standardized Access: Provides a consistent way for external applications to interact with SAP functionalities.

Data Integrity: Ensures data validation and authorization checks are performed when accessing SAP data through BAPIs.
Integration Flexibility: Allows for seamless integration with non-SAP systems by providing a defined interface.

Example:

Need to change STO PO/ PO delivery date to merge multiple STO in a single delivery.

From SAP we can change it by me22n but need to change it through third party application.

So we use BAPI to complete the process. Here the BAPI is ' BAPI_PO_CHANGE '  . We need to provide few fields value to complete the task.

Import Parameter: 

PurchaseOrder: provide PO/STO Number


From Tables : 

 Provide values for marked line:

 


 

Press Execute button.

Comments

Popular posts from this blog

New commodity code create in SAP S/4 Hana

Convert First character to Upper case in SAP ABAP