Variable in layout BPS
Hi all,
I restricted the characteristics in my layout with a variable user value e without selection in level.
When I try to start layout I receive the following message:
Variable ZTDOCV is not a single value. It cannot be used
I don't want to restrict with a single value, but I need a range.
How can I do?
Thank you
Gianmarco
Hi
Planning is always done for unique combination of characteristics master data. It is not possible to post the values for range of values For eg -
Company code range selected in the variable- 1000 to 3000, in this case you cant post any key figure for company code 1000 to 3000.
Again it depends on - how you structure the layout. If your characteristics is placed flexibly in row or column structure, then following may happen - eg - company code
in case of Row
company code Amount
1000 £ 400
3000 £ 600
in case of column
Company code 1000 3000
Amount £ 400 £ 600
In of header
only one value allowed for planning.
If above is the case in your planning layout, then try to set the variable in BPS0, then it will pick the selected range in the layout.
hope this helps.
Regards,
MJ
Similar Messages
-
Planning layouts (BPS) - Performance
Hi,
Our Planning layouts (BPS) take lot of time (about 5 to 10 mins) to open. Any suggestions to improve the performance?
Thanks,Hi,
activate BPS_STAT0 and check how much time is lost in what areas. Typical pitfalls:
- Bad level restrictions in the functions running on layout display (Hi Stephen!)
- Bad programming in data slices or characteristic relations, which are checked per cell
- Bad programming in exit variables used in the levels
Regards,
Andreas -
How to clear variable value in BPS WIB?
Hi Experts:
I want to clear variable value in BPS,and I use this function 'API_SEMBPS_VARIABLE_SET' to set its value to '#'. I got 1 question:
After I changed this variable manually in IE, the system 'remember' this variable in this program, so the function 'API_SEMBPS_VARIABLE_SET' didn't work. I checked the table 'UPC_VAR_CHA_ACT' and found there is not any corresponding item for the current user and value.
AllenHi Bauke,
Actually I want to do Password Encryption functionality.
For that I have 1 Java script file.On Java script validation I want to pass password value from client side to server side as,
<head>
<script type="text/javascript" language="JavaScript" src="MyJSFile.js">
function submitForm(element)
var me = document.getElementById(passwd);
If(!me)
alert('Please enter Password);
else
Some password logic I will do here.
</head>
<f:view>
<BODY......
<h:form id="createUserForm">
<h:commandButton id="save" value="Save" action="saveactionMethod " onclick="submitForm(this)" />
<h:inputSecrete id="passwd"
value="#{createUsrFormBean.password}"/>
</h:form>
</body>
</f:view>
But the Java script code is not working.I mean If I put nothing in password textbox the alert is not firing.
My code is wrong ?
Thanks
Sandip -
How to create an user input variable in SEM-BPS?
Hi,
anyone please guide me how to create an user input variable in SEM-BPS? I want to utilized user input variable to udpate characteristic with repost function.
I tried to create in planning folder, variables right-click create, but the system said 'operation cannot be executed here'...
please help....
thanks.Hi Bindu,
would you give me one more help,
I want to use the variable created for a repost process, how do I achieve that?
My scenario:
- There will be a repost function on the planing folder
- User can select a row or many rows then click the repost function button, then a popup window will appear for user to input the value for the variable
Is it possible with the scenario? Please advise if I can use standard repost function or should i create a FOX or exit function for this purpose.
thanks. -
Facing problem in Layout-BPS 4.O
Hi All,
I am facing one problem in BPS Layout...
The problem: Some Company codes are valid entire the year and some company codes are not valid entire the year (valid few months in a year)
(Ex:Comp Code:ABC(Valid thru 01/2008-12/2999) and
Comp Code-XYZ(Valid thru- upto 07/2008 only)
In a layout i am entering the two above company codes data on 10/2008, when i click the refresh button the data it's gone from my layout (two company codes data),but it is showing an error message like Company code XYZ is not exist in 10/2008 this is fine but i don't want to clear the my layout .what i entered the data in my layout keep same but in this case it is not working.it's clearing the entire data in layout.
For validation of comp codes i am using char relation ship.the code it is working fine because it is throwing an error message.
How can i keep the valid data in my layout after refresh(after validation),even i'm not clearing the not valid data also,automatically cleaning the entire data.how can i resolve this problem
Any inputs and suggestions please..
Thanks,
Siri N.Hello Siri
The problem is that for time-dependent master data, the system is using a 'key date' field (set up for the planning area) to check which master data to make available for planning. If this 'key date' field has been left blank the system is using the current date to check which master data to select. The system is selecting the master data where the current date falls within the validity period.date (i.e. 'valid from' date is less than or equal to 'current date', 'valid to' date is greater than or equal to 'current date').
Using your examples
(Ex:Comp Code:ABC(Valid thru 01/2008-12/2999) and
Comp Code-XYZ(Valid thru- upto 07/2008 only)
On 13/11/2008 you would be able to view/plan data on ABC because the current date falls within the validity period but you would not be able to view/plan data on XYZ.
What you can do to allow viewing/planning on both ABC and XYZ.
1) In the planning area enter a key date e.g. 01.07.2008 that falls within both intervals. Not a very future-proof solution.
or
2) In the master data of XYZ change the validity date so that the 'valid to' date is greater than or equal to 'current date' e.g. valid to 31.12.9999. Again the business may not like to extend the validity date like this.
Unfortunately the 'key date' field allows only a specific date to be input (or leave blank). Ideally if it allowed a variable, then you could have set up a variable that for example derives the first date of the year being planned or the month being planned.
We are having a similar issue with planning on time-dependent master data. We are logging the issue with SAP so that if possible they can create a variable or customer exit that can derive the key date from the period being planned.
S -
Program to populate variable values in BPS thru file
Hi All,
I've layouts in BPS. In my layout my super user has to change Version/ Actual period/forecast period/previous version everymonth. For all the above we are using varibles.
My requirement is that i need to write code to populate Version from a flat file and in that program only basing on version I need to calculate Actual period/forecast period/previous version. Version is coming from a variable based on 0version and Actual period/forecast period values are based on variable of 0fiscper.
If anyone has already encountered with such situation pls help me.
Your help will be highly appreciated.
Thnaks in advance.
IshaHello Isha,
please have a look at the how-to papers "Variable Upload" for loading the version variable and "Variables of Type Exit" for deriving the periods and previous version. http://service.sap.com/bw > SAP BW-BPS > How-to
Regards,
Marc
SAP NetWeaver RIG -
Hi all,
In BW-BPS I create a layout with Key figures in Data Columns and I need to restrict key figure to some characteristic value.
For example I put in data columns 0QUANTITY and 0SALESORG. I need to restrict 0QUANTITY with value 01 and 02 of 0SALESORG.
For do it I create a variable related of 0SALESORG with replacement type fixed value 01 and 02 and in second screen of the layout builder I add this variable for restrict 0QUANTITY but I receive the following error message:
Variable is not a single value. It cannot be used
Message no. UPP_LB075
I work in BW3.5.
How can I do please?
Thanks a lot
GianmarcoHi,
This is correct. For a layout, you need to restrict each characteristic to a single value. You cannot have two values for the same column for one characteristic. Use a single value for each data column. -
Hello all
i am using variable in BPS in order to multiply data with the value in the variable.
When i execute the FOX, i get a dump, error.
The error goes " GETWA_NOT_ASSIGNED - Field Symbol has not yet been assigned"
Can you tell me what can be the problems?
Best
YuvalHi,
May be you set up incorrectly a value for the vaiable. This value is not in master data of charater for this variable.
Regards,
Veronika. -
Hi all,
I need to put in my BPS-layout in lead column both characteristic and key figure and in data column only a characteric.
Example:
Insert in lead column 0CUSTOMER and 0QUANTITY
Insert in Data column OCALMONTH
How can I do it?
Thanks in advance
GianmarcoCiao,
i think I have lost track what you want to do.
Maybe we start with general answers first.
the most flexible layout will be possible using key figures only in columns.
then you are able to select several characteristics for the rows (key column) and you can define "selected key fiures" in columns
If you want for whatever reason to put your key figures in rows, you are somewhat restricted.
Together with key figures and always for columns you are able to select only one characteristic as flexible.
All other characteristics can then only be put into the selected key figures.
I hope this helps.
If not, then please list your full requirement.
Which are the key figures, which are the chars, whicht you want to use where in your layout and can you select single values for the chars or do you need it to be flexible.
Ciao
Cornelia -
How to remove the rows "1/Not Defined" in Layout BPS, using bps_wb
Hi all! I have no much experience in SAP-BPS, but I have just created a layout using BPS and BPS WB.
I have some trouble, and I expect you can help me. In the layout, I have a table with categories and subcategories, and I put hierarchies to view totals for each category. (and also, to collapse/expand for each category). But I have some problems, a row named "1/Not Defined" appears in each category. How can I do to remove this row??
Thank youHi Dirk,
Thank you for you reply. I'm trying to do what you say, but an error message says:
"Characteristic 'Category' does not contain the initial value in the selection". And In more detail says:
"You set the indicator 'Planning in characteristic hierarchy' in planning layout 'SALES'. All characteristics of the lead column must contain the initial value in the selection in this mode. However, characteristic'Category' does not contain the initial value in the selection"
So, I thinkk is not possible to exclude # value.
Thanks,
Xavi -
Hi All,
Is there any way to upload values to BPS variables?
I know we can definetly upload some values to Bex varialbes by flat file (or) personlaization.
Is the same can be done to BPS variables?
Any help is greatly appreciated.
Best Regards,
Reddy.Hi,
no. If you have static Varible Selection, and one does not want to fill the variable table in BPS0, you can create small program to update these tables:
UPC_VAR_CHA_ACT
UPC_VAR_CHA_SEL.
The question is: which one is faster, manual entry in BPS0 or to create a program to update those tables?
If you have dynamic selection of a variable (i think this is the most situation happened), it is suggested to use Var exit.
Best Regards,
Suan Liono -
Is it possible Hide a column in BPS layout "WEB" ?
Hi,
Is it possible to hide a column in a "WEB" BPS layout ?
Have you an example to hide a column in web thanks to Java and where insert it ?Alessandro,
I create in BPS0 all the customizing I need (functions, layout...). After that, I create a web interface with these components (variables, functions, layout).
That 's why I wonder what could be the java code to hide a column in web interface.
regards -
Hide a column in BPS layout ?
Hi,
Is it possible to hide a column in a BPS layout (Web Excel) ?
When I hide a column in the layout definition, saving it resets the hidden column.
Any idea if it will be included in a future release ?
ThanksAlessandro,
I create in BPS0 all the customizing I need (functions, layout...). After that, I create a web interface with these components (variables, functions, layout).
That 's why I wonder what could be the java code to hide a column in web interface.
regards -
Hierarchy Exit variable in BPS
Hi,
I have a pb:
I have a hier (ZHIER) based on InfoObject YIndic:
- Node : Text node
- Region : Characteristic node (char: Yregion) ex: 1
- Dpt: Text node ex: 1P2
- Indic : Characteristic node (char: YIndic)
- Region : Characteristic node (char: Yregion) ex: 2
- Dpt: Text node ex: 2P3
- Indic : Characteristic node (char: YIndic)
In planing Layouts (BPS), I'd like to display only Indics related to the Dpt and the region of the user. So I'd like to use a Hierarchy Exit variable to take the right node.
I wrote the following code (I replaced working variables by real values):
ls_hiersel-chanm = 'YINDIC'.
ls_hiersel-hienm = 'ZHIER'.
ls_hiersel-nodename = '1P2'.
ls_hiersel-hiever = 'A'.
ls_hiersel-hiecha = '0HIER_NODE'.
ls_hiersel-dummy_leaf = ''.
ls_hiersel-dateto = '99991231'.
CLEAR ls_chadep.
ls_chadep-chanm = 'YREGION'.
ls_chadep-chavlint = '1'.
APPEND ls_chadep TO ls_hiersel-to_chadep.
INSERT ls_hiersel INTO TABLE et_hie_nodes.
ENDFUNCTION.
My problem is that when I launch my layout, the system tell "the node 1P2 doesn't existing" but node is effectively existing. I thing that BPS doesn't know where to search my node but I took this piece of code from another function and I don't know how to tell to BPS where to search the node. It's maybe at the end of the code but I'm a Beginner in ABAP.
Can anybody can help me please?
Many thanks.
J SorelThanks for your help.
Could you explain me please what does the code I wrote and your modification (I have not tried yet)?
I took this piece of code from an existing function module but due to my Abap level I can't understand what I do. I think that BPS doesn't undertands where (in which level) to search the node. Is there in the code you wrote an information related to the level where the node is?
Many thanks
Sorel -
Calling a WebDynpro Screen through BPS Layout ??
Hi Experts,
I have a requirement to call WebDynpro screen through a BPS Layout and pass the same parameters to Wd Screen.
expecting a quick solutions, I am on Gas.
Regards
AstoriaHi Marc,
I too facing similar kinda problem. I am not able to pass fileld variable values from BPS layout to WebDynpro.
I tried debugging WDYID but couldnt get actual flow of. Plz provide me logic for the transaction WDYID
Pravin
Maybe you are looking for
-
Hello, I'm having problems with my Ipod...it's not being recognized by my PC and is making some clicking noising from the HD I suppose. I tried to restore/reformat it but it's not recognized by iTunes or the iPod Updater...I also tried to put it into
-
Reporting errors or exceptions back to the caller
I'm u sing OracleAS 10.1.3 and I'm exposing some of my PL/SQL procedures as web services. I was wondering what the convention is for reporting errors back to the caller. I read a little bit about Soap faults and some lack of support in the current JD
-
Hi all, I live in Japan, and yesterday I bought a skype coupon for 3,000yen (about 30 dlls), but I just can't find the way to put the money into my skype credit. The options there are visa, jcb, mastercard, pay pal and one-off bank transfer. Nothing
-
I currently have Leopard operating sytem. I have a disk to upgrade to Snow Leopard so that I can upgrad to Lion for the icloud move. I just installed My Book for my back up system. Do I unhook the My Book before I put in the installation disc for Sno
-
To andy,scott thank you very much,it works now,Ahmed
to andy,scott thank you very much,it works now