cancel
Showing results for 
Search instead for 
Did you mean: 

using CASE structure in Macro Workbench

Former Member
0 Kudos

Hi ,

We were trying to use the CASE structure in the Macro workbench, We know that the systax is similar to the one in ABAP. We are however unable to use it in the macro workbench. If you can send a screenshot of how it is used in the macro workbench , it will be really helpful to us.

Thanks in advance!

-Ranjini.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi :

Please try this

Macro CASE

STEP :: Step : ( 1 Iterations :Column 1;Column 1 )

CONTROL STATEMENT :: CASE

CONDITION:: Value in first column of row 1

Row: Forecast ( Frm Column 1 )

WHEN

Information [ Value > = 5 ]

Value >=5 ?

OPERATOR:: 5

WHEN

Information [ Value >= 10 ]

Value >= 10?

10

ENDCASE

Former Member
0 Kudos

Hi Please clarify more on CASE structure usage.

What is the objective / requirement.

Regards

Former Member
0 Kudos

we are trying to use it for 3 cases .

when something is >= 5 %

when something is >= 10%

when something is >= 15%

We thought we could use a case statement in this case.