SAP Reports / Programs | Cross-Application Components | General Application Functions | Cross-Application Mass Maintenance(CA-GTF-MS) SAP CA

CNV_21500_CREATE_PACKAGE SAP ABAP Report - Creates a HR conversion package basing on existing CWB package







CNV_21500_CREATE_PACKAGE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Create a HR-conversion package on basis of already existing CWB package The purpose of this program is to help package developers create new HR-conversion packages on basis of CNVDOMS entries of already existing CWB package...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 CNV_21500_CREATE_PACKAGE 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 CNV_21500_CREATE_PACKAGE. "Basic submit
SUBMIT CNV_21500_CREATE_PACKAGE AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_21500_CREATE_PACKAGE 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: GP_DSTPK = New package
Selection Text: GP_SRCPK = Source package
Title: Creates a HR conversion package basing on existing CWB package
Text Symbol: 001 = Choose domain / data element entries from source package &1
Text Symbol: 002 = Found relevant entries
Text Symbol: 003 = Overwrite ?
Text Symbol: 004 = Some entries exist in CNVDOMS for package &1.
Text Symbol: 005 = Some entries exist in CNV_INDX_TABLES, CNV_INDX_FIELDS and/or CNV_INDX_STEPS for package &1.
Text Symbol: 006 = Are you sure you want to replace them with new ones?
Text Symbol: 007 = Confirm
Text Symbol: 008 = Package &1 (new package id) already exists in this system. Are you sure you want to continue?
Text Symbol: 009 = Devclass class for pack.
Text Symbol: 010 = Development class &1 doesn't exist. Are you sure you want to continue?


INCLUDES used within this REPORT CNV_21500_CREATE_PACKAGE

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:

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-007 text_question = gd_txt display_cancel_button = space IMPORTING answer = gd_answ.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gd_prog i_internal_tabname = gc_table_domains i_structure_name = gc_table_domains CHANGING ct_fieldcat = gt_doms_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gd_prog i_callback_pf_status_set = 'DOMAIN_STATUS_SET' i_callback_user_command = 'DOMAIN_USER_COMMAND' i_grid_title = gd_title is_layout = gd_doms_layout it_fieldcat = gt_doms_fieldcat TABLES t_outtab = gt_doms EXCEPTIONS program_error = 1 OTHERS = 2.

CNV_21510_SEARCH_FIELDS CALL FUNCTION 'CNV_21510_SEARCH_FIELDS' EXPORTING p_srcpack = gp_srcpk TABLES pt_indx_table = gt_tables pt_indx_field = gt_fields pt_indx_fipar = gt_fipars pt_doms = lt_doms pt_doms_excl = gt_doms_excl pt_dopars = gt_dopars.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gd_prog i_callback_user_command = 'OVERVIEW_USER_COMMAND' i_callback_pf_status_set = 'OVERVIEW_STATUS_SET' i_grid_title = ld_title is_layout = ld_overview_layout it_fieldcat = lt_overview_fieldcat TABLES t_outtab = gt_overview EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gd_prog i_internal_tabname = ld_overview-tabname i_structure_name = ld_overview-tabname CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gd_prog i_callback_user_command = 'DETAILS_USER_COMMAND' is_layout = ld_layout it_fieldcat = lt_fieldcat TABLES t_outtab = gt_sel_doms EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gd_prog i_callback_user_command = 'DETAILS_USER_COMMAND' is_layout = ld_layout it_fieldcat = lt_fieldcat TABLES t_outtab = gt_dopars EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gd_prog i_callback_user_command = 'DETAILS_USER_COMMAND' is_layout = ld_layout it_fieldcat = lt_fieldcat TABLES t_outtab = gt_tables EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gd_prog i_callback_user_command = 'DETAILS_USER_COMMAND' is_layout = ld_layout it_fieldcat = lt_fieldcat TABLES t_outtab = gt_fields EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gd_prog i_callback_user_command = 'DETAILS_USER_COMMAND' is_layout = ld_layout it_fieldcat = lt_fieldcat TABLES t_outtab = gt_fipars EXCEPTIONS program_error = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-003 text_question = ld_txt display_cancel_button = space IMPORTING answer = ld_res EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-003 text_question = ld_txt display_cancel_button = space IMPORTING answer = ld_res1 EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_GET_VALUE CALL FUNCTION 'POPUP_TO_GET_VALUE' EXPORTING fieldname = 'DEVCLASS' tabname = 'TDEVC' titel = text-009 valuein = ld_devclass-devclass IMPORTING answer = ld_answ valueout = ld_devclassname.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-007 text_question = ld_txt display_cancel_button = space IMPORTING answer = ld_answ.



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