Ansicht
Dokumentation

BAPI_RE_SALES_REP_REPORT - Enter Sales Reports

BAPI_RE_SALES_REP_REPORT - Enter Sales Reports

rdisp/max_wprun_time - Maximum work process run time   General Data in Customer Master  
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
RETURN
SALES_REP
TEST_RUN

Exceptions

Function Group

RESR_BAPI_SALES_REP

ABAP Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 3113 Date: 20240523 Time: 153041     sap01-206 ( 24 ms )