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

MV50AF0S SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

TH_IN_UPDATE_TASK CALL FUNCTION 'TH_IN_UPDATE_TASK' IMPORTING in_update_task = lf_in_update_task EXCEPTIONS error_message = 1 OTHERS = 2.

SD_SHIPMENT_MOT_TYPE_CHECK CALL FUNCTION 'SD_SHIPMENT_MOT_TYPE_CHECK' EXPORTING i_trmtyp = if_trmtyp CHANGING c_traty = if_traty EXCEPTIONS mot_type_inconsistent = 1 transp_type_not_maintained = 2 OTHERS = 3.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = lf_dyname dynumb = lf_dynumber TABLES dynpfields = lt_dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 OTHERS = 10.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING selectfield = 'LT_SELTAB-POSNR' titel = lf_title no_pers_help_select = 'X' write_selectfield_in_colours = 'X' reduced_status_only = 'X' IMPORTING select_value = ls_select TABLES fields = lt_fields full_table = lt_seltab EXCEPTIONS full_table_empty = 1 no_tablestructure_given = 2 no_tablefields_in_dictionary = 3 more_then_one_selectfield = 4 no_selectfield = 5 OTHERS = 6.

ME_QUERY_CALL_LIST_VL31 CALL FUNCTION 'ME_QUERY_CALL_LIST_VL31' EXPORTING im_lifnr = if_lifnr im_selscreen = if_selscreen TABLES ex_wueb_tab = ct_wueb EXCEPTIONS nothingselected = 1 cancelled = 2 notfound = 3 OTHERS = 4.

CUCB_GET_OWNER_OF_CFG CALL FUNCTION 'CUCB_GET_OWNER_OF_CFG' EXPORTING i_instance = is_lips-cuobj IMPORTING e_owner = ls_object EXCEPTIONS invalid_instance = 1 instance_is_a_classification = 2 unknown_owner = 3 OTHERS = 4.

MARC_SINGLE_READ CALL FUNCTION 'MARC_SINGLE_READ' EXPORTING matnr = is_lips-matnr werks = is_lips-werks IMPORTING wmarc = ls_marc EXCEPTIONS lock_on_marc = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.

CEI0_COMPARE_CONFIGURATIONS CALL FUNCTION 'CEI0_COMPARE_CONFIGURATIONS' EXPORTING iv_cuobj1 = lf_cuobj iv_cuobj2 = ls_marc-cuobj EXCEPTIONS OTHERS = 1.

SERIALPROFILE_CHECK CALL FUNCTION 'SERIALPROFILE_CHECK' EXPORTING operation = lf_xopera j_vorgang = if_status activity = if_trtyp document = is_likp-vbeln item = is_lips-posnr material = is_lips-matnr * m_charge = is_lips-charg m_charge = lf_charg "n_1059918 profile = is_lips-serail quantity = lf_xanzsn debitor = is_likp-kunnr cuobj = lf_cuobj "n_930204 vbtyp = is_likp-vbtyp bwart = is_lips-bwart m_werk = lf_werks m_lager = lf_lgort iuid_relevant = lf_iuid_relevant "EHP603 IUID IMPORTING anzsn = cf_anzsn serial_commit = cf_dataloss.

SERIAL_PROFILE_READ CALL FUNCTION 'SERIAL_PROFILE_READ' EXPORTING profile_r = is_lips-serail operation_r = 'HUSL' IMPORTING t_377 = ls_t377 EXCEPTIONS no_t377p_entry = 1 no_t377_entry = 2 OTHERS = 3.

DELETE_SERNR_LS CALL FUNCTION 'DELETE_SERNR_LS' EXPORTING vbeln = xlips-vbeln posnr = xlips-posnr j_vorgang = lf_vorgang IMPORTING status_not_allowed = lf_status_error.

SD_DELIVERY_CUMULATIVE_SET_DAT CALL FUNCTION 'SD_DELIVERY_CUMULATIVE_SET_DAT' EXPORTING if_lfdat_new = likp-lfdat if_lfdat_old = *likp-lfdat is_xlips = is_kuwev = kuwev is_likp = likp . "^_n_1072322



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