‎2006 Feb 14 1:01 PM
data_zzz-zcomment = w_sy_tabix.
modify itab_zor from data_zor
transporting zcomment
where zcurr = data_sent-zcurr
and zcrdnum = data_sent-zcrdnum
and zvaldat = data_sent-zvaldat.
what that's meen?
‎2006 Feb 14 1:03 PM
Hi,
This means only field "zcomment" will be
changed(transported) in the Internal table.
Regards,
GSR.
‎2006 Feb 14 1:03 PM
Hi,
This means only field "zcomment" will be
changed(transported) in the Internal table.
Regards,
GSR.
‎2006 Feb 14 1:03 PM
It modifies the field zcomment of
internal table itab_zor from workarea data_zor
by using the where conditions.
‎2006 Feb 14 1:06 PM
Hi,
Modify..........means you are modifying your internal table data from work area(data_zor) transporting zcomment(field) means you are only modifying single field, with where condition.
Thanks.
If this helps you reward with points.
‎2006 Feb 14 1:12 PM
Hi,
the code modfies the itab_zor-comment (comment field only) from work area data_zor only when the where condition satisfies.(it will modify the all records comment field of itab_zor with the work area comment field if the condiions are met).
regards
vijay
‎2006 Feb 14 1:31 PM
Hi,
data_zzz-zcomment = w_sy_tabix. means that we are assigning the value of the variable w_sy_tabix(Possibly loop count) to the variable zcomment of table data_zzz.
modify itab_zor from data_zor
transporting zcomment
where zcurr = data_sent-zcurr
and zcrdnum = data_sent-zcrdnum
and zvaldat = data_sent-zvaldat.
means that you are trying to modify the table itab_zor using the work area data_zor and transporitng the field zcomment and hence only the field zcomment will be changed that satisfies the given condition .