SAP Reports / Programs | Cross-Application Components | Document Management System(CA-DMS) SAP CA

RCDDSSEL SAP ABAP Report - Distribution log







RCDDSSEL 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 RCDDSSEL into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CVI9 - Log for distribution orders


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 RCDDSSEL. "Basic submit
SUBMIT RCDDSSEL AND RETURN. "Return to original report after report execution complete
SUBMIT RCDDSSEL 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: STATUS = Status
Selection Text: RET_DATE = Requested return date
Selection Text: REC_USER = Name - confirmation of receipt
Selection Text: REC_NAME = Recipient name
Selection Text: REC_DATE = Date - confirmation of receipt
Selection Text: RADI_REC = Recipient
Selection Text: RADI_PAC = Packages
Selection Text: RADI_DOC = Documents
Selection Text: P_DOKVR = Document version
Selection Text: P_DOKTL = Document part
Selection Text: P_DOKNR = Document number
Selection Text: P_DOKAR = Document type
Selection Text: DDP_ID = Distribution order package ID
Selection Text: DDO_ID = Distr. order ID
Selection Text: DDOC_ID = PartialOrder ID
Selection Text: DDI_ID = Initial order ID
Selection Text: CR_USER = Created by
Selection Text: CR_DATE = Creation date
Selection Text: CON_USER = Person for output control
Selection Text: CON_DATE = Output control date
Selection Text: CONTEXT = Context
Selection Text: COM_TYPE = Distribution type
Selection Text: CH_USER = Last changed by
Selection Text: CH_DATE = Date of last change
Title: Distribution log
Text Symbol: 012 = Context
Text Symbol: 011 = Format
Text Symbol: 010 = General data
Text Symbol: 009 = Status
Text Symbol: 008 = Recipient
Text Symbol: 007 = Document
Text Symbol: 006 = Distr. order
Text Symbol: 005 = Not assigned to distr. order package
Text Symbol: 004 = PartialOrder Id
Text Symbol: 003 = Partial orders
Text Symbol: 002 = Distr. order package
Text Symbol: 001 = Initial order ID


INCLUDES used within this REPORT RCDDSSEL

INCLUDE CVDI01. " CONSTANTS FOR STATUS




INCLUDE CVDI03.


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:

CVV1_FIND_RECIPIENT CALL FUNCTION 'CVV1_FIND_RECIPIENT' EXPORTING address_string = rec_name IMPORTING recid = g_recid name = rec_name EXCEPTIONS no_recipient = 1 function_canceled = 2 OTHERS = 3.

SWD_HELP_F4_ORG_OBJECTS CALL FUNCTION 'SWD_HELP_F4_ORG_OBJECTS' EXPORTING act_orgtype = 'US' act_search_string = cr_user IMPORTING act_orgobject = l_act_obj EXCEPTIONS no_active_plvar = 1 no_org_object_selected = 2 OTHERS = 3.

SWD_HELP_F4_ORG_OBJECTS CALL FUNCTION 'SWD_HELP_F4_ORG_OBJECTS' EXPORTING act_orgtype = 'US' act_search_string = ch_user IMPORTING act_orgobject = l_act_obj EXCEPTIONS no_active_plvar = 1 no_org_object_selected = 2 OTHERS = 3.

SWD_HELP_F4_ORG_OBJECTS CALL FUNCTION 'SWD_HELP_F4_ORG_OBJECTS' EXPORTING act_orgtype = 'US' act_search_string = con_user IMPORTING act_orgobject = l_act_obj EXCEPTIONS no_active_plvar = 1 no_org_object_selected = 2 OTHERS = 3.

SWD_HELP_F4_ORG_OBJECTS CALL FUNCTION 'SWD_HELP_F4_ORG_OBJECTS' EXPORTING act_orgtype = 'US' act_search_string = rec_user IMPORTING act_orgobject = l_act_obj EXCEPTIONS no_active_plvar = 1 no_org_object_selected = 2 OTHERS = 3.

CVV1_FIND_RECIPIENT CALL FUNCTION 'CVV1_FIND_RECIPIENT' EXPORTING address_string = rec_name IMPORTING recid = g_recid name = rec_name EXCEPTIONS no_recipient = 1 function_canceled = 2 OTHERS = 3.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' "NOTE:- 716090 EXPORTING TCODE = 'SCOT' EXCEPTIONS OK = 1 "NOTE: - 716090 * NOT_OK = 2 * OTHERS = 3 .

SX_ADMIN_TREE CALL FUNCTION 'SX_ADMIN_TREE'.

ADDR_KEY_GET_TYPE CALL FUNCTION 'ADDR_KEY_GET_TYPE' TABLES addr_type_table = lt_addr_type EXCEPTIONS parameter_error = 1 internal_error = 2 OTHERS = 3.

ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING * ADRSWA_IN = * ADDRESS_1 = * ADDRESS_2 = * ADDRESS_3 = address_type = l_adrs_type address_number = l_a_number person_number = l_p_number * sender_country = ' ' * RECEIVER_LANGUAGE = ' ' * NUMBER_OF_LINES = 10 * STREET_HAS_PRIORITY = ' ' * LINE_PRIORITY = ' ' * COUNTRY_NAME_IN_RECEIVER_LANGU = ' ' * LANGUAGE_FOR_COUNTRY_NAME = ' ' * NO_UPPER_CASE_FOR_CITY = ' ' IMPORTING * adrswa_out = * address_printform = * ADDRESS_SHORT_FORM = * ADDRESS_DATA_CARRIER = * NUMBER_OF_USED_LINES = * NAME_IS_EMPTY = * ADDRESS_NOT_FOUND = address_printform_table = l_adrs_print_tab.

CVV3_DDOC_SET_READY CALL FUNCTION 'CVV3_DDOC_SET_READY' EXPORTING i_ddoc_id = gt_item-ddoc_id i_status = ic_ddoc_status-ok i_msgty = 'I' i_msgno = '97' i_exit = 'X' EXCEPTIONS error = 1 wrong_status = 2 OTHERS = 3.

SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = 'BUS1082002' objkey = l_objkey event = l_event TABLES event_container = container EXCEPTIONS objtype_not_found = 1 OTHERS = 2.

CVV3_DDOC_SET_READY CALL FUNCTION 'CVV3_DDOC_SET_READY' EXPORTING i_ddoc_id = gt_item-ddoc_id i_status = ic_ddoc_status-waitreceipt i_msgty = 'I' i_msgno = 57 EXCEPTIONS error = 1 wrong_status = 2 OTHERS = 3.

CVV3_DDOC_SET_READY CALL FUNCTION 'CVV3_DDOC_SET_READY' EXPORTING i_ddoc_id = gt_item-ddoc_id i_status = ic_ddoc_status-ok i_msgty = 'I' i_msgno = 57 i_exit = 'X' EXCEPTIONS error = 1 wrong_status = 2 OTHERS = 3.

SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = 'BUS1082002' objkey = l_objkey event = l_event TABLES event_container = container EXCEPTIONS objtype_not_found = 1 OTHERS = 2.

RSAN_LOGSYS_DETERMINE * CALL FUNCTION 'RSAN_LOGSYS_DETERMINE' * EXPORTING * I_CLIENT = SY-MANDT * IMPORTING * E_LOGSYS = BORIDENT-LOGSYS * EXCEPTIONS * CLIENT_NOT_FOUND = 1 * OTHERS = 2.

SREL_GET_NEXT_NEIGHBORS * CALL FUNCTION 'SREL_GET_NEXT_NEIGHBORS' * EXPORTING * OBJECT = BORIDENT * ROLETYPE = 'APPLOBJ' * TABLES * NEIGHBORS = LT_NEIGHBORS * EXCEPTIONS * OTHERS = 0.

CVV3_DDOC_SET_ALL_READY CALL FUNCTION 'CVV3_DDOC_SET_ALL_READY' EXPORTING i_status = ic_ddoc_status-bundled i_msgno = 123 TABLES ddoc_tab = lt_ddoc EXCEPTIONS error = 1 wrong_status = 2 OTHERS = 3.






SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = 'BUS1082002' objkey = x_objkey event = l_event TABLES event_container = container EXCEPTIONS objtype_not_found = 01.

CVV3_DDOC_SET_ALL_READY CALL FUNCTION 'CVV3_DDOC_SET_ALL_READY' EXPORTING i_status = ic_ddoc_status-inwork i_msgno = 123 TABLES ddoc_tab = lt_ddoc EXCEPTIONS error = 1 wrong_status = 2 OTHERS = 3.

SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = 'BUS1082' objkey = x_objkey event = l_event TABLES event_container = container EXCEPTIONS objtype_not_found = 01.

CVV3_DDOC_SET_ALL_READY CALL FUNCTION 'CVV3_DDOC_SET_ALL_READY' EXPORTING i_status = ic_ddoc_status-ignore i_msgno = 129 TABLES ddoc_tab = lt_ddoc EXCEPTIONS error = 1 wrong_status = 2 OTHERS = 3.

CVV1_FIND_RECIPIENT CALL FUNCTION 'CVV1_FIND_RECIPIENT' EXPORTING address_string = p_l_disp no_dialog = 'X' * SINGLE_SELECTION = 'X' IMPORTING name = p_disp_name EXCEPTIONS no_recipient = 1 function_canceled = 2 OTHERS = 3.

CVV7_DRZOC_GET_ENTRY CALL FUNCTION 'CVV7_DRZOC_GET_ENTRY' EXPORTING i_ddoc_id = p_ddoc_id IMPORTING e_drzoc = l_drzoc EXCEPTIONS not_found = 1 OTHERS = 2.

CVV7_DRZOC_UPDATE_ENTRY CALL FUNCTION 'CVV7_DRZOC_UPDATE_ENTRY' EXPORTING i_drzoc_str = l_drzoc * I_MSGID = '25' * I_MSGTY = 'I' i_msgno = '182' i_msgv1 = sy-uname EXCEPTIONS no_ddoc_id = 1 update_error = 2 actlog_append = 3 OTHERS = 4.

CVV7_DRZOC_GET_ENTRY CALL FUNCTION 'CVV7_DRZOC_GET_ENTRY' EXPORTING i_ddoc_id = p_ddoc_id IMPORTING e_drzoc = l_drzoc EXCEPTIONS not_found = 1 OTHERS = 2.

CVV7_DRZOC_UPDATE_ENTRY CALL FUNCTION 'CVV7_DRZOC_UPDATE_ENTRY' EXPORTING i_drzoc_str = l_drzoc i_msgno = '183' i_msgv1 = sy-uname EXCEPTIONS no_ddoc_id = 1 update_error = 2 actlog_append = 3 OTHERS = 4.

CVV3_DDOC_SET_READY CALL FUNCTION 'CVV3_DDOC_SET_READY' EXPORTING i_ddoc_id = gt_item-ddoc_id i_status = ic_ddoc_status-error i_msgty = 'E' i_msgno = '218' EXCEPTIONS error = 1 wrong_status = 2 OTHERS = 3.

SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = 'BUS1082002' objkey = l_objkey event = l_event TABLES event_container = container EXCEPTIONS objtype_not_found = 1 OTHERS = 2.

CVV3_DDOC_SET_READY CALL FUNCTION 'CVV3_DDOC_SET_READY' EXPORTING i_ddoc_id = gt_item-ddoc_id i_status = ic_ddoc_status-error i_msgty = 'E' i_msgno = '219' EXCEPTIONS error = 1 wrong_status = 2 OTHERS = 3.

SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = 'BUS1082002' objkey = l_objkey event = l_event TABLES event_container = container EXCEPTIONS objtype_not_found = 1 OTHERS = 2.

SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = 'BUS1082' objkey = l_objkey event = l_event creator = l_creator TABLES event_container = container EXCEPTIONS objtype_not_found = 01.

CVV1_RESTART_PACKAGE CALL FUNCTION 'CVV1_RESTART_PACKAGE' IMPORTING e_return = l_return e_ddi_id = l_ddi_id TABLES t_drzoc = lt_drzoc.

CVV3_DDOC_SET_READY CALL FUNCTION 'CVV3_DDOC_SET_READY' EXPORTING i_ddoc_id = lt_drzoc-ddoc_id i_status = ic_ddoc_status-ignore i_msgno = '225' i_msgv1 = l_ddi_id i_exit = 'X' EXCEPTIONS error = 1 wrong_status = 2 OTHERS = 3.

CVV1_SELECT_COM_ADDRESS CALL FUNCTION 'CVV1_SELECT_COM_ADDRESS' EXPORTING addrnumber = l_addrnumber persnumber = l_persnumber addr_type = l_addr_type com_type = drzop-cacom_type act_seqno = drzop-seqno dialog_mode = 'DISPLAY'.

SWI_WF_CONNECTIONS_DISPLAY CALL FUNCTION 'SWI_WF_CONNECTIONS_DISPLAY' EXPORTING ibf_object = l_object EXCEPTIONS not_found = 1 no_authority = 2 no_workflows_found = 3 OTHERS = 4.

SWI_WF_CONNECTIONS_DISPLAY CALL FUNCTION 'SWI_WF_CONNECTIONS_DISPLAY' EXPORTING ibf_object = l_object EXCEPTIONS not_found = 1 no_authority = 2 no_workflows_found = 3 OTHERS = 4.

CVV6_ACTLOG_DISPLAY



CALL FUNCTION 'CVV6_ACTLOG_DISPLAY' EXPORTING i_logid = l_ddoc_id EXCEPTIONS no_appl_ident = 1 no_appl_display = 2 no_log = 3 OTHERS = 4.

SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = 'BUS1082002' objkey = l_objkey event = l_event TABLES event_container = container EXCEPTIONS objtype_not_found = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = g_tabname_header i_structure_name = 'CVIHEADER' CHANGING ct_fieldcat = rt_fieldcat[].

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = g_tabname_item i_structure_name = 'CVIITEM' CHANGING ct_fieldcat = rt_fieldcat[].

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = g_tabname_header i_structure_name = 'CVIHEADER' CHANGING ct_fieldcat = rt_fieldcat[].

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = g_tabname_item i_structure_name = 'CVIITEM' CHANGING ct_fieldcat = rt_fieldcat[].

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = g_tabname_header i_structure_name = 'CVIHEADER' CHANGING ct_fieldcat = rt_fieldcat[].

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = g_tabname_item i_structure_name = 'CVIITEM' CHANGING ct_fieldcat = rt_fieldcat[].

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = g_tabname_item i_structure_name = 'CVIITEM' CHANGING ct_fieldcat = rt_fieldcat[].

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = g_save CHANGING cs_variant = g_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

REUSE_ALV_LIST_DISPLAY * CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' * EXPORTING ** I_INTERFACE_CHECK = ' ' * I_CALLBACK_PROGRAM = G_REPID * I_CALLBACK_PF_STATUS_SET = G_STATUS_SET * I_CALLBACK_USER_COMMAND = G_USER_COMMAND * I_STRUCTURE_NAME = 'CVIITEM' * IS_LAYOUT = GS_LAYOUT ** it_fieldcat = gt_fieldcat[] ** IT_EXCLUDING = ** IT_SPECIAL_GROUPS = ** IT_SORT = ** IT_FILTER = ** IS_SEL_HIDE = ** I_DEFAULT = 'X' * I_SAVE = G_SAVE * IS_VARIANT = G_VARIANT ** IT_EVENTS = ** IT_EVENT_EXIT = ** IS_PRINT = ** IS_REPREP_ID = ** I_SCREEN_START_COLUMN = 0 ** I_SCREEN_START_LINE = 0 ** I_SCREEN_END_COLUMN = 0 ** I_SCREEN_END_LINE = 0 ** IMPORTING ** E_EXIT_CAUSED_BY_CALLER = ** ES_EXIT_CAUSED_BY_USER = * TABLES * T_OUTTAB = GT_ITEM * EXCEPTIONS * PROGRAM_ERROR = 1 * OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = g_status_set i_callback_user_command = g_user_command is_layout = gs_layout i_save = g_save is_variant = g_variant it_fieldcat = gt_fieldcat[] i_tabname_header = g_tabname_header i_tabname_item = g_tabname_item i_structure_name_header = 'CVIHEADER' i_structure_name_item = 'CVIITEM' is_keyinfo = gs_keyinfo TABLES t_outtab_header = gt_header t_outtab_item = gt_item EXCEPTIONS program_error = 1 OTHERS = 2.

CVV1_CLASS_DATA CALL FUNCTION 'CVV1_CLASS_DATA' EXPORTING i_mode = 'D' i_ddi_id = l_ddi_id i_class = l_class i_classtype = l_classtype i_refresh = 'X'.

CACL_OBJECT_READ_ALLOCATIONS CALL FUNCTION 'CACL_OBJECT_READ_ALLOCATIONS' EXPORTING object_type = l_objtype class_type = l_classtype TABLES object_identification = lt_object_ident allocations = lt_allocations EXCEPTIONS error = 1 warning = 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 RCDDSSEL or its description.