cancel
Showing results for 
Search instead for 
Did you mean: 

Wild cards in macros.

Former Member
0 Kudos

Hello,

Is it possible to use ' wild cards' in macros?

For example, a macro which should check the values of the key figure starting with 10*.

Thanks for your kind reply, would be rewarded with points.

Best Regards,

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Quick Question....

If you are going to check the value of a Keyfigure would it not be easy to write a macro checking if value greater than 100 but less than 199 if you want to check for 10* (assuming the value is 3 digits)

you can extend your macro to value > 1000 and <1999 and >10,000 and < 19999 if you dont know the number of digits

Former Member
0 Kudos

Hi Sriram,

Try using the below function.

Operator: VALUE_CONTAINED( )

VALUE_CONTAINED( value ; range ) returns the value 1 if the value is contained in the specified range.

Else create a marco function module for checking the keyfigure value 10* and use it in ur macro.

Regards,

Siva.