SAP FVD_SEPA_OL_REFID_SAVE Function Module for Save the Contract Number of the Mandate as the Reference ID









FVD_SEPA_OL_REFID_SAVE is a standard fvd sepa ol refid save SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Save the Contract Number of the Mandate as the Reference ID 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 fvd sepa ol refid save FM, simply by entering the name FVD_SEPA_OL_REFID_SAVE into the relevant SAP transaction such as SE37 or SE38.

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



Function FVD_SEPA_OL_REFID_SAVE 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 'FVD_SEPA_OL_REFID_SAVE'"Save the Contract Number of the Mandate as the Reference ID
EXPORTING
I_MND_ID = "SEPA Mandate: Unique Referene to Mandate per Vendor
I_REF_ID = "Contract Number
* I_REF_TYPE = 'TR-LO' "SEPA-Mandat: Referenz-Typ
* I_ANWND = 'F' "SEPA: Anwendung, für die das Mandat relevant ist
* I_MVERS = '0000' "SEPA-Mandat: Version des Mandats (0 = aktuelle Version)
I_BP_NUMBER = "Business Partner Number
I_BANK_ID = "Partner Bank Type
* I_UPDATE_TASK = 'X' "Boolean Variable (X=True, -=False, Space=Unknown)
* I_BUKRS = "

EXCEPTIONS
REFID_SAVING_FAILED = 1
.



IMPORTING Parameters details for FVD_SEPA_OL_REFID_SAVE

I_MND_ID - SEPA Mandate: Unique Referene to Mandate per Vendor

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

I_REF_ID - Contract Number

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

I_REF_TYPE - SEPA-Mandat: Referenz-Typ

Data type: SEPA_REF_TYPE
Default: 'TR-LO'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ANWND - SEPA: Anwendung, für die das Mandat relevant ist

Data type: SEPA_ANWND
Default: 'F'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MVERS - SEPA-Mandat: Version des Mandats (0 = aktuelle Version)

Data type: SEPA_MVERS
Default: '0000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BP_NUMBER - Business Partner Number

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

I_BANK_ID - Partner Bank Type

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

I_UPDATE_TASK - Boolean Variable (X=True, -=False, Space=Unknown)

Data type: BOOLEAN
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BUKRS -

Data type: BUKRS
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

REFID_SAVING_FAILED - Sicherung der Referenz-ID für dieses Mandat nicht möglich

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FVD_SEPA_OL_REFID_SAVE 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_i_mnd_id  TYPE SEPA_MNDID, "   
lv_refid_saving_failed  TYPE SEPA_MNDID, "   
lv_i_ref_id  TYPE RANL, "   
lv_i_ref_type  TYPE SEPA_REF_TYPE, "   'TR-LO'
lv_i_anwnd  TYPE SEPA_ANWND, "   'F'
lv_i_mvers  TYPE SEPA_MVERS, "   '0000'
lv_i_bp_number  TYPE BU_PARTNER, "   
lv_i_bank_id  TYPE BVTYP, "   
lv_i_update_task  TYPE BOOLEAN, "   'X'
lv_i_bukrs  TYPE BUKRS. "   

  CALL FUNCTION 'FVD_SEPA_OL_REFID_SAVE'  "Save the Contract Number of the Mandate as the Reference ID
    EXPORTING
         I_MND_ID = lv_i_mnd_id
         I_REF_ID = lv_i_ref_id
         I_REF_TYPE = lv_i_ref_type
         I_ANWND = lv_i_anwnd
         I_MVERS = lv_i_mvers
         I_BP_NUMBER = lv_i_bp_number
         I_BANK_ID = lv_i_bank_id
         I_UPDATE_TASK = lv_i_update_task
         I_BUKRS = lv_i_bukrs
    EXCEPTIONS
        REFID_SAVING_FAILED = 1
. " FVD_SEPA_OL_REFID_SAVE




ABAP code using 7.40 inline data declarations to call FM FVD_SEPA_OL_REFID_SAVE

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.

 
 
 
DATA(ld_i_ref_type) = 'TR-LO'.
 
DATA(ld_i_anwnd) = 'F'.
 
DATA(ld_i_mvers) = '0000'.
 
 
 
DATA(ld_i_update_task) = 'X'.
 
 


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!