2007 Jun 29 5:46 AM
2007 Jun 29 5:48 AM
Hi Swati,
Yes we can declare the global data in function group's TOP include.
Regards,
Atish
2007 Jun 29 5:48 AM
go to se80 and give your fn grp name now click on include here you can find a top include just declare your variable and activate there it will be a global data for the fn modules of that fn grp.
regards
shiba dutta
2007 Jun 29 5:48 AM
Hi Swati,
Yes we can declare the global data in function group's TOP include.
Regards,
Atish
2007 Jun 29 5:52 AM
Hi Swati,
You can do it. Just go to the Main Program of Function Group.
I would suggest you to add your own customized include, You can copy SAP's created include for Top.
e.g. for group BTCH: INCLUDE LBTCHTOP make it to ZLBTCHTOP and then add your own fields.
Reward if useful!
2007 Jun 29 6:10 AM
The normal / correct naming for a "Top Include" for a function group is "L" + function group name + "TOP" e.g. LZ_FG_001TOP for a function group called "Z_FG_001" (this is still in the customer name range).
If you are in the source code of the function module in SE37, you can use Goto > Global Data to get to it too.