/SAPAPO/WFM_TEST_001_PREPARE 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_001_PREPARE 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.
Selection Text: P_BEGDAT = Start of Validity Period
Selection Text: P_BEGTIM = Start of Working Time
Selection Text: P_ENDDAT = End of Validity Period
Selection Text: P_ENDTIM = End of Working Time
Selection Text: P_FACAL = Factory Calendar
Selection Text: P_NAME = Resource Name
Selection Text: P_NR = Number of Resources
Title: Program RESOURCE_BAPI
Text Symbol: 001 = Availability Performance Test
Text Symbol: 004 = Info for Creating Resources
Text Symbol: 005 = Info for Creating Working Time
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = logsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.
GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = ls_resource-reskey.
GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = l_timespec_key.
GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = l_timespec_key.
DAY_ATTRIBUTES_GET CALL FUNCTION 'DAY_ATTRIBUTES_GET' EXPORTING factory_calendar = p_facal * holiday_calendar = date_from = p_begdat date_to = p_enddat language = sy-langu IMPORTING returncode = ls_returncode TABLES day_attributes = lt_day_attribute EXCEPTIONS factory_calendar_not_found = 1 holiday_calendar_not_found = 2 date_has_invalid_format = 3 date_inconsistency = 4 OTHERS = 5.
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_001_PREPARE - Program RESOURCE_BAPI /SAPAPO/WFM_TEST_001_PREPARE - Program RESOURCE_BAPI /SAPAPO/WFM_TEST_001 - Performance Test: Read Availabilities /SAPAPO/WFM_TEST_001 - Performance Test: Read Availabilities /SAPAPO/WFM_SYNC_LC_DB_TOP - Include /SAPAPO/WFM_SYNC_LC_DB_TOP /SAPAPO/WFM_SYNC_LC_DB_TEXT - d