Fonction SAP BAPI_ISUACCOUNT_CREATEFROMDATA - BAPI for creating a contract account

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CONTRACTACCOUNT BAPICAPARA-ACCOUNT C 12 X Contract Account Number
CONTRACTACCOUNTCATEGORY BAPICAPARA-CONTR_ACC_CATG C 2 Contract Account Category
PARTNER BAPIBPPARA-PARTNER C 10 Number of Business Partner
TESTRUN BAPIBPPARA-TESTRUN C 1 X 'X' --> Not Saved to Database

Paramètre Reférence Type Long. Description
CONTRACT_ACCOUNT BAPICAPARA-ACCOUNT C 12 Contract Account Number
RETURN BAPIRET2 u 548 Return in Case of Error

Paramètre Reférence Long. Facultatif Description
EXTENSIONIN BAPIPAREX 990 X Reference Structure for BAPI Parameters ExtensionIn/ExtensionOut
TCONTRACTACCOUNTDATA BAPIISUVKP 689 Contract Account Data
TCTRACLOCKDETAIL BAPIFKKVKLOCKSI 87 X

Functionality
The contract account with key CONTRACT_ACCOUNT and PARTNER is createdusing data inherited in the parameter CONTRACT_ACCOUNT_DATA. If thecontract account number is not inherited, an number is assignedinternally.

Notes
At present customer-specific fields cannot be modified as there is nocustomer-exit.
Only one contract account can be edited at a time in a logical unit(closed by a commit). Furthermore a business partner cannot be editedparallel to a contract account in the same logical unit.

Description
If the parameter is not initial then a message is generated

Value range
The most frequent erro messages are:
A896(E9) Parameters incorrectly transferred
E014(>3) Contract account X already exists
E169(E9) External address for business partner not found
E882(B1) ISO-Code not allocated to a currency key
E886(B1) ISO-Code not allocated to a language key
However, various other error messages can occur when you check data.

Description
Table extension BAPI_TE_FKKVK is supported for table FKKVK andBAPI_TE_FKKVKP is supported for table FKKVKP.

Description
When you create a new contract account, the following parameters arerequired:

  • RESP_COMP_CODE

  • DUNNING_PROC

  • RELSHIP_PARTNER

  • TOLERANCE_GROUP

  • TERMS_OF_PAYMENT

  • SETTLE_CAT_CL_ENTRIES

  • ACCOUNT_DETERM_ID

  • APPL_FORM

  • LANGU_ACC

732730Contract account BAPI does not process standard company code