Ansicht
Dokumentation

VC_OPP_SD_INTEG - Configure Integration into Sales and Distribution Processing

VC_OPP_SD_INTEG - Configure Integration into Sales and Distribution Processing

Addresses (Business Address Services)   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you configure the integration of the promotion pricing service (PPS) into the sales order pricing. You can do this for each pricing procedure for PPS-based price calculation. For each condition type, you can define the elements of the PPS response that are to be mapped to the elements of the condition record, and the elements of the condition record that are to be mapped to the elements of the PPS request.

  • In Customizing activity Configure Connection to Promotion Pricing Service, you have defined an identifier for the PPS installation.
  • In Customizing activity Define Text Types, under Sales and Distribution> Basic Functions> Text Control, you have defined an identifier for the header text of the sales document that contains the response returned by the PPS.
This step is not mandatory. You only need to perform this step if you want to save the PPS response.
  • In Customizing acitvity Set Up Partner Determination, under Sales and Distribution> Basic Functions > Partner Determination, you have defined a partner function for the OPP plant and added this partner function to the partner function of the sales document header.
During the sales order maintenance, you have entered the customer number of the plant as partner function. The partner for the plant is added automatically to the sales document by standard SD means.
The OPP plant is used for PPS-based price calculation. For this plant, the service gets the regular prices and relevant OPP promotions from the central price and promotion repository.
You can skip this step, if you have an own implementation of BAdI Controlling of SD Integrationto determine the OPP plant.

  1. Determine the pricing procedures that use the PPS-based price calculation.
  2. For each pricing procedure, decide which condition types shall contribute to the PPS based price calculation and what they represent. In particular, this includes the regular price and various discount amounts as a result of applied promotions. In general, we recommend that you define the pricing procedure in such a way that as few calculations as possible are carried out, and that you leave the calculations to the PPS. Note that it is also possible to let the pricing procedure determine the regular sales price using standard access sequences for local condition tables, and leave only the calculation of discounts to the PPS.
  3. In view OPP SD Configuration, maintain the following for each pricing procedure:
  • The identifier for the PPS installation

  • The partner function for the OPP plant (optional)

  • The identifier for the sales order header text containing the PPS response (optional)

  • The indicator whether the price calculation is based on net or gross prices

  • The condition value formula if you are not using the standard formula 317 in your pricing procedure (optional)

  1. In view Condition Mapping, maintain the following for each pricing procedure and condition type:
  • The request target (the part of a PPS request which corresponds to the current condition type)

  • The response source (the part of a PPS response which corresponds to the current condition type)

  • The filter criterion and the filter value for the response source (optional)

You want to use the PPS-based price calculation to get regular prices and OPP promotions from the central price and promotion repository. You have made the following settings for this pricing procedure:

  • You have defined a partner function for the plant in the sales order
  • You have defined gross prices (including tax) as calculation base

Example 1

There are at most three OPP promotions that are active simultaneously, and you need to identify each discount separately.

In this case, you want to differentiate between percentage discount, absolute discount and discount price by assigning different condition types to these discount types. For this, you have defined fixed sequence numbers during the transformation of DDF offers into OPP promotions that determine the order in which these promotions are applied.

To make the required setting in this Customizing activity, do the following:

  1. Create an entry for the pricing procedure that you use in the sales order for PPS-based price calculation.
  2. Assign the identifier for the PPS installation, the partner function that is used for the determination of the OPP plant, and the identifier for the sales order header text used for saving the PPS response.
  3. You have assigned three condition types for each of the three discount types in your pricing procedure, all of them with a condition value formula assigned for PPS-based pricing, and with calculation type B.
  4. In view Condition Mapping, create an entry for each of the nine discount condition types.
  5. For the condition types of the discount amount derived from the percentage discount, choose Noneas request target and 0011 Discount Value of a Percentage Discount Promotionas response source.
  6. For the condition types provided for the absolute discount, choose Noneas request target and 0010 Discount Value of an Absolute Discount Promotion as response source.
  7. For the condition types of the discount amount derived from the discount price, choose None as request target and 0012 Discount Value of a Discount Price Promotion as response source.
  8. For each of the condition types mentioned above, choose Execution Sequence Number of the Applied Discountas filter criterion and assign the respective sequence number as filter.
  9. Create an entry for the condition type that contains the regular price for an item. Choose Regular Priceas request target and as response source. The filter for this condition type can be No restriction.

Example 2

You want to assign only the total discount amount per item to a condition type that has an account key assigned. However, for informational purposes, you want to display the following information:

  • The total discount amount resulting from all line item-related promotions
  • The discount amount resulting from a discount price promotion (there is at most one active)
  • The individual discount amounts resulting from mix-and-match promotions (there are at most 3 active)

To make the required setting in this Customizing activity, do the following:

  1. Create an entry for the pricing procedure that you use in the sales order for PPS-based price calculation.
  2. Assign the identifier for the PPS installation, the partner function that is used for the determination of the OPP plant, and the identifier for the sales order header text used for saving the PPS response.
  3. In the pricing procedure, add the following condition types (all of them having a condition value formula assigned for PPS-based price calculation):
  • REGP(Regular Price)

  • TDAM(Total Discount Amount), having an account key assigned, having calculation type B

  • TLID(Total Line Item Discount) as a statistical condition, having calculation type B

  • DPPD(Discount Price Promotion Discount) as a statistical condition, having calculation type B

  • MAM1, MAM2, MAM3(mix-and-match promotion discount 1, 2, 3) as a statistical condition, having calculation type B

  1. In view Condition Mapping, create an entry for each of the seven discount condition types.
  2. Create an entry for the condition type REGP. Choose Regular Priceas request target and as response source. The filter for this condition type can be No Restriction.
  3. For condition type TDAM, choose Noneas request target and 0030 Discount Value of Any Promotionas response source. As filter criterion, choose No Restriction.
  4. For condition type TLID, choose Noneas request target and 0003 Extended Discount Amountas response source. As filter criterion, choose No Restriction.
  5. For condition type DPPD, choose Noneas request target and 0012 Discount Value of a Discount Price Promotionas response source. As filter criterion, choose 0001 Occurrence Number Within Matching Discount Segments for Item. As filter value, enter 1.
  6. For condition type MAM1, choose Noneas request target and 0013 Discount Value of a Mix-And-Match Promotionas response source. As filter criterion, choose 0001 Occurrence Number Within Matching Discount Segments for Item. As filter value, enter 1.
  7. For condition type MAM2, make the same entries as for MAM1, but enter filter value 2.
  8. For condition type MAM3, make the same entries as for MAM1, but enter filter value 3.






ABAP Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 11886 Date: 20240523 Time: 182405     sap01-206 ( 178 ms )