Creating MCs for the Determination of Pricing Criteria
You can create and change master contracts for the determination of master contracts on a customer-specific user interface. For every newly created or changed master contract for the determination of pricing criteria, the system automatically determines all beneficiary accounts and master contracts and the sets the pricing criteria on the beneficiary contract.
Note the prerequisites described under Orchestration of the Interfaces for the Determination of Pricing Criteria .
Create master contract for the determination of pricing criteria
Call the BAPI BAPI_BCA_AP_CREATE
.
Set the possible changes with the BAPI BAPI_BCA_PRI_CRIT_CHANGE
.
Set another business partner with the BAPI BAPI_BCA_BUPA_CHANGE_2
.
Check the master contract for the determination of pricing criteria with the BAPI BAPI_BCA_AP_CHECK
.
Save the master contract for the determination of pricing criteria with the BAPI BAPI_BCA_ACCOUNTAM_SAVE_ALL
.
Execute, depending on the return values Commit
or Rollback
.
Update beneficiary contracts
Call the RFC /FSPAC/PCP_IN_SET_PRICRIT
.
The system creates a new master contract for the determination of pricing criteria according to the entries on the selection screen. If the system finds one or more beneficiary contracts for a master contract for the determination of pricing criteria, it sets the pricing criteria on the beneficiary contracts.
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