Skip to Content
1
Former Member
Jul 03, 2007 at 07:00 AM

help in perform

26 Views

Hallow

I doing that code(that return) but what is the best way to do it in <b>one</b> perform that all time I move difrent infty num.

IF <wa_lcl_pers_tab>-infty = '0000'.

LOOP AT infty_tab_after INTO ls_prelp.

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

EXPORTING

prelp = ls_prelp

IMPORTING

pnnnn = ls_p0000.

APPEND ls_p0000 TO lt_p0000.

ENDLOOP.

ENDIF.

IF <wa_lcl_pers_tab>-infty = '0001'.

LOOP AT infty_tab_after INTO ls_prelp.

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

EXPORTING

prelp = ls_prelp

IMPORTING

pnnnn = ls_p0001.

APPEND ls_p0001 TO lt_p0001.

ENDLOOP.

ENDIF.

IF <wa_lcl_pers_tab> = '0002'.

LOOP AT infty_tab_after INTO ls_prelp.

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

EXPORTING

prelp = ls_prelp

IMPORTING

pnnnn = ls_p0002.

APPEND ls_p0002 TO lt_p0002.

ENDLOOP.

ENDIF.

IF <wa_lcl_pers_tab> = '0006'.

LOOP AT infty_tab_after INTO ls_prelp.

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

EXPORTING

prelp = ls_prelp

IMPORTING

pnnnn = ls_p0006.

APPEND ls_p0006 TO lt_p0006.