Creating Beneficiary Contracts
You can create beneficiary contracts on a customer-specific user interface. For every newly created beneficiary account or master contract, the system automatically determines the pricing criteria from the corresponding master contract for the determination of pricing criteria and sets this data in the beneficiary contract.
Note the prerequisites described under Orchestration of the Interfaces for the Determination of Pricing Criteria .
Create beneficiary contract
If you wish to create a beneficiary account, call the BAPI BAPI_BCA_ACCOUNT_CREATE
.
If you wish to create a beneficiary master contract, call the BAPI BAPI_BCA_AP_CREATE
.
Read corresponding master contracts for the determination of pricing criteria
Call the BAPI BAPI_BCA_ACPOOL_GET_LIST
.
Read the pricing criteria with the BAPI BAPI_BCA_PRI_CRIT_DET_GETDETL
.
Set pricing criteria determined in beneficiary contracts
Call the BAPI BAPI_BCA_CN_PRI_CRES_CHANGE
.
Check the beneficiary account with the BAPI BAPI_BCA_ACCOUNT_CHECK
and the beneficiary master contract with the BAPI BAPI_BCA_AP_CHECK
.
Save the beneficiary account and the beneficiary master contract with the BAPI BAPI_BCA_ACCOUNTAM_SAVE_ALL
.
Execute, depending on the return values Commit
or Rollback
.
The system creates a new beneficiary contract in accordance with the entries on the selection screen. If the system finds one or more master contracts for the determination of pricing criteria for a beneficiary contract, the master contract for the determination of pricing criteria passes on its pricing criteria to the beneficiary contract.
Note
In a beneficiary contract, you can view the attributes for the pricing criteria determined and used , as well their origin:
For a beneficiary account contract in Account Management (FS-AM)
on the Pricing Criteria tab page
For a beneficiary master contract in Master Contract Management (FS-MCM)
on the Pricing Criteria tab page