SAP ABAP IMG Activity W_MDS_0007 (BAdI: Adjustment of PO Creation Messages for Collective Purchase Order)
Hierarchy
EA-RETAIL (Software Component) SAP Enterprise Extension Retail
   LO-MDS-CPO (Application Component) Collective Purchase Order
     WRF_CPO (Package) Retail Fashion: Collective Purchase Order
IMG Activity
ID W_MDS_0007 BAdI: Adjustment of PO Creation Messages for Collective Purchase Order  
Transaction Code S_PEN_05000384   (empty) 
Created on 20050620    
Customizing Attributes W_MDS_0007   BAdI: Adjustment of PO Creation Messages for Collective Purchase Order 
Customizing Activity W_MDS_0007   BAdI: Adjustment of PO Creation Messages for Collective Purchase Order 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name WRF_X_WF10_CUST_E    

Use

With this Business Add-In (BAdI), you can define for the collective purchase order (seasonal procurement) which messages from purchase order processing (seasonal procurement) the system transfers to the generation log of the collective purchase order when a purchase order is generated.

Requirements

You use the collective purchase order with the option of seasonal procurement.

Standard settings

In the standard system, the BAdI is inactive.

The BAdI is not reusable and not filter-dependent.

Activities

After the IMG activity is called, a dialog box appears in which you enter a name for the implementation.

If implementations have already been created for this BAdI, a dialog box appears in which the existing implementations are displayed . Choose Create and and proceed as follows:

  1. In the implementation field in the dialog box, enter a name for the BAdI implementation and choose Create.

    The initial screen for creating BAdI implementations appears.

  2. In the implementation short text field on the initial screen, enter a short text for the implementation.
  3. Choose the Interface tab page.

    On the tab page, the Name of the Implemented Class field is filled automatically, because the system assigns a class name based on the name of your implementation.

  4. Save your entries and make the assignment to a collection.
  5. Position the cursor on each method and double-clikc to enter method processing.
  6. Between the commands <Interface-Name>~<Name der Methode>. and endmethod., enter the implementation coding required by you.
  7. Save and activate your coding and navigate back to the screen Change Implementation.
  8. Choose Save on the Change Implementation screen.

    Note: It is also possible to create an implementation for a BAdI and to activate it later. In this case, terminate processing now.

  9. Choose Active.

    When the application program is executed, the coding you saved in the method will run.

Example

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 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20050620 
SAP Release Created in 600