cancel
Showing results for 
Search instead for 
Did you mean: 

Get Selected Unit of Measure in Macro

Former Member
0 Kudos

Hello Everybody,

How can I get a currently selected UoM in a macro? I need to check whether a user has chosen a correct UoM in a planning book.

BR,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can do this by writing a Z function module and call it in the macro.

In the Z Function module you can call FM /SAPAPO/MSDP_SDP_UOM_PAREA_GET

to get the UOM for the PLanning area.

Pass the planning area and OBNM as * and you will get the UOM of the planning area

Former Member
0 Kudos

Thaks for the reply.

Actually, I need the UoM selected by a user in a planning book (from a list in top-left corner).

Answers (0)