cancel
Showing results for 
Search instead for 
Did you mean: 

Macro help: Nav Attribute Value

Former Member
0 Kudos

Dear Macro Gurus,

I need to realize this

IF the value of the Navigational Attribute "NavChar2" of a POS "Char1" is = a, b, and c

then

do something.

ENDIF

I could do the something

but couldn't get the macro function right for the IF.

Help appreciated

Thanks

BS

Accepted Solutions (1)

Accepted Solutions (1)

marianoc
Active Contributor
0 Kudos

Hi BS,

I don't think there is a Macro to access NavAttribute info.

You will need to make a development in ABAP to pick the navigational attribute value of your base characteristic. You will need to work with an ABAP programmer.

Thanks and Regards,

Mariano

Former Member
0 Kudos

Thanks Mariano,

Are you sure?

I see many functions of info-objects for getting char values. How is a Nav char different from Char for this purpose ? or May be it is because its SAP. May be there is some note. Let me spend 10 days and come back on this 🙂

Regards

BS

Former Member
0 Kudos

Did you find a solution? I have a similar query and I also want a macro to read a value that is a navigational attribute..

Please respond even if the answer is no, you found it was not possible.

SSB

alan_heathcote
Explorer
0 Kudos

Is this any help?  Function ACT_IOBJNM_VALUE with a double underscore to separate the characteristic from its nav attribute.

ACT_IOBJNM_VALUE( 'characteristic__navattr' ) = 'X'

which could be implemented in macro similar to attachment

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Borat,

while creating macros with navigational attributes, you need not think much.

1) Just Goto MPOS and Click on Navigational attribute push button

2) Copy the technical name as written there (eg: characteristic_navattribute)

3) Use the same in Macro.

Regards,

APH

Former Member
0 Kudos

Hello Amit, Alan

Many thanks for your response. I really missed to see your responses. I think we used Alan's function that I did note first but was clueless after reading the help document twice.

Regards

BS

Former Member
0 Kudos

Thanks !!

APH