SAP ISU_EVENT_R507 Function Module for INV: Selection of Cash Security Deposits to Be Released, Change CSD Amount
ISU_EVENT_R507 is a standard isu event r507 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for INV: Selection of Cash Security Deposits to Be Released, Change CSD Amount 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 isu event r507 FM, simply by entering the name ISU_EVENT_R507 into the relevant SAP transaction such as SE37 or SE38.
Function Group: E21U
Program Name: SAPLE21U
Main Program: SAPLE21U
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_EVENT_R507 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 'ISU_EVENT_R507'"INV: Selection of Cash Security Deposits to Be Released, Change CSD Amount.
EXPORTING
X_FKK_SEC = "Security Deposit
X_EVER = "IS-U Contract
X_FKKVKP = "Contract Account Partner-Specific
X_VERART = "Clearing Type for Clearing Entries
* X_MOVEOUT_CONTRACT = ' ' "Checkbox
* X_MOVEOUT_ACCOUNT = ' ' "Checkbox
* X_INVOICE_UNIT = "
IMPORTING
Y_NEW_SEC_REQUEST = "Requested Amount for Security Deposit
Y_NEW_SEC_REASON = "Reason for Requesting a Security Deposit
TABLES
TY_FKKCL_SEC = "Clearing Items for Document in Contract Accounts Receivable and Payable
IMPORTING Parameters details for ISU_EVENT_R507
X_FKK_SEC - Security Deposit
Data type: FKK_SECOptional: No
Call by Reference: Yes
X_EVER - IS-U Contract
Data type: EVEROptional: No
Call by Reference: Yes
X_FKKVKP - Contract Account Partner-Specific
Data type: FKKVKPOptional: No
Call by Reference: Yes
X_VERART - Clearing Type for Clearing Entries
Data type: VERART_KKOptional: No
Call by Reference: Yes
X_MOVEOUT_CONTRACT - Checkbox
Data type: XFELDDefault: ' '
Optional: Yes
Call by Reference: Yes
X_MOVEOUT_ACCOUNT - Checkbox
Data type: XFELDDefault: ' '
Optional: Yes
Call by Reference: Yes
X_INVOICE_UNIT -
Data type: ISU21_INVOICE_UNITOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ISU_EVENT_R507
Y_NEW_SEC_REQUEST - Requested Amount for Security Deposit
Data type: REQUEST_KKOptional: No
Call by Reference: Yes
Y_NEW_SEC_REASON - Reason for Requesting a Security Deposit
Data type: REASON_KKOptional: No
Call by Reference: Yes
TABLES Parameters details for ISU_EVENT_R507
TY_FKKCL_SEC - Clearing Items for Document in Contract Accounts Receivable and Payable
Data type: FKKCLOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_EVENT_R507 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_x_fkk_sec | TYPE FKK_SEC, " | |||
| lt_ty_fkkcl_sec | TYPE STANDARD TABLE OF FKKCL, " | |||
| lv_y_new_sec_request | TYPE REQUEST_KK, " | |||
| lv_x_ever | TYPE EVER, " | |||
| lv_y_new_sec_reason | TYPE REASON_KK, " | |||
| lv_x_fkkvkp | TYPE FKKVKP, " | |||
| lv_x_verart | TYPE VERART_KK, " | |||
| lv_x_moveout_contract | TYPE XFELD, " ' ' | |||
| lv_x_moveout_account | TYPE XFELD, " ' ' | |||
| lv_x_invoice_unit | TYPE ISU21_INVOICE_UNIT. " |
|   CALL FUNCTION 'ISU_EVENT_R507' "INV: Selection of Cash Security Deposits to Be Released, Change CSD Amount |
| EXPORTING | ||
| X_FKK_SEC | = lv_x_fkk_sec | |
| X_EVER | = lv_x_ever | |
| X_FKKVKP | = lv_x_fkkvkp | |
| X_VERART | = lv_x_verart | |
| X_MOVEOUT_CONTRACT | = lv_x_moveout_contract | |
| X_MOVEOUT_ACCOUNT | = lv_x_moveout_account | |
| X_INVOICE_UNIT | = lv_x_invoice_unit | |
| IMPORTING | ||
| Y_NEW_SEC_REQUEST | = lv_y_new_sec_request | |
| Y_NEW_SEC_REASON | = lv_y_new_sec_reason | |
| TABLES | ||
| TY_FKKCL_SEC | = lt_ty_fkkcl_sec | |
| . " ISU_EVENT_R507 | ||
ABAP code using 7.40 inline data declarations to call FM ISU_EVENT_R507
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_x_moveout_contract) | = ' '. | |||
| DATA(ld_x_moveout_account) | = ' '. | |||
Search for further information about these or an SAP related objects