‎2006 Dec 08 9:22 AM
HI experts,
i need to display the data which is entered in selection screen.....
if any data not entered into selection screen that field should not come.... for dispaly...
how can ui get it.
‎2006 Dec 08 9:24 AM
Hi,
select-option: s_matnr type matnr,
s_maktx type matkx.
if not s_matnr is initial.
write: s_matnr.
endif.
Regards,
Amit
‎2006 Dec 08 9:25 AM
Hi,
do something like this :
If not p_matnr is initial.
write : / ' material n° ', p_matnr.
endif.Erwan
‎2006 Dec 08 9:25 AM
Hi,
Your question is not clear,
can you elaborate it?
Regards,
pankaj singh
‎2006 Dec 08 9:25 AM
select-options : s_matnr for mara-matnr.
if not s_matnr[] is initial.
loop at s_matnr.
write : / s_matnr-low , s_matnr-high.
endloop
endif.
‎2006 Dec 08 9:26 AM
Data: s_vbeln for vbrk-vbeln,
p_fkdat like vbrk-fkdat.
start-of-selection.
if not s_vbeln[] is initial.
logic.
endif.
if not p_fkdat is initial.
write:/ p_fkdat.
endif.
‎2006 Dec 08 9:27 AM
Hi ,
Just check if the value of the selection screen element i initial or not .
It it is not initial print it.
For e.g
Select-options : s_matnr for mara-matnr.
parameters : p_werks type werks.
start-of-selection.
if not s_matnr-low is initial.
write s_matnr-low.
endif.
if not s_matnr-high is initial.
write s_matnr-high.
endif.
if not p_werks is initial.
write p_werks.
endif.Regards
Arun
‎2006 Dec 08 9:28 AM
Hi,
Declare the fields as PARAMETERS instead of SELECT-OPTIONs.
Regards
Bhupal Reddy