Skip to Content
0
Former Member
Jul 03, 2007 at 09:49 AM

erorr in perform tables

10 Views

Hallow

I using this ferform and I have eroor in tables what is wrong?

DATA:ls_prelp TYPE prelp, " semi-transparent infotype structure

ls_p0000 TYPE p0000,

lt_p0000 TYPE STANDARD TABLE OF p0000,

ls_p0001 TYPE p0001,

lt_p0001 TYPE STANDARD TABLE OF p0001.

LOOP AT infty_tab_after INTO ls_prelp.

CASE <wa_lcl_pers_tab>-infty.

WHEN '0000'.

PERFORM get_pnnn TABLES lt_p0000 USING ls_prelp ls_p0000.

WHEN '0001'.

PERFORM get_pnnn TABLES lt_p0001 USING ls_prelp ls_p0001.

ENDCASE.

ENDLOOP.

FORM get_pnnn <b>TABLES p_lt_p0000 TYPE any</b> USING p_ls_prelp p_ls_p0000.

CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn "Convert: semi-transparent -> transparent infotype

EXPORTING

prelp = p_ls_prelp

IMPORTING

pnnnn = p_ls_p0000.

APPEND p_ls_p0000 TO p_lt_p0000.

The eroor

Is

For typing of TABLES parameters, only table types should be used . . .

regards