SAP BAPI_ISUMOVEOUT_CREATEFROMDATA Function Module for IS-U: BAPI for Move-Out Creation
BAPI_ISUMOVEOUT_CREATEFROMDATA is a standard bapi isumoveout createfromdata SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-U: BAPI for Move-Out Creation 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 bapi isumoveout createfromdata FM, simply by entering the name BAPI_ISUMOVEOUT_CREATEFROMDATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: EMOBAPIS
Program Name: SAPLEMOBAPIS
Main Program: SAPLEMOBAPIS
Appliation area: E
Release date: 21-Feb-2000
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_ISUMOVEOUT_CREATEFROMDATA 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 'BAPI_ISUMOVEOUT_CREATEFROMDATA'"IS-U: BAPI for Move-Out Creation.
EXPORTING
* MOVEOUTDATA = "General Data for Move-Out Creation
* MOVEOUTDATAX = "Indicator: Changed Data
* CONTACTDATA = "BAPI Structure for Business Partner Contact
* TESTRUN = "'X' --> Not Saved to Database
IMPORTING
RETURN = "Return in Case of Error
MOVEOUTDOCNUMBER = "Consecutive Number of Move-Out Document
TABLES
* TMOVEOUTCONTRACTDATA = "General Move-Out Data for BAPIs on Contract Level
* TMOVEOUTCONTRACTDATAX = "Indicator: Changed Data
* TMETERREADINGRESULTS = "BAPI Upload Structure for MR Document
IMPORTING Parameters details for BAPI_ISUMOVEOUT_CREATEFROMDATA
MOVEOUTDATA - General Data for Move-Out Creation
Data type: BAPIISUMOCRDOptional: Yes
Call by Reference: No ( called with pass by value option)
MOVEOUTDATAX - Indicator: Changed Data
Data type: BAPIISUMOCRDXOptional: Yes
Call by Reference: No ( called with pass by value option)
CONTACTDATA - BAPI Structure for Business Partner Contact
Data type: BAPIBCONTACTOptional: Yes
Call by Reference: No ( called with pass by value option)
TESTRUN - 'X' --> Not Saved to Database
Data type: BAPIBPPARA-TESTRUNOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BAPI_ISUMOVEOUT_CREATEFROMDATA
RETURN - Return in Case of Error
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
MOVEOUTDOCNUMBER - Consecutive Number of Move-Out Document
Data type: EAUS-AUSZBELEGOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BAPI_ISUMOVEOUT_CREATEFROMDATA
TMOVEOUTCONTRACTDATA - General Move-Out Data for BAPIs on Contract Level
Data type: BAPIISUMOVDOptional: Yes
Call by Reference: Yes
TMOVEOUTCONTRACTDATAX - Indicator: Changed Data
Data type: BAPIISUMOVDXOptional: Yes
Call by Reference: Yes
TMETERREADINGRESULTS - BAPI Upload Structure for MR Document
Data type: BAPIEABLUOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for BAPI_ISUMOVEOUT_CREATEFROMDATA 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_return | TYPE BAPIRET2, " | |||
| lv_moveoutdata | TYPE BAPIISUMOCRD, " | |||
| lt_tmoveoutcontractdata | TYPE STANDARD TABLE OF BAPIISUMOVD, " | |||
| lv_moveoutdatax | TYPE BAPIISUMOCRDX, " | |||
| lv_moveoutdocnumber | TYPE EAUS-AUSZBELEG, " | |||
| lt_tmoveoutcontractdatax | TYPE STANDARD TABLE OF BAPIISUMOVDX, " | |||
| lv_contactdata | TYPE BAPIBCONTACT, " | |||
| lt_tmeterreadingresults | TYPE STANDARD TABLE OF BAPIEABLU, " | |||
| lv_testrun | TYPE BAPIBPPARA-TESTRUN. " |
|   CALL FUNCTION 'BAPI_ISUMOVEOUT_CREATEFROMDATA' "IS-U: BAPI for Move-Out Creation |
| EXPORTING | ||
| MOVEOUTDATA | = lv_moveoutdata | |
| MOVEOUTDATAX | = lv_moveoutdatax | |
| CONTACTDATA | = lv_contactdata | |
| TESTRUN | = lv_testrun | |
| IMPORTING | ||
| RETURN | = lv_return | |
| MOVEOUTDOCNUMBER | = lv_moveoutdocnumber | |
| TABLES | ||
| TMOVEOUTCONTRACTDATA | = lt_tmoveoutcontractdata | |
| TMOVEOUTCONTRACTDATAX | = lt_tmoveoutcontractdatax | |
| TMETERREADINGRESULTS | = lt_tmeterreadingresults | |
| . " BAPI_ISUMOVEOUT_CREATEFROMDATA | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_ISUMOVEOUT_CREATEFROMDATA
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 AUSZBELEG FROM EAUS INTO @DATA(ld_moveoutdocnumber). | ||||
| "SELECT single TESTRUN FROM BAPIBPPARA INTO @DATA(ld_testrun). | ||||
Search for further information about these or an SAP related objects