SAP Reports / Programs | Cross-Application Components | General Application Functions | Workforce Management Core(CA-GTF-WFM) SAP CA

_ORGUNIT_QRY_DTL_F01 SAP ABAP INCLUDE - Include _ORGUNIT_QRY_DTL_FORMS







_ORGUNIT_QRY_DTL_F01 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter _ORGUNIT_QRY_DTL_F01 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT _ORGUNIT_QRY_DTL_F01. "Basic submit
SUBMIT _ORGUNIT_QRY_DTL_F01 AND RETURN. "Return to original report after report execution complete
SUBMIT _ORGUNIT_QRY_DTL_F01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include _ORGUNIT_QRY_DTL_FORMS


INCLUDES used within this REPORT _ORGUNIT_QRY_DTL_F01

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = ' ' text_question = text-003 text_button_1 = text-004 text_button_2 = text-005 default_button = '1' display_cancel_button = '' IMPORTING answer = lv_answer.

DEQUEUE_ECRMWFMCLOCATION CALL FUNCTION 'DEQUEUE_ECRMWFMCLOCATION' EXPORTING mode_wfmc_location = 'E' mandt = sy-mandt location_type = gv_profile_id * START_DATE = x_location_type = ' ' * x_start_date = ' ' _scope = '3' _synchron = 'X' _collect = ' ' .

VIEW_WRITE_CHANGELOG_HEADER CALL FUNCTION 'VIEW_WRITE_CHANGELOG_HEADER' EXPORTING viewname = 'WFMC_PRF_MAPPING' bastab = 'X' begin = space clidep = 'X'.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = lv_screen_field values = lt_values EXCEPTIONS id_illegal_name = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = lv_screen_field values = lt_values EXCEPTIONS id_illegal_name = 1 OTHERS = 2.

WFM_GET_PRF_DTL CALL FUNCTION 'WFM_GET_PRF_DTL' EXPORTING profile_type = profiletypes-orgunit profile_ids = myids IMPORTING itab_profiles = subscrn_pids.

ENQUEUE_ECRMWFMCLOCATION CALL FUNCTION 'ENQUEUE_ECRMWFMCLOCATION' EXPORTING mode_wfmc_location = 'E' mandt = sy-mandt location_type = gv_profile_id * START_DATE = ' ' x_location_type = ' ' * x_start_date = ' ' _scope = '2' _wait = ' ' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3 .

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = ' ' text_question = text-003 text_button_1 = text-004 text_button_2 = text-005 default_button = '1' display_cancel_button = '' IMPORTING answer = lv_answer.

DEQUEUE_ECRMWFMCLOCATION CALL FUNCTION 'DEQUEUE_ECRMWFMCLOCATION' EXPORTING mode_wfmc_location = 'E' mandt = sy-mandt location_type = gv_profile_id * START_DATE = x_location_type = ' ' * x_start_date = ' ' _scope = '3' _synchron = 'X' _collect = ' ' .

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = gv_plvar EXCEPTIONS no_active_plvar = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = ' ' text_question = lv_question text_button_1 = text-001 icon_button_1 = 'ICON_OKAY' text_button_2 = text-002 icon_button_2 = 'ICON_CANCEL' default_button = '1' display_cancel_button = ' ' IMPORTING answer = lv_answer.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = ' ' text_question = lv_question text_button_1 = text-001 icon_button_1 = 'ICON_OKAY' text_button_2 = text-002 icon_button_2 = 'ICON_CANCEL' default_button = '1' display_cancel_button = ' ' IMPORTING answer = lv_answer.

VIEW_WRITE_CHANGELOG_HEADER CALL FUNCTION 'VIEW_WRITE_CHANGELOG_HEADER' EXPORTING viewname = 'WFMC_LOCATION' bastab = 'X' begin = 'X' clidep = 'X'.

VIEW_WRITE_CHANGELOG_HEADER CALL FUNCTION 'VIEW_WRITE_CHANGELOG_HEADER' EXPORTING viewname = 'WFMC_LOCATION' bastab = 'X' begin = space clidep = 'X'.

WFM_GET_PRF_DTL CALL FUNCTION 'WFM_GET_PRF_DTL' EXPORTING profile_type = profiletypes-orgunit profile_ids = gt_source_org_units IMPORTING itab_profiles = gt_avail_orgs.

CRM_WFM_GET_ORG_IDS CALL FUNCTION 'CRM_WFM_GET_ORG_IDS' IMPORTING et_prf_ids = gt_source_org_units EXCEPTIONS no_data = 1 OTHERS = 2.

WFM_GET_PRF_DTL CALL FUNCTION 'WFM_GET_PRF_DTL' EXPORTING profile_type = profiletypes-orgunit profile_ids = gt_source_org_units IMPORTING itab_profiles = gt_avail_orgs.

WFM_POP_UP_DATES CALL FUNCTION 'WFM_POP_UP_DATES' EXPORTING it_dates = lt_start_dates IMPORTING es_dates = ls_start_dates.

ENQUEUE_ECRMWFMCLOCATION





CALL FUNCTION 'ENQUEUE_ECRMWFMCLOCATION' EXPORTING mode_wfmc_location = 'E' mandt = sy-mandt location_type = gv_profile_id * START_DATE = ' ' x_location_type = ' ' * x_start_date = ' ' _scope = '2' _wait = ' ' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3 .

WFM_SELECT_TRANSPORT_TYPE CALL FUNCTION 'WFM_SELECT_TRANSPORT_TYPE' IMPORTING bcontinue = bcontinue CHANGING co_order = hlp_order co_task = hlp_task.

WFM_EXECUTE_TRANSPORT CALL FUNCTION 'WFM_EXECUTE_TRANSPORT' EXPORTING ieo_order = hlp_order IMPORTING bstatus = bstatus TABLES t_e071k = t_e071k t_ko200 = t_ko200.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name _ORGUNIT_QRY_DTL_F01 or its description.