SAP ABAP IMG Activity REFORDER_BAPI_MESG (BAdI: Adjustments for BAPI Messages)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   PM-WOC-MO (Application Component) Maintenance Orders
     IWO_BAPI (Package) BAPIs ALM Order
IMG Activity
ID REFORDER_BAPI_MESG BAdI: Adjustments for BAPI Messages  
Transaction Code S_EB5_05000238   (empty) 
Created on 20090305    
Customizing Attributes REFORDER_BAPI_MESG   BAdI: Adjustments for BAPI Messages 
Customizing Activity REFORDER_BAPI_MESG   BAdI: Adjustments for BAPI Messages 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_REFORDER_BAPI_MESG    

Use

This Business Add-In (BAdI) is used in the Plant Maintenance (PM) component.

You can use this BAdI to control the message types of the various messages that can be issued during the processing of refurbishment orders in the BAPIs.

When you use BAPIs to create or change refurbishment orders, the use cannot evaluate warning messages that are issued during processing. If you implement this BAdI, you can control the message type of the message that is transferred to the BAdI as an import parameter.

Requirements

Standard settings

All messages that can be controlled by this BAdI have the message type "error" as standard. This means that, if the message type is not changed by the BAdI, the BAPI is terminated with the corresponding error message in the BAPI return table.

Activities

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Example

List of messages whose message type can be changed by the BAdI implementation:

if iv_msgno eq '602' and

iv_msgid eq 'IWO_BAPI'.

move 'S' to cv_msgty.

endif.

  • 601(IWO_BAPI)
  • 609(IWO_BAPI)
  • 610(IWO_BAPI)
  • 614(IWO_BAPI)
  • 615(IWO_BAPI)
  • 616(IWO_BAPI)
  • 617(IWO_BAPI)
  • 618(IWO_BAPI)
  • 619(IWO_BAPI)
  • 620(IWO_BAPI)
  • 351(CO)
  • 430(IW)
  • 431(IW)
  • 438(IW)
  • 840(IW)
  • 852(IW)
  • 011(BS)
  • 203(IO)
  • ...

See also

For more information, display the BAdI interface in the Class Builder.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
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  20090305 
SAP Release Created in 605