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

syntax error in ECC 6

Former Member
0 Likes
664

Hi All,

i'm getting an error with ULINE.

here is the piece of code.

uline: /(6) under w_openqty, "Underline Open Qty

(6) under opo-opdelv,"Underline Open Delivry

(6) under opo-bmeng, "Underline Aloc Qty

(6) under opo-olfmng,"Underline B/O Qty

(12) under w_alocval."Underline Alloc Value

the error is:

only the syntax uline and uline at /pos(len) is expected.

can any one please suggest.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
638

hi,

ULINE CAN'T BE used. if u want to get underline for variables then u use SY-ULINE as it is a system variable and modify ur code as

write:/ sy-uline(6) under w_openqty, "Underline Open Qty

sy-uline(6) under opo-opdelv,"Underline Open Delivry

sy-uline(6) under opo-bmeng, "Underline Aloc Qty

sy-uline(6) under opo-olfmng,"Underline B/O Qty

sy-uline(12) under w_alocval."Underline Alloc Value

IF HELPFUL REWARD SOME POINTS.

WITH REGARDS,

SURESH ALURI.

5 REPLIES 5
Read only

Former Member
0 Likes
638

Hi Suresh,

You can not use UNDER option with ULINE statement.

You can use this with WRITE statement only.

Check this code.

<b>uline.</b>

<b>WRITE:</b> /(6) under w_openqty, "Underline Open Qty

(6) under opo-opdelv,"Underline Open Delivry

(6) under opo-bmeng, "Underline Aloc Qty

(6) under opo-olfmng,"Underline B/O Qty

(12) under w_alocval."Underline Alloc Value

Thanks,

Vinay

Read only

0 Likes
638

Hi Vinay,

Thanks for your reply.

but its not working with write also.

its raising an error saying.......field under is unknown..its not defined by a data stmt..

Read only

Former Member
0 Likes
638

Hi,

I think you should use the ULINE command this way:

ULINE AT position (lenght of uline).

Thanks,

Sandeep.

Read only

Former Member
0 Likes
639

hi,

ULINE CAN'T BE used. if u want to get underline for variables then u use SY-ULINE as it is a system variable and modify ur code as

write:/ sy-uline(6) under w_openqty, "Underline Open Qty

sy-uline(6) under opo-opdelv,"Underline Open Delivry

sy-uline(6) under opo-bmeng, "Underline Aloc Qty

sy-uline(6) under opo-olfmng,"Underline B/O Qty

sy-uline(12) under w_alocval."Underline Alloc Value

IF HELPFUL REWARD SOME POINTS.

WITH REGARDS,

SURESH ALURI.

Read only

0 Likes
638

Hi Suresh,

bunch of thanks...its working now.

points rewarded