SAP ISU_S_PAYSCHEME_BASICS_CHANGE Function Module for Payment Scheme: Change Basis Data









ISU_S_PAYSCHEME_BASICS_CHANGE is a standard isu s payscheme basics change SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Payment Scheme: Change Basis Data 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 s payscheme basics change FM, simply by entering the name ISU_S_PAYSCHEME_BASICS_CHANGE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_S_PAYSCHEME_BASICS_CHANGE 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_S_PAYSCHEME_BASICS_CHANGE'"Payment Scheme: Change Basis Data
EXPORTING
X_OPBEL = "Payment Scheme
* X_NO_COMMIT = ' ' "Do not execute COMMIT
* X_CHECK_PRINT = ' ' "Print Query
* X_NO_UPDATE = ' ' "
X_CONTRACT = "Contract
X_BEGDAT = "Start of Validity for Sample Line
X_PAYDAT = "Payment Date in Payment Scheme
X_PAYFREQ = "Payment Frequency of Payment Scheme
X_PSTYPE = "Payment Scheme Category
* X_NO_OTHER = "No other Object Permitted
* X_NO_MASS = "Indicator
* X_NO_DIALOG = ' ' "

IMPORTING
Y_DB_UPDATE = "Database Updated (X) or not (' ')
Y_EXIT_TYPE = "Function with which editing was exited

CHANGING
* XY_OBJ = "

EXCEPTIONS
NOT_FOUND = 1 FOREIGN_LOCK = 2 GENERAL_FAULT = 3 INPUT_ERROR = 4 NOT_AUTHORIZED = 5 PROGRAMMING_ERROR = 6
.



IMPORTING Parameters details for ISU_S_PAYSCHEME_BASICS_CHANGE

X_OPBEL - Payment Scheme

Data type: EABP-OPBEL
Optional: No
Call by Reference: Yes

X_NO_COMMIT - Do not execute COMMIT

Data type: REGEN-NO_COMMIT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_CHECK_PRINT - Print Query

Data type: REGEN-KENNZX
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_NO_UPDATE -

Data type: REGEN-KENNZX
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_CONTRACT - Contract

Data type: EABP-VERTRAG
Optional: No
Call by Reference: Yes

X_BEGDAT - Start of Validity for Sample Line

Data type: EABPL-BEGDAT
Optional: No
Call by Reference: Yes

X_PAYDAT - Payment Date in Payment Scheme

Data type: EABPL-PAYDATE
Optional: No
Call by Reference: Yes

X_PAYFREQ - Payment Frequency of Payment Scheme

Data type: EABPL-PAYFREQ
Optional: No
Call by Reference: Yes

X_PSTYPE - Payment Scheme Category

Data type: EABPL-PSTYPE
Optional: No
Call by Reference: Yes

X_NO_OTHER - No other Object Permitted

Data type: REGEN-NO_OTHER
Optional: Yes
Call by Reference: Yes

X_NO_MASS - Indicator

Data type: REGEN-KENNZX
Optional: Yes
Call by Reference: Yes

X_NO_DIALOG -

Data type: REGEN-NO_DIALOG
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISU_S_PAYSCHEME_BASICS_CHANGE

Y_DB_UPDATE - Database Updated (X) or not (SPACE)

Data type: REGEN-DB_UPDATE
Optional: No
Call by Reference: Yes

Y_EXIT_TYPE - Function with which editing was exited

Data type: REGEN-EXIT_TYPE
Optional: No
Call by Reference: Yes

CHANGING Parameters details for ISU_S_PAYSCHEME_BASICS_CHANGE

XY_OBJ -

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

EXCEPTIONS details

NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

FOREIGN_LOCK -

Data type:
Optional: No
Call by Reference: Yes

GENERAL_FAULT -

Data type:
Optional: No
Call by Reference: Yes

INPUT_ERROR -

Data type:
Optional: No
Call by Reference: Yes

NOT_AUTHORIZED -

Data type:
Optional: No
Call by Reference: Yes

PROGRAMMING_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISU_S_PAYSCHEME_BASICS_CHANGE 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_xy_obj  TYPE ISU25_PAYMENTSCHEME, "   
lv_x_opbel  TYPE EABP-OPBEL, "   
lv_not_found  TYPE EABP, "   
lv_y_db_update  TYPE REGEN-DB_UPDATE, "   
lv_x_no_commit  TYPE REGEN-NO_COMMIT, "   SPACE
lv_x_check_print  TYPE REGEN-KENNZX, "   SPACE
lv_x_no_update  TYPE REGEN-KENNZX, "   SPACE
lv_x_contract  TYPE EABP-VERTRAG, "   
lv_y_exit_type  TYPE REGEN-EXIT_TYPE, "   
lv_foreign_lock  TYPE REGEN, "   
lv_x_begdat  TYPE EABPL-BEGDAT, "   
lv_general_fault  TYPE EABPL, "   
lv_x_paydat  TYPE EABPL-PAYDATE, "   
lv_input_error  TYPE EABPL, "   
lv_x_payfreq  TYPE EABPL-PAYFREQ, "   
lv_not_authorized  TYPE EABPL, "   
lv_x_pstype  TYPE EABPL-PSTYPE, "   
lv_programming_error  TYPE EABPL, "   
lv_x_no_other  TYPE REGEN-NO_OTHER, "   
lv_x_no_mass  TYPE REGEN-KENNZX, "   
lv_x_no_dialog  TYPE REGEN-NO_DIALOG. "   SPACE

  CALL FUNCTION 'ISU_S_PAYSCHEME_BASICS_CHANGE'  "Payment Scheme: Change Basis Data
    EXPORTING
         X_OPBEL = lv_x_opbel
         X_NO_COMMIT = lv_x_no_commit
         X_CHECK_PRINT = lv_x_check_print
         X_NO_UPDATE = lv_x_no_update
         X_CONTRACT = lv_x_contract
         X_BEGDAT = lv_x_begdat
         X_PAYDAT = lv_x_paydat
         X_PAYFREQ = lv_x_payfreq
         X_PSTYPE = lv_x_pstype
         X_NO_OTHER = lv_x_no_other
         X_NO_MASS = lv_x_no_mass
         X_NO_DIALOG = lv_x_no_dialog
    IMPORTING
         Y_DB_UPDATE = lv_y_db_update
         Y_EXIT_TYPE = lv_y_exit_type
    CHANGING
         XY_OBJ = lv_xy_obj
    EXCEPTIONS
        NOT_FOUND = 1
        FOREIGN_LOCK = 2
        GENERAL_FAULT = 3
        INPUT_ERROR = 4
        NOT_AUTHORIZED = 5
        PROGRAMMING_ERROR = 6
. " ISU_S_PAYSCHEME_BASICS_CHANGE




ABAP code using 7.40 inline data declarations to call FM ISU_S_PAYSCHEME_BASICS_CHANGE

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 OPBEL FROM EABP INTO @DATA(ld_x_opbel).
 
 
"SELECT single DB_UPDATE FROM REGEN INTO @DATA(ld_y_db_update).
 
"SELECT single NO_COMMIT FROM REGEN INTO @DATA(ld_x_no_commit).
DATA(ld_x_no_commit) = ' '.
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_check_print).
DATA(ld_x_check_print) = ' '.
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_no_update).
DATA(ld_x_no_update) = ' '.
 
"SELECT single VERTRAG FROM EABP INTO @DATA(ld_x_contract).
 
"SELECT single EXIT_TYPE FROM REGEN INTO @DATA(ld_y_exit_type).
 
 
"SELECT single BEGDAT FROM EABPL INTO @DATA(ld_x_begdat).
 
 
"SELECT single PAYDATE FROM EABPL INTO @DATA(ld_x_paydat).
 
 
"SELECT single PAYFREQ FROM EABPL INTO @DATA(ld_x_payfreq).
 
 
"SELECT single PSTYPE FROM EABPL INTO @DATA(ld_x_pstype).
 
 
"SELECT single NO_OTHER FROM REGEN INTO @DATA(ld_x_no_other).
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_no_mass).
 
"SELECT single NO_DIALOG FROM REGEN INTO @DATA(ld_x_no_dialog).
DATA(ld_x_no_dialog) = ' '.
 


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!