Ansicht
Dokumentation

BAPI_RE_NOTICE_CREATE - Give Notice

BAPI_RE_NOTICE_CREATE - Give Notice

General Data in Customer Master   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
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

COMPCODE
CONTRACTNUMBER
NOTICE
NOTICE_OBJECT_REL
RETURN
TEST_RUN

Exceptions

Function Group

RECN_BAPI_NOTICE

ROGBILLS - Synchronize billing plans   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3220 Date: 20240523 Time: 161216     sap01-206 ( 27 ms )