Posts

Showing posts with the label Selection Screen Parameter in SAP ABAP

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

Selection Screen Parameter in SAP ABAP

Image
How to add an input field in selection screen & using parameters : In Selection screen we can use Parameter for create a new selection screen. Syntax like: PARAMETERS : <FieldName> TYPE < Table -Field >.   PARAMETERS :  matnr  TYPE  makt - matnr .   Similarly using OBLIGATORY we can create a mandatory field.   PARAMETERS :  matnr  TYPE  makt - matnr oblicatory.   When we need to create a multiple range for input option then we use below syntax: SELECT-OPTIONS :  s_FieldName FOR <Table-Field> .   SELECT-OPTIONS :  s_matnr  FOR  makt - matnr .     Checkbox: For create a checkbox we used below syntax: Parameter: P_Field as checkbox.   Radio Button: Syntax is: PARAMETER: P_BUTTON AS RADIOBUTTON  GROUP xyz.