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

/SAPAPO/WFM_TEST_CAPA_PROF SAP ABAP Report - Program /sapapo/wfm_test_capa_prof







/SAPAPO/WFM_TEST_CAPA_PROF is a standard Executable ABAP Report 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 /SAPAPO/WFM_TEST_CAPA_PROF 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 /SAPAPO/WFM_TEST_CAPA_PROF. "Basic submit
SUBMIT /SAPAPO/WFM_TEST_CAPA_PROF AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPAPO/WFM_TEST_CAPA_PROF VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_AWTYP = D .
Selection Text: P_FROM = Start time stamp
Selection Text: P_LOGSYS = D .
Selection Text: P_RESKEY = External Resource Key
Selection Text: P_TO = End time stamp
Title: Program /sapapo/wfm_test_capa_prof


INCLUDES used within this REPORT /SAPAPO/WFM_TEST_CAPA_PROF

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:

GUID_CONVERT CALL FUNCTION 'GUID_CONVERT' EXPORTING iv_guid_c32 = p_reskey IMPORTING ev_guid_c22 = l_int_key.

WFD_RES_GET_TIMESPEC_IR CALL FUNCTION 'WFD_RES_GET_TIMESPEC_IR' EXPORTING i_logsys = p_logsys i_awtyp = p_awtyp i_beg_tstmp = p_from i_end_tstmp = p_to i_exceed_range = 'X' i_include_exceptions = 'X' i_include_worktime = 'X' i_include_capa = 'X' it_resource_key = lt_reskeys * IT_TIMESPEC_TYPES = IMPORTING et_resource_timespec = lt_res_timespecs * ET_INVALID_RESOURCES = et_return = lt_return.

WFD_RES_GET_AVAIL CALL FUNCTION 'WFD_RES_GET_AVAIL' EXPORTING i_logsys = p_logsys i_awtyp = p_awtyp it_resource_keys = lt_reskeys i_avail_level = '01' i_beg_tstmp = p_from i_end_tstmp = p_to i_exceed_range = 'X' IMPORTING et_avails = lt_avail et_return = lt_return.

WFD_RES_GET_CAPA_PROF CALL FUNCTION 'WFD_RES_GET_CAPA_PROF' EXPORTING i_logsys = p_logsys i_awtyp = p_awtyp it_resource_keys = lt_reskeys it_timeints = lt_time_ranges * IT_TIME_RULE = IMPORTING et_res_capa_profile = lt_res_capa_profile * et_invalid_resources = et_return = lt_return .

WFD_RES_GET_DETAIL CALL FUNCTION 'WFD_RES_GET_DETAIL' EXPORTING i_logsys = is_admin_record-logsys i_awtyp = is_admin_record-awtyp i_resource = i_reskey IMPORTING et_resource_data = lt_res_data et_return = lt_return.



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 /SAPAPO/WFM_TEST_CAPA_PROF or its description.