/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
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.
Title: Include for Download/Upload LC-data
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.