SAP ABAP IMG Activity COCF_BD_SR_PDFCU_EAM (Enhancement of Shift Report By Addition of Customer's Own Texts and Tables)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PP-SFC (Application Component) Production Orders
     COCF (Package) Order and Confirmation Data
IMG Activity
ID COCF_BD_SR_PDFCU_EAM Enhancement of Shift Report By Addition of Customer's Own Texts and Tables  
Transaction Code S_EE5_50000331   (empty) 
Created on 20091117    
Customizing Attributes COCF_BD_SR_PDFCU_EAM   Enhancement of Shift Report By Addition of Customer's Own Texts and Tables 
Customizing Activity COCF_BD_SR_PDFCU_EAM   Enhancement of Shift Report By Addition of Customer's Own Texts and Tables 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name COCF_BD_SR_PDF_CUSTOMER_EAM    



Use

With the BAdI COCF_BD_SR_PDF_CUSTOMER_EAM, you can define customers' own texts and lists which are then displayed in the shift report. The BAdI is run through when a shift report is generated. You can use the BAdI only for shift reports provided for functional locations and equipment.

In this BAdI, you can specify the names of one or more structures, for example, in order to build customer-specific tables from them, which can then be displayed in the shift report. With the BAdI, you define the content of these tables. In Customizing for the Shift Report, you define the layout of these tables in the IMG activity Define Shift Report Types. In this layout you also specify the heading for displaying the table in the shift report.

In the BAdI, you can additionally specify a second heading for the table to display certain information such as the number of entries from the table. However, you can also use this second heading as a text field in which you can specify a text of any length. You can format the text in the BAdI. This text is then outputted in the shift report correctly formatted. You can insert this text in addition to the above-mentioned table. In this case, the text is positioned above the table. However, you can also do without the table and output this long text only.

Furthermore, you can use the BAdI to specify texts that are then to appear on the cover page of the shift report.

The following methods are available:

  • With the GET_TEXT_LIST method, the texts are defined
  • With the GET_TEXT_CONTENT method, the text that is to be displayed on the cover page is fetched during the generation of the shift report
  • With the GET_TEXT_PREVIEW_TABLE method, the data that is to be displayed on the cover page is fetched in table form during the preview of the shift report.
  • The DISPLAY_TEXT_PREVIEW_DETAIL method is invoked if the details of the data are to be displayed on the cover page in the preview of the shift report.
  • With the GET_TABLE_LIST method, the tables and their structures are defined.
  • With the GET_TABLE_CONTENT method, the table content is determined during the generation of the shift report.
  • The DISPLAY_TABLE_PREVIEW_DETAIL method is invoked if the details of the data of the tables are to be displayed in the preview of the shift report.

Requirements

You can use the BAdI in connection with the class CL_COCF_SR_PDF_EAM only. You must define this class in Customizing for the shift report type.

Standard settings

  • In the standard system, the Business Add-In is not active.
  • The Business Add-In is not filter-dependent.
  • The Business Add-In can be used multiple times

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 204   Establish Functions and Processes 
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  20091117 
SAP Release Created in 605