SAP Reports / Programs | Sales and Distribution | Basic Functions(SD-BF) SAP SD

DV02PFPA SAP ABAP INCLUDE - documentation and ABAP source code







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

INCLUDE LV09AZAV.
INCLUDE LV09AZAV.
INCLUDE LV09AZAV.


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:

VIEW_KURGV CALL FUNCTION 'VIEW_KURGV' EXPORTING COMWA = VTCOM IMPORTING RGWA = KURGV.

SD_CREDIT_MASTER_DATA CALL FUNCTION 'SD_CREDIT_MASTER_DATA' EXPORTING I_KKBER = VTCOM-KKBER I_KUNRG = KURGV-KUNNR CHANGING E_KURGV = KURGV.

VIEW_VBADR CALL FUNCTION 'VIEW_VBADR' EXPORTING INPUT = VBPA IMPORTING ADRESSE = VBADR.

SD_PARTNER_PAREI_CORRECT_TPAER CALL FUNCTION 'SD_PARTNER_PAREI_CORRECT_TPAER' TABLES FRT_TPAER = ltpaer.

LOCATION_EXTRACT CALL FUNCTION 'LOCATION_EXTRACT' IMPORTING BILD = PANEL * BILDGRUPPE = * FLAG_ENDE = * FUNKTION = * KOPFGRUPPE = * POSITIONSGRUPPE = * PROGRAMM = * STACKSTUFE = * TRTYP = * T185_EXP = EXCEPTIONS OTHERS = 0.

SD_PARTNER_PAREI_CORRECT_TPAER CALL FUNCTION 'SD_PARTNER_PAREI_CORRECT_TPAER' TABLES FRT_TPAER = ltpaer.

VIEW_KNVP CALL FUNCTION 'VIEW_KNVP' EXPORTING VKORG = RV02P-VKORG VTWEG = RV02P-VTWEG SPART = RV02P-SPART KUNNR = LV_KUNNR PARVW = VBPA-PARVW PARTNER = RV02P-KUNDE IMPORTING KNVP_WA = KNVP RETURNCODE = RCODE EXCEPTIONS NO_RECORD_FOUND = 01.

FT_SLS_PARTNER_DOCUMENT_CHECK CALL FUNCTION 'FT_SLS_PARTNER_DOCUMENT_CHECK' EXPORTING I_BASE_DOCUMENT = SAVE_AHBAS I_PARTNER_NUMBER = RV02P-KUNDE I_COUNTRY_KNEX = SPACE IMPORTING E_SPERRE = H_SPERRE E_SLS_COUNTRY = H_BOYLD EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

VIEW_KUREV CALL FUNCTION 'VIEW_KUREV' EXPORTING COMWA = VTCOM IMPORTING REWA = KUREV.

VIEW_KURGV CALL FUNCTION 'VIEW_KURGV' EXPORTING COMWA = VTCOM IMPORTING RGWA = KURGV.

SD_CREDIT_MASTER_DATA CALL FUNCTION 'SD_CREDIT_MASTER_DATA' EXPORTING I_KKBER = VTCOM-KKBER I_KUNRG = KURGV-KUNNR CHANGING E_KURGV = KURGV.

SD_CREDITPARTNER_DETERMINATION CALL FUNCTION 'SD_CREDITPARTNER_DETERMINATION' EXPORTING KURGV_IN = KURGV PARGR = RV02P-PARGR VBELN = XVBPA-VBELN TABLES XVBPA = KSVBPA EXCEPTIONS OTHERS = 99.

VIEW_KUWEV CALL FUNCTION 'VIEW_KUWEV' EXPORTING COMWA = VTCOM IMPORTING WEWA = KUWEV.

VIEW_KUPAV CALL FUNCTION 'VIEW_KUPAV' EXPORTING COMWA = VTCOM IMPORTING PAWA = KUPAV.

VIEW_KUPAV CALL FUNCTION 'VIEW_KUPAV' EXPORTING COMWA = VTCOM IMPORTING PAWA = KUPAV.

VIEW_KUPAV CALL FUNCTION 'VIEW_KUPAV' EXPORTING COMWA = VTCOM IMPORTING PAWA = KUPAV.

VIEW_KUPAV CALL FUNCTION 'VIEW_KUPAV' EXPORTING COMWA = VTCOM IMPORTING PAWA = KUPAV.

VIEW_KUPAV CALL FUNCTION 'VIEW_KUPAV' EXPORTING COMWA = VTCOM IMPORTING PAWA = KUPAV.

VIEW_KUPAV





CALL FUNCTION 'VIEW_KUPAV' EXPORTING COMWA = VTCOM IMPORTING PAWA = KUPAV.



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