Posts

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 for Material Stock transfer between storage locations to storage location for same plant Mvt type 311

  BAPI for Material Stock transfer between storage locations to storage location for same plant: BAPI_GOODSMVT_CREATE Input Parameter: GOODSMVT_CODE: 04 GOODSMVT_HEADER: PSTNG_DATE: DOC_DATE:     GOODSMVT_ITEM: MATERIAL:   PLANT: STGE_LOC: From stog_Loc MOVE_TYPE: 311 ENTRY_QNT: ENTRY_UOM: ENTRY_UOM_ISO: MOVE_MAT: MOVE_PLANT: MOVE_STLOC: use below code after completing steps. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

BAPI for Wastage Declaration movement type 551

 Using below BAPI we can complete our task through third party app using API. BAPI_GOODSMVT_CREATE Need to send below parameters value: Input Parameter: GOODSMVT_CODE: 06 GOODSMVT_HEADER: PSTNG_DATE: 12.01.2025 DOC_DATE: 12.01.2025 GOODSMVT_ITEM: MATERIAL:   $Mat PLANT: $Plant STGE_LOC: 0004 MOVE_TYPE: 551 ENTRY_QNT: $Qnt ENTRY_UOM: EA ENTRY_UOM_ISO: EA use below code after completing steps. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

BAPI to Change STO PO/ PO Delivery date in SAP

Image
 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 fun...