SAP Reports / Programs | Sales and Distribution | Foreign Trade(SD-FT) SAP SD

/SAPSLL/DOC_DISTRIBUTE_R3 SAP ABAP INCLUDE - Include /SAPSLL/DOC_DISTRIBUTE_R3







/SAPSLL/DOC_DISTRIBUTE_R3 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 /SAPSLL/DOC_DISTRIBUTE_R3 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 /SAPSLL/DOC_DISTRIBUTE_R3. "Basic submit
SUBMIT /SAPSLL/DOC_DISTRIBUTE_R3 AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPSLL/DOC_DISTRIBUTE_R3 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include /SAPSLL/DOC_DISTRIBUTE_R3


INCLUDES used within this REPORT /SAPSLL/DOC_DISTRIBUTE_R3

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:

/SAPSLL/API_6800_SYNCH_MASS CALL FUNCTION '/SAPSLL/API_6800_SYNCH_MASS' DESTINATION iv_rfcdest EXPORTING iv_synch_active = gc_false TABLES hdr_data = is_api6800-header-gen hdr_reference_data = is_api6800-header-ref hdr_partner_data = is_api6800-header-par hdr_date_data = is_api6800-header-dat hdr_dimension_data = is_api6800-header-dim hdr_value_data = is_api6800-header-val hdr_duc_value_data = is_api6800-header-cvl hdr_country_data = is_api6800-header-ctr itm_data = is_api6800-item-gen itm_reference_data = is_api6800-item-ref itm_partner_data = is_api6800-item-par itm_date_data = is_api6800-item-dat itm_dimension_data = is_api6800-item-dim itm_value_data = is_api6800-item-val itm_duc_value_data = is_api6800-item-cvl itm_preference_data = is_api6800-item-pre doc_address_data = is_api6800-addr result_legal_control = ct_result return = lt_return[] map_err = ct_map_err it_extension1 = it_extension1 it_extension2 = it_extension2 EXCEPTIONS communication_failure = 1 MESSAGE cv_mess_text system_failure = 2 MESSAGE cv_mess_text.

RFC_CONNECTION_CLOSE CALL FUNCTION 'RFC_CONNECTION_CLOSE' EXPORTING destination = iv_rfcdest EXCEPTIONS destination_not_open = 2 OTHERS = 4.

/SAPSLL/OBJIDX_BUF_GET_R3 CALL FUNCTION '/SAPSLL/OBJIDX_BUF_GET_R3' EXPORTING iv_apevs = ls_header-application_level iv_barvs = ls_header-document_type iv_refno = ls_header-refno_header iv_db_read = gc_false IMPORTING es_objidx = ls_objidx EXCEPTIONS entry_does_not_exist = 1 OTHERS = 2.

/SAPSLL/OBJIDX_BUF_PUT_R3 CALL FUNCTION '/SAPSLL/OBJIDX_BUF_PUT_R3' EXPORTING iv_apevs = ls_header-application_level iv_barvs = ls_header-document_type iv_refno = ls_header-refno_header iv_process = ls_objidx-process iv_text = cv_mess_text EXCEPTIONS OTHERS = 0.

/SAPSLL/MM0A_6800_MAP_MASS_R3 CALL FUNCTION '/SAPSLL/MM0A_6800_MAP_MASS_R3' EXPORTING iv_simulation = iv_simulation IMPORTING es_api6800 = cs_api6800 et_extension1 = ct_extension1 et_extension2 = ct_extension2 TABLES it_header = it_ekko it_partner = it_mmpa it_item = it_ekpo it_sched_line_upd = it_beket EXCEPTIONS OTHERS = 0.

/SAPSLL/OBJIDX_DB_READ_R3 CALL FUNCTION '/SAPSLL/OBJIDX_DB_READ_R3' EXPORTING iv_apevs = iv_apevs iv_process = gc_false IMPORTING et_objidx = ct_objidx EXCEPTIONS no_data_found = 1 OTHERS = 2.

/SAPSLL/OBJIDX_DB_READ_R3 CALL FUNCTION '/SAPSLL/OBJIDX_DB_READ_R3' EXPORTING iv_apevs = iv_apevs EXCEPTIONS no_data_found = 0 OTHERS = 0.

/SAPSLL/OBJIDX_BUF_REF_R3 CALL FUNCTION '/SAPSLL/OBJIDX_BUF_REF_R3'.

/SAPSLL/OBJIDX_SAVE_R3 CALL FUNCTION '/SAPSLL/OBJIDX_SAVE_R3'.

/SAPSLL/CD_RESULT_PROTOCOL_R3 CALL FUNCTION '/SAPSLL/CD_RESULT_PROTOCOL_R3' EXPORTING it_result = it_result it_map_err = it_map_err iv_subrc_rfc = iv_subrc iv_msg_result = gc_true iv_msg_text = iv_message_text iv_single_document = gc_false EXCEPTIONS OTHERS = 0.

/SAPSLL/CD_ALE_RECEIVER_GET_R3 CALL FUNCTION '/SAPSLL/CD_ALE_RECEIVER_GET_R3' IMPORTING ev_rfc_dest = cv_rfcdest EXCEPTIONS no_rfc_destination_maintained = 1 customs_server_not_unique = 2 OTHERS = 3.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = '/SAPSLL/API_6800_STATUS_GET' EXCEPTIONS function_not_exist = 1 OTHERS = 2.

/SAPSLL/SD0A_6800_MAP_MASS_R3 CALL FUNCTION '/SAPSLL/SD0A_6800_MAP_MASS_R3' EXPORTING iv_simulation = iv_simul iv_rfcdest = iv_rfcdest IMPORTING es_api6800 = cs_api6800 et_extension1 = ct_extension1 et_extension2 = ct_extension2 TABLES it_header = it_vbak it_document_type = it_tvak it_partner_new = it_vbpa it_item_new = it_vbap it_item_status_new = it_vbup it_sched_line_vb = it_vbep it_business_data = it_vbkd it_partner_address = it_sadr EXCEPTIONS OTHERS = 0.

/SAPSLL/SD0B_6800_MAP_MASS_R3 CALL FUNCTION '/SAPSLL/SD0B_6800_MAP_MASS_R3' EXPORTING iv_simulation = iv_simul iv_rfcdest = iv_rfcdest IMPORTING es_api6800 = cs_api6800 et_extension1 = ct_extension1 et_extension2 = ct_extension2 TABLES it_header = it_likp it_partner = it_vbpa it_item = it_lips it_item_status = it_vbup it_partner_address = it_sadr EXCEPTIONS OTHERS = 0.

/SAPSLL/SD0C_6800_MAP_MASS_R3 CALL FUNCTION '/SAPSLL/SD0C_6800_MAP_MASS_R3' EXPORTING iv_simulation = iv_simul IMPORTING es_api6800 = cs_api6800 TABLES it_header = it_vbrk it_partner = it_vbpa it_item = it_vbrp it_partner_address = it_sadr it_tler3b = it_tler3b EXCEPTIONS no_batch_coo = 1 OTHERS = 2.

/SAPSLL/MM0B_6800_CIBD_MAP_R3 CALL FUNCTION '/SAPSLL/MM0B_6800_CIBD_MAP_R3' EXPORTING is_header = is_likp is_xeikp = ls_xeikp is_yeikp = ls_yeikp iv_deletion_indicator = gc_false iv_cancellation_indicator = gc_false iv_business_object = gc_bapi_object-mm0b_shipping_notif iv_application_level = gc_application_level-inbound_delivery iv_simulation = iv_simul IMPORTING es_api_asn = cs_api6800-asn et_addr = cs_api6800-addr TABLES it_item_new = it_lips it_partner_new = it_vbpa it_partner_address = it_sadr it_item_status_new = it_vbup.

SLL_LEG_CDPIR3_002 CALL FUNCTION 'SLL_LEG_CDPIR3_002' EXPORTING iv_application_level = gc_application_level-inbound_delivery iv_business_object = gc_bapi_object-mm0b_shipping_notif is_mm0b_header = is_likp TABLES it_mm0b_item_new = it_lips CHANGING cs_api6800 = cs_api6800 EXCEPTIONS OTHERS = 1.

/SAPSLL/API_6800_CIBD_SYNCH CALL FUNCTION '/SAPSLL/API_6800_CIBD_SYNCH' DESTINATION iv_rfcdest EXPORTING iv_flcpr = gc_true iv_cusrv = gc_true is_header = is_api6800-asn-header-gen iv_no_commit = gc_false iv_update_task = gc_true TABLES hdr_reference_data = is_api6800-asn-header-ref hdr_partner_data = is_api6800-asn-header-par hdr_dimension_data = is_api6800-asn-header-dim hdr_packing_data = is_api6800-asn-header-pge hdr_duc_value_data = is_api6800-asn-header-cvl hdr_doc_data = is_api6800-asn-header-doc hdr_date_data = is_api6800-asn-header-dat itm_data = is_api6800-asn-item-gen itm_dimension_data = is_api6800-asn-item-dim itm_value_data = is_api6800-asn-item-val itm_packing_data = is_api6800-asn-item-pge itm_duc_value_data = is_api6800-asn-item-cvl itm_reference_data = is_api6800-asn-item-ref it_extension1 = it_extension1 it_extension2 = it_extension2 doc_address_data = is_api6800-addr result_legal_control = ct_result map_err = ct_map_err EXCEPTIONS communication_failure = 1 MESSAGE cv_mess_text system_failure = 2 MESSAGE cv_mess_text.

RFC_CONNECTION_CLOSE





CALL FUNCTION 'RFC_CONNECTION_CLOSE' EXPORTING destination = iv_rfcdest EXCEPTIONS destination_not_open = 2 OTHERS = 4.

/SAPSLL/OBJIDX_BUF_GET_R3 CALL FUNCTION '/SAPSLL/OBJIDX_BUF_GET_R3' EXPORTING iv_apevs = ls_hdr_gen-application_level iv_barvs = ls_hdr_gen-document_type iv_refno = ls_hdr_ref-refno iv_db_read = gc_false IMPORTING es_objidx = ls_objidx EXCEPTIONS entry_does_not_exist = 1 OTHERS = 2.

/SAPSLL/OBJIDX_BUF_PUT_R3 CALL FUNCTION '/SAPSLL/OBJIDX_BUF_PUT_R3' EXPORTING iv_apevs = ls_hdr_gen-application_level iv_barvs = ls_hdr_gen-document_type iv_refno = ls_hdr_ref-refno iv_process = ls_objidx-process iv_text = cv_mess_text EXCEPTIONS OTHERS = 0.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = is_reference-refno IMPORTING output = lv_refno.



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 /SAPSLL/DOC_DISTRIBUTE_R3 or its description.