Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Modulepool and FunctionGroup

Former Member
0 Kudos

Hi,

I would like to find out, what is the difference, advantages and

disadvantages of using Module Pool, Function Group or just a Program for

building dialog screen processing. Which is the most preferable and

why?

5 REPLIES 5

Former Member
0 Kudos

Hi,

As such there is nothing most preferable or something as it depends on the requirement and your comforatble level of implementing the objects.

Search the forum for bettre understanding about the various techniques.

Pooja

I355602
Advisor
Advisor
0 Kudos

Hi,

Completely agree with Pooja's reply. This entirely depends on your requirement for the nature of development.

But certainly there are some advantages of using module pool over classical report that if there are mutiple screen that you need to work on, then it is better to use dialog programming.

Also you can design multiple selection screen using dialog programming but is report you can have only one selection screen.

Controls can be easily dragged on to the screen and use, but in reports you need to code for designing your selection screen.

And a lot more.....But its better that you explore yourself...

Hope this helps you.

Regards,

Tarun

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi,

Though everything depends on the requirement and implementation skill,normally in module pool programs you have better control at screen level with less programming effort.For example,to add a push button on module pool screen is easier than doing that on selection screen.

Secondly,if you have a particular requirement like table control,it is always better to do with module pool screen.

However,if there is certain kind of requirements like screens are to be used in workflow,then same module pool screen can be from a function module(part of a Function Group) which is ultimately used as Method in the task of the work flow.In case of these kind of requirement selection screen is not aright choice.

Hope it helps you.

Santanu

Former Member
0 Kudos

hi

Each one has its own advantages and disadvantages

Modulepool :

screen painter : It allows u to create GUI Screens for transactions.it is a tool to design and maintain

screen and its elements.

menu painter : it is a tool to design interface components.

u need to create a Transaction code in SE93 to execute a module pool program.

Function Group.

it is a group which will contain a list of function modules.A function group is a collection of logically related modules that share global data with each other. All the modules in the group are included in the same main program. When an ABAP/4 program contains a CALL FUNCTION statement, the system loads the entire function group in with the program code at runtime. Every function module belongs to a function group.

Regards