Ansicht
Dokumentation

BAPI_RE_AO_CREATE - Create Architectural Object

BAPI_RE_AO_CREATE - Create Architectural Object

ABAP Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

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 must also specify the ID of the object you are creating.

See the respective parameter documentation for an explanation of the other 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.

Notes

Further information

For more information, see the SAP Library under Cross-Application Components -> Business Framework Architecture (CA-BFA) -> BAPI Programming Guide.





Parameters

AO_FUNCTION
ARCHOBJECTID
ARCH_OBJECT
ARCH_OBJECT_NUMBER_EXT
ARCH_OBJECT_TYPE
ARCH_REL
ARCH_RELMS
CHARACT
EXTENSION_IN
INFRASTRUCTURE
MEASUREMENT
NUMBER_RANGE
OBJECT_ADDRESS
OBJ_ASSIGN
PARENT_ARCH_OBJECT_ID
PARTNER
PART_ARCH_OBJECT_ID_EXT
RESUBM_RULE
RETURN
STATUS
TEST_RUN
TEXT
TRANS

Exceptions

Function Group

REBD_BAPI_ARCH_OBJECT

BAL_S_LOG - Application Log: Log header data   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 4625 Date: 20240523 Time: 183811     sap01-206 ( 42 ms )