Application Development and Automation 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: 
Read only

Module pool

Former Member
0 Likes
679

Hello ,

I have one requiremnt using module pool .

Please help with some step by step example .

Thanks ,

Rahul

1 ACCEPTED SOLUTION
5 REPLIES 5
Read only

Former Member
0 Likes
659

Hi Rahul,

Initially go to tcode SE51.

enter the screen no and description.

Go to layout .

Design layout.

Go to form painter

Drag and drap on the layout.

Now comes events.

PBO

PAI

In PAI u should indicate what should after the user action on the layout. sy-ucomm. function key.

In SE38 u need to initialize tables.

PBO ( Process before output ).

regards.

Nagaraju Tankala

Read only

Former Member
0 Likes
659

Hi,

To create a Module pool, you need:

1 - Create screen to this MP;

2 - Define the field and the structure of this screen;

3 - Create PBO modules to control Screen inputs and outputs

fields.

4 - Create one or more title gui;

5 - Create a Status GUI

6 - Define PAI modules and user command module, to use the buttons of status gui;

7 - Create a transaction to the MP;

This a step by step to a simple MP.

After this you can increase with other features

regards,

Fernando

Read only

Former Member
0 Likes
659

Hi Rahul,

First make a design flow of screens and how the user will navigate. E.g which is the first screen, second screen etc

read help of dialog programming - the two most important ones - PAI and PBO and the help should give you enough inputs on how to start.

you can do all the development using SE80 - you can create screens etc from here.

For any given screen this is general flow:

you need to create screen elements (text boxes, tables or any other UI elements) - attach them to data fields - you can also set attributes for UI elements and whole lot of other things

Screen first display - PBO - you can write your modules here to pre poulate some of the data so that user

sees it when screen displays for the first time.

Once screen is displayed user can enter data or will trigger some events (click of a button etc) - once an event is triggered the control comes to PAI - here you will get all the data on the screen - you can do validations and/or business logic here

Once this part is done you need to decide whether same screen is to be displayed or should user be routed to a different screen...either ways its again PBO of the same screen or PBO of the next screen that will be called.

so its important to design how the navigation flows before you start developing...

Hope this will help u to get started. You will find tons of posts in SDN - just need to browse.