Condition records are generated in Pricefx from either Price List, Price Grid, Quote or Contract.
The condition record logic determines how these records are generated. There are already some default fields that SAP S/4HANA price condition API would need. Below shows the additional fields that are required in most common use cases. You should design your own set of condition record set based on your organisation’s needs.
|
Field |
Field type |
Remarks |
|---|---|---|
|
Condition type |
key |
One condition record set can stores conditions with different condition type. |
|
Condition table |
attribute |
One Pricefx condition record set represents one SAP S/4HANA condition table |
|
Calculation Type |
attribute |
required in SAP S/4HANA API |
|
Scale Basis |
attribute |
required in SAP S/4HANA API |
|
Scale |
attribute |
required in SAP S/4HANA API. default integration uses a pipeline delimited string like this: 1=48.25|10=38.25 |
|
Scale Type |
attritute |
required in SAP S/4HANA API |
|
Version |
key |
if you would like to store price condition history |
|
Customer |
key |
for common use cases in sales condition only |
|
Product |
key |
for common use cases only |
|
Sales organization |
key |
for sales condition only |
|
Distribution channel |
key |
for sales condition only |
|
Division |
key |
for sales condition only |
|
Source |
attribute |
can be added as remarks in SAP price condition and filter for fetching records in integration |
|
Source Item ID |
attribute |
can be added as remarks in SAP price condition and to identify a condition record instead of using a set of combined keys |
|
Transaction currency |
attribute |
required in SAP S/4HANA API |
|
Application |
attribute |
if you need both purchasing and sales condition records in the same table |
|
Info record category |
attribute |
for purchasing conditions only |
|
Purchasing organization |
key |
for purchasing conditions only |
|
Error Code |
attribute |
for storing results from SAP S/4HANA |
|
Free Text 1 |
attribute |
for storing results from SAP S/4HANA |
|
Free Text 2 |
attribute |
for storing results from SAP S/4HANA |
|
Free Text 3 |
attribute |
for storing results from SAP S/4HANA |
|
Condition record number |
attribute |
for storing results from SAP S/4HANA |