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

/SAPAPO/DEMAND_BAPI_LRP SAP ABAP Report - Program DEMAND_BAPI







/SAPAPO/DEMAND_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/DEMAND_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/DEMAND_BAPI_LRP. "Basic submit
SUBMIT /SAPAPO/DEMAND_BAPI_LRP AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPAPO/DEMAND_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
Selection Text: P_BEGDAT = Start Date
Selection Text: P_BEGTIM = Start Time
Selection Text: P_COMMIT = Commit After Each Step
Selection Text: P_CREATE = Create Requirement
Selection Text: P_DATE = Date
Selection Text: P_DELETE = Delete Requirement
Selection Text: P_DESC = Description
Selection Text: P_DURATI = Duration in Hours
Selection Text: P_ENDDAT = End Date
Selection Text: P_ENDTIM = End Time
Selection Text: P_KEY = Requirement Key
Selection Text: P_LOGSYS = Logical System
Selection Text: P_MBEGTI = Start Time
Selection Text: P_MENDTI = End Time
Selection Text: P_MKEY = Key for Multiple Create
Selection Text: P_MODIFY = Modify
Selection Text: P_MULTI = Mass Data Generation
Selection Text: P_RFCDES = RFC Destination
Title: Program DEMAND_BAPI
Text Symbol: 001 = WFM Requirement


INCLUDES used within this REPORT /SAPAPO/DEMAND_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_TRANSACTION_COMMIT CALL FUNCTION '/SAPAPO/LRP_TRANSACTION_COMMIT' DESTINATION p_rfcdes TABLES et_return = lt_return EXCEPTIONS transaction_error = 1 OTHERS = 2.

/SAPAPO/LRP_DEMAND_MODIFY_SMPL CALL FUNCTION '/SAPAPO/LRP_DEMAND_MODIFY_SMPL' EXPORTING is_admin_record = ls_admin_record i_demand_key = p_key is_timeint = ls_timeint i_duration = l_duration i_description = p_desc TABLES it_resource_key = lt_resource_key et_return = lt_return.

/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_DEMAND_DELETE CALL FUNCTION '/SAPAPO/LRP_DEMAND_DELETE' DESTINATION p_rfcdes EXPORTING is_admin_record = ls_admin_record TABLES it_demand_key = lt_demand_key et_return = lt_return EXCEPTIONS demand_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.

/SAPAPO/LRP_DEMAND_CREATE_SMPL CALL FUNCTION '/SAPAPO/LRP_DEMAND_CREATE_SMPL' DESTINATION p_rfcdes EXPORTING is_admin_record = ls_admin_record i_demand_key = p_key is_timeint = ls_timeint i_duration = l_duration TABLES it_resource_key = lt_resource_key et_return = lt_return EXCEPTIONS demand_exists = 1 resource_does_not_exist = 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_DEMAND_CREATE_SMPL CALL FUNCTION '/SAPAPO/LRP_DEMAND_CREATE_SMPL' DESTINATION p_rfcdes EXPORTING is_admin_record = ls_admin_record i_demand_key = l_key is_timeint = ls_timeint i_duration = l_duration TABLES it_resource_key = lt_resource_key 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/DEMAND_BAPI_LRP or its description.