Skip to Content
0
Former Member
Nov 14, 2005 at 02:12 PM

from the begning---not save structre

35 Views

this is the code:if sy-tcode = 'XD01' and i_kna1-ktokd = 'Z001'.

*move i_kna1-pstlz to zcustsaledata-zpost_code1 .

select single *

from zcustsaledata

where zpost_code1 = i_kna1-pstlz.

if sy-subrc = 0.

*zcustsaledata-zpost_code1 = i_kna1-pstlz.

i_knvv-vkbur = zcustsaledata-zsales_office .

i_knvv-vkgrp = zcustsaledata-zsales_group .

i_knb1-pernr = zcustsaledata-zpersonnel_num.

*insert i_knvv.

endif.

endif.

the structre get the data from z_table but not save it