SAP Reports / Programs | SAP Business Information Warehouse | Planning | Business Planning and Simulation(BW-PLA-BPS) SAP BW

RUPFGENF00 SAP ABAP INCLUDE - Formroutinen generiertes Programm







RUPFGENF00 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 RUPFGENF00 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 RUPFGENF00. "Basic submit
SUBMIT RUPFGENF00 AND RETURN. "Return to original report after report execution complete
SUBMIT RUPFGENF00 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 RUPFGENF00

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:

UPC_STATISTIC_ADD CALL FUNCTION 'UPC_STATISTIC_ADD' EXPORTING i_node_name = upcst_c_pf i_attrib_name = upcst_c_recs_read_ref i_attrib_value = g_ref_data_no.

UPC_PLEVEL_GET CALL FUNCTION 'UPC_PLEVEL_GET' EXPORTING i_area = i_area i_plevel = i_plevel i_enqmode = ' ' IMPORTING eto_plevelk = lto_plevelk EXCEPTIONS no_existence = 1 locked = 2 no_consistence = 3 OTHERS = 4.

UPC_PLEVEL_GET CALL FUNCTION 'UPC_PLEVEL_GET' EXPORTING i_area = i_area i_plevel = i_plevel i_var_replace = 'X' IMPORTING eto_plevelk = gto_kyf eto_plevels = lto_charsel_lev EXCEPTIONS OTHERS = 1.

UPC_PACKAGE_GET CALL FUNCTION 'UPC_PACKAGE_GET' EXPORTING i_area = i_area i_plevel = i_plevel i_package = i_package IMPORTING eto_packages = lto_charsel_pac EXCEPTIONS OTHERS = 1.

UPF_PARAM_INFO_GET CALL FUNCTION 'UPF_PARAM_INFO_GET' EXPORTING i_area = i_area i_plevel = i_plevel i_method = i_method TABLES et_planf = gt_planf et_pflds = gt_pflds et_param = gt_param et_pargd = gt_pargd et_optios = gt_optios et_neval = gt_neval.

UPF_VARIABLES_REPLACE CALL FUNCTION 'UPF_VARIABLES_REPLACE' EXPORTING i_area = i_area i_plevel = i_plevel i_package = i_package i_more_values = 'X' TABLES xt_optios = gt_optios xt_neval = gt_neval xt_mesg = xt_mesg EXCEPTIONS OTHERS = 4.

UPF_VARIABLES_REPLACE CALL FUNCTION 'UPF_VARIABLES_REPLACE' EXPORTING i_area = i_area i_plevel = i_plevel i_package = i_package TABLES xt_optios = gt_optios xt_neval = gt_neval xt_mesg = xt_mesg EXCEPTIONS OTHERS = 4.

UPC_CHA_VALUES_GET CALL FUNCTION 'UPC_CHA_VALUES_GET' EXPORTING i_area = i_area i_chanm = l_chanm ito_chasel = lto_chasel IMPORTING eto_chavl = lto_chavl EXCEPTIONS OTHERS = 1.

UPC_PLEVEL_GET CALL FUNCTION 'UPC_PLEVEL_GET' EXPORTING i_area = i_area i_plevel = i_plevel IMPORTING eto_plevelc = gto_cha_check EXCEPTIONS OTHERS = 1.

UPC_PACKAGE_GET_2 CALL FUNCTION 'UPC_PACKAGE_GET_2' EXPORTING i_area = i_area i_plevel = i_plevel i_package = i_package IMPORTING eto_chasel = gto_chasel_check EXCEPTIONS OTHERS = 1.

UPC_TIME_SHIFT CALL FUNCTION 'UPC_TIME_SHIFT' EXPORTING i_area = i_area i_chanm = l_chanm i_chavlint = ls_optios-low ito_chadep = lto_chadep i_shift = ls_optios-offst IMPORTING e_chavlint = ls_optios-low EXCEPTIONS OTHERS = 1.

UPC_TIME_SHIFT CALL FUNCTION 'UPC_TIME_SHIFT' EXPORTING i_area = i_area i_chanm = l_chanm i_chavlint = ls_optios-high ito_chadep = lto_chadep i_shift = ls_optios-offst IMPORTING e_chavlint = ls_optios-high EXCEPTIONS OTHERS = 1.

UPC_TIME_SHIFT CALL FUNCTION 'UPC_TIME_SHIFT' EXPORTING i_area = i_area i_chanm = l_chanm i_chavlint = ls_neval-keyid ito_chadep = lto_chadep i_shift = ls_neval-offst IMPORTING e_chavlint = ls_neval-keyid EXCEPTIONS OTHERS = 1.

UPC_PLEVEL_GET CALL FUNCTION 'UPC_PLEVEL_GET' EXPORTING i_area = i_area i_plevel = i_plevel IMPORTING eto_plevelc = lto_plevelc EXCEPTIONS OTHERS = 1.

UPC_PACKAGE_GET_2 CALL FUNCTION 'UPC_PACKAGE_GET_2' EXPORTING i_area = i_area i_plevel = i_plevel i_package = i_package IMPORTING eto_cha = lto_cha eto_kyf = lto_kyf eto_chasel = lt_chasel.

UPF_METHOD_READ CALL FUNCTION 'UPF_METHOD_READ' EXPORTING i_area = i_area i_plevel = i_plevel IMPORTING et_children = lt_children.

UPF_METHOD_READ CALL FUNCTION 'UPF_METHOD_READ' EXPORTING i_area = i_area i_plevel = i_plevel IMPORTING et_children = lt_children.

UPF_TRACE_SET_DATA CALL FUNCTION 'UPF_TRACE_SET_DATA' EXPORTING i_data_type = 'R' is_chas = is_chas ith_data = lt_ref_data.

UPF_TRACE_SET_DATA





CALL FUNCTION 'UPF_TRACE_SET_DATA' EXPORTING i_data_type = 'R' is_chas = is_chas ith_data = lt_ref_data.

UPC_CHAS_CHECK_COMBINATION CALL FUNCTION 'UPC_CHAS_CHECK_COMBINATION' EXPORTING i_area = i_area is_chas = ls_data-s_chas ito_cha = gto_cha_check ito_chasel = gto_chasel_check EXCEPTIONS invalid = 1.

UPC_CHAS_DERIVE CALL FUNCTION 'UPC_CHAS_DERIVE' EXPORTING i_area = i_area is_chas = ls_rslt-s_chas ito_cha = gto_cha_derive i_only_steps = 'X' IMPORTING es_chas = ls_rslt-s_chas EXCEPTIONS failed = 1 OTHERS = 2.

UPF_TRACE_SET_DATA CALL FUNCTION 'UPF_TRACE_SET_DATA' EXPORTING i_data_type = 'R' is_chas = ls_chas ith_data = lt_ref_data.

UPF_TRACE_SET_DATA CALL FUNCTION 'UPF_TRACE_SET_DATA' EXPORTING i_data_type = 'R' is_chas = is_chas ith_data = lt_ref_data.

UPF_TRACE_SET_DATA CALL FUNCTION 'UPF_TRACE_SET_DATA' EXPORTING i_data_type = 'R' is_chas = is_chas ith_data = lt_ref_data.

UPC_TIME_SHIFT CALL FUNCTION 'UPC_TIME_SHIFT' EXPORTING i_area = i_area i_chanm = i_tmcha i_chavlint = ls_charng-low ito_chadep = ito_chadep i_shift = 1 IMPORTING e_chavlint = ls_chavl-chavlint EXCEPTIONS rfc_error = 1 failed = 2 out_of_range = 3 OTHERS = 4.

UPF_PROGNOSE CALL FUNCTION 'UPF_PROGNOSE' EXPORTING i_upf_prognose = is_prognose CHANGING xt_timeseries = lt_timeser EXCEPTIONS OTHERS = 1.

UPC_TRANSLATION_DATE_GET CALL FUNCTION 'UPC_TRANSLATION_DATE_GET' EXPORTING i_area = i_area i_chanm = ls_timeref-chanm i_chavlint = l_chavlint i_timeref = ls_timeref-timeref ito_chadep = lto_chadep IMPORTING e_date = ls_curr_info-cdate EXCEPTIONS chanm_not_found = 1 rfc_error = 2 failed = 3 OTHERS = 4.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ls_curr_info-cdate foreign_amount = foreign_currency = ls_curr_info-fcurr local_currency = ls_curr_info-tcurr type_of_rate = ls_curr_info-kurst IMPORTING local_amount = EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ls_curr_info-cdate foreign_amount = l_fratio foreign_currency = ls_curr_info-fcurr local_currency = ls_curr_info-tcurr type_of_rate = ls_curr_info-kurst IMPORTING local_amount = l_tratio EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

UPC_TIMEREF_GET CALL FUNCTION 'UPC_TIMEREF_GET' EXPORTING i_area = i_area i_chanm = ls_chapro-chanm IMPORTING eto_timeref = lto_timeref EXCEPTIONS chanm_not_found = 1 rfc_error = 2 failed = 3 OTHERS = 4.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = round_sign = 'X' unit_in = ls_unit_info-fquan unit_out = ls_unit_info-tquan IMPORTING output = EXCEPTIONS OTHERS = 1.

UPC_CHA_VALUES_GET CALL FUNCTION 'UPC_CHA_VALUES_GET' EXPORTING i_area = g_area i_chanm = l_chanm ito_chasel = lto_chasel IMPORTING eto_chavl = lto_chavl EXCEPTIONS chanm_not_found = 1 rfc_error = 2 failed = 3 OTHERS = 4.

UPC_TIME_SHIFT CALL FUNCTION 'UPC_TIME_SHIFT' EXPORTING i_area = g_area i_chanm = i_chanm i_chavlint = l_chavlint ito_chadep = ito_chadep i_shift = l_shift IMPORTING e_chavlint = l_chavlint2 EXCEPTIONS OTHERS = 4.

UPC_TRANSLATION_DATE_GET CALL FUNCTION 'UPC_TRANSLATION_DATE_GET' EXPORTING i_area = g_area i_chanm = i_chanm i_chavlint = l_chavlint i_timeref = i_timeref ito_chadep = ito_chadep IMPORTING e_date = x_date EXCEPTIONS chanm_not_found = 1 rfc_error = 2 failed = 3 OTHERS = 1.

UPC_CHAVL_TEXT_GET CALL FUNCTION 'UPC_CHAVL_TEXT_GET' EXPORTING i_area = g_area i_chanm = i_chanm i_chavlint = l_chavlint ito_chadep = ito_chadep i_dateto = i_date i_check_existance = 'X' i_read_attr = 'X' IMPORTING eto_atrvl = lto_atrvl EXCEPTIONS OTHERS = 1.

UPC_VARIABLE_REQUEST CALL FUNCTION 'UPC_VARIABLE_REQUEST' EXPORTING i_area = g_area i_variable = i_varname.

UPC_CHA_VALUES_GET CALL FUNCTION 'UPC_CHA_VALUES_GET' EXPORTING i_area = g_area i_chanm = i_chanm ito_chasel = lto_chasel IMPORTING eto_chavl = lto_chavl EXCEPTIONS chanm_not_found = 1 rfc_error = 2 failed = 3 OTHERS = 4.

UPC_VARIABLE_REQUEST CALL FUNCTION 'UPC_VARIABLE_REQUEST' EXPORTING i_area = g_area i_variable = i_varname.




UPC_CHA_VALUES_GET CALL FUNCTION 'UPC_CHA_VALUES_GET' EXPORTING i_area = g_area i_chanm = i_chanm ito_chasel = lto_chasel IMPORTING eto_chavl = lto_chavl EXCEPTIONS chanm_not_found = 1 rfc_error = 2 failed = 3 OTHERS = 4.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = i_date foreign_amount = l_amount foreign_currency = i_source_curr local_currency = i_target_curr type_of_rate = i_rate_type IMPORTING local_amount = l_result EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.



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