Data Determination for Sales Deals
Use
A special data transfer technique is used for sales deal data determination. You enable this by assigning condition class H (sales deal determination) in the condition type.
The data used in the following example are provided in the standard system as example data.
Sales Deal Example
You want to determine one or more sales deals for customers within a customer group. You want to use these sales deals to determine material prices.
The following condition types must exist in the pricing procedure:
Conditions in the pricing procedure:
Condition type |
Condition class |
Access sequence |
Requirement |
PB1 (used for data determination) |
H |
PBD |
|
PB1D (used for data application) |
A |
PBUD |
062 (used for completing internal tables for several determined sales deals) |
(The standard system provides sales deal type PRB1, to which these condition types are assigned).
Data Determination
Condition type PB1 and access PBD are used to determine one or more sales deals.
You may want to determine several sales deals, since more than one may be relevant for the customer. In this case, you can not use the data determination methods using processing type C, as described above, because a condition with the same key can only occur once. Here, you can use data determination B, which marks a key field for data determination. This allows for several records with identical customer data but different sales deal numbers.
You specify data determination B for a field in the access of an access sequence.
Access Sequence for Data Determination:
Access sequence PBD with the following access:
Field |
Field description |
Processing type in access (field PType) |
KNUMA_AG |
Sales deal |
B (key field for data determination) |
This access reads the following condition record and determines sales deal numbers 01 and 02:
Condition record
For condition type PB1:
Sold-to party |
Sales deal |
|
0001 |
01 |
|
0001 |
02 |
Data application:
Condition type PB1D has access sequence PBUD, which contains the sales deal in its key:
Access sequence PBUD with the following access:
Document structure |
Document field |
Processing type in access (field AType) |
KOMP |
KNUMA_AG |
|
The following condition records are read using this access. Different discounts can now be granted, depending on where the sales deals apply.
Condition record for condition type PB1D:
Sales deal |
Material group |
Discount |
01 |
01 |
- 2,00 % |
02 |
01 |
- 3,00 % |