Ansicht
Dokumentation
BAPI_RE_CG_CREATE - Create Comparative Group
RFUMSV00 - Advance Return for Tax on Sales/Purchases General Data in Customer MasterThis documentation is copyright by SAP AG.
Functionality
You can use this BAPI to create business entities in the system.
Transfer the company code in which the business entity should be created. If external number assignment is used, you also have to enter the number of the business entity to be created.
For the meanings of the other parameters, refer to the specific parameter documentation.
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
COMPAREGROUPNUMBERCOMPCODE
COMP_CODE_EXT
COMP_GRP
COMP_GRP_NUMBER_EXT
EXTENSION_IN
OBJECT_REL
RESUBM_RULE
RETURN
STATUS
TEST_RUN
TRANS
Exceptions
Function Group
REAJ_BAPI_COMP_GRPPERFORM Short Reference Vendor Master (General Section)
This documentation is copyright by SAP AG.
Length: 3636 Date: 20240523 Time: 183559 sap01-206 ( 26 ms )