SAP Reports / Programs | Cross-Application Components | European Monetary Union: Euro(CA-EUR) SAP CA

CNV_TDMS_01_SELECT_CCODES SAP ABAP Report - Reduction based on Company Code - Orgunit







CNV_TDMS_01_SELECT_CCODES 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 CNV_TDMS_01_SELECT_CCODES 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_TDMS_01_SELECT_CCODES. "Basic submit
SUBMIT CNV_TDMS_01_SELECT_CCODES AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_TDMS_01_SELECT_CCODES 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: SO_WERKS = Plant
Selection Text: SO_KUNNR = Customer Number
Selection Text: P_STORE = Store dependent Org units
Selection Text: P_PHASE = Phase
Selection Text: P_PACK = Package
Selection Text: P_ACT_ID = Activity ID
Title: Reduction based on Company Code - Orgunit
Text Symbol: 055 = or a combination
Text Symbol: 054 = Enter at least one plant or customer number
Text Symbol: 053 = Plant
Text Symbol: 052 = is invalid
Text Symbol: 051 = Customer
Text Symbol: 050 = Selection Criteria
Text Symbol: 049 = Data volume is large; loading......
Text Symbol: 048 = Company Code
Text Symbol: 046 = selected
Text Symbol: 033 = Company Codes
Text Symbol: 022 = Data Loss
Text Symbol: 021 = Last changed by
Text Symbol: 020 = Status
Text Symbol: 019 = On
Text Symbol: 018 = Created By
Text Symbol: 017 = Description
Text Symbol: 016 = Package ID
Text Symbol: 012 = Save data
Text Symbol: 011 = Hlevel
Text Symbol: 010 = Bukrs
Text Symbol: 009 = Orgunit
Text Symbol: 006 = Do you want to cancel activity?
Text Symbol: 005 = Do you want to save data?
Text Symbol: 004 = Transfer
Text Symbol: 003 = Productive
Text Symbol: 002 = Org. Unit Key
Text Symbol: 001 = Organizational Unit Description


INCLUDES used within this REPORT CNV_TDMS_01_SELECT_CCODES

INCLUDE CNV_MBT_SM_PARAMS.
INCLUDE CNVTDMS_01_SELECT_CCODES_DATA.
INCLUDE CNVTDMS_01_SELECT_CCODES_CLASS.
INCLUDE CNVTDMS_01_SELECT_CCODES_O01.




INCLUDE CNVTDMS_01_SELECT_CCODES_I01.
INCLUDE CNVTDMS_01_SELECT_CCODES_F01.


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:

SELECT_OPTIONS_RESTRICT * CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' * EXPORTING * restriction = restrict * EXCEPTIONS * too_late = 1 * repeated = 2 * selopt_without_options = 5 * selopt_without_signs = 6 * invalid_sign = 7 * empty_option_list = 9 * invalid_kind = 10 * repeated_kind_a = 11 * OTHERS = 12.

CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack exec_target = 'S' IMPORTING destination_id = gv_dest_sender EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 get_system_info_failure = 3 rfc_failure = 4 system_info_has_changed = 5 login_not_possible = 6 OTHERS = 7.

CNV_TDMS_01_ISR_GET_SENDER_VAL CALL FUNCTION 'CNV_TDMS_01_ISR_GET_SENDER_VAL' DESTINATION gv_dest_sender TABLES gt_values_werks = gt_values_werks gt_values_kunnr = gt_values_kunnr.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'WERKS' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'SO_WERKS' value_org = 'S' TABLES value_tab = gt_values_werks[] EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack exec_target = 'S' IMPORTING destination_id = gv_dest_sender EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 get_system_info_failure = 3 rfc_failure = 4 system_info_has_changed = 5 login_not_possible = 6 OTHERS = 7.

CNV_TDMS_01_ISR_GET_SENDER_VAL CALL FUNCTION 'CNV_TDMS_01_ISR_GET_SENDER_VAL' DESTINATION gv_dest_sender TABLES gt_values_werks = gt_values_werks gt_values_kunnr = gt_values_kunnr.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'WERKS' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'SO_WERKS' value_org = 'S' TABLES value_tab = gt_values_werks[] EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack exec_target = 'S' IMPORTING destination_id = gv_dest_sender EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 get_system_info_failure = 3 rfc_failure = 4 system_info_has_changed = 5 login_not_possible = 6 OTHERS = 7.

CNV_TDMS_01_ISR_GET_SENDER_VAL CALL FUNCTION 'CNV_TDMS_01_ISR_GET_SENDER_VAL' DESTINATION gv_dest_sender TABLES gt_values_werks = gt_values_werks gt_values_kunnr = gt_values_kunnr.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'KUNNR' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'SO_KUNNR' value_org = 'S' TABLES value_tab = gt_values_kunnr[] EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack exec_target = 'S' IMPORTING destination_id = gv_dest_sender EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 get_system_info_failure = 3 rfc_failure = 4 system_info_has_changed = 5 login_not_possible = 6 OTHERS = 7.

CNV_TDMS_01_ISR_GET_SENDER_VAL CALL FUNCTION 'CNV_TDMS_01_ISR_GET_SENDER_VAL' DESTINATION gv_dest_sender TABLES gt_values_werks = gt_values_werks gt_values_kunnr = gt_values_kunnr.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'KUNNR' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'SO_KUNNR' value_org = 'S' TABLES value_tab = gt_values_kunnr[] EXCEPTIONS parameter_error = 1 no_values_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 CNV_TDMS_01_SELECT_CCODES or its description.