‎2011 Nov 16 1:07 PM
Hi Folks,
Im adding subscreen in basic data veiw2, so created subscreen
and added my subscreen in program SAPLMGMM 2004(which is main screen
for basic data view2). but the problem is SAPLMGMM 2004 is main screen
for both the basic data view1 and basic dataveiw 2 also.so my subscreen is coming
for the both views.
so i have made coding in PBO like
module call_screen.
CALL SUBSCREEN SUB1 INCLUDING SUB-PROG_01 SUB-DYNP_01.
CALL SUBSCREEN SUB2 INCLUDING SUB-PROG_02 SUB-DYNP_02.
CALL SUBSCREEN SUB3 INCLUDING SUB-PROG_03 SUB-DYNP_03.
CALL SUBSCREEN SUB4 INCLUDING SUB-PROG_04 SUB-DYNP_04.
CALL SUBSCREEN SUB5 INCLUDING SUB-PROG_05 SUB-DYNP_05.
CALL SUBSCREEN SUB11 INCLUDING lv_prg lv_dyn.
CALL SUBSCREEN SUB6 INCLUDING SUB-PROG_06 SUB-DYNP_06.
CALL SUBSCREEN SUB7 INCLUDING SUB-PROG_07 SUB-DYNP_07.
CALL SUBSCREEN SUB8 INCLUDING SUB-PROG_08 SUB-DYNP_08.
CALL SUBSCREEN SUB9 INCLUDING SUB-PROG_09 SUB-DYNP_09.
CALL SUBSCREEN SUB10 INCLUDING SUB-PROG_10 SUB-DYNP_10.
.......
MODULE CALL_SCREEN OUTPUT.
DATA: LV_PRG TYPE PROGBS,
LV_DYN TYPE DYPNBS.
IF T133A-GUIFU = 'SP02'. "basic data vew2
LV_PRG = 'SAPLZMD_MGD1'.
LV_DYN = '9040'.
ELSE.
lv_prg = 'SAPLZMD_MGD1'.
lv_dyn = '9038'.
ENDIF.
ENDMODULE. " CALL_SCREEN OUTPUT
so in else part I need to call some screen otherwise
it will go to dump.
can you please suggest me only my subscreen need to come only for basic data veiw2
what can i do for else part id nt want to call empty subscreen.
how can i hide the subscreen for basic data view 1.
Please give some inputs
Thanks,
Shwetha
Edited by: swetha rishi on Nov 16, 2011 2:12 PM
Edited by: swetha rishi on Nov 17, 2011 7:13 AM
‎2011 Nov 18 5:36 AM