2008 Jan 10 3:21 PM
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.
2008 Jan 10 3:24 PM
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.
Hi Aravind,
If the input fields are fetched from the standard tables then the F4 help comes automatically.
2008 Jan 10 3:24 PM
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.
2008 Jan 10 3:26 PM
2008 Jan 10 3:27 PM
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
2008 Jan 10 3:29 PM
Hi Aravind,
If the input fields are fetched from the standard tables then the F4 help comes automatically.
2008 Jan 13 3:01 PM
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.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |