cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BpC template and scoping linking issue

hemant_patel7
Associate
Associate
0 Kudos
186

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..

Accepted Solutions (1)

Accepted Solutions (1)

former_member186338
Active Contributor
0 Kudos

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?

hemant_patel7
Associate
Associate
0 Kudos

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..

former_member186338
Active Contributor
0 Kudos

Still, I am unable to understand: "I need to filter profit centeres at scoping level"...

Screenshot of some test template is required!

Still no clear answer: "Do you want to use custom logic badi in default.lgf"??

hemant_patel7
Associate
Associate
0 Kudos

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..

former_member186338
Active Contributor
0 Kudos

Sorry, but you have to provide template screenshot! Your text description is not clear!

But anyway, you can't pass any parameters to default.lgf!

Only scope of written data is available.

Answers (0)