on 2016 Sep 09 7:43 AM
How to use hardcoded selection input from template in logic sctipt scoping..if its not dimension..just hardcoded dropdwon..
Case is , on every single service , profit center will come on left side of report..these profit center are varying as per the dropdown selection..
Can we get these fixed profit centers in scoping as per the hardcoded dropdown value..
As i just need these profit centers to be used in Badi for calculations...
Experts, kindly answer asap...
Thanks in advance..
Request clarification before answering.
Sorry, but not clear!
Do you want to use custom logic badi in default.lgf or write back badi?
How this profit centers are related to the values sent by this input form?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thnks Vadim..
I am using Custom BAdi to calculate percentage for revenue .. here revenue for total and all 12 months..which will come from bpc.. and percentage field is entered by User...
So output revenue to be stored in third column ...
This logic i have written in Badi ..
But in bpc template...
Profit center is one dimension row..
These profit centeres are displayed as per the services ( dropdown)..
I need to filter profit centeres at scoping level...so it will be easy in badi for calculations...
But in scoping i am not able to filter profit centeres as services ( dropdown ) is not a dimension...its hard coded values... you might know its difficult to change template now..cos all templates are interconnected...
Let me know if u got the issue..
Yes , i want to use custom logic badi in default.lgf
For this i have written logic scipt commands there..
But as i said, in template..
One selection parameter ( dropdown list ) is harcoded i.e. not a dimension..
..
So i cant use this selection parameter in logic script statements , rht ?
Template ::
Selection dropdown ( hardcoded ) parameter = asset.
No of rows = profit centers ( Dimension ) in template = 6
Now, change in dropdown list and refresh the template..
Selection dropdown parameter = Vehicles
No of rows = profit centers in template = 3
Like this, thr r so many selection options avaible in dropdown..
And fpr every dropdown value, there are many or less profit centers...this is how template working
Now, i need, same number of profit centers which are in template whenever Badi triggers, to do calculations on only require PCs... right now, i am getting all profit centers in badi which is needs to be restrict using logic scripting...
hope u cleared, so just tell me how to use dropdown list in script to filter PCs for BADI..
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.