Hierarchy
⤷
⤷
IMG Activity
| ID | /SAPNEA/J_SC_BUYBACK | BAdI: Deductible Payables |
| Transaction Code | /SAPNEA/10000677 | (empty) |
| Created on | 20050317 | |
| Customizing Attributes | SUBCON | Subcontracting for Chargeable Components (BAdI, Nonrequired, Critical) |
| Customizing Activity | /SAPNEA/J_SC_BUYBACK | BAdI: Deductible Payables |
Document
| Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
| Document Name | /SAPNEA/J_SC_BUYBACK |
Use
This Business Add-In is used in conjunction with the Enter Deductible Payables program. You can use it to:
- Change which G/L accounts the program records chargeable components on
- Instruct the program to post data to Profitability Analysis (CO-PA)
- Change which accounting document type the program uses for deductible payables
Requirements
Standard settings
Activities
Changing G/L Accounts
To change the G/L accounts, create an implementation that loops across the table IT_ROWA, substitutes the account number in the field CKONT, and appends it to the exporting table ET_ROWA. Note that the program ignores all other changes that you make in this implementation.
Posting Data to CO-PA
The Enter Deductible Payables program creates accounting documents by filling the internal table FTPOST with accounting document data and passing it to the transaction FB01. Using the method FTPOST_ADD, you can add extra CO-PA data to the accounting data in the table FTPOST. The transaction FB01 then automatically generates a CO-PA document.
To post data to CO-PA, create an implementation that:
- Loops across IT_BSEG to find out the number of the position in the internal table where the additional data is to be inserted
- If necessary, reads the accounting document data from the parameter IT_FTPOST (this parameter contains the data from the internal table FTPOST)
- Adds CO-PA data to the parameter ET_FTPOST
To find out the name of CO-PA fields, refer to the components in the structure COPABBSEG.
- Returns it to the program
Changing the Accounting Document Type
To change the accounting document type, create an implementation that declares which document type you want.
Example
Business Attributes
| ASAP Roadmap ID | 204 | Establish Functions and Processes |
| Mandatory / Optional | 3 | Nonrequired activity |
| Critical / Non-Critical | 1 | Critical |
| Country-Dependency | I | Valid for countries specified |
Maintenance Objects
| Maintenance object type | E | Business Add-In - Definition |
History
| Last changed by/on | SAP | 20050317 |
| SAP Release Created in |