Ansicht
Dokumentation

SALES_PRICE_READ - NOTRANSL: Ermittlung des Verkaufspreises aus den Stammkonditionen

SALES_PRICE_READ - NOTRANSL: Ermittlung des Verkaufspreises aus den Stammkonditionen

ROGBILLS - Synchronize billing plans   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this function module for determining sales prices (sales conditions) from the master conditions. The import structure PI_I_SPR contains the information, for which material and for which organizational level the sales prices should be determined. The export structure PESPR transfers data from the import structure, in part supplemented on the basis of a check of the organizational structure. In addition, the structure contains information on the sales price conditions found.

The following items are also exported: communication structures KOMK and KOMP, which were filled for the pricing; a table with the condition records that were found (PE_T_KOMV), and a table with information on supplementary conditions for the main condition types (PE_T_LIFE).

In parallel to the export structures and tables, the system fills corresponding global tables for Function Group WVKC.

Example

Function Module Flow

  • Entry in PI_I_SPR: Material = R100001, Plant = R310, Sales UoM = ST, Pricing Date = 1.1.2003, Quantity = 1. Transfer to I_PISPR.
  • The checks of the organizational structures supplement the following: Sales Organization = R300, Distribution Channel = R1 as the distribution chain for plant R310.
  • Division is supplemented: R1; Sales procedure is determined: VKP001
  • Communication structures are filled: I_KOMK, I_KOMP
  • Conditions are read via the pricing (Function Module PRICING)
  • Export structures and tables are filled

Notes

Further information

See documentation for structure PISPR.





Parameters

PE_I_KOMK
PE_I_KOMP
PE_I_SPR
PE_T_KOMV
PE_T_LIFE
PE_T_SCALE
PI_I_SPR
PI_USE_BUFFER

Exceptions

CALCULATION_SCHEME_NOT_CORRECT
MATERIAL_NOT_FOUND
NO_AUTHORITY
NO_BUKRS_FOUND
NO_SALES_PRICE_FOUND
ORG_STRUCTURE_NOT_COMPLETED
OTHER_ERROR
PLANT_NOT_FOUND
PRICING_ERROR
VKORG_NOT_FOUND

Function Group

WVKC

CL_GUI_FRONTEND_SERVICES - Frontend Services   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2416 Date: 20240523 Time: 082444     sap01-206 ( 45 ms )