SAP BAPI_ISUPROP_CREATEFROMDATA Function Module for IS-I: BAPI for Creating an Owner Allocation









BAPI_ISUPROP_CREATEFROMDATA is a standard bapi isuprop 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-I: BAPI for Creating an Owner Allocation 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 isuprop createfromdata FM, simply by entering the name BAPI_ISUPROP_CREATEFROMDATA into the relevant SAP transaction such as SE37 or SE38.

Function Group: EPROPBAPIS
Program Name: SAPLEPROPBAPIS
Main Program: SAPLEPROPBAPIS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPI_ISUPROP_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_ISUPROP_CREATEFROMDATA'"IS-I: BAPI for Creating an Owner Allocation
EXPORTING
* PROPERTY = "Current Number of Property
KEYDATE = "Key Date for Owner Allocation
PROPERTYDATA = "BAPI: Transfer Structure for Property Data
* PRORATE = "Indicator: Restrict Existing Owner Allocations
* TESTRUN = "Indicators

IMPORTING
PROPERTY_NUMBER = "Current Number of Property

TABLES
INSTALLATIONS = "BAPI Structure for Installations Belonging to Property
* RETURN = "Return Parameters
.



IMPORTING Parameters details for BAPI_ISUPROP_CREATEFROMDATA

PROPERTY - Current Number of Property

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

KEYDATE - Key Date for Owner Allocation

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

PROPERTYDATA - BAPI: Transfer Structure for Property Data

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

PRORATE - Indicator: Restrict Existing Owner Allocations

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

TESTRUN - Indicators

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

EXPORTING Parameters details for BAPI_ISUPROP_CREATEFROMDATA

PROPERTY_NUMBER - Current Number of Property

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

TABLES Parameters details for BAPI_ISUPROP_CREATEFROMDATA

INSTALLATIONS - BAPI Structure for Installations Belonging to Property

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

RETURN - Return Parameters

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

Copy and paste ABAP code example for BAPI_ISUPROP_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_property  TYPE BAPIISUPROPPARA-PROPERTY, "   
lt_installations  TYPE STANDARD TABLE OF BAPIISUPROPINSTLN, "   
lv_property_number  TYPE BAPIISUPROPPARA-PROPERTY, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_keydate  TYPE BAPIISUPROPPARA-KEYDATE, "   
lv_propertydata  TYPE BAPIISUPROPERTY, "   
lv_prorate  TYPE BAPIISUPROPPARA-PRORATE, "   
lv_testrun  TYPE BAPIISUPROPPARA-TESTRUN. "   

  CALL FUNCTION 'BAPI_ISUPROP_CREATEFROMDATA'  "IS-I: BAPI for Creating an Owner Allocation
    EXPORTING
         PROPERTY = lv_property
         KEYDATE = lv_keydate
         PROPERTYDATA = lv_propertydata
         PRORATE = lv_prorate
         TESTRUN = lv_testrun
    IMPORTING
         PROPERTY_NUMBER = lv_property_number
    TABLES
         INSTALLATIONS = lt_installations
         RETURN = lt_return
. " BAPI_ISUPROP_CREATEFROMDATA




ABAP code using 7.40 inline data declarations to call FM BAPI_ISUPROP_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 PROPERTY FROM BAPIISUPROPPARA INTO @DATA(ld_property).
 
 
"SELECT single PROPERTY FROM BAPIISUPROPPARA INTO @DATA(ld_property_number).
 
 
"SELECT single KEYDATE FROM BAPIISUPROPPARA INTO @DATA(ld_keydate).
 
 
"SELECT single PRORATE FROM BAPIISUPROPPARA INTO @DATA(ld_prorate).
 
"SELECT single TESTRUN FROM BAPIISUPROPPARA INTO @DATA(ld_testrun).
 


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!