SAP Reports / Programs | Logistics Execution | Shipping(LE-SHP) SAP LE

MV50AF0A SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

DATE_CONVERT_TO_FACTORYDATE call function 'DATE_CONVERT_TO_FACTORYDATE' exporting correct_option = '+' date = likp-lfdat factory_calendar_id = kuwev-knfak importing date = da_termin workingday_indicator = da_feiertag exceptions date_after_range = 01 date_before_range = 02 date_invalid = 03 factory_calendar_not_found = 04 others = 05.

DATE_COMPUTE_DAY call function 'DATE_COMPUTE_DAY' exporting date = likp-lfdat importing day = da_wochentag.

DATE_COMPUTE_DAY call function 'DATE_COMPUTE_DAY' exporting date = likp-lfdat importing day = da_wochentag.

DEQUEUE_EVVBAKE call function 'DEQUEUE_EVVBAKE' exporting vbeln = us_vbeln.

DEQUEUE_EVVBAKE call function 'DEQUEUE_EVVBAKE' exporting vbeln = lt_lock-vbeln _collect = 'X'.

FLUSH_ENQUEUE call function 'FLUSH_ENQUEUE' exceptions foreign_lock = 0 system_failure = 0 others = 0.

DEQUEUE_EVVBAKE call function 'DEQUEUE_EVVBAKE' exporting vbeln = lt_lock-vbeln _collect = 'X'.

FLUSH_ENQUEUE call function 'FLUSH_ENQUEUE' exceptions foreign_lock = 0 system_failure = 0 others = 0.

RS_HDSYS_GET_TC_VARIANT CALL FUNCTION 'RS_HDSYS_GET_TC_VARIANT' IMPORTING TCVARIANT = gf_tcvariant FLAG_CLIENT_INDEPENDENT = lf_xclientind RC = lf_subrc.

RS_HDSYS_CALL_TC_VARIANT CALL FUNCTION 'RS_HDSYS_CALL_TC_VARIANT' EXPORTING TCODE = sy-tcode VARIANT = gf_tcvariant I_FLAG_CLIENT_INDEPENDENT = lf_xclientind CALL_MODE = space.

RS_HDSYS_GET_TC_VARIANT CALL FUNCTION 'RS_HDSYS_GET_TC_VARIANT' IMPORTING TCVARIANT = gf_tcvariant FLAG_CLIENT_INDEPENDENT = lf_xclientind RC = lf_subrc.

RS_HDSYS_CALL_TC_VARIANT CALL FUNCTION 'RS_HDSYS_CALL_TC_VARIANT' EXPORTING TCODE = sy-tcode VARIANT = gf_tcvariant I_FLAG_CLIENT_INDEPENDENT = lf_xclientind CALL_MODE = space.

RS_HDSYS_GET_TC_VARIANT CALL FUNCTION 'RS_HDSYS_GET_TC_VARIANT' IMPORTING TCVARIANT = gf_tcvariant FLAG_CLIENT_INDEPENDENT = lf_xclientind RC = lf_subrc.

RS_HDSYS_CALL_TC_VARIANT CALL FUNCTION 'RS_HDSYS_CALL_TC_VARIANT' EXPORTING TCODE = sy-tcode VARIANT = gf_tcvariant I_FLAG_CLIENT_INDEPENDENT = lf_xclientind CALL_MODE = space.

RS_HDSYS_GET_TC_VARIANT CALL FUNCTION 'RS_HDSYS_GET_TC_VARIANT' IMPORTING TCVARIANT = gf_tcvariant FLAG_CLIENT_INDEPENDENT = lf_xclientind RC = lf_subrc.

RS_HDSYS_CALL_TC_VARIANT CALL FUNCTION 'RS_HDSYS_CALL_TC_VARIANT' EXPORTING TCODE = sy-tcode VARIANT = gf_tcvariant I_FLAG_CLIENT_INDEPENDENT = lf_xclientind CALL_MODE = space.

SD_SALES_DOCUMENT_ENQUEUE call function 'SD_SALES_DOCUMENT_ENQUEUE' exporting vbeln = us_vbeln i_check_scenario_a = charx exceptions foreign_lock = 2 system_failure = 3.

SD_BUFFER_TABLES_REFRESH CALL FUNCTION 'SD_BUFFER_TABLES_REFRESH' "v_n_1876028 EXPORTING I_VBELN = us_vbeln I_INITIAL_VBELN = 'X'. "^_n_1876028

SD_BUFFER_TABLES_REFRESH





CALL FUNCTION 'SD_BUFFER_TABLES_REFRESH' "v_n_1876028 EXPORTING I_VBELN = us_vbeln I_INITIAL_VBELN = 'X'. "^_n_1876028

VIEW_KUAG2 call function 'VIEW_KUAG2' exporting comwa = vtcom importing agwa = kuagv exceptions error_message = 1 others = 2.

SD_DEL_WAVE_GET_NAME call function 'SD_DEL_WAVE_GET_NAME' exporting alw = likp-aulwe vstel = likp-vstel importing alw_name = valwt-bezei exceptions no_delivery_wave = 1 no_delivery_wave_text = 2 name_not_found = 3 others = 4.

ICON_CREATE call function 'ICON_CREATE' exporting name = 'ICON_EXPAND' info = lf_quickinfo add_stdinf = 'X' importing result = gf_icon_batch_plus exceptions icon_not_found = 1 outputfield_too_short = 2 others = 3.

ICON_CREATE call function 'ICON_CREATE' exporting name = 'ICON_COLLAPSE' info = lf_quickinfo add_stdinf = 'X' importing result = gf_icon_batch_minus exceptions icon_not_found = 1 outputfield_too_short = 2 others = 3.

ICON_CREATE call function 'ICON_CREATE' exporting name = 'ICON_ENTER_MORE' info = lf_quickinfo add_stdinf = 'X' importing result = gf_icon_pod_one_line exceptions icon_not_found = 1 outputfield_too_short = 2 others = 3.

ICON_CREATE call function 'ICON_CREATE' exporting name = 'ICON_DISPLAY_MORE' info = lf_quickinfo add_stdinf = 'X' importing result = gf_icon_pod_mul_line exceptions icon_not_found = 1 outputfield_too_short = 2 others = 3.

ICON_CREATE call function 'ICON_CREATE' exporting name = 'ICON_POSITIVE' info = lf_quickinfo add_stdinf = 'X' importing result = gf_icon_quantity_plus exceptions icon_not_found = 1 outputfield_too_short = 2 others = 3.

ICON_CREATE call function 'ICON_CREATE' exporting name = 'ICON_NEGATIVE' info = lf_quickinfo add_stdinf = 'X' importing result = gf_icon_quantity_minus exceptions icon_not_found = 1 outputfield_too_short = 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 MV50AF0A or its description.