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

Doc type

Former Member
0 Likes
527

here is my code. Can u tell me how to show kg or bg in drop down menu in the f4 help. What field do i need to assign and where.

at selection-screen on value-request for p_blart.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

  • DDIC_STRUCTURE = ' '

RETFIELD = 'field'

  • PVALKEY = ' '

  • DYNPPROG = ' '

  • DYNPNR = ' '

DYNPROFIELD = ' '

  • STEPL = 0

  • WINDOW_TITLE =

  • VALUE = ' '

  • VALUE_ORG = 'C'

  • MULTIPLE_CHOICE = ' '

  • DISPLAY = ' '

  • CALLBACK_PROGRAM = ' '

  • CALLBACK_FORM = ' '

  • MARK_TAB =

  • IMPORTING

  • USER_RESET =

TABLES

VALUE_TAB =

  • FIELD_TAB =

  • RETURN_TAB =

  • DYNPFLD_MAPPING =

  • EXCEPTIONS

  • PARAMETER_ERROR = 1

  • NO_VALUES_FOUND = 2

  • OTHERS = 3

.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
506

Hi

use the table for Unit of Measures <b>T006</b> and create a search help and use

Reward points if useful

Regards

Anji

4 REPLIES 4
Read only

Former Member
0 Likes
507

Hi

use the table for Unit of Measures <b>T006</b> and create a search help and use

Reward points if useful

Regards

Anji

Read only

Former Member
0 Likes
506

pass the values in the value_tab .

VALUE_TAB is an internal table with a (flat) structure. Every line in VALUE_TAB then corresponds to one line in the list to be displayed.

Read only

Former Member
0 Likes
506
chk this

REPORT abc.

PARAMETERS : p_blart LIKE bkpf-blart.
DATA : v_repid LIKE sy-repid.

DATA : BEGIN OF it_blart OCCURS 0,
         blart LIKE bkpf-blart,
       END OF it_blart.


INITIALIZATION.

  v_repid = sy-repid.


AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_blart.

  CLEAR it_blart.
  REFRESH it_blart.

  it_blart-blart = 'KG'.
  APPEND it_blart.

  it_blart-blart = 'KH'.
  APPEND it_blart.


  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield    = 'BLART'
      dynpprog    = v_repid
      dynpnr      = '1000'
      dynprofield = 'P_BLART'
      value_org   = 'S'
    TABLES
      value_tab   = it_blart.
Read only

Former Member
0 Likes
506

<b>hi Abhay,

You need to reward for helpful answers ,

Not just simply asking series of questions!!!!!!!!!!!!!!!!!!!!!!</b>