Skip to Content
0
Former Member
Nov 09, 2012 at 12:20 PM

Plant OBJKEY needed for Rule Agent determination

101 Views

Dear All,

I've created a rule for agents determination. I would like to use FM RH_SAP_ORG_OBJEC_ACTORS_LIST to get possible actors for given plant (plant will be stored in container).

The problem is that mentioned FM requires not GUID or ID, but OBJKEY (type swo_typeid).

Execution looks like:

CALL FUNCTION 'RH_SAP_ORG_OBJEC_ACTORS_LIST'    EXPORTING        ACT_OBJTYP = 'BUS0008'        ACT_OBJKEY = 'plants_objkey' .

How could I get this value?

thanks in advance!