Showing posts with label Function Modules. Show all posts
Showing posts with label Function Modules. Show all posts

Thursday, May 12, 2022

How to create Function Group in SAP

 Steps to create Function group:-

 Execute SE37.

 In the menu bar – goto – function groups – create group.

 Provide your function group name.

 Provide short description.

 Save – local object.

Steps to activate the function group:-

 Execute SE37.

 In the menu bar – environment – inactive objects.

 Expand your function group.

 Select your function group.

 Click on activate (in ECC 6.0 – select function group – right click – activate).

Components of the function module:-

1. Attributes.

2. Import.

3. Export.

4. Changing.

5. Tables.

6. Exception.

7. Source code.

Monday, April 25, 2022

How to create Function Group in SAP ABAP.

Steps to create Function group:-

 Execute SE37.

 In the menu bar – goto – function groups – create group.

 Provide your function group name.

 Provide short description.

 Save – local object.

Steps to activate the function group:-

 Execute SE37.

 In the menu bar – environment – inactive objects.

 Expand your function group.

 Select your function group.

 Click on activate (in ECC 6.0 – select function group – right click – activate).

Components of the function module:-

1. Attributes.

2. Import.

3. Export.

4. Changing.

5. Tables.

6. Exception.

7. Source code.

Wednesday, September 30, 2020

Different parameters in Function Modules and Explain in SAP ABAP.

What are the different parameters in Function Modules and Explain about them?

Different parameters in Function Modules and Explain in SAP ABAP. 

Ans:    Following are the different types of Parameters in Function Modules

Ø  Attributes:

It contains technical properties of a function module such are type of function module, function group.

Ø  Import parameters :

      They are imported from the calling program to the function module.

Ø  Export parameters:

                                These are used to exported the data from the function module to the calling                                      programs.

Ø  Changing parameters:

These are imported from the calling program, changed them in the function modules & exported/returned to the calling program. (Import -> Change -> Export)

Ø  Tables:

These can be used to import & export only for internal tables.

Ø  Exceptions:

They are used to raise/handle the messages in the function module based on return code (SY-SUBRC).

Ø  Source code: It is used to write central ABAP source code.