Ansicht
Dokumentation
OHAU02GG - e-IWO File Checker
RFUMSV00 - Advance Return for Tax on Sales/Purchases General Data in Customer MasterThis documentation is copyright by SAP AG.
This Business Add-In (BAdI)is used in Garnishments (PY-US-NT-GR) component. You can use it to redefine the way PDF filename is derived in the HRPAYUS_EIWO_ORDERreport. The BAdI is called when the system needs to check for new orders in the HRPAYUS_EIWO_ORDERreport and the PDF filename convention has a different value than expected.
Example:
You run the e-IWO: Order Processor (RPCPAYUS_EIWO_ORDER) report and select the Check for New Ordersbutton. When processing orders, the system tries to display or save the PDF file, but the file has a different filename convention than expected.
You can use this BAdI to:
- Redefine the filename convention for the PDF files, other than the Document Image Text field value.
Note: If this BAdI is not implemented, the system will always use the Document Image Textfield. This occurs because the system cannot define when a different file name convention is supposed to be used.
Method
The interface IF_HRPAYUS_B_EIWO_FILE_CHECKERcomprises of the following method:
1. GET_PDF_FULL_FILE_NAME: Used to redefine and get full PDF file name.
Parameters
The following parameters are called using the method of this BAdI:
- IV_FILE_NAME
- IT_FILE_NAMES
- CV_FULL_FILE_NAME
For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder(transaction SE18).
To implement Business Add-In, follow these steps:
1. Execute this IMG step. On the subsequent screen, enter a name for the implementation you wish to create.
2. Choose Create. (Or, alternatively, Edit. The remainder of the documentation for this activity describes the steps to be performed when you create a new implementation.)
Caution
3. Enter a short text for the implementation in the Implementation namefield, then choose Continue.
4. On the subsequent screen, specify an Implementation short text, then choose the Interface tabstrip. The name of the implemented class fields are already found in this tabstrip.
5. Save your entries and assign the implementation to a package.
6. Place the cursor on the method you wish to process, then double-click to initiate method processing.
7. Enter the code for the implementation between the statements method
8. Save and implement your code.
9. Return to the Edit Implementationscreen, then save your entries there.
10. If you wish to activate the implementation you have created at a later date, then exit the Edit Implementationscreen without activating the implementation. Otherwise, choose Activate from this screen to activate the implementation for immediate use.
ABAP Short Reference PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 3973 Date: 20240523 Time: 170001 sap01-206 ( 65 ms )