Variable in planning area
Hi,
How to give a variable for eg: target currency in the multiple planning area. This variable should be filled by fixed value USD. Based on this calculations are done and the output should be amount in usd.
As variables types are characteristic values, hiererchy, numetic values and attributes. how to get this. I don't have any characteristic to be assigned to the variable in the infocube. The variable should be like static with fixed value USD.
How to achieve this?
Hi Ravi,
There are no values for 0currency in my cube. So i can't use this infoobject. My requirement is to convert the amount into currency USD.
If there is no variable for this not a problem. But i have to use fox or exit function to read data for the user enter variables version, cycle and get the amount converted into USD.
Any help will be appreciated.
Similar Messages
-
Variable 4MKTHI01 (Planning area 4CRM0001) is not available
Hi All,
I have activated planning profiles and level from 000 client.
Now, when I try to open the planning level it says "Variable 4MKTHI01 (Planning area 4CRM0001) is not available"
Please reply, how to activate this variable 4MKTHI01 under the planning level 4MP70000 of planning area 4CRM001
Thanks
SantoshHi,
take a look into note 886388 and 1083129.
kind regards Michael -
Shared use of BPS variables across planning areas?
Hello,
Is it possible to use 1 var for 2 planning areas? I understand it is area-specific but would like to find out if this is possible so that I can minimize the number of variables to use.
Thanking you in advance.
Regards,
Adette RosenthalHi Adette,
With regard to the document that Rael is referring, I think the section that refers to the requirement below may be helpful to you.
<i>Global variables: From a logical point of view you have the same variables in several planning areas e.g. the actual year. Now you would like to define one leading area containing the variable that should automatically set/adjust the corresponding variables in the other planning areas.</i>
Check the link below.
https://websmp205.sap-ag.de/~sapdownload/011000358700000413772003E/How_to_variables_exit.pdf
Hope it helps.
Cheers
Anurag -
Transport of BPS planning area (variables) without transp. all pl. levels
Hi!
Can anybody advice me, how to transport new variables which I have created to a planning area, without transporting all planning levels which belong to it?
I transported a few planning levels that include the new variables I created to the planning area. As a result, the planning levels are transported but the new variables are missing. I don´t want to transport the whole planning area, since it contains a development which is not ready yet. Can I transport the missing variables with SE15 (how?) or is there some other way to do it?
Grateful for any help,
SariSari,
Please execute program UPC_TRANSPORT_BPS_ALL and transport your variables without transporting any level or area.
Hope this helps.
Cheers
Srini -
How to use global variable defined in planning area in FOX
Hi guys
I meet a situation that needs to use variables defined in planning area in FOX.How to code?
My situation as follows:
Two variables are defined in planning area,one is zcomp_code,the other is zfiscyear.
There are two key figures in the planning area,one is sales volume,the other is delta(%).
I want to use sales volume multiplied by delta(%) in selected zcomp_code and zfiscyear by users.
Anyone can help?
Thanks in advance.Hi Eric
check this example
in fox you shoud declare your data and after call your variable
after this you could easily operate on data using the f4 for definig the right fox operators
DATA FYEAR TYPE 0FISCYEAR.
FYEAR = VARV(PLANYEAR).
{0COPANETRV, FYEAR,CRA,020} =
{0COPANETRV,FYEAR,CRA,020} *
({ 0CP_DELTAB,FYEAR,CRA,020} + 100 ) /100.
{0CP_DELTAB,FYEAR,CRA,020} = 0. -
Variables from workbook are not visible in the Planning function
Hi,
We're using a workbook with a bunch of queries in it. Every query has a lot of variables declared that are calculated based on two input ready variable that users are required to fill the first time.
Everything works as expected until the save data function is called, which in turn calls the planning function.
Here, the user exit variable try to be recalculated again. Unfortunately, this planning function loses track of the two input ready variables that were on the workbook, so the user exit variables have no values.
Can you please suggest a method so that:
a) The user exit processing in the planning function "sees" the two input ready variables
b) The user exit processing is not triggered in the planning function and it's taking the already calculated values
Let me know if you require further information.
Best regards,
GeorgeHi,
the variables in the filter of the query lives in one variable container and the variables of the filter of the planning sequence live in another variable container. They do not know each other. You need to establish a relationship between them. Usually this is done via variable binding for regular variables. For exit variables the variable binding can be done as written above.
If as in your case you have variables in the filter of the query and you want to use their values in the variable of the planning sequence than you need to store the values somewhere where you can retrieve them in the exit. This can be in a e.g. in shared memory or in the session memory. To do this you need to spend an extra exit variable in the filter of the query. The exit variable reads the real values and stores it somewhere (e.g. shared memory, global parameter of a function group, a class member or something similar). Now as the variable value is stored it can be read in the implemenation of the exit variable in the filter of the planning sequence.
In total we have 3 variables:
Variable 1 contains the value which the user keys in and exists in the filter of the query.
Variable 2 reads variable 1 and stores the value. It needs to be defined in the filter of the query as well.
Variable 3 reads the stored value and needs to be defined in the filter of the planning sequence.
Regards Matthias Nutt
SAP Consulting Switzerland -
Transfer variable values via ABAP betweenn planning areas
Hello,
I'm using an ABAP-coding (BPS How-To 'variables type user-exit) for transferring variable values between planning areas. It works fine for single-, multi- and interval-selection, but not for single hierarchie nodes.
I don't want to transfer the values beneath the nodes but the node itself. Has anyone experience with that or changed the ABAP-Coding.
Note, I'm using a variable type hierarchie as destination and get always a dump, when the ABAP is executed.
Appreciate your help, thanks in advance...Hello,
I am having the same problem. Can the function module Z_VARIABLE_GET_DETAIL from the "How to...BPS Variables of Type Exit" be modified to get the node value of a hierarchy node variable so it can be used as a global variable?
Thanks, Linda -
Is it possible to transport variables without the planning areas??
Someone knows if it's possible to transport variables without the planning areas, only the variables?
Regards
GuilhermeHi,
Yes, if the p.area is available in target system.
Use this report: UPC_TRANSPORT_BPS_ALL
Regards,
Suan -
Taking long time to initialize planning area.
Hi All,
Few questions on initalizing planning are. We have about 500000 CVC and 8 millions records in it. We have recently upgradd to SCM 7.0. I am noticing now that every time we run background job to create CVC and initialize planning are, I noticed that hob SAPAPO/TS_PAREA_INITILIZE is taking lont time about 1.5 hours . Dont know why is it something to do with Memory or can we do any setting to improve performance.
Also please advice if we have to initialize planning area every time we create CVC'c or Realignment. Or just during month end job.
Thanks
KV
Edited by: KVerma on Oct 30, 2009 5:22 PMHi KV,
1) Housekeeping of your existing data by archiving or deleting unwanted
data and keep your system free from all inconsistencies could be your
primary solution to resolve this issue
2) To keep the size of time series objects to a manageable minimum it makes
sense to initialize planning areas by scheduling background jobs that run
periodically. This is sometimes known as working with rolling horizons.
3) If you want the system to roll over periodically without scheduling the
same job repeatedly, you should use selection variables to enter relative dates.
The system then calculates the start and end dates each time the report is
executed. For instance, you specify that the initialization period should be
from 12 months in the past to 12 months in the future. If todayu2019s date is
July 1, 2003, this means that the initialization period starts on July 1, 2002
and ends on June 30, 2004. If the report is started anew on August 1, 2003,
change the dates to August 1, 2002 and July 31, 2004.
Regards
R. Senthil Mareeswaran. -
How to make authorization to different planning level on one planning area?
now the situation is one planning area call one global company, under that we create several planning level for serveral sub-company. The authorization should that one sub-comp. only can display, change his planning level, and can not display any other sub-comp. So, in this case how to make authorization? Thanks!
I didn't create an authorization variable on sub-comp. pls, let me know how to create an authorization variable on sub-comp, and the info for the next steps. thanks!
-
Hi All,
Q1) The variables that are created in query designer or the filter variables created in planning modeler can be accessed in fox functions? If yes, how ? I have a requirement where I have to read the cost center variable values and make the changes accordingly in the fox functions i.e pass the cost center variable values to the fox planning function. My fox planning function will update the 0amount key figure for the cost center variable value. for eg: if I use variable "VARCOCNTR" , can I use this variable in fox function like below
DATA COSTCNTR TYPE 0COSTCENTER.
COSTCNTR = VARC("VARCOCNTR").
Let me know which variables can be accessed in fox and exit planning functions.
Q2) Need to know the scenarios when and how we use variables for planning functions and planning sequences
Q3) Can somebody send me the How-to guide for creating custom function modules(exits) in IP for any scenario with full code so that I can practice it.Hi Jacky,
For your Q1) , the answer is yes. all the single type variable can be retrieved in IP Formula, single,multi-single, user exit, authorization, realize that the value of variable is not a range.
Hope this help.
B.R
Gerald -
Tool to copy/move variables across Planing areas
Hi,
Anyone seen, heard of, or used a tool to copy variables already created in one planning area, to another planning area which obviously shares exactly the same characteristics?
It's plainful and time consuming having to re-create them.
Thanks.Hi,
Never heard about it but can be created copy the entries from the tables mentioned below and change the planning area and update it back (small ABAP to do it). <b>SAP never recommend writing data back to standard tables</b>. The list mentioned below is comprehensive and should be OK. Actually when you collect a variable in a request SAP passes on these entries to the target system.
UPC_VAR
UPC_VARIABLET
UPC_VAR_ATTR
UPC_VAR_CHA
UPC_VAR_CHADEP
UPC_VAR_CHA_SEL
UPC_VAR_EXIT
UPC_VAR_HIE
UPC_VAR_HIE_SEL
UPC_VAR_NUM_SEL
Hope this was helpfull
thanks -
Copy data between planning area with function module
Hi gurus!
I'm involved in a consumer products project
In my multiplaning area i copy "catalog code" from act to fct after a preliminary selection in a authorization layout..
Due to increase performance I'm in need to convert the FOX which copies data from actual plan area to fct plan area after the authorization check, into a formula exit...
This fox works fine but as you can imagine it takes a lot of time to execute cause it has to read every catalog code form the transactional data...
here follows gross summary of the code.
this FOX copies ACT catalog code into FCT catolg
code by CALQUARTER according to Catalog code
authorization stored in AUTH version
DATA PER TYPE 0CALQUARTER.
DATA ENDPER TYPE 0CALQUARTER.
DATA KEYF TYPE KEYFIG_NAME
PER = VARV(variable)
ENDPER = TMVL(per,4).
catalog code is present in the level selection
with no filter
AUTH is the version used for set up the
authorization in data copy (no quarte info is needed)
IF {KEYF,AUTH,#,PLAN1}>0.
PLAN1 I the FCT plan area, PLAN2 is the Act plan area
DO.
{KEYF,FCT,PER,PLAN1}={KEYF,ACT,PER,PLAN2}.
IF PER = ENDPER.EXIT.ENDIF.
PER=TMVL(PER,1).
ENDDO.
ENDIF.
I've found many example in the forum but nothing which refers to different planning areas data copy with exit.
I'll be gratefull to any of you who can help me to compile this function module.
Best regards
M91Hi Rakesh,
You can use COPY/Version Management Function to do this.
Path: Demand Planning > Environment >Copy/ Version Management
The system takes into account only those periodicities that are common to both planning areas.
For example, if the data is saved in months in the source planning area (PA1) but in months and weeks in the target planning area (PA2)
the system copies to months in the target planning area and then Disaggregates the data to the storage buckets in accordance with the Time-based Disaggregation.
hope this wil help to understand the basic concept.
Kapil -
How to set timing of migration of Substitution Variables to Planning
Hi,
After we update Substitution Variable, we noticed it takes a 5 mins before it flows to Planning
I read somewhere that there is a way to set timing (5 mins) of migration of Substitution Variables to Planning. Anyone knows where that is?Hi,
You need to set a property, details are all here :- http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin/ch06s03s12.html
Cheers
John
http://john-goodwin.blogspot.com/ -
Planning area data not matching with backup cube / PSA
Hi friends,
while loading data from planning area to backup cube , for the key figure ( result of a macro),the data in planning area is not matching with PSA as well as with cube.
At the same time Data is matching at total level but not at disagregated level. And many times it disagregate in equal Proportion in cube/psa.
Pls its urgent.
Pts for sure.
Vishal.
9326179903make sure you have replicated the extraction of the data source. This is needed to ensure your backup cube gets the current data as in the planning area
if you got to /SAPAPO/SDP_EXTR then you can see this button
you can set this up as a program scheduled to run before the updation of your cube
As for the disaggregation, test at what level you are choosing your characteristic? ( i suppose you can choose the level)
Are you extracting at a detailed level or at the aggregated level
Is your macro saving the data into a Keyfigure or is it an auxilliary KF or something?
Maybe you are looking for
-
My phone is not working after updating to OS 4.3
Hi there. I'm running Windows 7 Ultimate 64-bit. I have the latest version of iTunes which I downloaded today before updating my phone. So I updated my iPhone 4 from 4.2.# OS to 4.3 OS as iTunes recommended me to. Everything was going fine, but as th
-
Sender File Content Conversion Issue
Hi guys, I´m trying to convert a flat file into a xml structure using FCC. The flat file looks like: G220520102205201003062010 D824000 006500015010000000000000GPDME 4521005 LP00 D351023 006500
-
Finding Sum of grouped lines / Tables EKKO, EKPO
Hi, am using the following tables: TABLES: ekko,ekpo. with Inner Join select ekkobukrs ekkoebeln ekkoaedat ekkobsart ekkoekgrp ekkolifnr ekkowaers ekkowkurs ekkoernam ekpobrtwr into CORRESPONDING FIELDS OF TABLE itab from ekko inner join EKPO
-
First Very Simple Socket Program
Hello, I am learning about Sockets and ServerSockets and how I can use the. I am trying to make the simplest server/client program possible just for my understanding before I go deper into it. I have written two programs. theserver.java and theclient
-
How are duplicate parameters handled when starting WLS?
I was given some memory tuning suggestions for WLS and told to set them in $USER_MEM_ARGS. However, when I try to start the AdminServer I am getting an error "Invalid initial heap size: -Xms512m". This puzzles me because it looks like that was the or