Application Development 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: 

Calling subscreen in module pool

Former Member
0 Kudos
168

Hi friends,

I am trying to call sub-screen in module pool.

but it is giving me an error as "." or "ID ... FIELD ..." expected after "SUBSCREEN".

i am using followning statement

CALL SUBSCREEN SUB INCLUDING SY-REPID '0101'.

OR

CALL SUBSCREEN SUB. (SUB is screen i have created in layout).

I tried it a lot, but not able to solve it.

Kindly help me.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
102

Hi kiran,

The "call subscreen " con't use in between loop and endloop . first check once

Thanks & regards,

Vijay

4 REPLIES 4

Former Member
0 Kudos
102

Hello ,

Check out this link ...

[http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dbabfe35c111d1829f0000e829fbfe/content.htm]

Thanks

manish

Former Member
0 Kudos
103

Hi kiran,

The "call subscreen " con't use in between loop and endloop . first check once

Thanks & regards,

Vijay

venkat_o
Active Contributor
0 Kudos
102

Hi Kiran, <li>Subscreen concept is like this. You have one main screen. You want another screen which has to be displayed on main screen when you run main screen. <li>First we need to create subscreen area on main screen. Goto layout and click subscreen element and place on main screen and name to that subscreen area as SUB. <li>Now create another screen type subscreen. place fields on that and write logic. <li> Check REPORT demo_dynpro_subscreens. Thanks venkat.O

Former Member
0 Kudos
102

thx guys