&FUNCTIONALITY&> You use this BAPI to create architectural objects in the system. Enter the type of architectural object and the ID of the superior object , if applicable. If you are using external number assignment, you mustalso specify the ID of the object you are creating. See the respective parameter documentation for an explanation of theother parameters.
Example DATA: ls_bapi_ao TYPE bapi_re_arch_object_dat, ld_archobjectid TYPE bapi_re_arch_object_key-arch_object_id, lt_bapi_error TYPE bapirettab, * set text of AO ls_bapi_ao-arch_object_text = 'Areal Frankfurt West'. CALL FUNCTION 'BAPI_RE_AO_CREATE' EXPORTING arch_object_type = 'AREA' * parent_arch_object_id = SPACE "Areal has no parent! arch_object_id_ext = 'AREAL 0001' arch_object_number_ext = '1' arch_object = ls_bapi_ao test_run = 'X' IMPORTING archobjectid = ld_archobjectid TABLES return = lt_bapi_error. INCLUDE BAPI_INFO1 OBJECT DOKU ID TX LANGUAGE EN Description Identification of the new architectural object. Only filled if the object is updated, which is the case when the importparameter TEST_RUN> is NOT set.Description Transfer data of architectural object for creating via BAPI. Description Number of architectural object See also Number of Architectural Object>. INCLUDE RECA_BAPI_PARAM_OPTIONAL OBJECT DOKU ID TX LANGUAGE EN If internal number assignment is used (set for each architecturalobject type on the superior node), the number is counted according tothe object type set in number assignment.Description Type of architectural object. See also Architectural object type>. INCLUDE RECA_BAPI_PARAM_REQUIRED OBJECT DOKU ID TX INCLUDE REBP_BAPI_ADDRESS_ADD OBJECT DOKU ID TX LANGUAGE DEDescription Superordinate object of the new architectural object. Each architectural object, apart from the superior objects in thehierarchy, has a superordinate object. This determines the position ofan architectural object in the object hierarchy. The object relationshipdefines the new object number. Consequently, you have to specify thesuperordinate object to allow unique number assignment. See also Higher-Level Architectural Object TypeDescription Code for the architectural object ID of the architectural object See AOID code>. The code does not have to be transferred, if, according to theCustomizing settings for this object, the code is automatically derivedfrom the number of the architectural object (and this number wasentered). INCLUDE RECA_BAPI_TEST_RUN OBJECT DOKU ID TX INCLUDE RECA_BAPI_TRANS OBJECT DOKU ID TX INCLUDE REBD_BAPI_ARCH_REL_ADD OBJECT DOKU ID TX INCLUDE REBD_BAPI_ARCH_RELMS_ADD OBJECT DOKU ID TX INCLUDE REBD_BAPI_CHARACT_ADD OBJECT DOKU ID TX INCLUDE RECA_BAPI_EXTENSION_IN OBJECT DOKU ID TX INCLUDE REBD_BAPI_INFRA_ADD OBJECT DOKU ID TX INCLUDE REBD_BAPI_MEASUREMENT_ADD OBJECT DOKU ID TX INCLUDE REBD_BAPI_NUMBER_RANGE_ADD OBJECT DOKU ID TX INCLUDE REBD_BAPI_OBJ_ASSIGN_ADD OBJECT DOKU ID TX INCLUDE REBP_BAPI_PARTNER_ADD OBJECT DOKU ID TX INCLUDE RECA_BAPI_RESUBM_RULE_ADD OBJECT DOKU ID TX INCLUDE RECA_BAPI_RETURN OBJECT DOKU ID TX INCLUDE RECA_BAPI_STATUS_ADD OBJECT DOKU ID TX INCLUDE RECA_BAPI_TEXT OBJECT DOKU ID TX |