Skip to Content
0
Former Member
Mar 08, 2013 at 09:35 AM

how to write this code more effectively?

23 Views

how to write this code more effectively?

READ TABLE it_vbrk_konv_arch INTO wa_vbrk_konv_arch with key knumv = ibil_doc_data-knumv

kposn = ibil_doc_data-posnr .





IF ( wa_vbrk_konv_arch-kschl = 'JIN5' OR wa_vbrk_konv_arch-kschl = 'KF00' OR wa_vbrk_konv_arch-kschl = 'JOC0'

OR wa_vbrk_konv_arch-kschl = 'JOC2' OR wa_vbrk_konv_arch-kschl = 'JOCA' OR wa_vbrk_konv_arch-kschl = 'JOCB' ).



MOVE-CORRESPONDING wa_vbrk_konv_arch TO i_price .

APPEND i_price.

CLEAR wa_vbrk_konv_arch .

ENDIF .