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

push button

Former Member
0 Likes
667

hi abapers,

i am new to module pool programming.

I have a scenario which consists of 2screens.

One for input and the other for output.

In the first(input) screen i have 5 input fields and a push button. Now how can i navigate from the first screen to the second one.And how can i provide the F4 help for those input fields.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
650

Hi Aravind,

When you enter the details in the input screen and press the push button,inorder to navigate to the output screen, you need to write a code for this in a PAI module of the input screen.The code for this would be.

case SY-UCOMM.

when 'DISPLAY'.

call screen 100. *** 100 is the screen number of the output screen***

endcase.

Are the input fields fetched from standard tables?

Reward if useful.

5 REPLIES 5
Read only

Former Member
0 Likes
651

Hi Aravind,

When you enter the details in the input screen and press the push button,inorder to navigate to the output screen, you need to write a code for this in a PAI module of the input screen.The code for this would be.

case SY-UCOMM.

when 'DISPLAY'.

call screen 100. *** 100 is the screen number of the output screen***

endcase.

Are the input fields fetched from standard tables?

Reward if useful.

Read only

Former Member
0 Likes
650

yes they fetched from standard tables.

Read only

Former Member
0 Likes
650

Hi

If you design the input/output fields in reference to dictionary fields, you should have the F4 help automatically.

If you need to go to screen by pressing the pushbutton:

MODULE USER_COMMAND.

CASE OK_CODE.

WHEN <.....>. LEAVE TO SCREEN <NEW SCREEN>.

Max

Read only

Former Member
0 Likes
650

Hi Aravind,

If the input fields are fetched from the standard tables then the F4 help comes automatically.

Read only

Former Member
0 Likes
650

Hi!

it's simple yar d'nt worry...

first of u need to understand the flow of the program then only u will be able to work withthis.

this topic mainly goes with Pbo and Pai

process before output and

process after input..

which takes a lot of time to explain me to u.

so i will give a gist of the program i mean how to do.ok

first u create a module pool program using the transaction code se38

then with the same name of the program .

at se51..the screen creater

create a scree with the name of the program and a screen number..

u have to create 2 screen with the same program name ok.