cancel
Showing results for 
Search instead for 
Did you mean: 

Using the BOX command with variables instead of fixed values in SAPSCRIPT

Former Member
0 Kudos

Is it possible to use the BOX and similar commands with variables?

The requirement is for me to output materials for a work order. If there are many materials, each must have its own heading with a box and shading

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Try with IF Statement. Put all the code to Display material,Heading and Box with in IF and Check IF material is Exist or not.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can in your window put several BOX , SIZE and WINDOW commands .

Upon conditions you select which one to print.

like

CASE &VAR&.

WHEN 'A'

...

....

...

WHEN 'B'

-


...

...

ENDCASE.

Any questions. I will help you.

Gr., Frank