‎2014 Feb 27 10:52 AM
Dear Friends,
We have one requirement,i.e. In Report program i am using select-option once will execute the program ALV report will be generated.In ALV Report we have one button like 'WM DATA'.Once click the WMDATA one pop-up is displaying...In that pop-up also same select-options are there upto here it's working fine...Now my problem is on pop-up select-options i have to display by default..... which i am using on report select-options values.
Please help on the same
Thank You.
‎2014 Feb 27 10:54 AM
Hi Siri
Can you please provide us the detail of how you are calling the POP up..? Before calling the pop up why dont you fill the pop up fields
Nabheet
‎2014 Feb 27 10:54 AM
Hi Siri
Can you please provide us the detail of how you are calling the POP up..? Before calling the pop up why dont you fill the pop up fields
Nabheet
‎2014 Feb 27 11:11 AM
Hello Nabheet,
Please find the below code...
SELECT-OPTIONS:
s_lgnum FOR lqua-lgnum MODIF ID sc1 OBLIGATORY,
s_lgtyp FOR lqua-lgtyp MODIF ID sc1.
This data i wrote in Report...
Reg: Pop-up i created one screen.....In that screen i given subscreen area.
In program i wrote below code as below
SELECTION-SCREEN BEGIN OF SCREEN 300 AS SUBSCREEN.
SELECT-OPTIONS : s_lgnum1 FOR lqua-lgnum OBLIGATORY,
s_lgtyp1 FOR lqua-lgtyp OBLIGATORY.
SELECTION-SCREEN BEGIN OF BLOCK blck1 WITH FRAME TITLE text-009.
SELECT-OPTIONS: s_kzinv for lagp-kzinv.
PARAMETERS: pmitb LIKE rlist-pmitb.
SELECT-OPTIONS: s_bestq FOR lqua-bestq.
PARAMETERS: sobkz type lqua-sobkz.
Parameters: lsonr type rl01s-lsonr.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-008 for field dauvo.
PARAMETERS: dauvo LIKE rlist-dauvo.
SELECTION-SCREEN POSITION 58.
PARAMETERS: daubi LIKE rlist-daubi DEFAULT '999999'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK blck1.
SELECTION-SCREEN END OF SCREEN 300.
‎2014 Feb 27 11:21 AM
Do like this. Before calling your next screen assign the select option value or just assign the value in start of selection only.
tables
:lqua.
SELECT-OPTIONS:
s_lgnum FOR lqua-lgnum MODIF ID sc1 OBLIGATORY,
s_lgtyp FOR lqua-lgtyp MODIF ID sc1.
SELECTION-SCREEN BEGIN OF SCREEN 300 .
SELECT-OPTIONS : s_lgnum1 FOR lqua-lgnum OBLIGATORY,
s_lgtyp1 FOR lqua-lgtyp OBLIGATORY.
SELECTION-SCREEN END OF SCREEN 300.
START-OF-SELECTION.
s_lgnum1[] = s_lgnum[].
s_lgtyp1[] = s_lgtyp[].
call SELECTION-SCREEN 300.
‎2014 Feb 27 11:30 AM
Hi,
You can fill ur popup selection screen values with the Old selection screen values before calling
Popup.
when the user command triggers fill New Selection values with Report selection screen values.
then call screen..
s_lgnum1[] = s_lgnum[].
s_lgtyp1[] = s_lgtyp[].
call ur screen...
Otherwise u can declare 300 selection-screen as shown below.
select-screen INCLUDE SELECT-OPTIONS : s_lgnum, s_lgtyp.
If u not refresh them before calling sub screen, value carries...
‎2014 Feb 27 11:50 AM