SAP ISU_SAMPLE_R835 Function Module for Print Rate Change Letter in IS-U









ISU_SAMPLE_R835 is a standard isu sample r835 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Print Rate Change Letter in IS-U 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 r835 FM, simply by entering the name ISU_SAMPLE_R835 into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_SAMPLE_R835 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_R835'"Print Rate Change Letter in IS-U
EXPORTING
* X_LANGU = "Language
* X_GPART = "
* X_VKONT = "Contract Account
* X_DATE = SY-DATUM "Move-Out Date
* X_FORMKEY = "Form
* X_DELAYED_PRINT = "
* X_AUSWFORM = "
* X_REPRINT = "

IMPORTING
Y_FORMKEY = "

TABLES
TX_EVER = "IS-U Contract

EXCEPTIONS
ACTION_CANCELLED = 1 ACTION_FAILED = 2 BCONTACT_FAILED = 3
.



IMPORTING Parameters details for ISU_SAMPLE_R835

X_LANGU - Language

Data type: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_GPART -

Data type: FKKOP-GPART
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_VKONT - Contract Account

Data type: FKKOP-VKONT
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_DATE - Move-Out Date

Data type: SYDATUM
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_FORMKEY - Form

Data type: EPRINTPARAMS-FORMKEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_DELAYED_PRINT -

Data type: EPRINTPARAMS-DELAYED_PRINT
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_AUSWFORM -

Data type: EAUS-AUSWFORM
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_REPRINT -

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

EXPORTING Parameters details for ISU_SAMPLE_R835

Y_FORMKEY -

Data type: EPRINTPARAMS-FORMKEY
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for ISU_SAMPLE_R835

TX_EVER - IS-U Contract

Data type: IEEVER
Optional: No
Call by Reference: Yes

EXCEPTIONS details

ACTION_CANCELLED - Action canceled

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

ACTION_FAILED - Action Failed

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

BCONTACT_FAILED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for ISU_SAMPLE_R835 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:
lt_tx_ever  TYPE STANDARD TABLE OF IEEVER, "   
lv_x_langu  TYPE SY-LANGU, "   
lv_y_formkey  TYPE EPRINTPARAMS-FORMKEY, "   
lv_action_cancelled  TYPE EPRINTPARAMS, "   
lv_x_gpart  TYPE FKKOP-GPART, "   
lv_action_failed  TYPE FKKOP, "   
lv_x_vkont  TYPE FKKOP-VKONT, "   
lv_bcontact_failed  TYPE FKKOP, "   
lv_x_date  TYPE SYDATUM, "   SY-DATUM
lv_x_formkey  TYPE EPRINTPARAMS-FORMKEY, "   
lv_x_delayed_print  TYPE EPRINTPARAMS-DELAYED_PRINT, "   
lv_x_auswform  TYPE EAUS-AUSWFORM, "   
lv_x_reprint  TYPE REGEN-KENNZX. "   

  CALL FUNCTION 'ISU_SAMPLE_R835'  "Print Rate Change Letter in IS-U
    EXPORTING
         X_LANGU = lv_x_langu
         X_GPART = lv_x_gpart
         X_VKONT = lv_x_vkont
         X_DATE = lv_x_date
         X_FORMKEY = lv_x_formkey
         X_DELAYED_PRINT = lv_x_delayed_print
         X_AUSWFORM = lv_x_auswform
         X_REPRINT = lv_x_reprint
    IMPORTING
         Y_FORMKEY = lv_y_formkey
    TABLES
         TX_EVER = lt_tx_ever
    EXCEPTIONS
        ACTION_CANCELLED = 1
        ACTION_FAILED = 2
        BCONTACT_FAILED = 3
. " ISU_SAMPLE_R835




ABAP code using 7.40 inline data declarations to call FM ISU_SAMPLE_R835

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 LANGU FROM SY INTO @DATA(ld_x_langu).
 
"SELECT single FORMKEY FROM EPRINTPARAMS INTO @DATA(ld_y_formkey).
 
 
"SELECT single GPART FROM FKKOP INTO @DATA(ld_x_gpart).
 
 
"SELECT single VKONT FROM FKKOP INTO @DATA(ld_x_vkont).
 
 
DATA(ld_x_date) = SY-DATUM.
 
"SELECT single FORMKEY FROM EPRINTPARAMS INTO @DATA(ld_x_formkey).
 
"SELECT single DELAYED_PRINT FROM EPRINTPARAMS INTO @DATA(ld_x_delayed_print).
 
"SELECT single AUSWFORM FROM EAUS INTO @DATA(ld_x_auswform).
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_reprint).
 


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!