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

/SAPSLL/MM0A_DISTRIBUTE_R3F01 SAP ABAP INCLUDE - Form Routines







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


Text pool values


Title: Form Routines


INCLUDES used within this REPORT /SAPSLL/MM0A_DISTRIBUTE_R3F01

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/CD_MM0A_SELECT_R3 CALL FUNCTION '/SAPSLL/CD_MM0A_SELECT_R3' EXPORTING ir_bsart = ir_bsart ir_ebeln = ir_ebeln ir_aedat = ir_aedat ir_ernam = ir_ernam ir_ekorg = ir_ekorg ir_ekgrp = ir_ekgrp TABLES et_ekko = ct_ekko et_mmpa = ct_mmpa et_ekpo = ct_ekpo et_beket = ct_beket EXCEPTIONS no_data_found = 1 OTHERS = 2.

/SAPSLL/MM0A_PREVDWLI_MAP_R3 CALL FUNCTION '/SAPSLL/MM0A_PREVDWLI_MAP_R3' CHANGING cs_api6800 = ls_api6800_pref EXCEPTIONS OTHERS = 1.

SLL_LEG_PRER3_003 CALL FUNCTION 'SLL_LEG_PRER3_003' EXPORTING iv_application_level = gc_application_level-purchase_order CHANGING cs_api6800 = ls_api6800_pref EXCEPTIONS OTHERS = 0.

/SAPSLL/API6800_PREVDWLI_MASS CALL FUNCTION '/SAPSLL/API6800_PREVDWLI_MASS' DESTINATION iv_rfcdest EXPORTING iv_refapp = gc_application_level-purchase_order is_debug = gs_debug TABLES it_header = it_prevdwli_header it_item = it_prevdwli_item return = ct_return RESULT = ct_result EXCEPTIONS communication_failure = 1 MESSAGE cv_mess_text system_failure = 2 MESSAGE cv_mess_text.

/SAPSLL/API6800_PREVDWLI_MASS CALL FUNCTION '/SAPSLL/API6800_PREVDWLI_MASS' IN BACKGROUND TASK DESTINATION iv_rfcdest AS SEPARATE UNIT EXPORTING iv_refapp = 'MM0A' is_debug = gs_debug TABLES it_header = it_prevdwli_header it_item = it_prevdwli_item return = lt_return RESULT = ct_result.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = ls_hdr_gen-refno_header IMPORTING output = lv_gen_number EXCEPTIONS OTHERS = 0.

/SAPSLL/APPLOG_DISPLAY_R3 CALL FUNCTION '/SAPSLL/APPLOG_DISPLAY_R3' EXPORTING iv_handle = iv_handle is_display_profile = ls_profile_display EXCEPTIONS no_log_found = 1 OTHERS = 2.

/SAPSLL/APPLOG_INIT_R3 CALL FUNCTION '/SAPSLL/APPLOG_INIT_R3' EXPORTING iv_object = '/SAPSLL/RIMAR3' iv_subobject = 'RIMA_RETURN' CHANGING cv_handle = ev_handle EXCEPTIONS invalid_call = 1 log_header_inconsistent = 2 internal_error = 3 OTHERS = 4.

BAL_DSP_LOG_PRINT CALL FUNCTION 'BAL_DSP_LOG_PRINT' EXPORTING i_t_log_handle = lt_log_handle EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

/SAPSLL/APPLOG_APPEND_R3 CALL FUNCTION '/SAPSLL/APPLOG_APPEND_R3' EXPORTING iv_lghdl = iv_handle iv_msgid = '/SAPSLL/PLUGINR3' iv_msgty = ls_return-type iv_msgno = '103' iv_msgv1 = ls_return-message_v1 iv_msgv2 = ls_return-message_v2 iv_msgv3 = ls_return-message_v3 iv_msgv4 = ls_return-message_v4 EXCEPTIONS internal_error = 1 OTHERS = 2.



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