Skip to Content
0
Former Member
Dec 09, 2009 at 05:44 PM

Table Control and Sub-Screen in one Main Screen Can't work together?

334 Views

Hi All,

Can a table control and subScreen work together in one screen?

PBO

PROCESS BEFORE OUTPUT.
   CALL SUBSCREEN SC_DIS9005 INCLUDING SY-REPID '9005'.
    
   LOOP WITH CONTROL TC_DATA.
     MODULE LOAD_TC_DATA.
   ENDLOOP.

PAI

PROCESS AFTER INPUT.
   CALL SUBSCREEN SC_DIS9005.
   
   LOOP WITH CONTROL TC_ID_ONLY.
       "MODULE GET_USER_ACTION.
    ENDLOOP.

This gives me a runtime error:

Short text

Incorrect screen type: Screen is incorrectly defined or used.

What happened?

The attribute screen type with the values 'Normal Screen' and

'Subscreen' determines the use of the screen. If a normal screen is used

as subscreen or vice versa, an error occurs.

-


So does this mean that I have to do the following:

- in my main screen, create 2 subSCreen: 1 for the holder of table control and 1 for the holder of other screen?