SAP ISU_MIG_SP_MASTERDATA Function Module for Migration Module for Service Provider Header and Historical Data









ISU_MIG_SP_MASTERDATA is a standard isu mig sp masterdata SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Migration Module for Service Provider Header and Historical 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 mig sp masterdata FM, simply by entering the name ISU_MIG_SP_MASTERDATA into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_MIG_SP_MASTERDATA 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_MIG_SP_MASTERDATA'"Migration Module for Service Provider Header and Historical Data
EXPORTING
X_AUTO_HEADDATA = "Automation Data Service Provider
X_WMODE = "Processing Mode (1 = Display, 2 = Change, 3 = Create...)
X_RAISE_EXC = "Indicator

TABLES
* XT_AUTO_HISTDATA = "Service Provider Auto Historical Data
RETURN = "Return Parameter(s)
* XT_AUTO_SERVICE_DATA = "Service Provider Auto Header for Non-Billable Services

EXCEPTIONS
INVALID_WMODE = 1 NOT_FOUND = 2 INPUT_ERROR = 3 GENERAL_FAULT = 4
.



IMPORTING Parameters details for ISU_MIG_SP_MASTERDATA

X_AUTO_HEADDATA - Automation Data Service Provider

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

X_WMODE - Processing Mode (1 = Display, 2 = Change, 3 = Create...)

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

X_RAISE_EXC - Indicator

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

TABLES Parameters details for ISU_MIG_SP_MASTERDATA

XT_AUTO_HISTDATA - Service Provider Auto Historical Data

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

RETURN - Return Parameter(s)

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

XT_AUTO_SERVICE_DATA - Service Provider Auto Header for Non-Billable Services

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

EXCEPTIONS details

INVALID_WMODE -

Data type:
Optional: No
Call by Reference: Yes

NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

INPUT_ERROR -

Data type:
Optional: No
Call by Reference: Yes

GENERAL_FAULT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISU_MIG_SP_MASTERDATA 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_invalid_wmode  TYPE STRING, "   
lv_x_auto_headdata  TYPE EEDMIDESERVPROV_AUTO_HEADDATA, "   
lt_xt_auto_histdata  TYPE STANDARD TABLE OF EEDMIDESERVPROV_AUTO_HISTDATA, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_x_wmode  TYPE REGEN-WMODE, "   
lv_not_found  TYPE REGEN, "   
lv_input_error  TYPE REGEN, "   
lv_x_raise_exc  TYPE KENNZX, "   
lt_xt_auto_service_data  TYPE STANDARD TABLE OF EEDMIDESERVPROV_AUTO_SERVDATA, "   
lv_general_fault  TYPE EEDMIDESERVPROV_AUTO_SERVDATA. "   

  CALL FUNCTION 'ISU_MIG_SP_MASTERDATA'  "Migration Module for Service Provider Header and Historical Data
    EXPORTING
         X_AUTO_HEADDATA = lv_x_auto_headdata
         X_WMODE = lv_x_wmode
         X_RAISE_EXC = lv_x_raise_exc
    TABLES
         XT_AUTO_HISTDATA = lt_xt_auto_histdata
         RETURN = lt_return
         XT_AUTO_SERVICE_DATA = lt_xt_auto_service_data
    EXCEPTIONS
        INVALID_WMODE = 1
        NOT_FOUND = 2
        INPUT_ERROR = 3
        GENERAL_FAULT = 4
. " ISU_MIG_SP_MASTERDATA




ABAP code using 7.40 inline data declarations to call FM ISU_MIG_SP_MASTERDATA

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 WMODE FROM REGEN INTO @DATA(ld_x_wmode).
 
 
 
 
 
 


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!