Ads

Step by Step Tutorial on Creating Type Group in SAP ABAP

Step by Step Tutorial on Creating Type Group in SAP ABAP

TYPE-POOLS is a keyword used in SAP ABAP programming.This tutorial covers its introduction & syntax details and step by step tutorial.
TYPE-POOLS

TYPE-POOLS typepool.

You can only maintain a type group via the ABAP/4 Dictionary (using Transaction SE11 ). You
introduce a type group with the TYPE-POOL statement. Since the types
and constants specified in a type group have global validity, you
cannot use the statement within a FORM or FUNCTION .

Go to SE11 and select radio button Type Group and give a name starting with z

Step by Step Tutorial on Creating Type Group in SAP ABAP



then press create  and give short text to it and save 

Step by Step Tutorial on Creating Type Group in SAP ABAP


Click on local object and save it.


Step by Step Tutorial on Creating Type Group in SAP ABAP




Remember the objects in the structure must be declared with type group name.
Step by Step Tutorial on Creating Type Group in SAP ABAP

save, check and activate.


NOW WE will go  TO SE38 TO USE THE CREATED TYPE GROUP IN SAP PROGRAM BY USING SE38 SAP ABAP EDITOR.

Step by Step Tutorial on Creating Type Group in SAP ABAP


GIVE THE PROGRAM NAME CLICK ON CREATE BUTTON

Step by Step Tutorial on Creating Type Group in SAP ABAP



ABOVE IS THE SOURCE CODE TO CHECK THE PROGRAM.

SAVE IT , CHECK and Activate

Step by Step Tutorial on Creating Type Group in SAP ABAP


Then execute the program.
Finally we created 'type group' and tested in SAP ABAP program.



Comments

Popular posts from this blog

BADI Interview Questions in SAP ABAP

Sample SAP ABAP Programming Examples for Practice

Module Pool Programming Interview Questions and Answers in SAP ABAP

Step by Step tutorial on BDC Session Method Program in SAP ABAP

SAP ABAP Interview Questions and Answers for 10 Years Experienced