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

Problem in Calling Subscreens

Former Member
0 Likes
914

Hi,

my main screen number is 1001 and in that screen i have a tabstrip with subscreens 1002,1003,1004,1005,1006.Each tab has an ALV...

When i click on excute button in my main screen 1001 then i need to call all the subscreens and all the ALV's should be displayed.

My coding...

Module user-command 1001.

Case Sy-ucomm.

When 'EXCE'.

CALL SUBSCREEN TAB_SCA INCLUDING sy-repid '1002'.

CALL SUBSCREEN TAB_SCA INCLUDING sy-repid '1003'.

CALL SUBSCREEN TAB_SCA INCLUDING sy-repid '1004'.

CALL SUBSCREEN TAB_SCA INCLUDING sy-repid '1005'.

CALL SUBSCREEN TAB_SCA INCLUDING sy-repid '1006'.

endcase.

endmodule.

but error is displayed as "," or "ID ... FIELD ..." expected after "SUBSCREEN".

Guys Please let me know if someone knows the solution.

Regards,

Chaithanya.

Hi,

my main screen number is 1001 and in that screen i have a tabstrip with subscreens 1002,1003,1004,1005,1006.Each tab has an ALV...

When i click on excute button in my main screen 1001 then i need to call all the subscreens and all the ALV's should be displayed.

My coding...

Module user-command 1001.

Case Sy-ucomm.

When 'EXCE'.

CALL SUBSCREEN TAB_SCA INCLUDING sy-repid '1002'.

CALL SUBSCREEN TAB_SCA INCLUDING sy-repid '1003'.

CALL SUBSCREEN TAB_SCA INCLUDING sy-repid '1004'.

CALL SUBSCREEN TAB_SCA INCLUDING sy-repid '1005'.

CALL SUBSCREEN TAB_SCA INCLUDING sy-repid '1006'.

endcase.

endmodule.

but error is displayed as "," or "ID ... FIELD ..." expected after "SUBSCREEN".

Guys Please let me know if someone knows the solution.

Regards,

Chaithanya.

5 REPLIES 5
Read only

Former Member
0 Likes
876

Hi Chanthaya,

o thro this link https://www.sdn.sap.com/irj/scn/advancedsearch?query=subscreen&cat=sdn_all.

Best Regards,

Flavya

Read only

Former Member
Read only

Former Member
0 Likes
876

This message was moderated.

Read only

Former Member
0 Likes
876

This message was moderated.

Read only

Former Member
0 Likes
876

Hi,

In PAI event, you should not use INCLUDING SY-REPID SCREEN_NO

This is causing error.

Wrting CALL SUBSCREEN TAB_SCA only once is enough as you are displaying

multiple subscreens in same subscreen area.

Regards,

Vishal

Edited by: Vishal Jadhav on Dec 9, 2008 3:54 PM