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

Dynamic BOX-es in SAPScript

Former Member
0 Likes
428

Hi!

I would like to reduce the coding in my SAPScript so I would like to use variables to position the BOX-es.

I would like to write a line with values, and print a box around the items.

I imagined it somehow like this:

/E ITEMS

/: &wa_pa0002-nachn& &wa_pa0002-vorna& (&wa_pa0002-pernr&)

/: BOX XPOS 0 CM YPOS &GV_Y_POS& CM HEIGHT 1 CM WIDTH 10 CM FRAME 10 TW

The &GV_Y_POS& is manipulated in the printer program. Anyways it is not working.

Any ideas?

Thank you in advance

Tamá

3 REPLIES 3
Read only

Former Member
0 Likes
397

This is the way I do it...And it works for me -;)


SIZE WIDTH '0.7' CM HEIGHT '0.4' CM
BOX FRAME 1 TW XPOS '0.0' CM YPOS &G_LINE1& CM

Greetings,

Blag.

Read only

0 Likes
397

Thank you for your answer.

The problem was that I was using a number type variable, instead of a character type one...

Read only

0 Likes
397

I'm glad you could solve it -;)

Greetings,

Blag.