Ansicht
Dokumentation

BAPI_RE_CN_CREATE - Create Real Estate Contract

BAPI_RE_CN_CREATE - Create Real Estate Contract

Fill RESBD Structure from EBP Component Structure   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Using this BAPI you can create a real estate contract in the system.

Transfer the company code in which the real estate contract should be created. Also transfer the contract type of the real estate contract.

If external number assignment is used, you also have to enter the number of the real estate contract to be created.

For the meanings of the other parameters, refer to the specific parameter documentation.

Example

DATA:
  ls_bapi_cn          TYPE bapi_re_contract_dat,
  ld_compcode         TYPE bapi_re_contract_key-comp_code,
  ld_contractnumber   TYPE bapi_re_contract_key-contract_number,
  lt_bapi_error       TYPE bapirettab,

* set text of CN
ls_bapi_cn-contract_text = 'Coffe Shops'.

CALL FUNCTION 'BAPI_RE_CN_CREATE'
  EXPORTING
    comp_code_ext              = '1000'
    contract_type              = '0010'
    contract_number_ext        = '1'
    contract                   = ls_bapi_cn
    test_run                   = 'X'
  IMPORTING
    compcode                   = ld_comp_code
    contractnumber             = ld_contractnumber
  TABLES
    return                     = lt_bapi_error.

Notes

Further information





Parameters

ACT_DEPOSIT
COMPCODE
COMP_CODE_EXT
CONDITION
CONTRACT
CONTRACTNUMBER
CONTRACT_NUMBER_EXT
CONTRACT_TYPE
COSETTLE_PARAM
COSETTLE_RULE
EXTENSION_IN
MEAS_CN
OBJECT_REL
OPTION_RATE
PARTNER
RESUBM_RULE
RETURN
STATUS
TERM_ADJUSTMENT
TERM_EVALUATION
TERM_EVALUATION_CONDITION
TERM_NOTICE
TERM_NOTICE_OBJ
TERM_NOTICE_RULE
TERM_OBJECT_REL
TERM_ORG_ASSIGNMENT
TERM_PAYMENT
TERM_PAYMENT_SPLIT
TERM_RENEWAL
TERM_RENEWAL_RULE
TERM_RHYTHM
TERM_SR_PEAK_SALES
TERM_SR_REPORTING
TERM_SR_RHYTHM
TERM_SR_SALES
TERM_WITHHOLDING_TAX
TERM_WITHHOLDING_TAX_ITEM
TEST_RUN
TRANS

Exceptions

Function Group

RECN_BAPI_CONTRACT

rdisp/max_wprun_time - Maximum work process run time   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 6555 Date: 20240523 Time: 172154     sap01-206 ( 44 ms )