SAP ABAP IMG Activity EAM_CC_DOC_FLOW_COL (BAdI: Display Additional Columns in Document Flow)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   PM-WOC-MO (Application Component) Maintenance Orders
     EAM_SFWS_ORDER_DOC_FLOW_ENH (Package) Doc.Flow Enhancement in PM Order
IMG Activity
ID EAM_CC_DOC_FLOW_COL BAdI: Display Additional Columns in Document Flow  
Transaction Code S_VBS_01000027   (empty) 
Created on 20120109    
Customizing Attributes EAM_CC_DOC_FLOW_COL   BAdI: Display Additional Columns in Document Flow 
Customizing Activity EAM_CC_DOC_FLOW_COL   BAdI: Display Additional Columns in Document Flow 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name EAM_CC_DOC_FLOW_ADD_COLUMNS    

Use

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

You can use this BAdI to call up additional information for each document category in the document flow. You define for each document category which additional columns the system should display. The system displays the relevant additional information in these columns when you call the Display Document Flow transaction (IW12) directly or when you go to the document flow from a notification or from a maintenance order.

Note:
In SD orders, the additional information for the various document categories is only displayed if you call the Display Document Flow transaction (IW12) directly.

This BAdI contains the following methods:

  • CHANGE_FIELD_CATALOG

    You can use this method to make changes in the field catalog, such as show or hide columns. You can modify the field catalog in the changing parameter CT_FIELDCATALOG (type LVC_T_FCAT).

  • CHANGE_OUTTAB

    You use this method to specify for each document category what information you want the system to display in the document flow ALV. The system can only display this information if you have used method CHANGE_FIELD_CATALOG to display the corresponding columns.
    If you want to see more columns, you can add an append with customer-specific fields to the EAM_CC_DOC_FLOW_ADD_FIELDS structure.
    The import parameter IT_FLOW contains the structure tree of the document. You can use the changing parameter CT_OUTTAB to specify what you want the system to display in the columns.

Requirements

Standard settings

For more information about the standard settings (filters, single or multiple uses), see the Enh. Spot Element Definitions tab in the BAdI Builder (transaction SE18).

BAdI Implementation:

EAM_CC_DOC_FLOW_ADD_COLUMNS

This default implementation is in class CL_EAM_CC_DOC_FLOW_COL_DEFAULT and shows the following additional columns, depending on the document categories, with the appropriate information:

  • Maintenance Plan: Description, Strategy (maintenance strategy), MPlan cat. (maintenance plan category), User Status
  • Notification: Notification type, Description, Start Date chosen by the user, End Date chosen by the user, (Main) Work Center, Plant, Functional Location, Equipment, Assembly, User Status
  • Maintenance Order (order header data): Order type, Description, (Main) Work Center, Plant, Functional Location, Equipment, Assembly, User Status, Acty Type (activity type), (Basic) Start Date, (Basic) Finish Date
  • Maintenance Operation: Operation status, Description, User Status, Ctrl Key (control key), Acty Type (activity type), work effort (Quantity), Unit (for work), Work Center, Plant, Functional Location, Equipment, Purch. Grp (purchasing group), Purch. Org. (purchasing organization), Material Group
  • Purchase Requisition: Document type, Item Category, Description, Material/Batch, Purchase Order Quantity, Unit of Measure, Material Group, Storage Location, Plant, Purchasing Group, Purchasing Organization, Vendor, Requisitioner, Requirement Tracking Number
  • Purchase Order: Document type, Item Category, Description, Material/Batch, Requirement Quantity, Unit of Measure, Material Group, Storage Location, Plant, Purchasing Group, Purchasing Organization, Vendor, Requisitioner, Delivery Completed and Final Invoice with status, Requirement Tracking Number of item or Your Reference from the purchase order header
  • Goods Movement (also SD): Document type, Material/Batch, Delivery Completed with Status, Short Text or Material Description, Quantity, Unit of Measure, Storage Location, Plant, Movement Type
  • Service Entry Sheet: Description, External Entry Sheet Number, Person Responsible (internally), Release Status, Return
  • Invoice Document: Document type, Reference Document Number
  • Confirmation: Actual Work, Unit
  • Request for Quotation: Document type, Description, Item Category, Storage Location, Plant, Quantity, Unit, Material/Batch, Vendor, Material Group, Your Reference
  • Sales Order, Quantity Contract, Credit Memo Request, Debit Memo Request, Quotation, Request for Quotation, Return: Order type, Customer Number, Purchase Order Number, Requisitioner
  • Delivery, Delivery Free of Charge, Returns Delivery: Delivery type, Goods Recipient
  • Invoice, Credit Memo, Credit Memo Reversal, Debit Memo, Invoice Reversal: Billing type, Payer
  • No additional data is displayed for production orders or inspection lot documents.

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

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  20120109 
SAP Release Created in 607