SAP Reports / Programs

/SAPAPO/ASSIGNMENT_BAPI_LRP SAP ABAP Report - Program ASSIGNMENT_BAPI







/SAPAPO/ASSIGNMENT_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/ASSIGNMENT_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/ASSIGNMENT_BAPI_LRP. "Basic submit
SUBMIT /SAPAPO/ASSIGNMENT_BAPI_LRP AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPAPO/ASSIGNMENT_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 = WFM Application Category
Selection Text: P_BEGTIM = Start Time
Selection Text: P_BKTYPE = Booking Type
Selection Text: P_COMMIT = Commit After Each Step
Selection Text: P_CREATE = Create Assignment
Selection Text: P_DATE = Date
Selection Text: P_DELETE = Delete Assignment
Selection Text: P_DEMKEY = Requirements Key
Selection Text: P_DUR = Duration in Seconds
Selection Text: P_ENDTIM = End Time
Selection Text: P_KEY = Assignment Key
Selection Text: P_LOGSYS = Logical System
Selection Text: P_RESKEY = Resource Key
Title: Program ASSIGNMENT_BAPI
Text Symbol: 001 = DB Table SAPAPO/LRPASGN After
Text Symbol: 002 = DB Table /SAPAPO/LRPMAP After


INCLUDES used within this REPORT /SAPAPO/ASSIGNMENT_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_ASSGMT_CREATE_SMPL CALL FUNCTION '/SAPAPO/LRP_ASSGMT_CREATE_SMPL' EXPORTING is_admin_record = ls_admin_record i_assignment_key = p_key i_demand_key = p_demkey * I_STRATEGY = i_beg_tstmp = l_beg_tstmp i_end_tstmp = l_end_tstmp i_duration = p_dur i_booking_type = p_bktype TABLES it_resource_key = lt_resource_key et_assignment = lt_assignment et_return = lt_return EXCEPTIONS assignment_exists = 1 demand_does_not_exist = 2 resource_does_not_exist = 3 invalid_parameters = 4 no_resource_available = 5 assignment_failed = 6 OTHERS = 7 .

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

/SAPAPO/LRP_ASSGMT_DELETE_SMPL CALL FUNCTION '/SAPAPO/LRP_ASSGMT_DELETE_SMPL' EXPORTING is_admin_record = ls_admin_record i_assignment_key = p_key TABLES et_return = lt_return EXCEPTIONS assignment_does_not_exists = 1 OTHERS = 2.

/SAPAPO/LRP_TRANSACTION_COMMIT CALL FUNCTION '/SAPAPO/LRP_TRANSACTION_COMMIT' 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/ASSIGNMENT_BAPI_LRP or its description.