SAP FVVM_ACCOUNTREF_PARTNER_READ Function Module for TR: Determ. of Account Assignment Reference - Provision of Partner Data
FVVM_ACCOUNTREF_PARTNER_READ is a standard fvvm accountref partner read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for TR: Determ. of Account Assignment Reference - Provision of Partner Data processing and below is the pattern details for this FM, 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 fvvm accountref partner read FM, simply by entering the name FVVM_ACCOUNTREF_PARTNER_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVVM
Program Name: SAPLFVVM
Main Program: SAPLFVVM
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function FVVM_ACCOUNTREF_PARTNER_READ 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 'FVVM_ACCOUNTREF_PARTNER_READ'"TR: Determ. of Account Assignment Reference - Provision of Partner Data.
EXPORTING
PARTNER = "Business Partner Number
EMP_DATE = "Stichtag Beschäftigungsdaten bei nat. Person
* COMP_CODE = ' ' "
* I_XMEMORY = ' ' "Kennzeichen: Lokales Memory durchsuchen
IMPORTING
VZKPART = "Kontierungsref-Merkmale des Partners
EXCEPTIONS
NO_PARTNER = 1
IMPORTING Parameters details for FVVM_ACCOUNTREF_PARTNER_READ
PARTNER - Business Partner Number
Data type: BUT000-PARTNEROptional: No
Call by Reference: No ( called with pass by value option)
EMP_DATE - Stichtag Beschäftigungsdaten bei nat. Person
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
COMP_CODE -
Data type: TRCA_COMPANY-COMPANYCODEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_XMEMORY - Kennzeichen: Lokales Memory durchsuchen
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FVVM_ACCOUNTREF_PARTNER_READ
VZKPART - Kontierungsref-Merkmale des Partners
Data type: VZKPARTOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_PARTNER - übergebener Geschäftspartner ist nicht vorhanden
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FVVM_ACCOUNTREF_PARTNER_READ 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_partner | TYPE BUT000-PARTNER, " | |||
lv_vzkpart | TYPE VZKPART, " | |||
lv_no_partner | TYPE VZKPART, " | |||
lv_emp_date | TYPE SY-DATUM, " | |||
lv_comp_code | TYPE TRCA_COMPANY-COMPANYCODE, " SPACE | |||
lv_i_xmemory | TYPE BOOLE-BOOLE. " SPACE |
  CALL FUNCTION 'FVVM_ACCOUNTREF_PARTNER_READ' "TR: Determ. of Account Assignment Reference - Provision of Partner Data |
EXPORTING | ||
PARTNER | = lv_partner | |
EMP_DATE | = lv_emp_date | |
COMP_CODE | = lv_comp_code | |
I_XMEMORY | = lv_i_xmemory | |
IMPORTING | ||
VZKPART | = lv_vzkpart | |
EXCEPTIONS | ||
NO_PARTNER = 1 | ||
. " FVVM_ACCOUNTREF_PARTNER_READ |
ABAP code using 7.40 inline data declarations to call FM FVVM_ACCOUNTREF_PARTNER_READ
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 PARTNER FROM BUT000 INTO @DATA(ld_partner). | ||||
"SELECT single DATUM FROM SY INTO @DATA(ld_emp_date). | ||||
"SELECT single COMPANYCODE FROM TRCA_COMPANY INTO @DATA(ld_comp_code). | ||||
DATA(ld_comp_code) | = ' '. | |||
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xmemory). | ||||
DATA(ld_i_xmemory) | = ' '. | |||
Search for further information about these or an SAP related objects