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

/SAPAPO/OM_LRP_DWNUPL SAP ABAP INCLUDE - Include for Download/Upload LC-data







/SAPAPO/OM_LRP_DWNUPL is a standard ABAP INCLUDE 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/OM_LRP_DWNUPL 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/OM_LRP_DWNUPL. "Basic submit
SUBMIT /SAPAPO/OM_LRP_DWNUPL AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPAPO/OM_LRP_DWNUPL VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include for Download/Upload LC-data


INCLUDES used within this REPORT /SAPAPO/OM_LRP_DWNUPL

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:

GUID_CREATE call function 'GUID_CREATE' importing ev_guid_22 = lv_guid.

/SAPAPO/OM_WRITE_LC_ERROR CALL FUNCTION '/SAPAPO/OM_WRITE_LC_ERROR' EXPORTING is_lc_rc = IMPORTING ev_text = lv_text.

/SAPAPO/LRP_PLAN_VERSION_GET CALL FUNCTION '/SAPAPO/LRP_PLAN_VERSION_GET' EXPORTING it_plan_version_id = lt_plan_version_id IMPORTING et_plan_version = mt_planversion et_rc = mt_rc EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3.

/SAPAPO/LRP_PLAN_VERSION_CHANG CALL FUNCTION '/SAPAPO/LRP_PLAN_VERSION_CHANG' EXPORTING it_plan_version = mt_planversion IMPORTING et_rc = mt_rc EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3.

/SAPAPO/OM_OBJECT_GET_ALL CALL FUNCTION '/SAPAPO/OM_OBJECT_GET_ALL' EXPORTING is_gen_params = ms_gen_params iv_object_type = /sapapo/cl_om_error_obt_c=>om_object_timestream IMPORTING et_guids = mt_id et_rc = mt_rc EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3.

/SAPAPO/LRP_TIMESTREAM_GET_DAT CALL FUNCTION '/SAPAPO/LRP_TIMESTREAM_GET_DAT' EXPORTING is_gen_params = ms_gen_params iv_simsession = /sapapo/cl_om_c=>om_simsession_def iv_tstreamid = IMPORTING et_timestream = lt_timestream et_rc = mt_rc EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3.

/SAPAPO/LRP_TIMESTREAM_CHANGE CALL FUNCTION '/SAPAPO/LRP_TIMESTREAM_CHANGE' EXPORTING is_gen_params = ms_gen_params iv_simsession = /sapapo/cl_om_c=>om_simsession_def iv_tstreamid = lv_tstreamid iv_method = /sapapo/cl_om_method_c=>new it_timestream = mt_timestream IMPORTING et_rc = mt_rc EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3.

/SAPAPO/OM_RESOURCE_GET_ALL CALL FUNCTION '/SAPAPO/OM_RESOURCE_GET_ALL' EXPORTING is_gen_params = ms_gen_params iv_simsession = /sapapo/cl_om_c=>om_simsession_def IMPORTING et_resources = mt_id et_rc = mt_rc EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3.

/SAPAPO/LRP_RESOURCE_GET_DATA CALL FUNCTION '/SAPAPO/LRP_RESOURCE_GET_DATA' EXPORTING is_gen_params = ms_gen_params iv_simsession = /sapapo/cl_om_c=>om_simsession_def it_resid = it_id IMPORTING et_resources = mt_resource et_rc = mt_rc EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3.

/SAPAPO/LRP_RESOURCE_CHANGE CALL FUNCTION '/SAPAPO/LRP_RESOURCE_CHANGE' EXPORTING iv_simsession = /sapapo/cl_om_c=>om_simsession_def it_resource = mt_resource IMPORTING et_rc = mt_rc EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3.

/SAPAPO/OM_ORDER_GET_ALL CALL FUNCTION '/SAPAPO/OM_ORDER_GET_ALL' EXPORTING is_gen_params = ms_gen_params iv_simsession = /sapapo/cl_om_c=>om_simsession_def IMPORTING et_orders = mt_id et_rc = mt_rc EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3.

/SAPAPO/LRP_ORDER_GET_DATA CALL FUNCTION '/SAPAPO/LRP_ORDER_GET_DATA' EXPORTING is_gen_params = ms_gen_params iv_simsession = /sapapo/cl_om_c=>om_simsession_def it_order = it_id IMPORTING et_ordkeys = mt_ordkey et_orders = lt_order et_activities = mt_activity et_modes = mt_mode et_cap_reqs = mt_cap_req et_rc = mt_rc EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3.

/SAPAPO/OM_SCHED_PROFILE_SET CALL FUNCTION '/SAPAPO/OM_SCHED_PROFILE_SET' EXPORTING iv_profile_no = 2 IMPORTING es_sched_control = ls_controlparameters et_sched_params = lt_sched_params.

/SAPAPO/LRP_ORDER_CHANGE CALL FUNCTION '/SAPAPO/LRP_ORDER_CHANGE' EXPORTING is_gen_params = ms_gen_params iv_simsession = /sapapo/cl_om_c=>om_simsession_def it_order_method = lt_order_method it_ordkeys = mt_ordkey it_orders = mt_order it_activities = mt_activity it_mode = mt_mode it_cap_reqs = mt_cap_req is_controlparameters = ls_controlparameters it_sched_params = lt_sched_params IMPORTING et_rc = mt_rc EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3.



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