Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with F4 Help

Hi Gurus,

I am Using F4IF_INT_TABLEVALUE_REQ for search help,

i have populated the itab as per my requirement,i have

exported KUNNR for retfield(which i need as F4 help) and also tables

VALUE_TAB = ITAB,and DDIC_STRUCTURE = 'KNA1'

my program has no syntax errors but

it is giving run time error.what could be the problem am i exporting wrong data.

Regards,

Vijaya.

Tags:
replied

*There is no need to write the code for F4 help for kunnr field.

*if you want f4 help for other field like NAME then you can use following example

REPORT zrnd5003.

DATA: BEGIN OF it_kna1 OCCURS 0,

name1 TYPE kna1-name1,

END OF it_kna1.

.

parameters: p_kunnr type kna1-kunnr.

PARAMETERS: p_name1 TYPE kna1-name1.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_name1.

SELECT name1 FROM kna1 INTO TABLE it_kna1 UP TO 100 ROWS.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

retfield = 'NAME1'

dynprofield = 'P_NAME1'

value_org = 'S'

dynpprog = sy-repid

dynpnr = sy-dynnr

TABLES

value_tab = it_kna1.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question