Ansicht
Dokumentation
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 timeThis documentation is copyright by SAP AG.
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_TABAC_CONTAINER
Exceptions
NOTHING_FOUNDNO_SCENARIO
Function Group
CRM_ORGMAN_TOOLSCL_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 )