SAP FVD_LOAN_OL_CHECK_AUTHORITY Function Module for Execute Authorization Checks for Loan
FVD_LOAN_OL_CHECK_AUTHORITY is a standard fvd loan ol check authority SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Execute Authorization Checks for Loan 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 loan ol check authority FM, simply by entering the name FVD_LOAN_OL_CHECK_AUTHORITY into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_LOAN_OL
Program Name: SAPLFVD_LOAN_OL
Main Program: SAPLFVD_LOAN_OL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FVD_LOAN_OL_CHECK_AUTHORITY 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_LOAN_OL_CHECK_AUTHORITY'"Execute Authorization Checks for Loan.
EXPORTING
* I_LOG_HANDLE = "Application Log: Log Handle
* I_LOG_OFF = ' ' "Schalter, ob BAL geschrieben werden soll
I_ACTIVITY = "Permitted Activities in Business Operations
I_S_VDARL_KEY = "VDARL Key Structure
* I_S_VDARL = "Loan
* I_SWORKID = '01' "Processing Unit in the Business Operations
* I_TAB_ROLETYP = "Table Type for BP_ROLETYP_NEW
* I_CHECK_PARTNER = 'X' "GP prüfen
* I_NO_BEGRU_CHECK = "gesetztes Flag bewirkt, dass keine Ber.prüfung auf BEGRU vorgenommen wird
IMPORTING
E_FLG_NO_AUTHORITY = "Authorization
E_STR_VDARL = "Loans
EXCEPTIONS
NO_AUTHORITY = 1 VDARL_NOT_FOUND = 2 PARTNER_NOT_FOUND = 3
IMPORTING Parameters details for FVD_LOAN_OL_CHECK_AUTHORITY
I_LOG_HANDLE - Application Log: Log Handle
Data type: BALLOGHNDLOptional: Yes
Call by Reference: Yes
I_LOG_OFF - Schalter, ob BAL geschrieben werden soll
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: Yes
I_ACTIVITY - Permitted Activities in Business Operations
Data type: TB_ACTIVITY_ALLOWEDOptional: No
Call by Reference: Yes
I_S_VDARL_KEY - VDARL Key Structure
Data type: VDARL_KEYOptional: No
Call by Reference: Yes
I_S_VDARL - Loan
Data type: VDARLOptional: Yes
Call by Reference: Yes
I_SWORKID - Processing Unit in the Business Operations
Data type: SWORKIDDefault: '01'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TAB_ROLETYP - Table Type for BP_ROLETYP_NEW
Data type: TRTY_ROLETYPOptional: Yes
Call by Reference: Yes
I_CHECK_PARTNER - GP prüfen
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: Yes
I_NO_BEGRU_CHECK - gesetztes Flag bewirkt, dass keine Ber.prüfung auf BEGRU vorgenommen wird
Data type: FLAGOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FVD_LOAN_OL_CHECK_AUTHORITY
E_FLG_NO_AUTHORITY - Authorization
Data type: CHAR1Optional: No
Call by Reference: Yes
E_STR_VDARL - Loans
Data type: VDARLOptional: No
Call by Reference: Yes
EXCEPTIONS details
NO_AUTHORITY -
Data type:Optional: No
Call by Reference: Yes
VDARL_NOT_FOUND - VDARL-Eintrag nicht gefunden
Data type:Optional: No
Call by Reference: Yes
PARTNER_NOT_FOUND - Partner Not Found
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FVD_LOAN_OL_CHECK_AUTHORITY 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_log_handle | TYPE BALLOGHNDL, " | |||
| lv_no_authority | TYPE BALLOGHNDL, " | |||
| lv_e_flg_no_authority | TYPE CHAR1, " | |||
| lv_i_log_off | TYPE FLAG, " SPACE | |||
| lv_e_str_vdarl | TYPE VDARL, " | |||
| lv_vdarl_not_found | TYPE VDARL, " | |||
| lv_i_activity | TYPE TB_ACTIVITY_ALLOWED, " | |||
| lv_partner_not_found | TYPE TB_ACTIVITY_ALLOWED, " | |||
| lv_i_s_vdarl_key | TYPE VDARL_KEY, " | |||
| lv_i_s_vdarl | TYPE VDARL, " | |||
| lv_i_sworkid | TYPE SWORKID, " '01' | |||
| lv_i_tab_roletyp | TYPE TRTY_ROLETYP, " | |||
| lv_i_check_partner | TYPE FLAG, " 'X' | |||
| lv_i_no_begru_check | TYPE FLAG. " |
|   CALL FUNCTION 'FVD_LOAN_OL_CHECK_AUTHORITY' "Execute Authorization Checks for Loan |
| EXPORTING | ||
| I_LOG_HANDLE | = lv_i_log_handle | |
| I_LOG_OFF | = lv_i_log_off | |
| I_ACTIVITY | = lv_i_activity | |
| I_S_VDARL_KEY | = lv_i_s_vdarl_key | |
| I_S_VDARL | = lv_i_s_vdarl | |
| I_SWORKID | = lv_i_sworkid | |
| I_TAB_ROLETYP | = lv_i_tab_roletyp | |
| I_CHECK_PARTNER | = lv_i_check_partner | |
| I_NO_BEGRU_CHECK | = lv_i_no_begru_check | |
| IMPORTING | ||
| E_FLG_NO_AUTHORITY | = lv_e_flg_no_authority | |
| E_STR_VDARL | = lv_e_str_vdarl | |
| EXCEPTIONS | ||
| NO_AUTHORITY = 1 | ||
| VDARL_NOT_FOUND = 2 | ||
| PARTNER_NOT_FOUND = 3 | ||
| . " FVD_LOAN_OL_CHECK_AUTHORITY | ||
ABAP code using 7.40 inline data declarations to call FM FVD_LOAN_OL_CHECK_AUTHORITY
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_log_off) | = ' '. | |||
| DATA(ld_i_sworkid) | = '01'. | |||
| DATA(ld_i_check_partner) | = 'X'. | |||
Search for further information about these or an SAP related objects