SAP Reports / Programs

/SAPAPO/RESOURCE_BAPI_LRP SAP ABAP Report - Program RESOURCE_BAPI







/SAPAPO/RESOURCE_BAPI_LRP 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/RESOURCE_BAPI_LRP 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/RESOURCE_BAPI_LRP. "Basic submit
SUBMIT /SAPAPO/RESOURCE_BAPI_LRP AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPAPO/RESOURCE_BAPI_LRP 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 = Application Category
Selection Text: P_BEGDAT = Start of Validity Period
Selection Text: P_BEGTIM = Start of Working Time
Selection Text: P_COMMIT = COMMIT After Each Step
Selection Text: P_CREATE = Create Resource
Selection Text: P_CRETSP = Create Attendance/Absence
Selection Text: P_DELETE = Delete Resource
Selection Text: P_DWS = Create Work Schedule
Selection Text: P_ENDDAT = End of Validity Period
Selection Text: P_ENDTIM = End of Working Time
Selection Text: P_EXCRAN = Take Acc.of Marginal Intervals
Selection Text: P_KEY = Resource Key
Selection Text: P_LOAD = Display Resource Availability
Selection Text: P_LOGSYS = Logical System
Selection Text: P_NAME = Resource Name
Title: Program RESOURCE_BAPI


INCLUDES used within this REPORT /SAPAPO/RESOURCE_BAPI_LRP

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:

/SAPAPO/LRP_CHECK_SYSTEM call function '/SAPAPO/LRP_CHECK_SYSTEM' importing changes_ok = changes_ok.

/SAPAPO/LRP_RESOURCE_CREATE CALL FUNCTION '/SAPAPO/LRP_RESOURCE_CREATE' DESTINATION p_rfcdes EXPORTING is_admin_record = ls_admin_record i_resource_key = l_res_key i_description = p_name TABLES et_return = lt_return EXCEPTIONS resource_exists = 1 OTHERS = 2.

/SAPAPO/LRP_TRANSACTION_COMMIT CALL FUNCTION '/SAPAPO/LRP_TRANSACTION_COMMIT' DESTINATION p_rfcdes TABLES et_return = lt_return EXCEPTIONS transaction_error = 1 OTHERS = 2.

/SAPAPO/LRP_RES_CRE_TIMEINT CALL FUNCTION '/SAPAPO/LRP_RES_CRE_TIMEINT' DESTINATION p_rfcdes EXPORTING is_admin_record = ls_admin_record i_resource_key = l_res_key i_timespec_key = l_dws i_timespec_type = '' i_priority = 1 * I_DEFAULT_PRIORITY = * I_VALID_FROM = '00000000000000' * I_VALID_TO = '99991231235959' * I_DESCRIPTION = TABLES it_lrp_timeint = lt_timeint et_return = lt_return EXCEPTIONS resource_does_not_exist = 1 timespec_exists = 2 invalid_parameters = 3 OTHERS = 4 .

/SAPAPO/LRP_TRANSACTION_COMMIT CALL FUNCTION '/SAPAPO/LRP_TRANSACTION_COMMIT' DESTINATION p_rfcdes TABLES et_return = lt_return EXCEPTIONS transaction_error = 1 OTHERS = 2.

/SAPAPO/LRP_RES_CRE_TIMEINT CALL FUNCTION '/SAPAPO/LRP_RES_CRE_TIMEINT' DESTINATION p_rfcdes EXPORTING is_admin_record = ls_admin_record i_resource_key = p_keys-low i_global_resource = 'X' i_timespec_key = l_dws i_timespec_type = 'ABS' i_priority = 64 * I_DEFAULT_PRIORITY = * I_VALID_FROM = '00000000000000' * I_VALID_TO = '00000000000000' * I_DESCRIPTION = TABLES it_lrp_timeint = lt_timeint et_return = lt_return EXCEPTIONS resource_does_not_exist = 1 timespec_exists = 2 OTHERS = 4.

/SAPAPO/LRP_TRANSACTION_COMMIT CALL FUNCTION '/SAPAPO/LRP_TRANSACTION_COMMIT' DESTINATION p_rfcdes TABLES et_return = lt_return EXCEPTIONS transaction_error = 1 OTHERS = 2.

/SAPAPO/LRP_RES_GET_TIMEAVL_IR CALL FUNCTION '/SAPAPO/LRP_RES_GET_TIMEAVL_IR' DESTINATION p_rfcdes EXPORTING i_logsys = p_logsys i_awtyp = p_awtyp i_beg_tstmp = l_beg_tstmp i_end_tstmp = l_end_tstmp i_exceed_range = p_excran TABLES it_resource_key = lt_res_key et_resource_timeint = lt_res_timeint et_return = lt_return et_invalid_resources = lt_inv_res.

/SAPAPO/LRP_RESOURCE_DELETE CALL FUNCTION '/SAPAPO/LRP_RESOURCE_DELETE' DESTINATION p_rfcdes EXPORTING is_admin_record = ls_admin_record i_resource_key = l_res_key TABLES et_return = lt_return EXCEPTIONS resource_does_not_exist = 1 OTHERS = 2.

/SAPAPO/LRP_TRANSACTION_COMMIT CALL FUNCTION '/SAPAPO/LRP_TRANSACTION_COMMIT' DESTINATION p_rfcdes TABLES et_return = lt_return EXCEPTIONS transaction_error = 1 OTHERS = 2.

/SAPAPO/LRP_TRANSACTION_COMMIT CALL FUNCTION '/SAPAPO/LRP_TRANSACTION_COMMIT' DESTINATION p_rfcdes TABLES et_return = lt_return EXCEPTIONS transaction_error = 1 OTHERS = 2.



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