SAP ISU_SAMPLE_R535 Function Module for Determine Notice Days
ISU_SAMPLE_R535 is a standard isu sample r535 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Determine Notice Days 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 sample r535 FM, simply by entering the name ISU_SAMPLE_R535 into the relevant SAP transaction such as SE37 or SE38.
Function Group: EA61PS_EVENT
Program Name: SAPLEA61PS_EVENT
Main Program: SAPLEA61PS_EVENT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_SAMPLE_R535 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_SAMPLE_R535'"Determine Notice Days.
EXPORTING
X_EDATUM = "Created Date
X_PAYDATE = "First Payment Date
X_OBJ = "Payment Scheme
* X_PENDING = "Undetermined Customer for Payment Scheme
* X_ONLINE = "Processing Online or in Background
IMPORTING
Y_PAYDATE_ALT = "Alternative First Payment Date
Y_VERIFY = "Alternative Payment Date to Be Verified Externally
IMPORTING Parameters details for ISU_SAMPLE_R535
X_EDATUM - Created Date
Data type: DATUMOptional: No
Call by Reference: Yes
X_PAYDATE - First Payment Date
Data type: EABPL-PAYDATEOptional: No
Call by Reference: Yes
X_OBJ - Payment Scheme
Data type: ISU25_PAYMENTSCHEMEOptional: No
Call by Reference: Yes
X_PENDING - Undetermined Customer for Payment Scheme
Data type: REGEN-KENNZXOptional: Yes
Call by Reference: Yes
X_ONLINE - Processing Online or in Background
Data type: REGEN-KENNZXOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ISU_SAMPLE_R535
Y_PAYDATE_ALT - Alternative First Payment Date
Data type: DATUMOptional: No
Call by Reference: Yes
Y_VERIFY - Alternative Payment Date to Be Verified Externally
Data type: REGEN-KENNZXOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISU_SAMPLE_R535 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_edatum | TYPE DATUM, " | |||
| lv_y_paydate_alt | TYPE DATUM, " | |||
| lv_y_verify | TYPE REGEN-KENNZX, " | |||
| lv_x_paydate | TYPE EABPL-PAYDATE, " | |||
| lv_x_obj | TYPE ISU25_PAYMENTSCHEME, " | |||
| lv_x_pending | TYPE REGEN-KENNZX, " | |||
| lv_x_online | TYPE REGEN-KENNZX. " |
|   CALL FUNCTION 'ISU_SAMPLE_R535' "Determine Notice Days |
| EXPORTING | ||
| X_EDATUM | = lv_x_edatum | |
| X_PAYDATE | = lv_x_paydate | |
| X_OBJ | = lv_x_obj | |
| X_PENDING | = lv_x_pending | |
| X_ONLINE | = lv_x_online | |
| IMPORTING | ||
| Y_PAYDATE_ALT | = lv_y_paydate_alt | |
| Y_VERIFY | = lv_y_verify | |
| . " ISU_SAMPLE_R535 | ||
ABAP code using 7.40 inline data declarations to call FM ISU_SAMPLE_R535
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 KENNZX FROM REGEN INTO @DATA(ld_y_verify). | ||||
| "SELECT single PAYDATE FROM EABPL INTO @DATA(ld_x_paydate). | ||||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_pending). | ||||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_online). | ||||
Search for further information about these or an SAP related objects