SAP Reports / Programs

/SAPAPO/WFM_TEST_001_PREPARE SAP ABAP Report - Program RESOURCE_BAPI







/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


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_001_PREPARE. "Basic submit
SUBMIT /SAPAPO/WFM_TEST_001_PREPARE AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPAPO/WFM_TEST_001_PREPARE 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_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


INCLUDES used within this REPORT /SAPAPO/WFM_TEST_001_PREPARE

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:

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.



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_001_PREPARE or its description.