Functionality With this method, you can easily create a contract account based onsample values. You only need to enter a business partner, the contractaccount category you want and - for external number assignment - thecontract account category for the contract account. For all other data,the sample values defined for a contract account category inCustomizing are entered. You can also override the sample values with specific import data inthe interface. The parameter 'Return' can deliver several message numberssimultaneously. Notes Customer enhancement 9501 is called in which additional data can becalled. The method uses the concept of customer enhancements with 'BAPI TableExtensions', for which you can use structures 'BAPI_TE_FKKVKI' and'BAPI_TE_FKKVKPI' Description New contract account number that can be entered or generated. Description Basic data on the new contract account. If the field is empty, thecontract account number is generated. The business partner must beincluded in the parameter CTRACPARTNERDETAIL. Your current applicationarea must be 'APPL_AREA'. Description General data on account, valid for all partners. Description Standardized methods TestRun> Parameter.Description Data on process locks. This data is partner-dependent. In method Create>, only 'PROCESSING_MODE' 'I'(Insert) is allowed. For thecontract account, the valid mode is 'LOCK_TYPE' '02'.Description Partner-dependent data on account. Each line contains data on abusiness partner. Some account categories allow several businesspartners. One of which must be a partner of the account holder. Description Parameters for transferring user-defined data. This data isautomatically transferred to the user-defined enhancements of SAPtables in the 'BAPI Table Extensions'. Value range The following BAPI table extensions exist:
- BAPI_TE_FKKVKI für Struktur FKKVK_S_DI
- BAPI_TE_FKKVKPI für Struktur FKKVKP_S_DI
For further information, see the documentation on the structureBAPIPAREX.Description The return code of method. If the parameter does not contain anynotification code, the method was successful. As the parameter is atable, it can contain several return codes simultaneously. Value range The most important messages are: E >BAPI 009 010 Formal errors in the lock table E >3 012 014 Incorrect data on the new contract account E >3 080 ... 087 Incorrect data on locks
|