Skip to Content
0
Former Member
Jan 16, 2008 at 12:05 PM

Datasource enhancement

190 Views

Hi

I added the field ZZPRCTR to the extract structure and want to fill it with code. But when I go inot RSA3, I get the runtime error UC_OBJECTS_NOT_CONVERTIBLE. The error seems to be around the loop of C_T_DATA.

&----


*& Include ZXRSAU01

&----


data: l_s_bsid like BSID,

lv_prctr type PRCTR.

CASE i_datasource.

WHEN '0FI_AR_4'.

LOOP AT C_T_DATA INTO l_s_bsid.

SELECT PRCTR FROM BSID UP TO 1 ROWS

INTO lv_prctr.

MODIFY C_T_DATA FROM l_s_bsid.

ENDSELECT.

ENDLOOP.

ENDCASE.

What have I done wrong or do you have an alternative code I can use