on 2017 Aug 30 7:26 AM
Hi Guys,
I need suggestion on the WRITE Back BADI Vs Custom Logic BADI.
1st Step:
For example I need to do some calculation which has to applied for the whole category - FORECAST . The logic will be in a custom logic BADI and I will execute the BADI through a script logic and calling the script logic through the default formulas DM package.
2nd Step:
After executing the above then the user will check and if it is not correct then will change the existing record values or create some additional records . Now again need to do the custom logic BADI calculation. I want to execute the BADI only for the changed or created records and not for the whole category(FORECAST) which the user did in the first place.
I am thinking of doing the above using the default logic or WRITE back BADI when the user created/changed the records in the input schedule.
In the default logic can I call the custom logic BADI and the scope should be the input schedule context right ?
or can I add the calculation logic in the WRITE Back BADI .
To apply the logic only for the changed or newly created records in the input schedule which one is better
* WRITE BACK ( I need to add the calculation logic to the WRITE BACK BADI - already some logic existing for WRITE Back)
or
*Default Logic ( CALL the custom logic BADI -Include the custom logic calculation)
Based on the performance and best practice which one is the best solution.Again in the first place I will execute the custom logic through default formulas DM package for the CATEGORY (FORECAST).
Thanks in advance for the help.
Request clarification before answering.
First - please remove not related tag:
SAP Business Planning and Consolidation, version for the Microsoft platform
Second - write back badi is a better solution, please read:
https://blogs.sap.com/2014/05/05/calculations-in-write-back-badi-defaultlgf-replacement/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vadim,
In similar context, we have a custom logic BADI that is called with a context:
-> Profit Center
-> Sales Office
This results in CT_Data bringing all the GL Accounts/ Whether changed or not, from the Cube. We only need the latest sent record from an input template, for a particular GL, without giving this GL Account filter in the input for BADI. (Or in the context).
Can you confirm if we have a standard option to enable delta's for above scenario?
Thanks
Gagan
Hi Vadim,
We are loading data from a BPC cube to S4. Our selection for retraction ensures that our context for retraction pulls up more than the previously changed records i.e example, if we changed for a certain GL Account in Profit Center, and Sales Office, the ct_data is populated with all the GL Accounts for that Profit Center and Sales Office combination. We need only the latest changed record, without providing the GL account filter during retraction. Is there a standard way/ option to enable the same. We are using a Custom Logic BADI, with Query and Write ON. I checked the Organize Delta option for the Data Manager package, but that looks to be more about getting the data into the Cube from external sources
Thanks
Gagan
Thanks Vadim for the quick response. Will go with WRITE Back in the input schedule and custom logic/DM for the whole category. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 7 | |
| 6 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.