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

subscreen in output

Former Member
0 Likes
604

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.

4 REPLIES 4
Read only

Former Member
0 Likes
572

Hi,

Give it like this


CALL SUBSCREEN zsub_s INCLUDING 'ZEMP_DETAIL'  '0200'.

Read only

Former Member
0 Likes
572

What is the error you are facing?

CALL SUBSCREEN zsub_s INCLUDING 'zemp_detail' '0200'.

Manas M.

Read only

Former Member
0 Likes
572

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

Read only

Former Member
0 Likes
572

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