SAP FVII_PARTNER_ADDRESS_GET Function Module for









FVII_PARTNER_ADDRESS_GET is a standard fvii partner address get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for fvii partner address get FM, simply by entering the name FVII_PARTNER_ADDRESS_GET into the relevant SAP transaction such as SE37 or SE38.

Function Group: FVII
Program Name: SAPLFVII
Main Program:
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FVII_PARTNER_ADDRESS_GET pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'FVII_PARTNER_ADDRESS_GET'"
EXPORTING
I_ADR_REF = "
I_LAND1 = "
* I_LANGU = SY-LANGU "
I_PARTNR = "

IMPORTING
FLE_ADRS = "
FLE_BP000 = "

TABLES
IN_ADRS_SPR = "
OUT_BPDBANK = "
IN_BNKA_SPR = "
IN_RFVPRT_SPR = "
IN_SANS1_SPR = "
IN_SPAB1_SPR = "
IN_SPBB1_SPR = "
OUT_BNKA = "
OUT_BPDADR = "
OUT_BPDADREF = "
.



IMPORTING Parameters details for FVII_PARTNER_ADDRESS_GET

I_ADR_REF -

Data type: VZGPO-ADR_REF
Optional: No
Call by Reference: No ( called with pass by value option)

I_LAND1 -

Data type: T005-LAND1
Optional: No
Call by Reference: No ( called with pass by value option)

I_LANGU -

Data type: T002-SPRAS
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PARTNR -

Data type: VZGPO-PARTNR
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FVII_PARTNER_ADDRESS_GET

FLE_ADRS -

Data type: VVADRS
Optional: No
Call by Reference: No ( called with pass by value option)

FLE_BP000 -

Data type: RNAMPRT
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for FVII_PARTNER_ADDRESS_GET

IN_ADRS_SPR -

Data type: ADRS_ROL
Optional: No
Call by Reference: No ( called with pass by value option)

OUT_BPDBANK -

Data type: BPDBANK
Optional: No
Call by Reference: No ( called with pass by value option)

IN_BNKA_SPR -

Data type: BNKA_ROL
Optional: No
Call by Reference: No ( called with pass by value option)

IN_RFVPRT_SPR -

Data type: RFVPRT_ROL
Optional: No
Call by Reference: No ( called with pass by value option)

IN_SANS1_SPR -

Data type: SANS1_ROL
Optional: No
Call by Reference: No ( called with pass by value option)

IN_SPAB1_SPR -

Data type: SPAB1_ROL
Optional: No
Call by Reference: No ( called with pass by value option)

IN_SPBB1_SPR -

Data type: SPBB1_ROL
Optional: No
Call by Reference: No ( called with pass by value option)

OUT_BNKA -

Data type: RBNKA_ZS
Optional: No
Call by Reference: No ( called with pass by value option)

OUT_BPDADR -

Data type: RBPDADR_ZS
Optional: No
Call by Reference: No ( called with pass by value option)

OUT_BPDADREF -

Data type: BPDADREFZS
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FVII_PARTNER_ADDRESS_GET Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_fle_adrs  TYPE VVADRS, "   
lv_i_adr_ref  TYPE VZGPO-ADR_REF, "   
lt_in_adrs_spr  TYPE STANDARD TABLE OF ADRS_ROL, "   
lt_out_bpdbank  TYPE STANDARD TABLE OF BPDBANK, "   
lv_i_land1  TYPE T005-LAND1, "   
lv_fle_bp000  TYPE RNAMPRT, "   
lt_in_bnka_spr  TYPE STANDARD TABLE OF BNKA_ROL, "   
lv_i_langu  TYPE T002-SPRAS, "   SY-LANGU
lt_in_rfvprt_spr  TYPE STANDARD TABLE OF RFVPRT_ROL, "   
lv_i_partnr  TYPE VZGPO-PARTNR, "   
lt_in_sans1_spr  TYPE STANDARD TABLE OF SANS1_ROL, "   
lt_in_spab1_spr  TYPE STANDARD TABLE OF SPAB1_ROL, "   
lt_in_spbb1_spr  TYPE STANDARD TABLE OF SPBB1_ROL, "   
lt_out_bnka  TYPE STANDARD TABLE OF RBNKA_ZS, "   
lt_out_bpdadr  TYPE STANDARD TABLE OF RBPDADR_ZS, "   
lt_out_bpdadref  TYPE STANDARD TABLE OF BPDADREFZS. "   

  CALL FUNCTION 'FVII_PARTNER_ADDRESS_GET'  "
    EXPORTING
         I_ADR_REF = lv_i_adr_ref
         I_LAND1 = lv_i_land1
         I_LANGU = lv_i_langu
         I_PARTNR = lv_i_partnr
    IMPORTING
         FLE_ADRS = lv_fle_adrs
         FLE_BP000 = lv_fle_bp000
    TABLES
         IN_ADRS_SPR = lt_in_adrs_spr
         OUT_BPDBANK = lt_out_bpdbank
         IN_BNKA_SPR = lt_in_bnka_spr
         IN_RFVPRT_SPR = lt_in_rfvprt_spr
         IN_SANS1_SPR = lt_in_sans1_spr
         IN_SPAB1_SPR = lt_in_spab1_spr
         IN_SPBB1_SPR = lt_in_spbb1_spr
         OUT_BNKA = lt_out_bnka
         OUT_BPDADR = lt_out_bpdadr
         OUT_BPDADREF = lt_out_bpdadref
. " FVII_PARTNER_ADDRESS_GET




ABAP code using 7.40 inline data declarations to call FM FVII_PARTNER_ADDRESS_GET

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
"SELECT single ADR_REF FROM VZGPO INTO @DATA(ld_i_adr_ref).
 
 
 
"SELECT single LAND1 FROM T005 INTO @DATA(ld_i_land1).
 
 
 
"SELECT single SPRAS FROM T002 INTO @DATA(ld_i_langu).
DATA(ld_i_langu) = SY-LANGU.
 
 
"SELECT single PARTNR FROM VZGPO INTO @DATA(ld_i_partnr).
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!