SAP ABAP IMG Activity BADI_PIQ_PREPARE (BAdI: Price Inquiry Preparation)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   SD-BF-PR (Application Component) Pricing and Conditions
     VF_PRC_PRICEINQUIRY (Package) Mass Processing of Price Inquiries
IMG Activity
ID BADI_PIQ_PREPARE BAdI: Price Inquiry Preparation  
Transaction Code S_EBJ_98000394   (empty) 
Created on 20131106    
Customizing Attributes BADI_PIQ_PREPARE   BAdI: Price Inquiry Preparation 
Customizing Activity BADI_PIQ_PREPARE   BAdI: Price Inquiry Preparation 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_PIQ_PREPARE    

Use

This Business Add-In (BAdI) is used in the Pricing and Conditions (SD-BF-PR) component. You can use this BAdI to influence the standard algorithm that prepares the pricing call from the input data provided by the following:

  • Creation of Price Lists report (transaction V_NLN)
  • Processing Price Lists method (BAPI_PIQ_SDPRICELIST; transaction se37)

If you want to deviate from the standard algorithm (for standard KOMK and KOMP fields) or you want to provide your own Z fields for the communication structures KOMK, KOMP, and KOMP_HEAD_FIELDS, you can usually customize the system accordingly. However, in special cases where this is not feasible, you can implement this BAdI in order to apply your own logic.

Requirements

Standard settings

The method of this BAdI does not provide default coding or a fallback class. For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

Activities

The BAdI consists of the following methods:

  • ADAPT_HEAD_ITEM_DATA

    This method can be used to adapt global data, header data, and item data.

  • ADAPT_KOMK_KOMP_DATA

    This method is called before pricing. It can be used to adapt the values of the fields passed in the following communication structures to pricing:

    • KOMK (Communication Header for Pricing)
    • KOMP (Communication Item for Pricing)

Example

You fill the values of a Z field, such as for usernames, which is relevant for pricing (for example, in accesses or in user exits).

See also

  • For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework.
  • For more information about the Creation of Price Lists report (transaction V_NLN), see SAP Library for SAP ERP on SAP Help Portal at http://help.sap.com/erp. Choose a release and then Application Help. In SAP Library, choose SAP ERP Central Component -> Logistics -> Sales and Distribution (SD) -> Pricing and Conditions (SD-BF-PR) -> Pricing and Conditions -> Pricing Information and Analysis -> Creation of Price Lists.

Business Attributes
ASAP Roadmap ID 153   Design enhancements 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG BADI_PIQ_PREPARE 0 HLA0006561 Pricing and Conditions 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20131120 
SAP Release Created in 618