Use
There is a special data transporter for the sales deal, which you can use by assigning the condition class H (determining sales deal) in the condition type.
The data used in the following example is available in the standard system as an example.
Sales Deal Example
For customers in a customer group, one or more sales deals can be determined. Using the sales deals, prices for materials can be determined.
For this, the following condition types must be available in the pricing procedure:
Conditions in the pricing procedure:
Condition type | Condition class | Access sequence | Requirement |
PB1 (for data determination) | H | PBD | |
PB1D (for data determination) | A | PBUD | 062 (for several sales deals when filling out an internal table) |
In the standard system, there is the sales deal type PRB1, to which the condition types are assigned.
Data determination
The condition type PB1 determines one or more sales deals using the access PBD.
You may want to determine more than one sales deal, as more than one may be relevant to a customer. in this case data determination in its previous form using processing type C can not be used, because a condition with the same key can only occur once. Data determination B is however available. This identifies a key field as data field determination. This means there can be several records with identical customer but different sales deal numbers.
Enter data determination type B for a field in an access of an access sequence.
Access sequence for data determination:
Access sequence PBD with following access:
Field | Field description | Processing type in access (field AType) |
KNUMA_AG | Sales deal | B (key field for data determination) |
Using this access the following condition record is read and the sales deal number 01 and 02 are determined.
Condition record.
For condition type PB1:
Sold-to party | Sales deal | |
0001 | 01 | |
0001 | 02 |
Data Use
The condition type PB1D has the access sequence PBUD, which has the sales deal in the key.
Access sequence PBD with following access:
Document structure | Document field | Processing type in access (field AType) |
KOMP | KNUMA_AG |
|
Using this access the following condition records can be read, Different discounts can be offered, according to how different sales deals are used.
Condition record for condition type PB1D:
Sales deal | Material group | Discount |
01 | 01 | - 2,00 % |
02 | 01 | - 3,00 % |
No comments:
Post a Comment