SAP Reports / Programs | Production Planning and Control | Production Planning for Process Industries | Process Management(PP-PI-PMA) SAP PP

ICMXTYPESIMP04 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

CTUT_REFRESH_BUFFER CALL FUNCTION 'CTUT_REFRESH_BUFFER'.

CLSE_FREE_MEMORY CALL FUNCTION 'CLSE_FREE_MEMORY'.

CTUT_FEATURE_DATA CALL FUNCTION 'CTUT_FEATURE_DATA' EXPORTING feature_neutral_name = result-cabn-atnam message_type_inp = 'E' key_date = sy-datlo IMPORTING ecabn = result-cabn EXCEPTIONS invalid_class_type = 1 missing_feature_information = 2 no_feature_found = 3 no_feature_valid = 4 no_language = 5 OTHERS = 6.

CTUT_FEATURE_DATA CALL FUNCTION 'CTUT_FEATURE_DATA' EXPORTING feature_id = result-cabn-atinn message_type_inp = 'E' key_date = sy-datlo IMPORTING ecabn = result-cabn EXCEPTIONS invalid_class_type = 1 missing_feature_information = 2 no_feature_found = 3 no_feature_valid = 4 no_language = 5 OTHERS = 6.

CTUT_GET_CHARACT_VIA_GROUP CALL FUNCTION 'CTUT_GET_CHARACT_VIA_GROUP' EXPORTING group = lw_data-cabn-atkla key_date = sy-datlo TABLES exp_characteristics = lt_cabn EXCEPTIONS not_found = 1 OTHERS = 2.

CTUT_CHARACT_GET_TEXTS CALL FUNCTION 'CTUT_CHARACT_GET_TEXTS' EXPORTING characteristic = m_data-cabn-atinn key_date = sy-datlo language = langu TABLES charact_texts = lt_cabnt EXCEPTIONS not_found = 1 OTHERS = 2.

F4_DATE CALL FUNCTION 'F4_DATE' EXPORTING date_for_first_month = sy-datlo display = display IMPORTING select_date = l_date EXCEPTIONS calendar_buffer_not_loadable = 1 date_after_range = 2 date_before_range = 3 date_invalid = 4 factory_calendar_not_found = 5 holiday_calendar_not_found = 6 parameter_conflict = 7 OTHERS = 8.

COC1_PPPI_CHAR_VALUES_INIT CALL FUNCTION 'COC1_PPPI_CHAR_VALUES_INIT' EXPORTING plant = l_plant check_at_value_assignment = space.

CTHE_VALUE_F4 CALL FUNCTION 'CTHE_VALUE_F4' EXPORTING i_atnam = m_data-cabn-atnam i_display_only = display i_only_allowed_values = 'X' i_show_description = 'X' IMPORTING e_value = l_value EXCEPTIONS no_selection = 1 charact_not_found = 2 no_values_found = 3 OTHERS = 4.

CTTX_TEXT_CHARACT_GET CALL FUNCTION 'CTTX_TEXT_CHARACT_GET' EXPORTING charact = m_data-cabn-atnam language = langu TABLES text = lt_cttext EXCEPTIONS no_text_found = 1 error = 2 OTHERS = 3.

PRINT_TEXT CALL FUNCTION 'PRINT_TEXT' EXPORTING application = 'TX' device = 'SCREEN' dialog = 'X' header = lw_header TABLES lines = lt_text EXCEPTIONS canceled = 1 device = 2 form = 3 options = 4 unclosed = 5 unknown = 6 format = 7 textformat = 8 communication = 9 bad_pageformat_for_print = 10 OTHERS = 11.

CTUT_GET_VALUES CALL FUNCTION 'CTUT_GET_VALUES' EXPORTING characteristic = lo_domain->m_data-cabn-atinn TABLES value_tab = lt_value EXCEPTIONS not_found = 1 OTHERS = 2.

CTBP_CONVERT_VALUE_INT_TO_EXT CALL FUNCTION 'CTBP_CONVERT_VALUE_INT_TO_EXT' EXPORTING charactname = lo_domain->m_data-cabn-atnam value_from = l_atflv value_to = '0' value_relation = '1' IMPORTING value_external = l_atwrt EXCEPTIONS charact_not_found = 1 no_authority = 2 wrong_data_type = 3 internal_error = 4 wrong_input = 5 wrong_format = 6 OTHERS = 7.

BAPI_CHARACT_GETDETAIL CALL FUNCTION 'BAPI_CHARACT_GETDETAIL' EXPORTING charactname = lo_domain->m_data-cabn-atnam language = lo_domain->m_dlangu IMPORTING charactdetail = lo_domain->m_details TABLES return = lt_return.

CTBP_CONVERT_VALUE_EXT_TO_INT CALL FUNCTION 'CTBP_CONVERT_VALUE_EXT_TO_INT' EXPORTING value_external = l_atwrt charactdetail = lo_domain->m_details IMPORTING value_from = l_atflv EXCEPTIONS no_authority = 1 charact_not_found = 2 wrong_data_type = 3 wrong_value = 4 wrong_input = 5 OTHERS = 6.

CTUT_GET_VALUES CALL FUNCTION 'CTUT_GET_VALUES' EXPORTING characteristic = lo_domain->m_data-cabn-atinn TABLES value_tab = lt_value EXCEPTIONS not_found = 1 OTHERS = 2.

CTBP_CONVERT_VALUE_INT_TO_EXT CALL FUNCTION 'CTBP_CONVERT_VALUE_INT_TO_EXT' EXPORTING charactname = lo_domain->m_data-cabn-atnam value_from = l_atflv value_to = '0' value_relation = '1' IMPORTING value_external = l_atwrt EXCEPTIONS charact_not_found = 1 no_authority = 2 wrong_data_type = 3 internal_error = 4 wrong_input = 5 wrong_format = 6 OTHERS = 7.

BAPI_CHARACT_GETDETAIL CALL FUNCTION 'BAPI_CHARACT_GETDETAIL' EXPORTING charactname = lo_domain->m_data-cabn-atnam language = lo_domain->m_dlangu IMPORTING charactdetail = lo_domain->m_details TABLES return = lt_return.

CTBP_CONVERT_VALUE_EXT_TO_INT





CALL FUNCTION 'CTBP_CONVERT_VALUE_EXT_TO_INT' EXPORTING value_external = l_atwrt charactdetail = lo_domain->m_details IMPORTING value_from = l_atflv EXCEPTIONS no_authority = 1 charact_not_found = 2 wrong_data_type = 3 wrong_value = 4 wrong_input = 5 OTHERS = 6.

CTUT_GET_VALUES CALL FUNCTION 'CTUT_GET_VALUES' EXPORTING characteristic = lo_domain->m_data-cabn-atinn TABLES value_tab = lt_value EXCEPTIONS not_found = 1 OTHERS = 2.

CTBP_CONVERT_VALUE_INT_TO_EXT CALL FUNCTION 'CTBP_CONVERT_VALUE_INT_TO_EXT' EXPORTING charactname = lo_domain->m_data-cabn-atnam value_from = l_atflv value_to = '0' value_relation = '1' IMPORTING value_external = l_atwrt EXCEPTIONS charact_not_found = 1 no_authority = 2 wrong_data_type = 3 internal_error = 4 wrong_input = 5 wrong_format = 6 OTHERS = 7.

BAPI_CHARACT_GETDETAIL CALL FUNCTION 'BAPI_CHARACT_GETDETAIL' EXPORTING charactname = lo_domain->m_data-cabn-atnam language = lo_domain->m_dlangu IMPORTING charactdetail = lo_domain->m_details TABLES return = lt_return.

CTBP_CONVERT_VALUE_EXT_TO_INT CALL FUNCTION 'CTBP_CONVERT_VALUE_EXT_TO_INT' EXPORTING value_external = l_atwrt charactdetail = lo_domain->m_details IMPORTING value_from = l_atflv EXCEPTIONS no_authority = 1 charact_not_found = 2 wrong_data_type = 3 wrong_value = 4 wrong_input = 5 OTHERS = 6.

CTUT_GET_VALUES_WITH_TEXT CALL FUNCTION 'CTUT_GET_VALUES_WITH_TEXT' EXPORTING characteristic = lo_domain->m_data-cabn-atinn language = langu TABLES value_tab = lt_vtext EXCEPTIONS not_found = 1 OTHERS = 2.

CTUT_GET_VALUES CALL FUNCTION 'CTUT_GET_VALUES' EXPORTING characteristic = lo_domain->m_data-cabn-atinn TABLES value_tab = lt_value EXCEPTIONS not_found = 1 OTHERS = 2.

CTHE_CHECK_TABLE_VALUE_EXISTS CALL FUNCTION 'CTHE_CHECK_TABLE_VALUE_EXISTS' EXPORTING check_table = lo_domain->m_data-cabn-atprt value = l_atwrt EXCEPTIONS value_not_found = 1 OTHERS = 2.

CMX_CHAR_VALUES_REFRESH CALL FUNCTION 'CMX_CHAR_VALUES_REFRESH'.

CTHE_FUNCTION_VALUE_EXISTS CALL FUNCTION 'CTHE_FUNCTION_VALUE_EXISTS' EXPORTING function = lo_domain->m_data-cabn-atprf charact = lo_domain->m_data-cabn-atnam charact_no = lo_domain->m_data-cabn-atinn value = l_atwrt EXCEPTIONS function_not_found = 1 value_not_found = 2 OTHERS = 3.



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