cancel
Showing results for 
Search instead for 
Did you mean: 

Can I fetch value of a characteristic in a macro script?

Former Member
0 Kudos

Hi,

I have a characteristic called 'Distribution Channel' (DC) in my DP workbench which can take value '10' and '20'. I need to write a macro which behaves differently for DC=10 and 20. I know I can create two mass processing jobs with required selection profile (which will take care of  DC). However I need to run it as 'Default Macro'. How do I fetch the value of "Distribution Channel" dynamically inside my macro script?

Accepted Solutions (1)

Accepted Solutions (1)

satish_waghmare3
Active Contributor
0 Kudos

Hello Rakesh


You need to use either of these two macro function : IOBJNM_VALUE() and ACT_IOBJNM_VALUE(). Please read about them from below link.

Refer sample macro below.

Please see below link to know various Macro functions which are available.

Functions for InfoObjects and Planning Folders - Planning Area Administration - SAP Library

Hope this will help.

Thank you

Satish Waghmare

Former Member
0 Kudos

Thank you so much Satish for your advice. I am trying to incorporate this and will get back.

Former Member
0 Kudos

This worked. Thanks a lot Satish .

Answers (0)