Posts

Showing posts with the label Internal Table & Structure concept 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'.        

Internal Table & Structure concept in SAP ABAP

Today I am going to discuss about Internal Table concept in sap ABAP. Internal table is a temporary table created in RAM. It is created during run time and store data temporarily. Using "Table of"  key word we can create internal table.Internal table can store multiple value in run time. Syntax of internal table: Data: Itab TYPE TABLE OF  MARC (TYPE TABLE). Even we can create internal table as we need. At the very first time we need to create a structure. Using Type keyword we create structure in ABAP program. Structure never holds any data, based on structure we can create number of object in sap. Syntax: Types: Begin of st ,             matnr  type  marc-matnr,            werks   type  marc-werks,            sobsk    type marc-sobsk,           ...