Hierarchy

⤷

⤷

IMG Activity
ID | REFX_RERA_OP | One-Time Postings: Change Default Data |
Transaction Code | S_PEN_05000407 | (empty) |
Created on | 20050623 | |
Customizing Attributes | REFX_RERA_OP | Change Default Data |
Customizing Activity | REFX_RERA_OP | Change Default Data |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | BADI_RERA_OP |
Use
Using this Business Add-In (BAdI), you can change the default data for one-time posting documents. The data changed by the BAdI is displayed before posting, and the user can modify the data again if necessary.
Requirements
Standard settings
Activities
Create a BAdI implementation and implement the methods you require for your enhancement. Then activate the BAdI implementation.
You can use the following methods:
- COMPLETE_BASE_DATA: Change or add to basic data of document
- COMPLETE_HEADER_DATA: Change or add to header data of document
- COMPLETE_ITEM_DATA: Change or add to item data of document
In each case, you can change data and/or have the system issue messages. If an error message is issued, the document cannot be posted.
- CHECK_BASE_DATA: Validation of document basic data
- CHECK_SINGLE_HEADER: Validation of document header data per document header
- CHECK_SINGLE_ITEM: Validation of line item data per line item
The CHECK methods are called after data entry (PAI) and for explicit checks ('Check All Entries' key). If an error message is issued, the document cannot be posted.
Example
You can use the implementation of the COMPLETE_BASE_DATA method as an example.
First there is a check of whether a contract was entered in the basic data. The system then determines the standard posting terms for this contract. If there is an entry in the Note to Payee field there, then it is copied to the document reference. The user can still change this entry.
See also
For information on using BAdIs, see this documentation.
Business Attributes
ASAP Roadmap ID | 153 | Design enhancements |
Mandatory / Optional | 3 | Nonrequired 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 | 20101217 |
SAP Release Created in | 600 |