Ansicht
Dokumentation

CRM_ORGMAN_ORGOBJECTS_FIND_2 - Employees in an OrgUnit (OrgUnit ==> Employee)

CRM_ORGMAN_ORGOBJECTS_FIND_2 - Employees in an OrgUnit (OrgUnit ==> Employee)

Fill RESBD Structure from EBP Component Structure   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module delivers the assigned employee for an organizational unit.

Example

data:,,ls_container ,,type swcont,

,,lt_container ,,type standard table of swcont,

,,lt_actor,,type standard table of swhactor.

* You must specify the responsible organizational unit

ls_container-element = 'SA_RESPORG'. " responsible organizational unit

ls_container-value = 'O 1234567890'. " value of responsible organizational unit

append ls_container to lt_container.

CALL FUNCTION 'CRM_ORGMAN_ORGOBJECTS_FIND_2'

TABLES

,,,, AC_CONTAINER = lt_container

,, ,, ACTOR_TAB = lt_actor

EXCEPTIONS

,,,, OTHERS = 3.

IF SY-SUBRC <> 0.

* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Notes

Further information





Parameters

ACTOR_TAB
AC_CONTAINER

Exceptions

NOTHING_FOUND
NO_SCENARIO

Function Group

CRM_ORGMAN_TOOLS

CL_GUI_FRONTEND_SERVICES - Frontend Services   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 1352 Date: 20240523 Time: 103608     sap01-206 ( 22 ms )