2012 Feb 27 12:16 PM
Hi everyone,
I have a scenario in module pool programming in which i need help.
I have an i/p filepath screen where the user inputs his/her file and clicks on validate button provided in the toolbar.
After that it goes to the next screen which displays all the messages(error/success).
After I click on Execution button it goes to next screen displaying all the created data.
Now when I click on back button I want it to go to the i/o filepath screen.
Please give me your comments on this.
Leave to screen XXXX is giving me dump so any other options plz let me know.
Thanks in advance.
Hi everyone,
I have a scenario in module pool programming in which i need help.
I have an i/p filepath screen where the user inputs his/her file and clicks on validate button provided in the toolbar.
After that it goes to the next screen which displays all the messages(error/success).
After I click on Execution button it goes to next screen displaying all the created data.
Now when I click on back button I want it to go to the i/o filepath screen.
Please give me your comments on this.
Leave to screen XXXX is giving me dump so any other options plz let me know.
Thanks in advance.
2012 Feb 27 12:20 PM
hi,
if your input screen is 100 2nd screen s 200 and 3rd screen is 300
and u want to go to screen 100 u can directly call screen 100.
i,e on screen 300.
case sy-ucomm.
when back.
call screen 100.
endcase.
2012 Feb 27 12:29 PM
2012 Feb 27 12:42 PM
Hi,
In the Module user_command Input of 3rd screen.
Try like this
CASE ok_code.
WHEN 'BACK'.
SET SCREEN '0'.
ENDCASE.
you have to declare ok_code in the elements list of that particular screen.
Thanks,
Rajesh.
2012 Feb 27 12:42 PM
Hi Amit,
Lets say you have 3 screens 100, 200 and 300. screen 100 has you input file path and 200 shows the message and 300 shows the created data.
Now in PAI of 300 write as below.
IN the screen as below
MODULE USER_COMMAND_300_EXIT AT EXIT COMMAND.In the include as below
MODULE USER_COMMAND_300_EXIT.
CASE sy-ucomm.
WHEN 'BACK'. " OK code for BACK button.
CALL SCREEN 100.
WHEN 'CANCEl'.
LEAVE TO SCREEN 0
ENDCASE.
ENDMODULE.Please revert if you still face problems.
Regards,
Praveenkumar T
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |