SAP ISU_S_MOVE_IN_WLETTER_CREATE Function Module for INTERNAL: Create Welcome Letter in Move-In









ISU_S_MOVE_IN_WLETTER_CREATE is a standard isu s move in wletter create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for INTERNAL: Create Welcome Letter in Move-In 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 move in wletter create FM, simply by entering the name ISU_S_MOVE_IN_WLETTER_CREATE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_S_MOVE_IN_WLETTER_CREATE 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_MOVE_IN_WLETTER_CREATE'"INTERNAL: Create Welcome Letter in Move-In
EXPORTING
X_AUTOMATIC = "

IMPORTING
Y_WLETTER_CHANGED = "Indicator
Y_WLETTER_FAILED = "Indicator

CHANGING
XY_OBJ = "
XY_OBJP = "
XY_OBJA = "
XY_OBJS = "

TABLES
TXY_OBJC = "
TXY_OBJI = "
TXY_VERTRAG = "
TXY_CI = "

EXCEPTIONS
ACTION_CANCELLED = 1 ACTION_FAILED = 2 BCONTACT_FAILED = 3 WLETTER_NOT_DESIRED = 4 INTERNAL_ERROR = 5
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLEC50_001 IS-U move-in: dtermination of hedge amount and hedge reason
EXIT_SAPLEC50_002 IS-U Move-in: Check Data Environment in Init. Screen for Special Features
EXIT_SAPLEC50_003 IS-U Move-in: Determine Application Form for Welcome Letter
EXIT_SAPLEC50_004 IS-U Move-in: Determine Budget Billing Amount for a Contract
EXIT_SAPLEC50_005 IS-U move-in: customer-defined checks
EXIT_SAPLEC50_006 IS-U Move-in: Determination of Transfer Contract

IMPORTING Parameters details for ISU_S_MOVE_IN_WLETTER_CREATE

X_AUTOMATIC -

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

EXPORTING Parameters details for ISU_S_MOVE_IN_WLETTER_CREATE

Y_WLETTER_CHANGED - Indicator

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

Y_WLETTER_FAILED - Indicator

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

CHANGING Parameters details for ISU_S_MOVE_IN_WLETTER_CREATE

XY_OBJ -

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

XY_OBJP -

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

XY_OBJA -

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

XY_OBJS -

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

TABLES Parameters details for ISU_S_MOVE_IN_WLETTER_CREATE

TXY_OBJC -

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

TXY_OBJI -

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

TXY_VERTRAG -

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

TXY_CI -

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

EXCEPTIONS details

ACTION_CANCELLED -

Data type:
Optional: No
Call by Reference: Yes

ACTION_FAILED -

Data type:
Optional: No
Call by Reference: Yes

BCONTACT_FAILED -

Data type:
Optional: No
Call by Reference: Yes

WLETTER_NOT_DESIRED -

Data type:
Optional: No
Call by Reference: Yes

INTERNAL_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISU_S_MOVE_IN_WLETTER_CREATE 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 ISU06_MOVEIN, "   
lt_txy_objc  TYPE STANDARD TABLE OF ISU06_T_OBJC, "   
lv_x_automatic  TYPE REGEN-KENNZX, "   
lv_action_cancelled  TYPE REGEN, "   
lv_y_wletter_changed  TYPE REGEN-CHANGED, "   
lv_xy_objp  TYPE ISU06_PARTNER, "   
lt_txy_obji  TYPE STANDARD TABLE OF ISU06_T_OBJI, "   
lv_action_failed  TYPE ISU06_T_OBJI, "   
lv_y_wletter_failed  TYPE KENNZX, "   
lv_xy_obja  TYPE ISU03_ACCOUNT, "   
lt_txy_vertrag  TYPE STANDARD TABLE OF ISU06_MI_T_VERTRAG, "   
lv_bcontact_failed  TYPE ISU06_MI_T_VERTRAG, "   
lt_txy_ci  TYPE STANDARD TABLE OF ISU06_MI_T_CI, "   
lv_xy_objs  TYPE ISU06_OBJS, "   
lv_wletter_not_desired  TYPE ISU06_OBJS, "   
lv_internal_error  TYPE ISU06_OBJS. "   

  CALL FUNCTION 'ISU_S_MOVE_IN_WLETTER_CREATE'  "INTERNAL: Create Welcome Letter in Move-In
    EXPORTING
         X_AUTOMATIC = lv_x_automatic
    IMPORTING
         Y_WLETTER_CHANGED = lv_y_wletter_changed
         Y_WLETTER_FAILED = lv_y_wletter_failed
    CHANGING
         XY_OBJ = lv_xy_obj
         XY_OBJP = lv_xy_objp
         XY_OBJA = lv_xy_obja
         XY_OBJS = lv_xy_objs
    TABLES
         TXY_OBJC = lt_txy_objc
         TXY_OBJI = lt_txy_obji
         TXY_VERTRAG = lt_txy_vertrag
         TXY_CI = lt_txy_ci
    EXCEPTIONS
        ACTION_CANCELLED = 1
        ACTION_FAILED = 2
        BCONTACT_FAILED = 3
        WLETTER_NOT_DESIRED = 4
        INTERNAL_ERROR = 5
. " ISU_S_MOVE_IN_WLETTER_CREATE




ABAP code using 7.40 inline data declarations to call FM ISU_S_MOVE_IN_WLETTER_CREATE

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_x_automatic).
 
 
"SELECT single CHANGED FROM REGEN INTO @DATA(ld_y_wletter_changed).
 
 
 
 
 
 
 
 
 
 
 
 


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!