Ansicht
Dokumentation

BAPI_RE_BU_CREATE - Create Building

BAPI_RE_BU_CREATE - Create Building

ROGBILLS - Synchronize billing plans   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This BAPI allows you to create buildings in the system.

Transfer the company code and the business entity in which the building is to be created. If numbers are issued externally, you have to specify the number of the building to be created.

See the relevant parameter documentation for the meaning of the other parameters.

Example

DATA:
  ls_bapi_bu              TYPE bapi_re_building_dat,
  ld_compcode             TYPE bapi_re_building_key-comp_code,
  ld_businessentitynumber TYPE bapi_re_building_key-business_entity_number,
  ld_buildingnumber       TYPE bapi_re_building_key-building_number,
  lt_bapi_error           TYPE bapirettab,

* set text of BU
ls_bapi_bu-building_text = 'Airport Building'.

CALL FUNCTION 'BAPI_RE_BU_CREATE'
  EXPORTING
    comp_code_ext              = '1000'
    business_entity_number_ext = '1'
    building_number_ext        = '1'
    building                   = ls_bapi_bu
    test_run                   = 'X'
  IMPORTING
    compcode                   = ld_comp_code
    businessentitynumber       = ld_businessentitynumber
    buildingnumber             = ld_buildingnumber
  TABLES
    return                     = lt_bapi_error.

Notes

Further information





Parameters

ARCH_REL
ARCH_RELMS
BUILDING
BUILDINGNUMBER
BUILDING_NUMBER_EXT
BUSINESSENTITYNUMBER
BUSINESS_ENTITY_NUMBER_EXT
CHARACT
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_BUILDING

Fill RESBD Structure from EBP Component Structure   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 5378 Date: 20240523 Time: 181848     sap01-206 ( 35 ms )