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

Write statement

Former Member
0 Likes
547

Hello Friends.. I am upgrading an abap z-program from SAP 3.11 to ECC. the program contains a line: write: /(10) variable1, variable2. In 3.11 this line returns no error, but in ECC the following warning occurs: "you cannot use the syntax WRITE/ULINE/(10). The correct syntax is "WRITE/ULINE AT/(10)".

Not sure if i should ignore this warning.. I would appreciate any comment...

Best regards Ballo

1 ACCEPTED SOLUTION
Read only

former_member404244
Active Contributor
0 Likes
524

Hi,

No need to worry for warning mesages,just activate and see,it willwork.

Regards,

Nagaraj

4 REPLIES 4
Read only

Former Member
0 Likes
524

remove the brackets ()

Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
524

Hi,

For me its working fine.. no warning ...

I think you can use the same ..

Read only

former_member404244
Active Contributor
0 Likes
525

Hi,

No need to worry for warning mesages,just activate and see,it willwork.

Regards,

Nagaraj

Read only

Former Member
0 Likes
524

hi,

i think u should not use braces as ur not giving any specific position to print like this.

for ex: write:/ 2(10) 'suresh'. //////// then starting 2 postion its goes on printing suresh until 12th position . if given string is larger than given index then index is ignored.

it may by default taken as 0 in ur case.

so in ECC 5.0 remove that braces and try.

like this as write:/15 'Aluri'.

if helpful reward some points.

with regards,

Suresh Aluri.