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

MV50AF0L SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

ME_CONFIRMATION_LOCK_AVIS CALL FUNCTION 'ME_CONFIRMATION_LOCK_AVIS' TABLES t_wueb = wueb.

ME_CONFIRMATION_AUTH_AVIS CALL FUNCTION 'ME_CONFIRMATION_AUTH_AVIS' TABLES t_wueb = wueb.

EXPIMP_TABLES_IMPORT CALL FUNCTION 'EXPIMP_TABLES_IMPORT'.

DEQUEUE_EVVBLKE CALL FUNCTION 'DEQUEUE_EVVBLKE' EXPORTING vbeln = us_vbeln.

ENQUEUE_EVVBLKE CALL FUNCTION 'ENQUEUE_EVVBLKE' EXPORTING vbeln = us_vbeln EXCEPTIONS foreign_lock = 2 system_failure = 3.

LOCATION_SELECT_PLANT CALL FUNCTION 'LOCATION_SELECT_PLANT' EXPORTING i_werks = xlips-werks IMPORTING o_t001w = t001w EXCEPTIONS no_valid_plant = 01 plant_not_found = 02.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING selectfield = 'LT_DELTYPE-LFART' 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_deltype EXCEPTIONS full_table_empty = 1 no_tablestructure_given = 2 no_tablefields_in_dictionary = 3 more_then_one_selectfield = 4 no_selectfield = 5 OTHERS = 6.

DYNP_GET_STEPL CALL FUNCTION 'DYNP_GET_STEPL' IMPORTING povstepl = help_tabix EXCEPTIONS stepl_not_found = 1 OTHERS = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = lf_programname dynumb = lf_dynpro TABLES dynpfields = lt_dynpread 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.

CONVERSION_EXIT_MATN1_INPUT CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT' EXPORTING input = help_lips-matnr IMPORTING output = help_lips-matnr EXCEPTIONS length_error = 1 OTHERS = 2.

LE_ATP_GET_VERSION CALL FUNCTION 'LE_ATP_GET_VERSION' IMPORTING atp_type = atp_type.

F4IF_GET_SHLP_DESCR CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING shlpname = lf_shlpname shlptype = 'SH' IMPORTING shlp = lx_shlp EXCEPTIONS OTHERS = 1.

F4IF_START_VALUE_REQUEST CALL FUNCTION 'F4IF_START_VALUE_REQUEST' EXPORTING shlp = lx_shlp TABLES return_values = lt_retvalues EXCEPTIONS OTHERS = 1.

DYNP_GET_STEPL CALL FUNCTION 'DYNP_GET_STEPL' IMPORTING povstepl = lf_stepl EXCEPTIONS stepl_not_found = 1 OTHERS = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = lf_programname dynumb = lf_dynpro TABLES dynpfields = lt_dynpread 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.

CONVERSION_EXIT_MATN1_INPUT CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT' EXPORTING input = lf_matnr IMPORTING output = lf_matnr EXCEPTIONS length_error = 1 OTHERS = 2.

RV_HELP CALL FUNCTION 'RV_HELP' EXPORTING key = tvlk-lfart key2 = lf_mtpos key3 = t184_vwpos key4 = ' ' number = 'L06' trtyp = t180-trtyp field_in = lf_pstyv description_in = tvapt-vtext IMPORTING field = lips-pstyv description = tvapt-vtext.

DYNP_GET_STEPL CALL FUNCTION 'DYNP_GET_STEPL' IMPORTING povstepl = lf_stepl EXCEPTIONS stepl_not_found = 1 OTHERS = 2.

DYNP_VALUES_READ





CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = lf_programname dynumb = lf_dynpro TABLES dynpfields = lt_dynpread 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.

CONVERSION_EXIT_MATN1_INPUT CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT' EXPORTING input = lf_matnr IMPORTING output = lf_matnr EXCEPTIONS length_error = 1 OTHERS = 2.

RV_HELP CALL FUNCTION 'RV_HELP' EXPORTING key = lf_matnr key2 = lf_werks key3 = lf_vgbel key4 = lf_charg key5 = lf_sobkz number = '011' trtyp = t180-trtyp field_in = lf_lgort description_in = t001l-lgobe IMPORTING field = lips-lgort description = t001l-lgobe.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = lf_programname dynumb = lf_dynpro TABLES dynpfields = lt_dynpread 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.

HU_ALLOWED_PACKING_MATERIAL CALL FUNCTION 'HU_ALLOWED_PACKING_MATERIAL' EXPORTING if_dialog = 'X' if_pmart = lf_traty if_trmtyp = 'X' * IS_MATNR_HU = it_matnr_hu = lt_matnr_hu IMPORTING es_matnr_hu = ls_matnr et_matnr = lt_matnr EXCEPTIONS magrv_missing = 1 nothing_found = 2 no_common = 3 abbr = 4 fatal_error = 5 OTHERS = 6.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = ls_mtcom IMPORTING matdaten = ls_mara EXCEPTIONS account_not_found = 1 batch_not_found = 2 forecast_not_found = 3 lock_on_account = 4 lock_on_material = 5 lock_on_plant = 6 lock_on_sales = 7 lock_on_sloc = 8 lock_on_batch = 9 lock_system_error = 10 material_not_found = 11 plant_not_found = 12 sales_not_found = 13 sloc_not_found = 14 slocnumber_not_found = 15 sloctype_not_found = 16 text_not_found = 17 unit_not_found = 18 invalid_mch1_matnr = 19 invalid_mtcom = 20 sa_material = 21 wv_material = 22 waart_error = 23 t134m_not_found = 24 OTHERS = 25.

SUBTRACT_TIME_FROM_DATE CALL FUNCTION 'SUBTRACT_TIME_FROM_DATE' EXPORTING i_idate = lips-vfdat i_time = ls_mara-mhdhb i_iprkz = ls_mara-iprkz IMPORTING o_idate = lips-hsdat EXCEPTIONS invalid_period = 1 invalid_round_up_rule = 2 internal_error = 3 OTHERS = 4.

VB_MAINTAIN_MHD CALL FUNCTION 'VB_MAINTAIN_MHD' EXPORTING i_bezdt = likp-lfdat "n_819832 i_iprkz_hbd = ls_mara-iprkz i_iprkz_rlz = ls_mara-iprkz "n_522248 i_geshb = ls_mara-mhdhb i_rstlz = ls_mara-mhdrz "n_819832 i_rdmhd = ls_mara-rdmhd "n_522248 i_hsdat = lips-hsdat i_bncom = ls_bncom "n_747981 calc = 'X' check = 'X' "n_819832 IMPORTING o_mhdat = lf_vfdat "n_820792 o_days_in_rem_sl = lf_mhdrz_late "n_819832 o_days_after_sled = lf_vfdat_late "n_819832 EXCEPTIONS sled_le_production_date = 1 ref_date_lower_prod_date = 2 OTHERS = 3.

MATERIAL_READ call function 'MATERIAL_READ' exporting schluessel = ls_mtcom importing matdaten = ls_mchar exceptions material_not_found = 1 batch_not_found = 2 others = 99.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'LIPS' fieldname = 'GRUND' searchhelp = 'H_T157D' shlpparam = 'GRUND' dynpprog = lf_dynprog dynpnr = lf_dynprnr dynprofield = 'LIPS-GRUND' callback_program = 'SAPMV50A' callback_form = 'LIPS-GRUND_VALUES_RESTR' EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING selectfield = 'LT_AULWE-AULWE' 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_aulwe EXCEPTIONS full_table_empty = 1 no_tablestructure_given = 2 no_tablefields_in_dictionary = 3 more_then_one_selectfield = 4 no_selectfield = 5 OTHERS = 6.



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