SAP Reports / Programs | Logistics - General(LO) SAP LO

EPM_CAPLOADKPI_F01 SAP ABAP INCLUDE - EPMCAPLOADKPIF01







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


INCLUDES used within this REPORT EPM_CAPLOADKPI_F01

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:

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_led_inactive info = text-lin IMPORTING RESULT = gv_icon_tip_inactive.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_led_red info = text-lre IMPORTING RESULT = gv_icon_tip_red.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_led_yellow info = text-lye IMPORTING RESULT = gv_icon_tip_yellow.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_led_green info = text-lgr IMPORTING RESULT = gv_icon_tip_green.

CR_CAPACITY_AVAILABLE_TIMES CALL FUNCTION 'CR_CAPACITY_AVAILABLE_TIMES' EXPORTING kapid = gt_kako-kapid datuv = g_von_datum datub = g_bis_datum TABLES et_capacity_exact = lt_capacity_exact EXCEPTIONS startdate_greater_enddate = 1 not_found = 2 OTHERS = 3.

CR_CAPACITY_UNIT_CONVERSION CALL FUNCTION 'CR_CAPACITY_UNIT_CONVERSION' EXPORTING input = ls_angebot_exact-kapaz kapid = gt_kako-kapid unit_out = gt_kako-kapeh IMPORTING output = lv_angeb EXCEPTIONS capacity_not_found = 1 conversion_not_found = 2 unit_in_not_found = 3 unit_out_not_found = 4 OTHERS = 5.

CR_CAPACITY_UNIT_CONVERSION CALL FUNCTION 'CR_CAPACITY_UNIT_CONVERSION' EXPORTING input = lv_bedarf unit_in = ls_kbed-keinh kapid = gt_kako-kapid unit_out = gt_kako-kapeh IMPORTING output = lv_bedarf EXCEPTIONS capacity_not_found = 1 conversion_not_found = 2 unit_in_not_found = 3 unit_out_not_found = 4 OTHERS = 5.

DIMENSION_GET_FOR_UNIT CALL FUNCTION 'DIMENSION_GET_FOR_UNIT' EXPORTING language = sy-langu unit = gt_kako-kapeh IMPORTING dimension = lv_dimension EXCEPTIONS unit_not_found = 1 OTHERS = 2.

DIMENSION_GET_FOR_UNIT CALL FUNCTION 'DIMENSION_GET_FOR_UNIT' EXPORTING language = sy-langu unit = gt_kako-kapeh IMPORTING dimension = lv_dimension EXCEPTIONS unit_not_found = 1 OTHERS = 2.

DIMENSION_GET_FOR_UNIT CALL FUNCTION 'DIMENSION_GET_FOR_UNIT' EXPORTING language = sy-langu unit = gt_kako-kapeh IMPORTING dimension = lv_dimension EXCEPTIONS unit_not_found = 1 OTHERS = 2.

UNIT_BIGGEST_SMALLEST CALL FUNCTION 'UNIT_BIGGEST_SMALLEST' IMPORTING unit_small = lv_unit_big unit_big = lv_unit_small TABLES units = lt_units EXCEPTIONS undefined_conversion = 1 OTHERS = 2.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = lt_quan-quantity unit_in = i_unit_in unit_out = i_unit_out IMPORTING output = lt_quan_changed-quantity EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

CX_SCHED_VIA_OPERATING_TIME CALL FUNCTION 'CX_SCHED_VIA_OPERATING_TIME' EXPORTING i_date_start = is_kbed-sstad i_time_start = is_kbed-sstau i_date_end = is_kbed-sendd i_time_end = is_kbed-sendu i_arbid = is_kbed-arbid i_kapid = is_kbed-kapid IMPORTING e_duration_sec = lv_kbed_duration_total EXCEPTIONS parameters_not_valid = 1 OTHERS = 2.

CX_SCHED_VIA_OPERATING_TIME CALL FUNCTION 'CX_SCHED_VIA_OPERATING_TIME' EXPORTING i_date_start = is_kbed-sstad i_time_start = is_kbed-sstau i_date_end = g_bis_datum i_time_end = '240000' i_arbid = is_kbed-arbid i_kapid = is_kbed-kapid IMPORTING e_duration_sec = lv_kbed_duration_partial EXCEPTIONS parameters_not_valid = 1 OTHERS = 2.

CX_SCHED_VIA_OPERATING_TIME CALL FUNCTION 'CX_SCHED_VIA_OPERATING_TIME' EXPORTING i_date_start = g_von_datum i_time_start = '000000' i_date_end = is_kbed-sendd i_time_end = is_kbed-sendu i_arbid = is_kbed-arbid i_kapid = is_kbed-kapid IMPORTING e_duration_sec = lv_kbed_duration_partial EXCEPTIONS parameters_not_valid = 1 OTHERS = 2.

CX_SCHED_VIA_OPERATING_TIME CALL FUNCTION 'CX_SCHED_VIA_OPERATING_TIME' EXPORTING i_date_start = g_von_datum i_time_start = '000000' i_date_end = g_bis_datum i_time_end = '240000' i_arbid = is_kbed-arbid i_kapid = is_kbed-kapid IMPORTING e_duration_sec = lv_kbed_duration_partial EXCEPTIONS parameters_not_valid = 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 EPM_CAPLOADKPI_F01 or its description.