2010 Jan 19 8:07 AM
Hi ,
Can any one tell my what is wrong in this code
PROCESS BEFORE OUTPUT.
MODULE status_0100.
MODULE alv_display.
CALL SUBSCREEN zsub_s INCLUDING zemp_detail 200.
PROCESS AFTER INPUT.
MODULE user_command_0100.
CALL SUBSCREEN zsub_s.
Hi ,
Can any one tell my what is wrong in this code
PROCESS BEFORE OUTPUT.
MODULE status_0100.
MODULE alv_display.
CALL SUBSCREEN zsub_s INCLUDING zemp_detail 200.
PROCESS AFTER INPUT.
MODULE user_command_0100.
CALL SUBSCREEN zsub_s.
2010 Jan 19 8:10 AM
Hi,
Give it like this
CALL SUBSCREEN zsub_s INCLUDING 'ZEMP_DETAIL' '0200'.
2010 Jan 19 8:12 AM
What is the error you are facing?
CALL SUBSCREEN zsub_s INCLUDING 'zemp_detail' '0200'.Manas M.
2010 Jan 19 8:16 AM
Hi
Try to use SY-REPID instead of 'zemp_detail' and use a variable viz scrnr and pass screen number to it.
This is a better approach instead of hard coding.
Thanks
Khushboo
2010 Jan 19 8:37 AM
Hi,
please do this,
write this declaration in the Top include,
data: gv_subscreen TYPE sy-dynnr VALUE '0200'.
and in the Flow logic of the screen write this,
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
CALL SUBSCREEN zsub_s INCLUDING sy-repid gv_subscreen --> do this way
hope it helps you,
Regards,
Abhijit G. Borkar
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |