I have a change where I have the following:
- a mainscreen 9004 containing a table control and a subscreen 9006.
- please see the screenShot [url] http://img121.imageshack.us/img121/1057/tcsubscreenattributes.jpg [url]
Users can select ONE entry from the table then click a button 'DISPLAY' then it will display the details coming from an internal table to a the subcreen.
Prior to my question, I already take a look at program DEMO_DYNPRO_SUBSCREENS.
During my debug, the variable name of all the screen attributes are not recognize.
- please see the ABAP debugger screenshot: [url] http://img686.imageshack.us/img686/5708/subscreendebug.jpg [url]
and here's my code:
PROCESS BEFORE OUTPUT. LOOP WITH CONTROL TC_ID_ONLY. MODULE LOAD_TC_DISCH. ENDLOOP. CALL SUBSCREEN: SC_DISCH_9006 INCLUDING SY-REPID '9006'. PROCESS AFTER INPUT. CALL SUBSCREEN SC_DISCH_9006. LOOP WITH CONTROL TC_ID_ONLY. MODULE GET_USER_ACTION. ENDLOOP. MODULE. GET_USER_ACTION input. CASE OK_CODE. WHEN 'DISPLAY'. PERFORM F_TRANSFER_IDentry USING T_ZQIDCHECK_DIS. ENDCASE. ENDMODULE.
Focus on Question:
(Note: Table Controls are working as expected)
How come I can't read the variables in my sub-screen?