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

Reg parameter options

Former Member
0 Likes
563

Hi Experts,

Im executing a report program.Parameter option is provided for the User to enter/select the value from the search help.but the particular field dont have any help assigned to it.Is there any alternates to do this .?

Thanks !

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
532

Hi

parameter: pa_field type table-field matchcode object 'ABC'.

ABC will be a elementary search help which you create using SE11.

or use F4IF_INT_TABLE_VALUE_REQUEST in at selection-screen event

3 REPLIES 3
Read only

Former Member
0 Likes
532

Check this code...


PARAMETERS:p_matnr TYPE mara-matnr.

DATA:BEGIN OF itab OCCURS 0,
matnr TYPE mara-matnr,
END OF itab.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.

  SELECT * FROM mara INTO CORRESPONDING FIELDS OF TABLE itab
  UP to 10 rows.


  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield    = 'MATNR'
      dynpprog    = sy-repid
      dynpnr      = sy-dynnr
      dynprofield = 'P_MATNR'
      value_org   = 'S'
    TABLES
      value_tab   = itab.

Read only

former_member156446
Active Contributor
0 Likes
533

Hi

parameter: pa_field type table-field matchcode object 'ABC'.

ABC will be a elementary search help which you create using SE11.

or use F4IF_INT_TABLE_VALUE_REQUEST in at selection-screen event

Read only

Former Member
0 Likes
532

answered