0-values in BPS
Am I right to assume that the BPS <b>will not store 0-values?</b> Our customer has some series where observations will be 0 from time to time, but it seems these are not stored.
I had a similar requirement and checked with SAP to find out it was not possible.
But this is not BPS specific, it is in general not possible in BW and
all ABAP based systems.
Here is a list of reasons:
- A DB record is moved to an ABAP structure as follows: A DB 'null'
fields has the initial value in the corresponding ABAP structure.
So in ABAP one does not know whether the field was 'null' or initial.
Some transactions in R/3 might use special flags in the DB tables
to simulate the difference between 'null' and initial, but this is
not the case in BW facttables.
- InfoCube are filled with delta records, data will be read ususally on
aggregated levels. What should be the aggregation behaviour of 'null'
fields?
- Assume we have a 'delta record'
cha1 cha2 key figure 1 key figure 2
A X not filled 42
In ABAP the logical 'null' or 'not filled' field is initial, i.e.
it contains the value 0, 42 was planned. Saving this 'delta' record
leads to a 'not null' field in the DB. But it was not yet planned!
One possible work around is to use a new key figure as an indicator
for the distiction between 'null' and 0. But it's not easy to control
this key figure when planning on different levels since this key figure
will also be aggregated.
Similar Messages
-
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 -
Compare previous column value in BPS Layout
How to compare the two column values in BPS layout.
My layout format
PO NO
GL
Actual
Amount
1001
701
1200
User Entry
Actual Value is 1200, User will enter the Amount but it should be equal to 1200 or less then that.
If user entered more than 1200 in Amount column, I should get error message.
Thanks in advance.
Regards,
KiruthikaHi Uryukin Andrey,
Where do we need to use this fox formula? Could you please explain steps to use this FF?
Thanks,
Harry -
Selections on attribute values in BPS
Hello,
I have a issue regarding the selection on attributes values in BPS (data slices, functions).
If I make a restriction on an <i>existing attribute value</i> of an infooject in a data slice or std function (not FOX nor Exit), everything works as required. Even if this particular attribute value is not in the selection of my level (this seems logic, if the value is not in my selection... it is not selected).
The problem is when I make a restriction on an <i>attribute value that is not assigned yet to a char value</i>.
If I run my layout or function, then I receive the following error message :
<i>Selections for characteristic XXX cannot be determined
Message no. UPC_FW137
Diagnosis
It was attempted to read the selections for characteristic XXX. But no values could be determined. This can have one of the following causes:
For characteristic XXX, the selection is defined by a hierarchy node, but no values were found for the selected nodes.
For characteristic XXX, the selection is defined by attribute selections, but no values were found for the attribute selections entered.
Procedure
Change the selection for characteristic XXX so that values can be delivered.
</i>
... Well yes I understand it but the attribute will be updated in another process, so I am expecting that if this value doesn't exist yet, the data slice/function does nothing since it has nothing to select...
The current workaround (but I don't like it at all) is to create dummy values of my characteristic where I put the attribute value I am interested in. Then even if these dummy char values are not contained in my level selection, everything works fine.
Do you have any clue/idea in order to help me on this?
Thank you in advance,Any idea?
-
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 -
Creation of Variable with single values in BPS
Dear All,
I have a very basic requirement in creating variables that would accept single values from the user in BPS.
Could anyone pls provide me the steps in doing so?
I am able to create and use varibles with value ranges but could not find the option to create variables with single values.
Regards,
Srini.Hi Raj,
I have already been thru SAP help file but, though it says we can create variables with single values, it does not provide any steps in creating it.
Any suggestions?
Regards,
Srinivas Kamireddy.
Edited by: Srinivas Kamireddy on Apr 25, 2008 7:59 PM -
Dear all,
I've got a problem concerning the bps planning function "distribute with reference data". BPS doesn't distribute zero values.
A simple example:
The users plan values via manual planning layouts:
period 1 = +100
period 2 = -100
This values are aggregated in period 12 in the InfoCube under a new version. Therefore the planned values under period 12 are zero (+100 + (-100) = 0). So far so good.
Now I want to distribute this value (=0) on divisions with the following reference data:
division 1 = +50
division 2 = +50
division 3 = -100
In this case BPS isn't distributing the data.
Obviously there is a problem if the data, which has to be distributed and the reference data (for distribution) is zero in total.
My goal was to get distributed data like that:
division 1 = +50
division 2 = +50
division 3 = -100
Do you have an idea, how solve this problem?
I would appreciate any help.
Regards,
Christoph RieselDear Maryon,
Thank you for your help. I think you're right. I just "tested" my own example in MS-Excel. Mathematically it seems to be impossible to distribute zero values.
Maybe I'm asking the wrong questions
I think I'll close the thread.
Regards,
Christoph -
I have created BPS layout. In planning cube, there is one dimension for which i have to default the value. X= 100.
In Planning layout, I do not want to display or input by user. What is the easy way to achieve?Hi Uryukin Andrey,
Where do we need to use this fox formula? Could you please explain steps to use this FF?
Thanks,
Harry -
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 -
Master data needs to be appeared for variables in BPS
Hi everyone,
I am working in BW-BPS environment. We have to create a variable on the Company Code infoobject in the planning area. When a user wants to enter the value for the variable 0COMP_CODE, all the master data values should appear. But in the replacement type for a variable doesn't contain this option.
So please let me know how to achieve this requirement. If USER Exit needs to be seleted, then let me know the procedure to implement the same.
Also we are using a Flat file to input the values into BPS environment. Currently I am using the Tab Deleimited Text file to do the same. But the user want .CSV file as input. So is there any way to convert the file?
The user will input the Planned amount in local currency, & we have implemented a Currency Translation Planning function in the Planning Environment. Once the data has been loaded thru flat file the user should execute the planning function & save the data to persistently store the data in the Real time infocube. Here user wants the Currency translation function to be hide & the currency conversion should happen automatically when the user saves the data he entered.
Narendra ReddyHi.
Related to variable: if you want to show for selection ALL master data simply create variable with type "Characteristic Value". Attach characteristic to your variable. Set "Replacement Type" = fixed value and in "Selection Conditions" set "From" = 000000 (accoding to lenght of characteristic) and "To" = ZZZZZZZ. This will give you all master data in variable.
Related to currency convertion: create function type "currency convertion" and add it to global planning sequence. Run this planning seq according to your needs and execution of conversio will be in background.
Regards. -
Hi,
I would like to modify chars in Cube using BPS.
Wrote a user exit to achieve it. Hash table has been used.
I am able to modify the key figure. when I modify the char, "overright is not allowed" error is showing.
Please suggest some other mechanisam to achieve it.
Thanks
BillyHello Billy,
cubes will be filled only with delta records, thus you can not simply change characteristic values in BPS. What you want to do is a repost; there exist a standard planning function to do that.
Regards,
Gregor -
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 -
API_SEMBPS_VARIABLE_GETDETAIL issue
Hi SDNer
I have 2 concerns regarding variables.
1. in the variable screen ( After executing planning folder) one variable is user input and the other one is derived from this variable by some Exit FM.
If i enter the user input value for first one, will the derived value for second variable will be reflected in that screen.
2. I have tested FM - API_SEMBPS_VARIABLE_GETDETAIL in SE37, by manually entering plan area and variable name. its working fine and getting the value of input variable from planning layout variable screen but only, when i save the variables after making an entry.....
If after entering variable i dont save FM is giving me the last value only. I guess it is buffer related issue.....
Do i can't test like this ?
Thanks
SaurabhI have written a piece of code for reading variable value from BPS thru API_SEM_BPS_GETVARIABLE_DETAIL and generate other variable value by using FM.
Although generated variable version value is displaying in planning folder variable screen ( When we execute planning folder) but when i execute any function which is using this newly generated variable, system is not finding any value for this variable and throwing error. here is my code
FUNCTION ZVERSION_AUTOMATION_CURR_YEAR.
""Local Interface:
*" IMPORTING
*" REFERENCE(I_AREA) TYPE UPC_AREA-AREA
*" REFERENCE(I_VARIABLE) TYPE UPC_VAR-VAR
*" REFERENCE(I_CHANM) TYPE UPC_Y_CHANM
*" REFERENCE(ITO_CHANM) TYPE UPC_YTO_CHA
*" EXPORTING
*" REFERENCE(ETO_CHARSEL) TYPE UPC_YTO_CHARSEL
*" REFERENCE(ETK_VARSEL) LIKE UPC_YS_API_VARSEL
*" STRUCTURE UPC_YS_API_VARSEL
CONSTANTS:
l_use_restricted_values TYPE boole-boole VALUE 'X',
l_buffer_call TYPE boole-boole VALUE 'X'.
DATA: ls_varsel TYPE upc_ys_charsel,
l_entries TYPE i.
DATA:
l_variable type upc_y_variable,
l_area type upc_y_area,
l_subrc LIKE sy-subrc,
ls_return LIKE bapiret2,
l_type LIKE upc_var-vartype,
lto_varsel_all TYPE upc_yto_charsel,
lto_varsel TYPE upc_yto_charsel,
lto_var TYPE upc_yto_charsel,
lto_chanm TYPE upc_yto_cha.
Data: l_current_year type i.
Data: l_plan_year type i.
_READ PLANNING FOR YEAR VARIABLE THRU API_
Data: lp_subrc LIKE sy-subrc.
Data: lpt_varsel type table of upc_ys_api_varsel.
Data: lps_varsel type upc_ys_api_varsel.
call function 'API_SEMBPS_VARIABLE_GETDETAIL'
Exporting
i_area = i_area
i_variable = 'ZFISCYR'
Importing
e_subrc = lp_subrc
tables
etk_varsel = lpt_varsel.
if lp_subrc = 0.
clear lps_varsel.
read table lpt_varsel into lps_varsel index 1.
l_plan_year = lps_varsel-low.
endif.
READ CURRENT YEAR VARIABLE DEFINED ON ONE PLANNING LEVEL
l_variable = i_variable.
l_area = i_area.
CALL FUNCTION 'Z_VAR_GET_DETAIL'
EXPORTING
i_area = 'ZPLBSCF1'
i_variable = 'ZPLYEAR'
i_buffer = l_buffer_call
IMPORTING
e_subrc = l_subrc
es_return = ls_return
e_type = l_type
eto_varsel_all = lto_varsel_all
eto_varsel = lto_varsel
eto_chanm = lto_chanm.
IF l_subrc <> 0.
MESSAGE i136(upc_fw) WITH l_variable.
Values of variable &1 cannot be determined
EXIT.
ENDIF.
IF l_use_restricted_values IS INITIAL.
lto_var = lto_varsel_all.
ELSE.
lto_var = lto_varsel.
ENDIF.
READ TABLE lto_var INTO ls_varsel INDEX 1.
l_current_year = ls_varsel-low.
DETERMINE PLANNING VERSION
Data: DIFF type i.
Data: L_VERSION type c.
Data: ls_chasel type upc_ys_charsel.
DIFF = l_plan_year - l_Current_year.
IF l_plan_year = l_Current_year.
l_VERSION = 'P'.
ELSEIF ( DIFF = 1 ).
l_VERSION = 'B'.
ELSE.
l_VERSION = 'F'.
ENDIF.
ls_chasel-chanm = '0VERSION'.
ls_chasel-opt = 'EQ'.
ls_chasel-low = l_VERSION.
insert ls_chasel into table eto_charsel.
ENDFUNCTION.
Thanks -
My ISP has said they will set up their side to give 50% policed real time traffic and 30% for our application traffic burstable then 5% anything else burstable. The QOS below is my attempt to do this but I was advised that to apply it to the Dialer 1 interface I hade to create a second policy-map (ADSLOut) which had the class-default and the child policy (QOSADSL) within that.
When I did this I can't apply it to the Dialer 1 interface but if I use the child policy then it will allow me to apply that, will this work the same way.
class-map match-all RealTime
match ip dscp ef
class-map match-all General
match any
class-map match-any Application
match ip dscp cs3
match ip dscp af41
policy-map QOSADSL
class RealTime
bandwidth percent 50
class Application
priority percent 30
class General
priority percent 5
class class-default
shape peak percent 85
policy-map ADSLOut
class class-default
service-policy QOSADSL
interface Dialer1
<Snipped>
bandwidth 1240
ip nbar protocol-discovery
ip flow ingress
ip flow egress
load-interval 30
tx-ring-limit 3
tx-queue-limit 3
service-policy output QOSADSL
or
service-policy output ADSLOutHi @scotlandvisit,
My first opinion is a recomendation: in the policy-map, when you're configuring LLQ use the priority command for delay-sensitive traffic (Voice) and the bandwidth command for the rest. This is because the priority command is used to indentify a class as a "strict priority class" which in my opinion should be the voice traffic and the bandwidth command is used to allocate bandwidth to nonpriority classes.
The interface is not letting you apply the service-policy because you have to configure shaping inside the class-default of the parent policy-map. This shape is going to be the value in bps that you want to assing to the traffic classes that you've configured. For example, let's say that you want to allocate 1Mbps for all the classes.
policy-map QOSADSL
class RealTime
priority percent 50
class Application
bandwidth percent 30
class General
bandwidth percent 5
class class-default
shape peak percent 85
policy-map ADSLOut
class class-default
shape average 1000000
service-policy QOSADSL
interface Dialer1
service-policy output ADSLOut
Try this configuration and let me know.
HTH.
Rgrds,
Martin, IT Specialist -
Missing Actions in Sales assistant of MSA
Hi Gurus,
We defined sales cycle, phases (4 phases) and assigned these to an opportunity transaction type. We assigned actions to these phases.
In SAP GUI, we are able to see all the actions assigned for a phase but in MSA we are only able to see the actions that are assigned to the first phase of the sales cycle. For the remaining phases we are not able to see the assigned actions.
Please help.
Thanks.Hi Wolfhard,
I synchronized the objects from CRM to CDB and then extracted details for the entire site. But the issue persists
Following are the subscriptions for the site:
Activities (by Employee)
Activity Journal Customizing
Activity Recurrence
Adapter Test Publication (bulk)
Allocations & Target Group Header
Authorization 1 subscription
Authorization 2 subscription
Authorization subscription
Business Content Provider
Business transaction customizing subscription
Classification subscription
Client Registry
Connection Handler
Customer & Competitor Agreement Prio.
Customer & Prospects (by Partner Number Range)
Customer Hierarchy subscription
Customizing Objects (Mobile Sales specific) subscription
Customizing Account Panning 01
Customizing BP Hierarchies 01
Customizing Listing
Customizing Mobile Sales specific from R/3 subscription
Customizing Objects 4.0 ECE
Customizing Objects 40 SP2 subscription
Customizing Objects 40 subscription
Customizing Objects 50
Customizing Objects II subscription
Customizing Objects III subscription
Customizing Objects IV
Customizing Objects subscription
Customizing ORGMAN subscription
Customizing Project Object
Customizing Standard Text
Customizing Survey Tool
Customizing Tour Planning
Customizing V
Customizing_Objects_PPR
Customizing_TTE subscription
Employee Hierarchy
Employee subscription
Inbox Mapping subscription
Key Account Management
Layout Field Template
Marketing Attribute Template
Marketing Organisation
Marketing profiles by BPs
Marketing profiles values by BPs
Opportunities (by Employee SG)
Partner Group Hierarchy
Product Customizing
Products (by Product Type 01)
Products (by Product Type 02)
Products (by Product Type 03)
Products (by Product Type 04)
Products (by Product Type 05)
Products (by Product Type 07)
Promotions & Campaigns (by Object Type CAM)
Selections & Reports
Territories (bulk)
Territory Hierarchy (bulk)
User (by Employee) subscription
Workbench (Language Independent)
Please let me know if I missed any required subscription.
Please help.
Thanks.
Maybe you are looking for
-
How can I convert my music, and CDs to MP3, for use in my vehicle's AM/FM/ Stereo? I have a 16 GB SDHC Card, that I would like to load up with some of my music. Thanks for any help you can furnish. Ed
-
I have an ipod previously linked someone else's account. We used to share the library and they used to update my iPod for me. Now I have my own ID and laptop with iTunes. How to I extract my music from the iPod and add it to the library ? At present
-
I want to delete some AS3 generated buttons. In my AS2 way of thinking, each button is instantiated with a label, so I'm trying to delete each button by using that identifier, but it does not work. What am I doing wrong? Thanks! <?xml version="1.0" e
-
I have been backing up to icloud. My phone indicates I have recently backed up, today. When signed in to itunes only my manual backup to the computer shows, none of the icloud backups. Why? I need to restore to an older icloud backup. Thanks in a
-
IPhoto does not recognise camera since synching with new iPhone
Ever since I've setup my new iPhone, Iphoto will not recognise my camera (Panasonic DMC-FX36); even though it recognises the iPhone camera OK. I've previously used the Panasonic camera without a problem and this has only started happening since synch