Ansicht
Dokumentation

BAPI_RE_BE_CREATE - Create Business Entity

BAPI_RE_BE_CREATE - Create Business Entity

rdisp/max_wprun_time - Maximum work process run time   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Use this BAPI tp create business entities in the system.

Check the company code in which the BE is to be created. If you use external number assignment, you have to specify the number of the new business entity.

Refer to the respective parameter documentation for the meaning of the other parameters.

Example

DATA:
  ls_bapi_be              TYPE bapi_re_bus_entity_dat,
  ld_compcode             TYPE bapi_re_bus_entity_key-comp_code,
  ld_businessentitynumber TYPE bapi_re_bus_entity_key-business_entity,
  lt_bapi_error           TYPE bapirettab,

* set text of BE
ls_bapi_be-business_entity_text = 'Frankfurt West'.

CALL FUNCTION 'BAPI_RE_BE_CREATE'
  EXPORTING
    comp_code_ext              = '1000'
    business_entity_number_ext = '1'
    bus_entity                 = ls_bapi_be
    test_run                   = 'X'
  IMPORTING
    compcode                   = ld_comp_code
    businessentitynumber       = ld_businessentitynumber
  TABLES
    return                     = lt_bapi_error.

Notes

Further information





Parameters

ARCH_REL
ARCH_RELMS
BUSINESSENTITYNUMBER
BUSINESS_ENTITY_NUMBER_EXT
BUS_ENTITY
COMPCODE
COMP_CODE_EXT
COSETTLE_PARAM
COSETTLE_RULE
EXTENSION_IN
INFRASTRUCTURE
MEASUREMENT
OBJECT_ADDRESS
OBJ_ASSIGN
OPTION_RATE
PARTNER
RESUBM_RULE
RETURN
STATUS
TERM_ORG_ASSIGNMENT
TEST_RUN
TRANS

Exceptions

Function Group

REBD_BAPI_BUS_ENTITY

PERFORM Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 4670 Date: 20240523 Time: 163835     sap01-206 ( 31 ms )