SAP Reports / Programs

CON_FIN_PRICE_UPDATE_2 SAP ABAP Report - Price Update with Material Selection







CON_FIN_PRICE_UPDATE_2 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 CON_FIN_PRICE_UPDATE_2 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 CON_FIN_PRICE_UPDATE_2. "Basic submit
SUBMIT CON_FIN_PRICE_UPDATE_2 AND RETURN. "Return to original report after report execution complete
SUBMIT CON_FIN_PRICE_UPDATE_2 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_WERKS = Plant
Selection Text: P_TVERS = D Costing Version
Selection Text: P_TEXT = D Log Description
Selection Text: P_TEST = Test Run
Selection Text: P_SERVNU = Maximum Number of Sessions
Selection Text: P_RFC = Server Group
Selection Text: P_PLVIEW = D Cost Component View
Selection Text: P_PLABEL = D Price Type
Selection Text: P_PARALE = Parallel Processing
Selection Text: P_MATNR = Material
Selection Text: P_LOGNR = D Log Number
Selection Text: P_LISTAU = With List Output
Selection Text: P_KLVAR = D Costing Variant
Selection Text: P_DATE = D Costing Date From
Selection Text: P_BUKRS = Company Code
Selection Text: P_BATCH = Background Processing
Title: Price Update with Material Selection
Text Symbol: 112 = Costing Variant
Text Symbol: 111 = Organizational Measure
Text Symbol: 110 = Other Prices
Text Symbol: 109 = Processing Options
Text Symbol: 104 = Release
Text Symbol: 100 = Price Update
Text Symbol: 010 = Display log
Text Symbol: 009 = Delete Logs
Text Symbol: 008 = Allow Price Update
Text Symbol: 007 = Created by User
Text Symbol: 006 = Costing Run
Text Symbol: 005 = Server Group/Number of Sessions
Text Symbol: 004 = Parallel Processing
Text Symbol: 003 = Background Processing
Text Symbol: 002 = Job Overview
Text Symbol: 001 = Log


INCLUDES used within this REPORT CON_FIN_PRICE_UPDATE_2

INCLUDE: RKASMAWF, , MK70DBZO.
INCLUDE: RKASMAWF, , MK70DBZO.


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:

CK_F_RFC_GROUP_SELECTION_LIST CALL FUNCTION 'CK_F_RFC_GROUP_SELECTION_LIST' IMPORTING rfc_group_exp = p_rfc.

DISPLAY_KALKVAR_FILTER_F4 CALL FUNCTION 'DISPLAY_KALKVAR_FILTER_F4' EXPORTING with_generic_klvar = space display = space IMPORTING klvar = p_klvar TABLES t_appl = t_appl.

CK_F_TCK03_HIERARCHY_READING CALL FUNCTION 'CK_F_TCK03_HIERARCHY_READING' EXPORTING p_klvar = p_klvar IMPORTING f_tck01 = ls_tck01.

CON_FIN_PRICELABEL_F4 CALL FUNCTION 'CON_FIN_PRICELABEL_F4' "#EC EXISTS EXPORTING id_with_inv = ' ' id_reval_allowed = lf_reval_allowed id_reval_not_allowed = lf_reval_not_allowed id_extended = 'X' IMPORTING ed_pricelabel = p_plabel.

/CWM/CUST_SY_TCODE_CPROG_CHECK CALL FUNCTION '/CWM/CUST_SY_TCODE_CPROG_CHECK'.

CON_FIN_PR_UPDT_INIT_2 CALL FUNCTION 'CON_FIN_PR_UPDT_INIT_2' CHANGING p_kokrs = p_kokrs p_servnu = p_servnu p_ckvo = p_ckvo p_ckso = p_ckso p_ckor = p_ckor p_tvers = p_tvers p_date = p_date p_klvar = p_klvar p_rfc = p_rfc p_plabel = p_plabel p_plview = p_plview p_plroh = p_plroh.

CON_FIN_PR_UPDT_INIT_2 CALL FUNCTION 'CON_FIN_PR_UPDT_INIT_2' CHANGING p_kokrs = p_kokrs p_servnu = p_servnu p_ckvo = p_ckvo p_ckso = p_ckso p_ckor = p_ckor p_tvers = p_tvers p_date = p_date p_klvar = p_klvar p_rfc = p_rfc p_plabel = p_plabel p_plview = p_plview p_plroh = p_plroh.

CON_FIN_PR_UPDT_AT_SEL_SCR_O_2 CALL FUNCTION 'CON_FIN_PR_UPDT_AT_SEL_SCR_O_2' EXPORTING f_ckipricesupdate = f_ckipricesupdate.

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING popup = '1' IMPORTING e_kokrs = p_kokrs EXCEPTIONS not_found = 1.

CON_FIN_PR_UPDT_AT_SEL_SCR_2 CALL FUNCTION 'CON_FIN_PR_UPDT_AT_SEL_SCR_2' EXPORTING f_ckipricesupdate = f_ckipricesupdate i_kokrs = p_kokrs i_lognr = p_lognr i_logtext = p_text TABLES p_bukrs = p_bukrs p_werks = p_werks p_matnr = p_matnr CHANGING p_rfc = p_rfc p_plroh = p_plroh s_niederstwert = f_ckipricesupdate-s_niederstwert.

CK_F_TCK03_HIERARCHY_READING CALL FUNCTION 'CK_F_TCK03_HIERARCHY_READING' EXPORTING p_klvar = f_ckipricesupdate-p_klvar IMPORTING f_tck01 = lf_tck01.

CON_FIN_PRICELABEL_CHECK CALL FUNCTION 'CON_FIN_PRICELABEL_CHECK' "#EC EXISTS EXPORTING id_price_label = f_ckipricesupdate-price_label IMPORTING ed_reval_allowed = l_reval_allowed.

CON_FIN_PRICELABEL_CHECK CALL FUNCTION 'CON_FIN_PRICELABEL_CHECK' "#EC EXISTS EXPORTING id_price_label = f_ckipricesupdate-price_label IMPORTING ed_reval_allowed = l_reval_allowed.

CK_F_ORG_ELEMENTS_CONTR_AREA CALL FUNCTION 'CK_F_ORG_ELEMENTS_CONTR_AREA' EXPORTING kokrs = p_kokrs IMPORTING f_ckikokrs = lf_ckikokrs.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = sy-datlo i_periv = lf_ckikokrs-lmona IMPORTING e_buper = l_buper e_gjahr = l_gjahr.

LAST_DAY_IN_PERIOD_GET CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = l_gjahr i_periv = lf_ckikokrs-lmona i_poper = l_buper IMPORTING e_date = l_last_day_in_period.

CON_FIN_PR_UPDT_KEKO_SELECT_2 CALL FUNCTION 'CON_FIN_PR_UPDT_KEKO_SELECT_2' EXPORTING f_ckipricesupdate = f_ckipricesupdate i_kokrs = p_kokrs IMPORTING p_user_param = user_param et_plant_pr_updt = lt_plant_pr_updt TABLES p_bukrs = p_bukrs p_werks = p_werks p_matnr = p_matnr EXCEPTIONS * INTERNAL_ERROR = 1 OTHERS = 2 .

CON_FIN_PR_UPDT_CKOMPU_GET * CALL FUNCTION 'CON_FIN_PR_UPDT_CKOMPU_GET' * EXPORTING * i_klvar = p_klvar * i_tvers = p_tvers * i_kadat = p_date * TABLES * et_ckompu = lt_ckompu * CHANGING * ct_plant_pr_updt = lt_plant_pr_updt * EXCEPTIONS * INTERNAL_ERROR = 1 * price_label_missing = 2 * ccs_view_missing = 3 * no_allowance = 4 * OTHERS = 5 * .

CON_FIN_PR_UPDT_KEKO_FILTER





* CALL FUNCTION 'CON_FIN_PR_UPDT_KEKO_FILTER' * TABLES * ct_keko = user_param-t_keko * it_plant_pr_updt = lt_plant_pr_updt .

RH_FUNCTION_EXIST CALL FUNCTION 'RH_FUNCTION_EXIST' EXPORTING name = c_scma_job_started_from_scma EXCEPTIONS function_not_found = 1 OTHERS = 2.

CKSM_FILL_SELKRIT CALL FUNCTION 'CKSM_FILL_SELKRIT'.

CKSM_MONI_INIT_AND_COMMIT CALL FUNCTION 'CKSM_MONI_INIT_AND_COMMIT' EXPORTING tcode = 'CK24' kala_imp = lf_kala witem_imp = wf_witem wlist_imp = wf_wlist.

CON_FIN_PR_UPDT_RELEASING CALL FUNCTION 'CON_FIN_PR_UPDT_RELEASING' EXPORTING f_ckipricesupdate = f_ckipricesupdate IMPORTING f_counter = f_counter_tmp TABLES t_keko = user_param-t_keko "input xdata_ckpr = xdata_ckpr_tmp. "result

KKPA_PARA_PROCESS_START CALL FUNCTION 'KKPA_PARA_PROCESS_START' EXPORTING rfc_group = p_rfc max_no_of_tasks = sy-tabix start_task_form = 'START_TASK_FORM' receive_task_form = 'RECEIVE_TASK_FORM' callback_prog = callback_prog CHANGING user_param = user_param EXCEPTIONS invalid_group_name = 1 no_resources_found = 2 no_tasks_left = 3 OTHERS = 4.

CM_F_COLLECT_MESSAGE CALL FUNCTION 'CM_F_COLLECT_MESSAGE' EXPORTING msgty = 'W'.

CON_FIN_PR_UPDT_RELEASING CALL FUNCTION 'CON_FIN_PR_UPDT_RELEASING' EXPORTING f_ckipricesupdate = f_ckipricesupdate IMPORTING f_counter = f_counter_tmp TABLES t_keko = user_param-t_keko "input xdata_ckpr = xdata_ckpr_tmp. "result

CON_FIN_PR_UPDT_END_OF_SEL_2 CALL FUNCTION 'CON_FIN_PR_UPDT_END_OF_SEL_2' EXPORTING f_counter = f_counter wf_okey = wf_okey wf_witem = wf_witem id_lognr = p_lognr id_logtext = p_text TABLES t_xdata_ckpr = xdata_ckpr CHANGING f_ckipricesupdate = f_ckipricesupdate.

CON_FIN_PR_UPDT_START_TASK CALL FUNCTION 'CON_FIN_PR_UPDT_START_TASK' EXPORTING p_para_imp = p_para_imp CHANGING p_user_param = p_user_param p_pending_objs = p_pending_objs p_para_exp = p_para_exp.

CON_FIN_PR_UPDT_RECEIVE_TASK CALL FUNCTION 'CON_FIN_PR_UPDT_RECEIVE_TASK' TABLES xdata_ckpr = xdata_ckpr CHANGING p_para_exp = p_para_exp f_counter = f_counter.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'CON_FIN_CKLOG' CHANGING ct_fieldcat = lt_fcat.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING is_layout = ls_layout it_fieldcat = lt_fcat it_sort = lt_sort i_grid_title = p_title i_screen_start_column = 1 i_screen_start_line = 2 i_screen_end_column = 95 i_screen_end_line = 10 IMPORTING es_exit_caused_by_user = ls_exit TABLES t_outtab = pt_ckpf_log EXCEPTIONS program_error = 1 OTHERS = 2.

CM_F_DELETE_LOG_ON_DB CALL FUNCTION 'CM_F_DELETE_LOG_ON_DB' EXPORTING aplid = 'CKPF' cmf_nr = ls_ckpf_log-nr.

CM_F_INITIALIZE CALL FUNCTION 'CM_F_INITIALIZE' EXPORTING aplid = 'CKPF' object_id = 'CK2' ocs_activ = space refresh_old_log = 'X' EXCEPTIONS OTHERS = 0.

CM_F_LOAD CALL FUNCTION 'CM_F_LOAD' EXPORTING cmf_nr = ls_ckpf_log-nr EXCEPTIONS not_active = 1 protocol_not_found = 2 wrong_object_id = 3 OTHERS = 4.

CM_F_LOG_ON_DB_INFO CALL FUNCTION 'CM_F_LOG_ON_DB_INFO' EXPORTING aplid = 'CKPF' cmf_nr = ls_ckpf_log-nr IMPORTING date = l_date2 uname = l_uname EXCEPTIONS OTHERS = 1.

CM_F_DISPLAY_LOG CALL FUNCTION 'CM_F_DISPLAY_LOG' EXPORTING skip_info_screen = 'X' grid_display = 'X' headline = l_headline EXCEPTIONS not_active = 0.



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