‎2006 Jul 10 10:49 AM
‎2006 Jul 10 10:52 AM
Go to Menu bar.
GOTO - > Text element - > selection text.Enter the selction screen field name here.
‎2006 Jul 10 10:52 AM
Hi Srinivas,
This is how you display your selection fields...
SELECT-OPTIONS: S_WERKS FOR MARC-WERKS,
S_MATNR FOR MARA-MATNR.
‎2006 Jul 10 10:52 AM
‎2006 Jul 10 10:53 AM
When you use the SELECT-OPTIONS and the PARAMETERS key words the fields will be displayed on the selection screen.
If you want to toggle between the visible / invisible optio then you have loop at screen ..
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'XXX'.
SCREEN-INVISBLE = 1.
ELSE
SCREEN-INVISIBLE = 0.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Regards,
Ravi
Note : Please mark all the helpful answers
‎2006 Jul 10 10:53 AM
Use Write statements.
for eg if you have the following paramters/select options
parameters : p_matnr like mara-matnr,
p_matkl like mara-matkl.
select-options : s_werks like t001-werks.
end-of-selection.
write : p_matnr, p_matkl, s_werks-low, s_werks-high.
‎2006 Jul 10 10:55 AM
Hi Srinivas,
<b>
Are you looking for F4 help for selection params,if so..
copy the code and chk.
</b>
tables: t001.
data: begin of it001 occurs 0,
bukrs type t001-bukrs,
butxt type t001-butxt,
ort01 type t001-ort01,
land1 type t001-land1,
end of it001.
select-options s_bukrs for t001-bukrs.
initialization.
select bukrs butxt ort01 land1 into table it001 from t001
where land1 = 'US'.
sort it001 ascending by bukrs.
delete adjacent duplicates from it001 comparing bukrs.
at selection-screen on value-request for s_bukrs-low.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'BUKRS'
dynprofield = 'S_BUKRS'
dynpprog = sy-cprog
dynpnr = sy-dynnr
value_org = 'S'
tables
value_tab = it001.
start-of-selection.
Rgds,
Jothi.
Mark useful ANSWERS.
‎2006 Jul 10 11:12 AM
Hi srinivsa,
try this:
...
*
DATA: BEGIN OF SC OCCURS 0.
INCLUDE STRUCTURE SCREEN.
DATA: END OF SC.
*
AT SELECTION-SCREEN OUTPUT.
*
LOOP AT SCREEN.
SC = SCREEN. APPEND SC.
ENDLOOP.
*
START-OF-SELECTION.
*
LOOP AT SC. WRITE: / SC. ENDLOOP.
...
Regards, Dieter
‎2006 Jul 10 11:31 AM
Hai Srinivasa
check the bellow Code
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'ABC'.
SCREEN-INVISBLE = 1.
ELSE
SCREEN-INVISIBLE = 0.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Thanks & regards
Sreeni
‎2006 Jul 10 11:42 AM
Hi,
Please refer to the following piece of code :-
*******************************************************
SELECTION SCREEN CREATION *
*******************************************************
SELECTION-SCREEN:BEGIN OF BLOCK blck1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_num FOR t_ebeln."Purchase order number.
PARAMTERS : p_date type sy-datum."Sytem Date.
SELECTION-SCREEN END OF BLOCK blck1.
The above code will create a selection-screen with two input fileds.One will be a selecti option and the other will be a parameter.Bothe the fields will appear in a separate block,which will appear as a white patch in the screen.In the text-001 assign a siutable title.
In order to assign a TEXT-ELEMENT ,use the following navigation(In the menu-bar)
Goto->Text Element->Text symbol.
Cheers,
Anirban.