/SAPAPO/WFM_TEST_CAPA_DEMAND 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_DEMAND into the relevant SAP transactions such as SE38 or SE80
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.
Title: Program /SAPAPO/WFM_TEST_CAPA_DEMAND
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
/SAPAPO/LRP_CHECK_SYSTEM call function '/SAPAPO/LRP_CHECK_SYSTEM' importing changes_ok = changes_ok.
WFD_DEMAND_REMAINING_CAPAC_GET CALL FUNCTION 'WFD_DEMAND_REMAINING_CAPAC_GET' EXPORTING i_logsys = gs_admin_record-logsys i_awtyp = gs_admin_record-awtyp i_demand_key = g_demand_key IMPORTING * ES_DEMAND_DATA = et_remaining_req_capacity = gt_capa_intervals * E_COVERAGE_SUM = * E_REMAINING_SUM = * E_INVALID_DEMAND_KEY = et_return = gt_return.
WFD_DEMAND_GET_DETAIL CALL FUNCTION 'WFD_DEMAND_GET_DETAIL' EXPORTING i_logsys = gs_admin_record-logsys i_awtyp = gs_admin_record-awtyp i_demand_key = g_demand_key IMPORTING et_demand_data = lt_demand_data * ET_INVALID_DEMAND_KEYS = et_return = gt_return.
WFD_ASSIGNMENT_GET_IR CALL FUNCTION 'WFD_ASSIGNMENT_GET_IR' EXPORTING i_logsys = gs_admin_record-logsys i_awtyp = gs_admin_record-awtyp * I_DEM_BEG_TSTMP = '19700101000020' * I_DEM_END_TSTMP = '20371231235949' * I_BEG_TSTMP = '19700101000020' * I_END_TSTMP = '20371231235949' * I_EXCEED_RANGE = 'X' * I_BOOKED = 'X' * I_PLANNED = 'X' * IT_RESOURCE_KEY = it_demand_key = lt_demand_key IMPORTING et_assignment_detail = lt_assignment_detail * ET_INVALID_RESOURCE = * ET_INVALID_DEMAND = et_return = gt_return.
WFD_ASSIGNMENT_CREATE CALL FUNCTION 'WFD_ASSIGNMENT_CREATE' EXPORTING is_admin_record = gs_admin_record is_assignment_data = ls_assignment_data IMPORTING et_return = gt_return.
WFD_ASSIGNMENT_CREATE * CALL FUNCTION 'WFD_ASSIGNMENT_CREATE' * EXPORTING * is_admin_record = gs_admin_record * is_assignment_data = ls_assignment_data * IMPORTING * et_return = gt_return.
GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = g_demand_key.
WFD_DEMAND_CREATE CALL FUNCTION 'WFD_DEMAND_CREATE' EXPORTING is_admin_record = gs_admin_record i_demand_key = g_demand_key i_description = l_description it_capa_timeints = gt_capa_intervals IMPORTING et_return = gt_return.
OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = gs_admin_record-logsys EXCEPTIONS OTHERS = 0.
GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = g_resource_key.
WFD_RESOURCE_CREATE CALL FUNCTION 'WFD_RESOURCE_CREATE' EXPORTING is_admin_record = gs_admin_record i_resource_key = g_resource_key * I_RESOURCE_TYPE = * I_CAPA_INPUT_TYPE = i_description = l_description * IT_SERV_AREAS = * IT_VALIDITY_PERIOD = * IT_OVERTIME_PROFILE = * IT_CAPALIMIT_PROFILE = IMPORTING et_return = gt_return.
WFD_TRANSACTION_COMMIT CALL FUNCTION 'WFD_TRANSACTION_COMMIT' EXPORTING no_explicit_commit_work = 'X' IMPORTING et_return = gt_return.
GUID_CONVERT CALL FUNCTION 'GUID_CONVERT' EXPORTING iv_guid_c22 = ls_reso-resuid IMPORTING ev_guid_c32 = l_resource_key EXCEPTIONS OTHERS = 0.
WFD_ASSIGNMENT_GET_IR CALL FUNCTION 'WFD_ASSIGNMENT_GET_IR' EXPORTING i_logsys = gs_admin_record-logsys i_awtyp = gs_admin_record-awtyp * I_DEM_BEG_TSTMP = '19700101000020' * I_BEG_TSTMP = '20371231235949' * I_DEM_END_TSTMP = '19700101000020' * I_END_TSTMP = '20371231235949' * I_EXCEED_RANGE = 'X' * I_BOOKED = 'X' * I_PLANNED = 'X' it_resource_key = lt_resource_key * IT_DEMAND_KEY = IMPORTING et_assignment_detail = lt_assignment_detail * ET_INVALID_RESOURCE = * ET_INVALID_DEMAND = et_return = gt_return.
WFD_ASSIGNMENT_DELETE CALL FUNCTION 'WFD_ASSIGNMENT_DELETE' EXPORTING is_admin_record = gs_admin_record it_assignment_keys = lt_assignment_key IMPORTING et_return = gt_return.
WFD_DEMAND_DELETE CALL FUNCTION 'WFD_DEMAND_DELETE' EXPORTING is_admin_record = gs_admin_record it_demand_key = lt_demand_key IMPORTING et_return = gt_return.
WFD_RESOURCE_DELETE CALL FUNCTION 'WFD_RESOURCE_DELETE' EXPORTING is_admin_record = gs_admin_record i_resource_key = l_resource_key * I_CLEAR_DEPENDENCIES = 'X' IMPORTING et_return = gt_return.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/SAPAPO/WFM_TEST_CAPA_DEMAND - Program /SAPAPO/WFM_TEST_CAPA_DEMAND /SAPAPO/WFM_TEST_CAPA_DEMAND - Program /SAPAPO/WFM_TEST_CAPA_DEMAND /SAPAPO/WFM_TEST_006 - Program /SAPAPO/WFM_TEST_006 /SAPAPO/WFM_TEST_006 - Program /SAPAPO/WFM_TEST_006 /SAPAPO/WFM_TEST_004 - Program /SAPAPO/WFM_TEST_004 /SAPAPO/WFM_TEST_004 - Program /SAPAPO/WFM_TEST_004