RKE_CHACO_PAOBJNR_1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for development team for CO-PA...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RKE_CHACO_PAOBJNR_1 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
KE_CHACO_1 - Convert ProfSegments in Sender Table
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.
Selection Text: P_ACC = Financial Accounting
Selection Text: P_BIL = Billing Data
Selection Text: P_CE4FL = Convert Table CE4XXXX_FLAG
Selection Text: P_CHECK = Check Characteristics
Selection Text: P_CO = Controlling
Selection Text: P_CSTCH = Customizing Changed
Selection Text: P_CSTNC = Customizing Not Changed
Selection Text: P_DEL = Deliveries
Selection Text: P_DERIVE = Derive Again
Selection Text: P_DSACC = Financial Accounting
Selection Text: P_DSBIL = Billing Data
Selection Text: P_DSBOTH = Test + Update Runs
Selection Text: P_DSCO = Controlling
Selection Text: P_DSDEL = Deliveries
Selection Text: P_DSERN = New Active Operating Concern
Selection Text: P_DSMISC = Other Tables
Selection Text: P_DSMM = Materials Management
Selection Text: P_DSNUMB = Raise Number Range Status
Selection Text: P_DSOPA = Settlement Rules
Selection Text: P_DSPCA = Profit Center Accounting
Selection Text: P_DSREAL = Update Runs
Selection Text: S_ERKRSO = Old Operating Concern
Selection Text: S_DSERO = Old Operating Concern
Selection Text: P_TESTP = Test Run for Operating Concern
Selection Text: P_TEST = Test Run
Selection Text: P_SLS = Sales Documents
Selection Text: P_REAL = Update Run
Selection Text: P_PCA = Profit Center Accounting
Selection Text: P_PAOBJN = New Number Range Status
Selection Text: P_PAOBJ = Profitability Segment
Selection Text: P_OPA = Settlement Rules
Selection Text: P_NUMB = Raise Number Range Status
Selection Text: P_MM = Materials Management
Selection Text: P_MISC = Other Tables
Selection Text: P_LOCK = Lock Operating Concern
Selection Text: P_EXITID = Identification
Selection Text: P_EXIT = User Exit for Field Assignment
Selection Text: P_ERKRSN = New Active Operating Concern
INCLUDE: LBTCHDEF.
No SAP DATABASE tables are accessed within this REPORT code!
SELECT_OPTIONS_RESTRICT call function 'SELECT_OPTIONS_RESTRICT' exporting restriction = gs_restrict exceptions others = 1.
NUMBER_GET_INFO call function 'NUMBER_GET_INFO' exporting nr_range_nr = c_nr_range_01 object = c_nr_obj_copa_obj subobject = p_erkrsn importing interval = gs_nrivn exceptions others = 1.
NUMBER_GET_INFO call function 'NUMBER_GET_INFO' exporting nr_range_nr = c_nr_range_01 object = c_nr_obj_copa_obj subobject = s_erkrso-low importing interval = gs_nrivo exceptions others = 1.
NUMBER_GET_INFO call function 'NUMBER_GET_INFO' exporting nr_range_nr = c_nr_range_01 object = c_nr_obj_copa_obj subobject = p_erkrsn importing interval = gs_nrivn exceptions others = 1.
RKE_READ_ERKRS_MESSAGE call function 'RKE_READ_ERKRS_MESSAGE' exporting i_erkrs = s_erk_co-low importing e_v_tkebb = gs_tkebbcheck e_v_tkeb = gs_tkebcheck et_v_tkebl = gs_tkeblcheck exceptions others = 1.
RKE_READ_ERKRS_MESSAGE call function 'RKE_READ_ERKRS_MESSAGE' exporting i_erkrs = p_erkrsn importing e_v_tkebb = gs_tkebbcheck e_v_tkeb = gs_tkebcheck et_v_tkebl = gs_tkeblcheck exceptions others = 1.
POPUP_TO_DECIDE call function 'POPUP_TO_DECIDE' exporting textline1 = text-044 textline2 = text-045 textline3 = text-046 text_option1 = text-203 text_option2 = text-204 titel = text-043 cancel_display = ' ' importing answer = g_answer.
RKE_READ_ERKRS_MESSAGE call function 'RKE_READ_ERKRS_MESSAGE' exporting i_erkrs = p_erkrsn importing e_v_tkeb = gs_tkebn exceptions others = 1.
NUMBER_GET_INFO call function 'NUMBER_GET_INFO' exporting nr_range_nr = c_nr_range_01 object = c_nr_obj_copa_obj subobject = g_erkrsn importing interval = gs_nrivn exceptions others = 1.
NUMBER_GET_INFO call function 'NUMBER_GET_INFO' exporting nr_range_nr = c_nr_range_01 object = c_nr_obj_copa_obj subobject = it_erkrso-low importing interval = ls_nrivo exceptions others = 1.
NUMBER_RANGE_INTERVAL_INIT call function 'NUMBER_RANGE_INTERVAL_INIT' exporting object = c_nr_obj_copa_obj subobject = i_erkrsn exceptions no_interval_found = 1 others = 2.
DB_COMMIT call function 'DB_COMMIT'.
NUMBER_GET_NEXT call function 'NUMBER_GET_NEXT' exporting nr_range_nr = c_nr_range_01 object = c_nr_obj_copa_obj quantity = l_quantityn subobject = i_erkrsn ignore_buffer = ' ' importing number = l_paobjnrn quantity = l_quantityn returncode = l_subrc exceptions others = 1.
DB_COMMIT call function 'DB_COMMIT'.
TR_SYS_PARAMS call function 'TR_SYS_PARAMS' importing systemtype = l_systype exceptions others = 1.
RKE_EXIT call function 'RKE_EXIT' exporting i_exit_id = c_rke_exit_id_tab i_count_params = 3 changing x_param_1 = is_work-table x_param_2 = it_belnrpack x_param_3 = l_exit_active exceptions others = 1.
DDIF_FIELDINFO_GET call function 'DDIF_FIELDINFO_GET' exporting tabname = is_work-table tables dfies_tab = lt_dfies exceptions others = 1.
DDIF_FIELDINFO_GET call function 'DDIF_FIELDINFO_GET' exporting tabname = is_work-sec_table tables dfies_tab = lt_dfies_sec exceptions others = 1.
DB_COMMIT call function 'DB_COMMIT'.
DB_COMMIT call function 'DB_COMMIT'.
DB_COMMIT call function 'DB_COMMIT'.
DDIF_TABL_GET call function 'DDIF_TABL_GET' exporting name = i_table state = 'A' importing gotstate = l_gotstate tables dd03p_tab = lt_dd03p exceptions illegal_input = 1 others = 2.
RKE_SHORT_TEXT_ALL call function 'RKE_SHORT_TEXT_ALL' exporting i_erkrs = gt_erkrso-low is_ce0 =
importing e_subrc = l_subrc tables et_text = lt_texto.
RKE_SHORT_TEXT_ALL call function 'RKE_SHORT_TEXT_ALL' exporting i_erkrs = g_erkrsn is_ce0 =
importing e_subrc = l_subrc tables et_text = lt_textnbd.
RKE_SHORT_TEXT_ALL call function 'RKE_SHORT_TEXT_ALL' exporting i_erkrs = g_erkrsn is_ce0 =
importing e_subrc = l_subrc tables et_text = lt_textn.
REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting i_callback_program = c_prognamealv i_callback_user_command = c_formnamealvucommp i_callback_pf_status_set = c_formnamealvptatp i_grid_title = g_gridtitlealvp is_layout = gs_layoutalv it_fieldcat = gt_fieldtabalv it_sort = gt_sorttabalv tables t_outtab = gt_prottabalvp exceptions others = 1.
REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting i_callback_program = c_prognamealv i_callback_user_command = c_formnamealvucomm i_callback_pf_status_set = c_formnamealvptat i_grid_title = g_gridtitlealv is_layout = gs_layoutalv it_fieldcat = gt_fieldtabalv it_sort = gt_sorttabalv tables t_outtab = gt_prottabalv exceptions others = 1.
MASS_MESSAGE_GET call function 'MASS_MESSAGE_GET' exporting sprsl = sy-langu arbgb = l_arbgb msgnr = l_msgno msgv1 = i_msgv1 msgv2 = i_msgv2 msgv3 = i_msgv3 msgv4 = i_msgv4 importing msgtext = gs_prottabalv-msgtext exceptions others = 1.
KEDR_TRACE_WRITE call function 'KEDR_TRACE_WRITE' exporting i_trace_handle = gs_prottabalvp-trace_handle.
MASS_MESSAGE_SHOW_LONGTEXT call function 'MASS_MESSAGE_SHOW_LONGTEXT' exporting sprsl = sy-langu arbgb = l_arbgb msgnr = l_msgno msgv1 = gs_prottabalv-msgv1 msgv2 = gs_prottabalv-msgv2 msgv3 = gs_prottabalv-msgv3 msgv4 = gs_prottabalv-msgv4 exceptions others = 1.
RKE_TAB_ENQ_KEY call function 'RKE_TAB_ENQ_KEY' exporting i_table = 'TKEB' i_key = enq_key_attr exceptions foreign_lock = 1 others = 2.
RKE_READ_ERKRS_MESSAGE call function 'RKE_READ_ERKRS_MESSAGE' exporting i_erkrs = i_erkrs importing e_v_tkeb = l_v_tkeb.
RKE_MODIFY_ERKRS call function 'RKE_MODIFY_ERKRS' exporting i_v_tkeb = l_v_tkeb.
DB_COMMIT call function 'DB_COMMIT'.
RKE_READ_ERKRS_MESSAGE call function 'RKE_READ_ERKRS_MESSAGE' exporting i_erkrs = i_erkrs importing e_v_tkeb = l_v_tkeb.
RKE_MODIFY_ERKRS call function 'RKE_MODIFY_ERKRS' exporting i_v_tkeb = l_v_tkeb.
RKE_TAB_DEQ_KEY call function 'RKE_TAB_DEQ_KEY' exporting i_table = 'TKEB' i_key = enq_key_attr.
DB_COMMIT call function 'DB_COMMIT'.
DDIF_TABL_GET call function 'DDIF_TABL_GET' exporting name = ls_desc_tab-table state = 'A' langu = sy-langu importing dd02v_wa = ls_dd02v exceptions others = 1.
RKE_FILL_FIELD_TABLE call function 'RKE_FILL_FIELD_TABLE' exporting erkrs = it_erkrso-low importing subrc = l_subrc tables fieldtab = lt_fieldtabo exceptions others = 1.
RKE_FILL_FIELD_TABLE call function 'RKE_FILL_FIELD_TABLE' exporting erkrs = i_erkrsn importing subrc = l_subrc tables fieldtab = it_fieldtabn exceptions others = 1.
DB_COMMIT call function 'DB_COMMIT'.
DB_COMMIT call function 'DB_COMMIT'.
DB_COMMIT call function 'DB_COMMIT'.
POPUP_TO_DECIDE call function 'POPUP_TO_DECIDE' exporting textline1 = text-060 textline2 = text-061 text_option1 = text-203 text_option2 = text-204 titel = text-059 cancel_display = 'X' importing answer = l_answer.
DB_COMMIT call function 'DB_COMMIT'.
REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting i_callback_program = c_prognamealv i_callback_pf_status_set = c_formnamealvptat i_grid_title = g_gridtitlealv is_layout = gs_layoutalv it_fieldcat = gt_fieldtabalv tables t_outtab = gt_prottabalvc exceptions others = 1.
BP_START_DATE_EDITOR call function 'BP_START_DATE_EDITOR' exporting stdt_dialog = 'Y' stdt_input = ls_job-startspecs stdt_opcode = btc_edit_startdate importing stdt_modify_type = l_modify stdt_output = ls_job-startspecs exceptions others = 1.
JOB_OPEN call function 'JOB_OPEN' exporting delanfrep = ' ' jobname = ls_job-job-jobname importing jobcount = ls_job-job-jobcount exceptions others = 1.
JOB_CLOSE call function 'JOB_CLOSE' exporting at_opmode_periodic = ls_job-startspecs-periodic calendar_id = ls_job-startspecs-calendarid event_id = ls_job-startspecs-eventid event_param = ls_job-startspecs-eventparm event_periodic = ls_job-startspecs-periodic jobcount = ls_job-job-jobcount jobname = ls_job-job-jobname laststrtdt = ls_job-startspecs-laststrtdt laststrttm = ls_job-startspecs-laststrttm prddays = ls_job-startspecs-prddays prdhours = ls_job-startspecs-prdhours prdmins = ls_job-startspecs-prdmins prdmonths = ls_job-startspecs-prdmonths prdweeks = ls_job-startspecs-prdweeks predjob_checkstat = ls_job-startspecs-checkstat pred_jobcount = ls_job-startspecs-predjobcnt pred_jobname = ls_job-startspecs-predjob sdlstrtdt = ls_job-startspecs-sdlstrtdt sdlstrttm = ls_job-startspecs-sdlstrttm startdate_restriction = ls_job-startspecs-prdbehav strtimmed = l_startimmediate start_on_workday_not_before = ls_job-startspecs-notbefore start_on_workday_nr = ls_job-startspecs-wdayno workday_count_direction = ls_job-startspecs-wdaycdir importing job_was_released = l_job_released exceptions others = 1.
POPUP_TO_DECIDE call function 'POPUP_TO_DECIDE' exporting textline1 = l_textline textline2 = text-052 text_option1 = text-203 text_option2 = text-204 titel = text-053 cancel_display = 'X' importing answer = l_answer.
DB_COMMIT call function 'DB_COMMIT'.
RKE_CHECK_GENERATION call function 'RKE_CHECK_GENERATION' exporting erkrs = it_erkrso-low importing subrc = l_subrc exceptions others = 1.
RKE_CHECK_GENERATION call function 'RKE_CHECK_GENERATION' exporting erkrs = i_erkrsn importing subrc = l_subrc exceptions others = 1.
RKE_GET_CRITERIA_FOR_ACCTNR *-+ call function 'RKE_GET_CRITERIA_FOR_ACCTNR' *-+ exporting *-+ i_erkrs = i_erkrso *-+ i_pa_type = i_patype *-+ tables *-+ object_table = lt_ce4o.
RKE_GET_CRITERIA_FOR_CE4KEY *-+ call function 'RKE_GET_CRITERIA_FOR_CE4KEY' *-+ exporting *-+ i_erkrs = i_erkrso *-+ i_pa_type = i_patype *-+ tables *-+ object_table = lt_ce4o.
RKE_EXIT *-+ CALL FUNCTION 'RKE_EXIT' *-+ EXPORTING *-+ I_EXIT_ID = c_rke_exit_id_ce4 *-+ I_COUNT_PARAMS = l_count_params *-+ CHANGING *-+ X_PARAM_1 = l_erkrso *-+ X_PARAM_2 = l_erkrsn *-+ x_param_3 = l_exitid *-+ x_param_4 = l_exit_active *-+ x_param_5 = ls_ce4o *-+ x_param_6 = ls_ce4n *-+-+ x_param_7 = l_ce4fl *-+-+ x_param_8 = ls_ce4flago *-+-+ x_param_9 = ls_ce4flagn *-+ EXCEPTIONS *-+ OTHERS = 1.
RKE_SHORT_TEXT_ALL *-+ CALL FUNCTION 'RKE_SHORT_TEXT_ALL' *-+ EXPORTING *-+ I_ERKRS = i_erkrsn *-+ I_PA_TYPE = l_patype *-+ IS_CE0 = ls_ce0n *-+ I_EXIT_AFTER_FIRST_ERROR = 'X' *-+ IMPORTING *-+ E_SUBRC = l_subrc.
KEDR_COPA_DERIVE *-+ call function 'KEDR_COPA_DERIVE' *-+ exporting *-+ i_erkrs = i_erkrsn *-+ i_item = ls_ce0n *-+ i_derivation_date = sy-datum *-+ i_trace_mode = 'A' *-+* i_mass_processing = 'X' "Siehe Hinweis fuer KEND *-+ IMPORTING *-+ e_item = ls_ce0n *-+ e_trace_handle = l_trace_handle *-+ exceptions *-+ derivation_failed = 1 *-+ check_chier_failed = 2 *-+ others = 3.
KEDR_COPA_DERIVE *-+ call function 'KEDR_COPA_DERIVE' *-+ exporting *-+ i_erkrs = i_erkrsn *-+ i_item = ls_ce0n *-+ i_derivation_date = sy-datum *-+* i_mass_processing = 'X' "Siehe Hinweis fuer KEND *-+ IMPORTING *-+ e_item = ls_ce0n *-+ exceptions *-+ derivation_failed = 1 *-+ check_chier_failed = 2 *-+ others = 3.
RKE_GET_ACCTNR *-+ call function 'RKE_GET_ACCTNR' *-+ exporting *-+ i_erkrs = i_erkrsn *-+ i_pa_type = i_patype *-+ tables *-+ object_table = lt_ce4n.
RKE_GET_CE4KEY *-+ call function 'RKE_GET_CE4KEY' *-+ exporting *-+ i_erkrs = i_erkrsn *-+ i_pa_type = i_patype *-+ tables *-+ object_table = lt_ce4n.
COPA_POST_MANUAL_CHARACTERISTI *-+-+ CALL FUNCTION 'COPA_POST_MANUAL_CHARACTERISTI' *-+-+ EXPORTING *-+-+ I_ERKRS = i_erkrsn *-+-+ IS_CE4FLAG = ls_ce4flagn *-+-+ EXCEPTIONS *-+-+ OTHERS = 1.
REUSE_ALV_GRID_DISPLAY *+-CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' *+- EXPORTING *+- I_CALLBACK_PROGRAM = c_prognamealv *+- i_callback_pf_status_set = c_formnamealvptat *+- i_grid_title = g_gridtitlealv *+- is_layout = gs_layoutalv *+- IT_FIELDCAT = gt_fieldtabalv *+- TABLES *+- T_OUTTAB = gt_prottabalvs *+- EXCEPTIONS *+- OTHERS = 1.
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 RKE_CHACO_PAOBJNR_1 or its description.
RKE_CHACO_PAOBJNR_1 - Conversion of Profitability Segments in Sender Tables RKE_CHACO_PAOBJNR_1 - Conversion of Profitability Segments in Sender Tables RKE_CHACO_INCL_SELECTION - RKECHACOINCLSELECTION RKE_CHACO_INCL_OLD_FIELDS - RKECHACOINCLOLDFIELDS RKE_CHACO_INCL_NEW_FIELDS - RKECHACOINCLNEWFIELDS RKE_CHACO_FIELD_ASSIGNMENT - Assignment of Fields from Source + Target Operating Concern