Hierarchy
⤷ FI-AF-DPC (Application Component) Down Payment Chains
⤷ /SAPPCE/01 (Package) Enhancements for Down-Payment Chain
IMG Activity
ID | /SAPPCE/DPC_BADI5 | BAdI: Posting the Down Payment Chain |
Transaction Code | /SAPPCE/50000134 | (empty) |
Created on | 20090306 | |
Customizing Attributes | /SAPPCE/DPC_BADI5 | BAdI: Post Down Payment Chains |
Customizing Activity | /SAPPCE/DPC_BADI5 | BAdI: Post Down Payment Chains |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | /SAPPCE/DPC_POSTING |
Use
You can use this Business Add-In (BAdI) when you create a new transaction, such as a partial invoice of a debit-side or credit-side down payment chain, to influence how the accounting document is updated, by:
- Inserting your own subscreen (include screen) on the tab page that records posting data.
- Implementing your own update logic for the accounting document.
Using your own subscreen, you can provide users with the following fields that they can change:
- Vendor Line Item
- Cash Discount Base or amount qualifying for cash discount
- Cash discount amount
- Fixed Cash Discount (also called fixed payment term)
- Payment method
- Payment block
- Partner bank category
- House bank
- Reference Key 1
- Customer Line Item
- Cash Discount Base or amount qualifying for cash discount
- Cash discount amount
- Dunning Lock
- Reference Key 1
So that a clerk can compare the bank information on the invoice with the bank data taken from the master record, you can display the following fields on your subscreen:
- Vendor Line Item
- Bank Account (display only)
- Bank (display only)
You can also use your own update logic to automatically fill the following fields:
- Vendor Line Item
- Assignment
- Text (also called item text)
- Customer Line Item
- Assignment
- Text (also called item text)
- G/L Account Line
- Assignment
- Text (also called item text)
If you want a user to be able to influence the value of one of these fields, you must provide them with your own subscreen. If you want the system to automatically display the value of the field, you only need to develop your own update logic for the accounting document.
Requirements
Standard settings
The Business Add-In is:
- Not active
- Not filter-dependent
- Not designed for multiple use
Activities
- To create a new implementation, enter a name for the implementation on the initial screen and continue with step 2.
If there are already implementations for this BAdI, the system displays them at the start. In the dialog box of the display, choose Create and continue with step 2.
- The system displays a dialog. In the Implementation field, enter a name for the BAdI implementation and then choose Create.
- The initial screen for creating BAdI implementations appears. Enter a short text for the implementation on the initial screen in the Short Text field.
- Choose the Interface tab page. Since the system assigns a class name based on the name of your implementation, the Name of Implemented Class field has already been filled automatically.
- Save your entries and make the assignment to a development class.
- Place the cursor on a method and double-click to process the method.
- Between the statements ' method <Interface Name>~<Name of Method>. and ' endmethod.', enter the code for the implementation.
- Save and activate your code, navigate back to the Change Implementation screen and save your entries.
Note
You can also create an implementation for a BAdI and activate it later. In this case, you have now completed processing.
- Choose Activate.
If you now execute the relevant application program, the system processes the code you have defined in the method.
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 | 257 | Create User Exits |
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 | 20090619 |
SAP Release Created in | 605 |