Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

REPORT-SELECTION SCREEN

Former Member
0 Likes
755

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.

7 REPLIES 7
Read only

amit_khare
Active Contributor
0 Likes
729

Hi,

select-option: s_matnr type matnr,

s_maktx type matkx.

if not s_matnr is initial.

write: s_matnr.

endif.

Regards,

Amit

Read only

Former Member
0 Likes
729

Hi,

do something like this :

If not p_matnr is initial.
write : / ' material n° ', p_matnr.
endif.

Erwan

Read only

Former Member
0 Likes
729

Hi,

Your question is not clear,

can you elaborate it?

Regards,

pankaj singh

Read only

Former Member
0 Likes
729
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.
Read only

Former Member
0 Likes
729

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.

Read only

Former Member
0 Likes
729

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

Read only

Former Member
0 Likes
729

Hi,

Declare the fields as PARAMETERS instead of SELECT-OPTIONs.

Regards

Bhupal Reddy