Hierarchy

⤷

⤷

IMG Activity
ID | FSSC_CK40N | BAdI: Application Context for Costing Run |
Transaction Code | S_EB5_05000628 | (empty) |
Created on | 20100111 | |
Customizing Attributes | FSSC_CK40N | BAdI: Application Context for Costing Run |
Customizing Activity | FSSC_CK40N | BAdI: Application Context for Costing Run |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | FSSC_CK40N_RETRIEVE |
Use
This Business Add-In (BAdI) is used in the Controlling (CO) component. You can use BAdI method RETRIEVE_APPLICATION_CONTEXT to assign or change values in the application context for the costing run (transaction CK40N) as well as for cost estimates created by a costing run (transaction CK13N).
The current content of the costing run is imported to the BAdI with the following parameters:
- IV_TCODE: Current Transaction Code
- IS_MSG: Message Data
- IS_KALA: Costing Run: General Data/Parameters
- IV_KALASTEP: Costing Run: Step for Costing Run
- IV_MATNR: Material Number
- IV_WERKS: Plant
- IS_KEKOKEY: Key Fields of KEK0
Note: Parameters IV_MATNR and IV_WERKS are not always filled. For transaction CK13N, parameter IV_KALASTEP is not filled. For transaction CK40N, parameter IS_KEKOKEY is not filled for the steps Selection and Structure Explosion.
The application context is used to fill the service request. Based on the current content of the transaction, the system prefills the application context before the BAdI is called. In your BAdI implementation, you can enhance the application context (changing parameter CS_APPLICATION_CONTEXT) based on the import parameters, as follows:
- You can assign additional business partners.
- You can change the assigned company code.
- You can change the description of the service request. Alternatively, you can assign the service request description in the Determination of Service Request Attributes from Application Context.
- You can add notes or assign additional linked objects, which enhance the service request directly.
- You can add additional information, in the form of field values, that can be used as one of the following:
- Additional source fields in Determination of Service Request Attributes from Application Context
- For information on input fields for an implementation to enhance the service request, see the documentation for BAdI: Set Service Request Values
Requirements
If you want to determine additional source fields, you must also do the following:
- Define them in BAdI: Enhance Source Fields
- Use them in Determine Service Request Attributes from Application Context
Standard settings
In the standard system, there is no active BAdI implementation.
Activities
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 | 20100112 |
SAP Release Created in | 605 |