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

SAPScript Query

Former Member
0 Likes
334

Hi

I'm new Scripts,facing the problem with BOXes and titles.

This it header window info.

The Box contains four fields and fld values.

like this

fld1 title fld1 val fld2 title fld2 val fld3 title fld3 val fld4 title fld4 val

but the problem is fld2 title is places in fld2 val.

I tried with removing ,, in the header H1 but it is coming either 2 fld1 val or fld2 val but not fld2 title.

I have given the code below.

Plz help me.....

<B>,,Item:,,&IT_MATNR-MATNR&,,Model No:,,&wa_vbap-arktx(15)&,,

Rev:,,&rev_lvl&,,Due:,,&wa_vbap-edatu&,,</>,,

POSITION YORIGIN '+0.11' CM

BOX FRAME 40 TW WIDTH '20.25' CM HEIGHT '0.75' CM

POSITION XORIGIN '+2.0' CM

BOX FRAME 40 TW WIDTH '0.0' CM HEIGHT '0.75' CM

POSITION XORIGIN '+6.0' CM

BOX FRAME 40 TW WIDTH '2.0' CM HEIGHT '0.75' CM

POSITION XORIGIN '+2.0' CM

BOX FRAME 40 TW WIDTH '2.5' CM HEIGHT '0.75' CM

POSITION XORIGIN '+2.5' CM

BOX FRAME 40 TW WIDTH '1.5' CM HEIGHT '0.75' CM

POSITION XORIGIN '+1.5' CM

BOX FRAME 40 TW WIDTH '2.5' CM HEIGHT '0.75' CM

POSITION XORIGIN '+2.5' CM

BOX FRAME 40 TW WIDTH '1.5' CM HEIGHT '0.75' CM

1 REPLY 1
Read only

Former Member
0 Likes
301

hi change the Xorigin position like below::

<B>,,Item:,,&IT_MATNR-MATNR&,,Model No:,,&wa_vbap-arktx(15)&,,

Rev:,,&rev_lvl&,,Due:,,&wa_vbap-edatu&,,</>,,

POSITION YORIGIN '+0.11' CM

BOX FRAME 40 TW WIDTH '20.25' CM HEIGHT '0.75' CM

POSITION XORIGIN '+2.0' CM

BOX FRAME 40 TW WIDTH '0.0' CM HEIGHT '0.75' CM

POSITION XORIGIN '+6.0' CM

BOX FRAME 40 TW WIDTH '2.0' CM HEIGHT '0.75' CM

POSITION XORIGIN '+8.0' CM

BOX FRAME 40 TW WIDTH '2.5' CM HEIGHT '0.75' CM

POSITION XORIGIN '+9.5' CM

BOX FRAME 40 TW WIDTH '1.5' CM HEIGHT '0.75' CM

POSITION XORIGIN '+10.5' CM

BOX FRAME 40 TW WIDTH '2.5' CM HEIGHT '0.75' CM

POSITION XORIGIN '+12.5' CM

BOX FRAME 40 TW WIDTH '1.5' CM HEIGHT '0.75' CM