+ All Categories
Home > Documents > ABAPLOVERS.BLOGSPOT.COM ABAP TRICKS and …€¦ · Once the function group is created type the...

ABAPLOVERS.BLOGSPOT.COM ABAP TRICKS and …€¦ · Once the function group is created type the...

Date post: 07-Aug-2018
Category:
Upload: phamthu
View: 230 times
Download: 0 times
Share this document with a friend
14
Creating a Function Module in SAP ABAP Execute transaction SE37 and create a function group as shown in the figure below. ABAPLOVERS.BLOGSPOT.COM ABAP TRICKS and TIPS LOGON TO ABAPLOVERS.BLOGSPOT.COM
Transcript

Creating a Function Module in SAP ABAP

Execute transaction SE37 and create a function group as shown in the figure below.

ABAPLOVERS.BLOGSPOT.COMABAP TRICKS and TIPS

LOGON TO ABAPLOVERS.BLOGSPOT.COM

Give the desired function group name and a short text.

ABAPLOVERS.BLOGSPOT.COMABAP TRICKS and TIPS

LOGON TO ABAPLOVERS.BLOGSPOT.COM

Once the function group is created type the desired function module name as shown below. And click on create.

ABAPLOVERS.BLOGSPOT.COMABAP TRICKS and TIPS

LOGON TO ABAPLOVERS.BLOGSPOT.COM

Enter the function group name created earlier and the desired short text for function module and click on save.

ABAPLOVERS.BLOGSPOT.COMABAP TRICKS and TIPS

LOGON TO ABAPLOVERS.BLOGSPOT.COM

Save the function module as a $tmp object.

ABAPLOVERS.BLOGSPOT.COMABAP TRICKS and TIPS

LOGON TO ABAPLOVERS.BLOGSPOT.COM

Now the following screen will be presented to you, here you need to enter theimport and export parameters. These are nothing but the variables that youwould be passing to the function module and the returned values from thefunction module.

ABAPLOVERS.BLOGSPOT.COMABAP TRICKS and TIPS

LOGON TO ABAPLOVERS.BLOGSPOT.COM

The following screen shot shows the returned values from the function module.

ABAPLOVERS.BLOGSPOT.COMABAP TRICKS and TIPS

LOGON TO ABAPLOVERS.BLOGSPOT.COM

Type the following code in the source code area.

ABAPLOVERS.BLOGSPOT.COMABAP TRICKS and TIPS

LOGON TO ABAPLOVERS.BLOGSPOT.COM

Active the function module and the related code.

Call the above created function module from an ABAP Report. The following screen shot shows the details to insert the code.

ABAPLOVERS.BLOGSPOT.COMABAP TRICKS and TIPS

LOGON TO ABAPLOVERS.BLOGSPOT.COM

Type the code shown below. And run the report.

ABAPLOVERS.BLOGSPOT.COMABAP TRICKS and TIPS

LOGON TO ABAPLOVERS.BLOGSPOT.COM


Recommended