SAP Reports / Programs | Logistics Execution | Transportation | Freight Processing(LE-TRA-FC) SAP LE

MV54AF0S SAP ABAP INCLUDE - Include MV54AF0S







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


Text pool values


Title: Include MV54AF0S


INCLUDES used within this REPORT MV54AF0S

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:

SD_SCD_INITIALIZE CALL FUNCTION 'SD_SCD_INITIALIZE' EXPORTING i_tvtf = tvtf i_prsdt = vfkk-prsdt i_budat = vfkk-budat i_refobj = g_shp_wa CHANGING c_scd = g_scd_wa EXCEPTIONS planning_point_not_valid = 1 scd_type_not_valid = 2 scd_create_not_possible = 3 OTHERS = 4.

SD_SCD_MESSAGE_HANDLE CALL FUNCTION 'SD_SCD_MESSAGE_HANDLE' EXPORTING i_protocol_level = lv_type-scd i_severity = msg_type-info i_msgnr = '100' i_var1 = g_scd_wa-fknum opt_protocol_insert = true.

SD_SCD_MESSAGE_HANDLE_CONFIG CALL FUNCTION 'SD_SCD_MESSAGE_HANDLE_CONFIG' EXPORTING i_background = true.

SD_SCD_ITEMS_CREATE CALL FUNCTION 'SD_SCD_ITEMS_CREATE' EXPORTING i_refobj = g_shp_wa i_t180 = t180 CHANGING c_scd = g_scd_wa EXCEPTIONS OTHERS = 1.

SD_SCD_MESSAGE_HANDLE_CONFIG CALL FUNCTION 'SD_SCD_MESSAGE_HANDLE_CONFIG' EXPORTING i_background = false.

SD_SCD_VIEW CALL FUNCTION 'SD_SCD_VIEW' EXPORTING i_fknum = i_fknum i_t180 = t180 i_langu = sy-langu i_opt_costs_complete = 'X' i_opt_auth_check = ' ' i_opt_tvtft = 'X' i_opt_refobj = 'X' i_opt_refobj_lock = l_opt_refobj_lock i_opt_single_proc = 'X' "<_659709 IMPORTING e_tvtft = tvtft CHANGING c_scd = e_scd_wa c_refobj_tab = e_shp_tab EXCEPTIONS scd_not_found = 1 * no_authority = 2 tvtf_type_not_valid = 3 * tvft_type_not_valid = 4 * refobj_lock = 5 refobj_not_found = 6 "<_659709 * delivery_missing = 7 OTHERS = 99.

SD_SCD_REFOBJ_READ CALL FUNCTION 'SD_SCD_REFOBJ_READ' EXPORTING i_t180 = i_t180 i_opt_refobj = 'X' i_opt_refobj_lock = 'X' i_scd_item = l_item_tab CHANGING c_refobj_tab = e_shp_tab EXCEPTIONS refobj_not_found = 1 delivery_missing = 2 refobj_lock = 3 OTHERS = 4.

SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING entry_act = c_table_index entry_to = i_table_size last_page_full = true loops = i_loop_size ok_code = i_okcode overlapping = i_overlapping IMPORTING entry_new = c_table_index EXCEPTIONS OTHERS = 0.

SD_SCDS_CHECK_COMPLETE CALL FUNCTION 'SD_SCDS_CHECK_COMPLETE' EXPORTING i_scd_tab = g_scd_tab EXCEPTIONS OTHERS = 99.

SD_SCDS_SAVE CALL FUNCTION 'SD_SCDS_SAVE' EXPORTING i_t180 = t180 i_opt_update_task = 'X' i_refobj_tab = g_shp_tab CHANGING c_scd_tab = g_scd_tab EXCEPTIONS no_change = 1 no_save = 2 "V_n_1027907 OTHERS = 3.

SD_SCD_CHANGE CALL FUNCTION 'SD_SCD_CHANGE' CHANGING c_scd_wa = g_scd_wa c_scd_tab = g_scd_tab.

SD_SCD_ITEM_CHANGE CALL FUNCTION 'SD_SCD_ITEM_CHANGE' EXPORTING i_t180 = t180 i_refobj = g_shp_wa CHANGING c_scd_item_new = g_scd_item_wa c_scd_item_tab = g_scd_wa-x-item EXCEPTIONS OTHERS = 0.

SD_SCD_CHANGE CALL FUNCTION 'SD_SCD_CHANGE' CHANGING c_scd_wa = g_scd_wa c_scd_tab = g_scd_tab.

SD_SCDS_CHECK_CHANGES CALL FUNCTION 'SD_SCDS_CHECK_CHANGES' CHANGING c_scd_tab = g_scd_tab EXCEPTIONS no_change = 1.

SD_SCD_AUTH_CHECK_FKART CALL FUNCTION 'SD_SCD_AUTH_CHECK_FKART' EXPORTING i_actvt = actvt_06 i_fkart = g_scd_wa-x-vfkk-fkart EXCEPTIONS no_authority = 1.

SD_SCD_AUTH_CHECK_TPLST CALL FUNCTION 'SD_SCD_AUTH_CHECK_TPLST' EXPORTING i_actvt = actvt_06 i_tplst = g_scd_item_wa-vfkp-tplst EXCEPTIONS no_authority = 1.

SD_SCD_DELETE CALL FUNCTION 'SD_SCD_DELETE' EXPORTING i_refobj = g_shp_wa CHANGING c_scd_wa = g_scd_wa EXCEPTIONS item_not_deletable = 1 scd_not_deletable = 2 OTHERS = 3.

SD_SCD_CHANGE CALL FUNCTION 'SD_SCD_CHANGE' CHANGING c_scd_wa = g_scd_wa c_scd_tab = g_scd_tab.

HELP_VALUES_GET_NO_DD_NAME





CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING selectfield = 'TSNUM' titel = text-101 IMPORTING ind = l_index TABLES fields = l_f4_help_tab_struc full_table = l_f4_help_tab EXCEPTIONS OTHERS = 1.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING selectfield = 'FKPTY' titel = text-102 IMPORTING ind = l_index TABLES fields = l_f4_help_tab_struc full_table = l_f4_help_tab EXCEPTIONS OTHERS = 1.

SD_SCD_ITEM_CHECK CALL FUNCTION 'SD_SCD_ITEM_CHECK' EXPORTING i_vfkp = c_vfkp i_vfkpd = i_vfkpd i_scd_item_tab = i_scd_item_tab i_opt_check_all = false i_opt_check_date = true i_opt_check_currency = true CHANGING c_vfkp = l_vfkp EXCEPTIONS currency_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 MV54AF0S or its description.