cancel
Showing results for 
Search instead for 
Did you mean: 

Field assignment issue

Former Member
0 Kudos

I am calling an RFC (BAPI_FUNCLOC_GETLIST) and it is returning an error of Field symbol has not yet been assigned.

Where is this field that needs assignment and what is the assgnment?

This is my setup...

FUNCLOC_RA:

S=I,

OP=GT,

LOW=1,

HIGH=(blank)

Accepted Solutions (0)

Answers (1)

Answers (1)

ChandraMahajan
Active Contributor
0 Kudos

Hi,

your field symbol assignment should be to table parameter funcloc_list. it is not the Optional parameter.

FIELD-SYMBOLS <func_list> TYPE STANDARD TABLE.

CALL FUNCTION 'BAPI_FUNCLOC_GETLIST'

TABLES

funcloc_ra = lt_func_sel[]

descript_ra = lt_func_des_sel[]

funcloc_list = <func_list>.

you can refer method IF_DP_WTY_UI_CATALOG~F4_OBJECT of class DPWTY_CL_UI_CATALOG and see how it is used.

I hope this will solve your problem.

Thanks,

Chandra