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

MV50AF0R SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

RV_TEXT_COPY call function 'RV_TEXT_COPY' exporting ftvcom = tvcom no_popup = yes fpappl = protocolcaller-sdl simul_mode = yes tables fxthead = lt_xthead fxvbpa = xvbpa fxvbuv = xvbuv.

SD_MONITOR_PROTOCOL_GET call function 'SD_MONITOR_PROTOCOL_GET' exporting fpappl = protocolcaller-sdl fprottyp = protocoltype-text tables fprot = xprot exceptions others = 1.

SD_TEXT_PROTOCOL_DISPLAY call function 'SD_TEXT_PROTOCOL_DISPLAY' exporting ftvcom = tvcom tables fprot = xprot exceptions others = 1.

SHP_LIPSRF_MAINTAIN_PROC call function 'SHP_LIPSRF_MAINTAIN_PROC' changing cf_changed = lf_changed.

SHP_LIPSPO_MAINTAIN_PROC call function 'SHP_LIPSPO_MAINTAIN_PROC' changing cf_changed = lf_changed.

ASH_RV_LIKP_READ call function 'ASH_RV_LIKP_READ' exporting i_borident = ls_borident tables et_likp = lt_likp et_lips = lt_lips et_lipsrf = lt_lipsrf "n_840264 et_vbfa = lt_vbfa et_vbpa = lt_vbpa et_vbuk = lt_vbuk et_vbup = lt_vbup et_vbpa3 = lt_vbpa3 et_vbuv = lt_vbuv et_konv = lt_konv et_sadr = lt_sadr et_eikp = lt_eikp et_eipo = lt_eipo et_addr1_val = lt_addr1_val et_cd_docflow = lt_cd_docflow exceptions not_in_infostructure = 1 not_in_archive = 2 no_instructure_defined = 3 others = 4.

DEQUEUE_ALL call function 'DEQUEUE_ALL'.

SD_VBPA_RECORD_COMPLETE call function 'SD_VBPA_RECORD_COMPLETE' changing frs_vbpa = .

ADDR_CONVERT_SADR_TO_ADDR1_VAL call function 'ADDR_CONVERT_SADR_TO_ADDR1_VAL' exporting sadr = ls_sadr importing addr1_val = ls_addr1_val.

SD_ADDRESS_HANDLE_GET call function 'SD_ADDRESS_HANDLE_GET' exporting fif_parvw = lf_parvw fif_posnr = posnr_low importing fef_adrnr = lf_adrnr exceptions no_handle_available = 1 others = 2.

ADDR_INSERT call function 'ADDR_INSERT' exporting address_data = ls_addr1_data address_group = 'SD01' address_handle = lf_address_handle check_empty_address = ' ' check_address = 'X' exceptions address_exists = 1 parameter_error = 2 internal_error = 3 others = 4.

ADDR_COMM_MAINTAIN CALL FUNCTION 'ADDR_COMM_MAINTAIN' EXPORTING address_handle = lf_address_handle * address_number = ls_addr1_val-addrnumber table_type = 'ADTEL' TABLES comm_table = lt_adtel EXCEPTIONS parameter_error = 1 address_not_exist = 2 internal_error = 3 OTHERS = 99.

ADDR_COMM_MAINTAIN CALL FUNCTION 'ADDR_COMM_MAINTAIN' EXPORTING address_handle = lf_address_handle * address_number = ls_addr1_val-addrnumber table_type = 'ADFAX' TABLES comm_table = lt_adfax EXCEPTIONS parameter_error = 1 address_not_exist = 2 internal_error = 3 OTHERS = 99.

ADDR_CONVERT_ADDR1_VAL_TO_SADR call function 'ADDR_CONVERT_ADDR1_VAL_TO_SADR' exporting addr1_val = ls_addr1_val importing sadr = ls_sadr.

SD_PARTNER_DATA_PUT call function 'SD_PARTNER_DATA_PUT' exporting fic_objecttype = 'LIKP' fic_objectkey = lf_objectkey tables frt_xvbpa = xvbpa frt_xvbadr = xvbadr exceptions no_object_specified = 1 no_object_creation_possible = 2 others = 3.

RV_XVBAPF_CREATE call function 'RV_XVBAPF_CREATE' exporting vbeln = likp-vbeln i_call_from_del = charx "n_1779473 tables fxvbapf = xvbapf fxvbfa = xvbfa.

SHP_LIPSRF_GET_LIST call function 'SHP_LIPSRF_GET_LIST' exporting it_lipsrf_key = lt_lipsrf_key tables ct_lipsrf = lt_lipsrf.

EXPIMP_TABLES_IMPORT call function 'EXPIMP_TABLES_IMPORT'.

RV_ASH_LIKP_PRE_READ





CALL FUNCTION 'RV_ASH_LIKP_PRE_READ' EXPORTING IS_BORIDENT = ls_borident IMPORTING ET_ASH_RV_LIKP = lt_ash_rv_likp EXCEPTIONS NOT_IN_INFOSTRUCTURE = 1 NOT_IN_ARCHIVE = 2 NO_INSTRUCTURE_DEFINED = 3 OTHERS = 4.

REUSE_ALV_POPUP_TO_SELECT CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT' EXPORTING I_TITLE = text-088 I_SELECTION = 'X' * I_ALLOW_NO_SELECTION = I_ZEBRA = 'X' I_SCREEN_START_COLUMN = 8 I_SCREEN_START_LINE = 0 I_SCREEN_END_COLUMN = 0 I_SCREEN_END_LINE = 0 * I_CHECKBOX_FIELDNAME = 'XFELD' * I_LINEMARK_FIELDNAME = I_SCROLL_TO_SEL_LINE = 'X' I_tabname = 'LT_ASH_RV_LIKP' * I_STRUCTURE_NAME = IT_FIELDCAT = fc[] * IT_EXCLUDING = * I_CALLBACK_PROGRAM = * I_CALLBACK_USER_COMMAND = * IS_PRIVATE = IMPORTING ES_SELFIELD = ls_selection * E_EXIT = TABLES t_outtab = lt_ash_rv_likp EXCEPTIONS PROGRAM_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 MV50AF0R or its description.