Fonction SAP BAPI_CMS_RE_CREATE - BAPI : Real estate object - Create

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADDRESS_DATA BAPICMS_STR_OMS_ADDR_CRT u 1280 X BAPI : Address details
ADMIN_DATA BAPICMS_STR_OMS_ORGUNIT_CRT u 66 X BAPI : Organizational Units and Bank area.
LAND_REGISTER_A BAPICMS_RE_STR_LR_DE_A_CRT u 38 X BAPI : Land register section A data
LAND_REGISTER_SEMANTICS BAPICMS_RE_STR_LR_DE_SKY_CRT u 80 X BAPI : Semantic key for Land register
MAINOBJECT_DATA BAPICMS_RE_STR_OBJ_MAIN_CRT u 1296 X BAPI : Structure for RE : Main Object details
PROCESSEXTENSION BAPI_CMS_STR_CENTRAL-PROCESSEXTENSION C 1 X Flag: Execute Customer Extensions (BAdIs) in BAPI
REALESTATE_DATA BAPICMS_RE_STR_OBJ_HDR_CRT u 363 X BAPI : Structure for Real Estate Object Header
REAL_ESTATE_TYPE BAPICMS_STR_RE_PKY_SKY-TYPE C 6 Real Estate Object Type ID
TESTRUN BAPI_CMS_STR_CENTRAL-TESTRUN C 1 X Switch to Simulation Session for Write BAPIs

Paramètre Reférence Type Long. Description
LAND_REGISTER_SEMANTIC_KEYS BAPICMS_STR_LR_DE_SKY u 80 BAPI : Semantic key for Land register
REALESTATE_IDENTIFIER BAPICMS_RE_STR_IDENTIFIER_GET-RE_IDENTIFIER C 32 BAPI : Create : Real estate - primary key & semantic key
REALESTATE_KEYS BAPICMS_STR_RE_PKY_SKY u 32 BAPI : Create : Real estate - primary key & semantic key

Paramètre Reférence Long. Facultatif Description
EXTENSIONIN BAPIPAREX 990 X Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
EXTENSIONOUT BAPIPAREX 990 X Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
LAND_REGISTER_2 BAPICMS_RE_STR_LR_DE_2_CRT 126 X BAPI : Land register Section 2 data
LAND_REGISTER_B BAPICMS_RE_STR_LR_DE_B_CRT 147 X BAPI : Land Register - Structure for Section B
MAINOBJECT_ACCESSORIES_DATA BAPICMS_RE_STR_MOBJ_ACS_CRT 168 X BAPI : Structure for Accessory
MAINOBJECT_BUSINESS_PARTNERS BAPICMS_RE_STR_MOBJ_BP_CRT 64 X BAPI : Structure for RE - BP
MAINOBJECT_COST_DATA BAPICMS_RE_STR_MOBJ_CST_CRT 120 X BAPI : Real estate object Cost details
MAINOBJECT_DOCUMENTS BAPICMS_RE_STR_MOBJ_DOC_CRT 100 X BAPI : Real estate part Doc
MAINOBJECT_VALUE_DATA BAPICMS_RE_STR_MOBJ_VAL_CRT 80 X BAPI : Structure for RE : Valuation
NOTES BAPICMS_STR_MOV_NOTES_CRT 162 X BAPI : Structure for Notes created on Movables
OBJECT_INSURANCE_DATA BAPICMS_STR_MOV_INS_CRT 318 X BAPI : Structure for Insurance Data details
OBJECT_INSURANCE_DOCUMENTS BAPICMS_STR_MOV_INS_DOC_CRT 118 X BAPI : Structure for Insurance Document Service Link
OBJECT_INSURANCE_PARTNERS BAPICMS_STR_MOV_INS_BP_CRT 58 X BAPI : Structure for Business Partner Link for Insurance
PARTS_ACCESSORIES_DATA BAPICMS_RE_STR_PRT_ACS_CRT 368 X BAPI : Structure for Real Estate Part Accessories
PARTS_BUSINESS_PARTNERS BAPICMS_RE_STR_PRT_BP_CRT 72 X BAPI : Real estate part BP
PARTS_COST_DATA BAPICMS_RE_STR_PRT_CST_CRT 130 X BAPI : Real estate part cost
PARTS_DATA BAPICMS_RE_STR_OBJ_PRT_CRT 1400 X BAPI : Structure for Real Estate Part - Create
PARTS_DOCUMENTS BAPICMS_RE_STR_PRT_DOC_CRT 110 X BAPI : Real estate part Doc
PARTS_VALUE_DATA BAPICMS_RE_STR_PRT_VAL_CRT 90 X BAPI : Real estate part value
RETURN BAPIRET2 548 X Return Parameter
SYSTEM_STATUS BAPICMS_STR_MOV_SYS_STAT_CRT 5 X System status
USER_STATUS BAPICMS_STR_USR_STAT 5 X User status

Functionality
Use this method to create a real estate object.
You can use the import parameters to provide information for the realestate object. You use tables to enter your data for the real estateobject object including data for the assigned business partners anddocuments and the notes and calculated values.
This method returns the semantic key of the real estate object (ID) andthe real estate object type along with a table of return codes.

Description
This parameter contains the unique identification assigned to a landregister record. This internal identification is a combination of theland register district court, sub-district, the volume and page numberof the land registry entry.

Description
This parameter exports the unique identification of a real estateobject.

Description
This parameter passes the unique semantic identifier assigned to thenewly created real estate object. These are:
Real Estate ID
Real Estate Type
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This parameter must be implemented to create a new real estate object.Mandatory values to be passed are:
Address id
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This parameter must be implemented to create a new real estate object.Mandatory values to be passed are:
Administration organizational unit
Bank area
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This parameter contains the basic details of a land register entry suchas the land register type and the reference identification.

Description
Unique identification assigned to a land register entry. The semanticidentification for a land register is a combination of the followingdetails:

  • Land register district court

  • Land register sub-district

  • Volume number of the land register entry

  • Page number of the land register entry
  • Description
    This parameter contains all the details of a real esate object exceptthe business partner, documents, insurance and parts details.

    Description
    Use this parameter to specify specify whether the details specified bythe Customers in a Business Add-In of this method, must be retrieved.
    You will find information on the meaning of the parameter in thedocumentation for the data element Execute Extension(s)(BAdI).

    Value range
    X = Yes: In general the planned customer extensions should be executed.

    Description
    This parameter contains the header details for a real estate object.These include the real estate type, measurement bases and the internalstatus of the real estate object.
    This parameter is mandatory to create a new real estate object.
    You can define real estate object types and other essential attributes(including certain default values) in the IMG activity Define RealEstate Object Types.

    Description
    If this parameter is set, the method will only be executed in the testrun. All checks are then carried out, without an entry being made in thedatabase.
    This is used for write BAPIs to check the entries for the objectinstance in the database before actually creating the instance. Theobject instance is not actually created, merely simulated, and the datais not written to the database (updated).

    Value range
    ' ' (no value)
    No value means that the database is updated. This is the default settingand corresponds to the expectations of the calling program.
    'X'
    This value means that the BAPI is called in simulation mode and that nodata is written to the database.

    Description
    You can use this parameter to transfer user-specific enhancments to aBAPI. The customer has to complete the EXTENSION structure and thesystem automatically continues processing it. If you have not definedany user-specific fields, then you can transfer a blank EXTENSIONINstructure.

    Default

    Further information
    You can find more information in the BAPI programming guide in thechapter for enhancements to BAPIs.

    Description
    You can use this parameter to transfer user-specific enhancments to aBAPI. The customer has to complete the EXTENSION structure and thesystem automatically continues processing it. If you have not definedany user-specific fields, then you can transfer a blank EXTENSIONINstructure.

    Default

    Further information
    You can find more information in the BAPI programming guide in thechapter for enhancements to BAPIs.

    Description
    This parameter contains the charge-specific details for the landregister assigned to the real estate object.

    Description
    This parameter contains the location specific details for the landregister assigned to a real estate object.

    Description
    This parameter contains the real estate object accessories.
    Note: For more information on the individual parameter fields,see the data element documentation in the ABAP Dictionary.

    Description
    This table contains the values for the business partners assigned to theobjects. The mandatory values include the business partneridentification and the business partner function.
    Note: For more information on the individual parameter fields,see the data element documentation in the ABAP Dictionary.

    Description
    This parameter contains the values data of the object. Atleast thefollowing values must be transfered :

    • Cost type

    • Cost description

    • Cost amount

    • Cost currency

    • Note: For more information on the individual parameter fields,see the data element documentation in the ABAP Dictionary.

      Description
      This table contains the values for the documents relevant to theobjects. The mandatory values include the document referenceidentification and the document type.
      Note: For more information on the individual parameter fields,see the data element documentation in the ABAP Dictionary.

      Description
      This parameter contains the values data of the object. Atleast thefollowing values must be transfered :

      • Value type

      • Calculated value

      • Entered value

      • Note: For more information on the individual parameter fields,see the data element documentation in the ABAP Dictionary.

        Description
        This table contains the details of the notes created for the real estateobject. These details are transfered only if you have checked the flagFLAG_NOTES while determining the scope for the import parameters.

        Description
        This parameter contains the insurance data for the real estate object.The following values may be entered:

        • Insurance type

        • Insurance identification

        • Insurance description

        • Note: For more information on the individual parameter fields,see the data element documentation in the ABAP Dictionary.

          Description
          This parameter contains the insurance documents for the real estateobject. The following values may be entered:

          • Insurance identification

          • Documents identification

          • Documents type

          • Note: For more information on the individual parameter fields,see the data element documentation in the ABAP Dictionary.

            Description
            This parameter contains the insurance partners for the real estateobject. The following values may be entered:

            • Insurance identification

            • Business partner identification

            • Business partner function

            • Note: For more information on the individual parameter fields,see the data element documentation in the ABAP Dictionary.

              Description
              This parameter contains the real estate-part accessories.
              Note: For more information on the individual parameter fields,see the data element documentation in the ABAP Dictionary.

              Description
              This table contains the values for the business partners assigned to theobject parts. The mandatory values are:

              • Part ID

              • Business partner identification

              • Business partner function

              • Note: For more information on the individual parameter fields,see the data element documentation in the ABAP Dictionary.

                Description
                This parameter contains the values data of the object parts. Atleast thefollowing values must be transfered :

                • Cost type

                • Cost description

                • Cost amount

                • Cost currency

                • Note: For more information on the individual parameter fields,see the data element documentation in the ABAP Dictionary.

                  Description
                  This parameter contains the data specific to the parts of the movablesobject. The following data may be transfered for the parts :

                  • Part identification

                  • Part type

                  • Description

                  • Note: For more information on the individual parameter fields,see the data element documentation in the ABAP Dictionary.

                    Description
                    This table contains the values for the documents assigned to the objectparts. The mandatory values are:

                    • Part ID

                    • Document identification

                    • Document type

                    • Note: For more information on the individual parameter fields,see the data element documentation in the ABAP Dictionary.

                      Description
                      This parameter contains the values data of the object parts. Atleast thefollowing values must be transfered :

                      • Part ID

                      • Value type

                      • Calculated value

                      • Entered value

                      • Note: For more information on the individual parameter fields,see the data element documentation in the ABAP Dictionary.

                        Description
                        This table contains all the return messages (including the errormessages for plausibility checks ) from the method call.

                        Description
                        This parameter contains the details of the internal status of the realestate object. These are:

                        • Real estate GUID (internal technical key)

                        • System status

                        • Name of the system status

                        • The details of the system status are transfered only if you have checkedthe flag FLAG_SYSTEM_STATUS when determining the scope of the importparameters.
                          Value range
                          The following system statuses are possible for real estate objects :
                          • Created

                          • Active

                          • Inactive

                          • Legally active

                          • Calculation relevant

                          • Note : Only the following combinations of system statuses areallowed:
                            Created + Calculation relevant
                            Active + Calculation relevant
                            Inactive + Calculation relevant
                            Legally active + Calculation relevant
                            If you want to set the system status to Calculation relevant,then in the Implementation Guide (IMG) Customizing, you must explicityset the status to a combination of a system status with calculationrelevant.
                            Note : Internal plausibility checks are defined to validate theinput data before a system status is set for a real estate object.
                            Default
                            By default, all new real estate objects assume the status Created
                            .