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

once you click execute button

Former Member
0 Likes
539

Hi,

I have a alv report and once i execute it, the selection screen comes. In the selection screen i have matnr and werks.

On the selection screen with out giving any values, if i press execute(f8), it should give me message saying 'enter matnr'. please help me solving this.

Thanks

Veni.

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
425

You can do it this way....



report zrich_0001 .


parameters: p_matnr type mara-matnr,
            p_werks type marc-werks.

at selection-screen.

  if p_matnr is initial.
    message e001(00) with 'Please Enter material number'.
  endif.

Regards,

Rich Heilman

2 REPLIES 2
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
426

You can do it this way....



report zrich_0001 .


parameters: p_matnr type mara-matnr,
            p_werks type marc-werks.

at selection-screen.

  if p_matnr is initial.
    message e001(00) with 'Please Enter material number'.
  endif.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
425

Thank you Rich.