Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

explaination

Former Member
0 Likes
777

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?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
754

Hi,

This means only field "zcomment" will be

changed(transported) in the Internal table.

Regards,

GSR.

5 REPLIES 5
Read only

Former Member
0 Likes
755

Hi,

This means only field "zcomment" will be

changed(transported) in the Internal table.

Regards,

GSR.

Read only

Former Member
0 Likes
754

It modifies the field zcomment of

internal table itab_zor from workarea data_zor

by using the where conditions.

Read only

Former Member
0 Likes
754

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.

Read only

Former Member
0 Likes
754

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

Read only

0 Likes
754

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 .