Creating Structure in SAP ABAP

Structures 
A structure (structured type) comprises components (fields). Types are defined for the components A component can refer to an elementary type (via a data element or by directly specifying the data type and length in the structure definition), another structure or a table type. A structure can therefore be nested to any depth.

How to create Data Type Structure in SAP ABAP

Structures are used to define the data at the interface of module pools and screens and to define the parameter types of function modules.

There are Flat, nested and deep structures. A flat structure only references elementary types. A nested structure references at least one further structure, but not a table type. A deep structure references at least one table type.

Steps to create a structure in SAP ABAP


Go to transaction SE11 and select the radio button “Data type”. Enter a structure name starting with Y or Z. 
Creating Structure in SAP ABAP



Press create button. 

A pop-up screen appears with 3 different options. Select the radio button structure. 
Creating Structure in SAP ABAP



 The screen will be displayed like this.



Provide the description and also components(fields) and related data elements and domains.

Creating Structure in SAP ABAP


Then press SAVE, CHECK and ACTIVATE.
Creating Structure in SAP ABAP

Structure Created Successfully.
Creating Structure in SAP ABAP

Popular posts from this blog

How to create Interactive Report in SAP ABAP

How to create ALV Interactive Report in SAP ABAP

BDC Call Transaction Method Program