Posts

Showing posts from May, 2021

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'.        

Parameters in SAP ABAP

 In ABAP Parameters used to declare  Input variable in ABAP reports.Variables are like DATA statements. For every parameters variables are declare and an input box become visible on selection screen. Syntax: Parameters: Para_name type / like Data element or per-define type . Case 01: Type/like to Data Element. Parameters: P_Rock type ZROCK_NAME. Where ZROCK_NAME is DATA ELEMENT. Parameters : P_home like P_Rock.    Case 02: Type / Like to ABAP predefined Data type. Parameters: P_Rock(10)  Type C. Case 03: Reference to ABAP Table, structure or view field. Data: Emp_id(40) type C. Emp_id = 'pa0001-pernr'. Parameters: P_Rock Like (Emp_id).