SAP LOAN_PLANNED_ITEM_CHECK Function Module for Check Planned Records for Blocks
LOAN_PLANNED_ITEM_CHECK is a standard loan planned item check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Check Planned Records for Blocks 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 loan planned item check FM, simply by entering the name LOAN_PLANNED_ITEM_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD0A_PLAN
Program Name: SAPLFVD0A_PLAN
Main Program: SAPLFVD0A_PLAN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function LOAN_PLANNED_ITEM_CHECK 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 'LOAN_PLANNED_ITEM_CHECK'"Check Planned Records for Blocks.
EXPORTING
I_APPLICATION = "CML: Application Name for Open Item Blocking Tool
* I_RBO = "Business operation number (loans)
TABLES
CT_RVZZBEPP = "Prüfung der Plansätze auf evt. Sperren
EXCEPTIONS
NO_ITEMS = 1
IMPORTING Parameters details for LOAN_PLANNED_ITEM_CHECK
I_APPLICATION - CML: Application Name for Open Item Blocking Tool
Data type: LOANREF_O-APPLICATIONOptional: No
Call by Reference: Yes
I_RBO - Business operation number (loans)
Data type: LOANREF_O-RBOOptional: Yes
Call by Reference: Yes
TABLES Parameters details for LOAN_PLANNED_ITEM_CHECK
CT_RVZZBEPP - Prüfung der Plansätze auf evt. Sperren
Data type: RVZZBEPPOptional: No
Call by Reference: Yes
EXCEPTIONS details
NO_ITEMS - Keine Plansätze zum prüfen
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for LOAN_PLANNED_ITEM_CHECK 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_no_items | TYPE STRING, " | |||
| lt_ct_rvzzbepp | TYPE STANDARD TABLE OF RVZZBEPP, " | |||
| lv_i_application | TYPE LOANREF_O-APPLICATION, " | |||
| lv_i_rbo | TYPE LOANREF_O-RBO. " |
|   CALL FUNCTION 'LOAN_PLANNED_ITEM_CHECK' "Check Planned Records for Blocks |
| EXPORTING | ||
| I_APPLICATION | = lv_i_application | |
| I_RBO | = lv_i_rbo | |
| TABLES | ||
| CT_RVZZBEPP | = lt_ct_rvzzbepp | |
| EXCEPTIONS | ||
| NO_ITEMS = 1 | ||
| . " LOAN_PLANNED_ITEM_CHECK | ||
ABAP code using 7.40 inline data declarations to call FM LOAN_PLANNED_ITEM_CHECK
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 APPLICATION FROM LOANREF_O INTO @DATA(ld_i_application). | ||||
| "SELECT single RBO FROM LOANREF_O INTO @DATA(ld_i_rbo). | ||||
Search for further information about these or an SAP related objects