Ansicht
Dokumentation
COCF_BD_SR_PDFCU_EAM - Enhancement of Shift Report By Addition of Customer's Own Texts and Tables
BAL Application Log Documentation General Material DataThis documentation is copyright by SAP AG.
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.
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.
- 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
For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.
Fill RESBD Structure from EBP Component Structure General Data in Customer Master
This documentation is copyright by SAP AG.
Length: 4635 Date: 20240523 Time: 174424 sap01-206 ( 136 ms )