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

replacing write /table or structures.

Former Member
0 Likes
367

Hi all,

In ecc upgrade ecc6.0 version we can not declare

   WRITE: / TEXT-119,
           / I_Z0027,  ===>    I _Z0027 is a structure with 16 fields
           / I_Z0028.  ====>  I_Z0028 is structure with 41 fields.

but can not decalre write statement  directly for entire structure.

So pleas suggest is there any other idea .

1 REPLY 1
Read only

former_member186055
Active Participant
0 Likes
329

Hello Subrat,

WRITE: / TEXT-119,
           / I_Z0027,  ===>    I _Z0027 is a structure with 16 fields
           / I_Z0028.  ====>  I_Z0028 is structure with 41 fields.

in the above write statement if all the fields I_Z0027 in structure are char or numc type then you can use directly. If there are any DATE or TIME data type fields are then you can't write, if you want to print then you write all the fields as I_Z0027-FIELD1, I_Z0027-FIELD2...etc. or declare one more structure with same fields with all fields character data type then pass the same data to that structure/internal table and then you can print entire structure.

Regards,

Surya...SuryaPraveen