Fonction SAP BAPI_CTRACCONTRACTACCOUNT_CHNG - BAPI: FI-CA Change Contract Account

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BUSINESSPARTNER BAPIFKKVKCI-BUSPARTNER C 10 Business Partner Number
CONTRACTACCOUNT BAPIFKKVK-CONT_ACCT C 12 Contract Account Number
CTRACDETAIL BAPIFKKVKI u 35 Partner-Independent Data
CTRACDETAILX BAPIFKKVKIX u 1 Changes to Partner-Independent Data

Paramètre Reférence Long. Facultatif Description
CTRACLOCKDETAIL BAPIFKKVKLOCKSI 87 X Lock on Contract Account
CTRACPARTNERDETAIL BAPIFKKVKPI 498 X Partner-Specific Data
CTRACPARTNERDETAILX BAPIFKKVKPIX 55 X Changes to Partner-Specific Data
RETURN BAPIRET2 548 Confirmations

Functionality
This method enables you to:

  • Change or add partners in the contract account.

  • Delete or add locks in the contract account.

  • The "Return" parameter can deliver multiple message numbers at the sametime.

    Notes
    User exit 9502 is called up, where additional data can be determined.

    Further information
    R/3 Documentation (Contract Account - Change).

    Description
    The business partner must already be assigned to the contract account.

    Description
    Number of contract account to be changed.

    Description
    General data on the account (valid for all parnters).

    Description
    Select the fields that were changed in the "CtrAcDetail" parameter.

    Description
    Data on process locks. This data is partner-specific. In "Change" mode,only 'PROCESSING_MODE' 01 (create) or 04 (delete) are permitted. The'LOCK_TYPE' '02' is valid for contract account.

    Description
    Partner-specific data for the account. Each line holds the data for onebusiness partner. The LINE_NUMBER field is the connectiong between thedata and the transfer rules. The transfer rules are contained in thechange structure, in which it is specified in every field whether datais transferred or not. New partners can also be assigned to thecontract account. In this case, the LINE_NUMBER field in the changestructure remains empty.

    Description
    Here, you need to mark the fields that were changed in the"CtrAcPartnerDetail" parameters. The connection is realized by usingthe "LINE_NUMBER" field.

    Description
    The return code of the function module. If a parameter contains nomessage code, the function module was successful. Since this parameteris a table, it can contain more than one return code at any one time.

    Value range
    The most important messages are as follows:
    E >BAPI 000 001 Formal error in change parameter
    E >BAPI 002 003 Formal error in other parameters
    E >3 001 601 Incorrect data on contract account
    E >3 080 ... 087 Incorrect data for locking