SAP Reports / Programs | Sales and Distribution | Sales(SD-SLS) SAP SD

FV45PFAP_XVBAP_LOESCHEN SAP ABAP INCLUDE - MAP_INTERNAL_TO_EXTERNAL







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

INCLUDE FV45PLOC.
INCLUDE FV45ELOC.


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_DELETE_MV13A_CONTEXT CALL FUNCTION 'SD_DELETE_MV13A_CONTEXT' EXPORTING vbeln = vbak-vbeln posnr = us_posnr kappl = 'V' t_mode = t180-trtyp.

PRICING_LOAD_VARIANT_KEYS CALL FUNCTION 'PRICING_LOAD_VARIANT_KEYS' EXPORTING application = appl_vertrieb vbeln = vbak-vbeln posnr = us_posnr TABLES tvckey = xvckey.

WTAD_ADDIS_IN_SO_DISPLAY_CHK CALL FUNCTION 'WTAD_ADDIS_IN_SO_DISPLAY_CHK' EXPORTING fi_vbtyp = vbak-vbtyp EXCEPTIONS addis_not_active = 1 OTHERS = 2.

RV_XVBUP_DELETE CALL FUNCTION 'RV_XVBUP_DELETE' EXPORTING f_vbeln = vbak-vbeln f_posnr = us_posnr TABLES fxvbup = xvbup fyvbup = yvbup.

RV_DELETE_POSITION_PARTNER CALL FUNCTION 'RV_DELETE_POSITION_PARTNER' EXPORTING position = us_posnr TABLES tab_xvbpa = xvbpa tab_yvbpa = yvbpa.

SD_XVEDA_DELETE CALL FUNCTION 'SD_XVEDA_DELETE' EXPORTING i_document_number = da_veda_vbeln i_item_number = da_veda_vposn i_posnr_low = veda_posnr_low IMPORTING e_upd_veda = upd_veda.

STATUS_OBJECT_DELETE CALL FUNCTION 'STATUS_OBJECT_DELETE' EXPORTING objnr = xvbap-objnr.

CK_F_SD_POSITION_CALC_RESET CALL FUNCTION 'CK_F_SD_POSITION_CALC_RESET' EXPORTING vbeln_imp = vbak-vbeln posnr_imp = xvbap-posnr objnr_imp = xvbap-objnr EXCEPTIONS OTHERS = 1.

K_UNITCOSTING_VBPOS_DEL CALL FUNCTION 'K_UNITCOSTING_VBPOS_DEL' EXPORTING rk70s_imp = da_kalki.

RV_MESSAGES_DELETE CALL FUNCTION 'RV_MESSAGES_DELETE' EXPORTING msg_objky = xobjky_pos delete_all_status = charx.

FM_CO_ASS_INPUT_DELETE_SD CALL FUNCTION 'FM_CO_ASS_INPUT_DELETE_SD' EXPORTING i_vbeln = xvbap-vbeln i_posnr = us_posnr.

CUCB_CHECK_AND_DELETE_CONF CALL FUNCTION 'CUCB_CHECK_AND_DELETE_CONF' EXPORTING root_instance = xvbap-cuobj owner = da_root_object iv_delete_or_unregister = 'X' EXCEPTIONS invalid_instance = 1 not_a_root_instance = 2 invalid_owner = 3 not_registered = 4 OTHERS = 5.

SERIALPROFILE_CHECK CALL FUNCTION 'SERIALPROFILE_CHECK' EXPORTING operation = 'SDD3' activity = t180-trtyp j_vorgang = da_j_vorgang document = da_vbeln item = vbap-posnr IMPORTING serial_commit = da_serial_commit.

IWOL_WV_DELETE_OBJECT_LIST CALL FUNCTION 'IWOL_WV_DELETE_OBJECT_LIST' EXPORTING i_sdaufnr = da_vbeln i_sdposnr = vbap-posnr EXCEPTIONS no_object_list = 1 OTHERS = 2.

EHS003_DGMSD_DELETE CALL FUNCTION 'EHS003_DGMSD_DELETE' EXPORTING i_vbeln = vbak-vbeln i_posnr = us_posnr i_vbtyp = vbak-vbtyp EXCEPTIONS others_ = 1.

SD_XVBLB_DELETE CALL FUNCTION 'SD_XVBLB_DELETE' EXPORTING i_mandt = vbak-mandt i_document_number = vbak-vbeln i_item_number = us_posnr.

PRICING_SUPPL_DATA_DELETE CALL FUNCTION 'PRICING_SUPPL_DATA_DELETE' EXPORTING iv_knumv = vbak-knumv iv_kposn = vbap-posnr incl_cpe = abap_true EXCEPTIONS OTHERS = 0.

GET_HANDLE_SD_SALES_ITEM CALL FUNCTION 'GET_HANDLE_SD_SALES_ITEM' IMPORTING handle = l_sd_sales_item_exit active = active.



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