Posts

Showing posts with the label Sort Internal Table

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

Sort Internal Table

Sometimes we need to sort our internal table based on functional requirement. We can sort it like : Ascending , Descending , text or Alphabetically. Syntax like : Sort itab Ascending. or sort itab by field_name  Ascending Sort itab Descending  or sort itab by field_name  Descending Sort itab by field_name.