Application Development 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: 

AT SELECTION-SCREEN ON VALUE-REQUEST

Former Member
0 Kudos

Hi,

Can anyone give me an idea on At selection-screen on value-request? what is the purpose of this event?

1 ACCEPTED SOLUTION

ferry_lianto
Active Contributor
5 REPLIES 5

ferry_lianto
Active Contributor

0 Kudos

Thanks Ferry. It would be useful for me.

0 Kudos

Hi Ramesh, please remember to award points for helpful answers and mark your post as solved when solved completely. Thanks and welcome to SDN.

Regards,

RIch Heilman

0 Kudos

Thanks for the information. I will do it.

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

This event is fired when the user hits F4 on the field. This is used to provide F4 Help for the field. Here is a sample program.



report zrich_0001 .

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.

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.

Regards,

Rich Heilman