Key figure values in MC$K not updated
Hi
I have a situation where I run transaction MC$K (Material Analysis: On-time delivery: statistics):
At first I had not done any config in transaction MCFC for the deviation of delivery date. So when I ran MC$K, the delivery date variance key figures showed zero (0).
Then I updated the variance intervals in transaction MCFC and reran the report. Still did not show anything for the old purchase orders, but for any new created PO/GR that that I did after my settings in transaction MCFC are taken into account.
But what if I want to see anything that was created before I did my MCFC config? For the old purchase orders that is...is there any update program I need to run for the info structure?
I am a bit new to this so please bare with me...
Hi,
Problem has been resolved by passing the 40 char length material, and location in the char combo table of BAPI.
Ex: CHARACTERISTIC_VALUE = 00000000000000000000000000000000000100600 (Should be 40 char).
CHAR_COMB_ID = 1 -
you can give any number.
Now i am facing another problem with this BAPI.......
In our planning book time periods like first two weeks in day buckets, after thet all in week buckets.
Case1: day buckts - noprob
case2: weekly buckets : suppose a week start from 17/01/2010 end with 23/01/2010. In this case i am not able to create a order on 22/01/2010.
BAPI allowing the time period start date as 17/01/2011 and end date as 23/01/2011 and its creating the oder on 20/01/2010(middle day of the week).
Can anybody suggest on this..
Thanks
Similar Messages
-
Code to sum up multiple record key figure values from one ODS to another OD
We've got two ODSs: ODS1 and ODS2 and ODS1 feeds data to ODS2 through update rule. In ODS1, multiple records could contain one same doc records and we would like to sum up a key figure value for these multip records with the same doc number in the update rule and populate a key figure (a sum-up value or total value) in ODS2 for this doc number. We wonder how the code would look like.
Welcome the valuable input!
ThanksHello Kevin,
In this case there is no need of a code. As in ODS2, contract number is a key and PO is not a part of key, you can have update type for the key figure as "Addition". Value for that particular key figure will be added for all the recordes with same contract number irrespective of PO number.
Hope it helps.
Regards,
Praveen -
Need help for report Variable to restrict the key figure value...
Hai gurus,
Now i have data in the cube as follows...
Reuisition HR INTW date LM INTW DATE TEL INTW DATE HR Count LM Count TEL Count
a1 01.01.2010 02.01.2010 01.04.2010 1 1 1
a2 02.02.2010 03.02.2010 02.02.2010 1 1 1
a3 03.03.2010 04.03.2010 03.03.2010 1 1 1
when i execute the report it shd ask the prompts with Date interval as in the below...
HR INTW date
LM INTW DATE
TEL INTW DATE
if i dont give any interval in the variable prompt it should display all the recors as follows
Reuisition HR Count LM Count TEL Count
a1 1 1 1
a2 1 1 1
a3 1 1 1
If i give LM INTW DATE interval as 01.01.2010 to 31.02.2010
then it should display all the other counts as in the output_1 , but for LM count for a3 it should show 0.
Reuisition HR Count LM Count TEL Count
a1 1 1 1
a2 1 1 1
a3 1 0 1
that means wherever i restrict the data depending on the variable that only that interval key figure value shd be in the report..
for this scenario, which variable i need to use... and how i need to restict the KFig value in the report...
Right now i am getting like this but it is restricting the records,,, where it should not restrict the records...in the report..
Please guide me for the same...
If any concerns about the scenario please let me know...
Regards,
VJhi chowdary ,
could you tell me the var. creation in detail and with which reference object i need to create ...
whether i need to take LM_DATE / 0DATE while creating variable...
and i kept this variables it in filter section, based on the LM_DATE Object.
i have tried both.. y'day when i take 0DATE it giving me some results...
But at the same time it is restricting the records..
i think it could be a problem with var.. properties?
need more inputs pls.
Regards,
VJ -
Error in key figure value at Reporting level
Hi Experts,
I had problem of Key figure value which displays wrong data in reporting.
The Process is :
I had added the key figure SALK3 to the generic data source (xxx). The Extractor is Table/View, Table is MBEW.I had replicated to BW side.
In BW, The process is Data Source(Generic) to 0MAT_PLANT(Infoobject (Added SALK3 to the infoobject of Attributes tab) ) loads to Multiprovider.I can see data in the multi provider for that particular field after loading.
Now the problem is, In Query designer i had added the key figure in Columns and ran the report.The output of the field is, If the value is 100 it displays 100 ERROR, if it 200 it displays 200 ERROR.Could you please help me on this,where i went wrong.
Regards,
Kishan.Hello,
Please check with the follwing screen shots:
Right click on the key fgure you created----select edit
Once the screen opens select the NODIM from Data Functions before the key figure (as highlighted).
Finally click on OK.
Regards
NS -
Hi is it possible to identify which key figures values has introduce a user ? and which CVC has the user uses for inserting the key figure value?
REgards.
PS :We have APO DP 5.0Javier,
It is possible to identify and track the inputs of specific users contribution to that Key figure using the following method, Provided you follow certain prerequisites first.
Its should be known before the certain people are responsible for certain data selections, like if there is a change in certain Sales org, we should ideally know who is the assinged planner to that Sales Org. or that sales org has been assinged to which Planner
Next, Develop to Lag reports in BI using the regular snapshots of the the data extracted out of DP before and after the changes have been made for that particular KF.
Compare the changes using the versions of snapshot before changes and after changes, or perhaps create another calucalted KF showing the different between two versions. The BI team should be able to create reports that enable you to run this report on all levels for that Key figure.
Hari V -
Key Figure value in Cube showing with extra zeros
Loaded data into the cube. When I display the result
Key figure values are showing with 2 extra zeroes and Quantity value shaowing with 3 extra zeroes.
Original value
Price, Quantity, Sales Rev
2 1 2
3 2 6
When display value from cube
Price, Quantity, Sales Rev
2,00 1,000 2,00
3,00 2,000 6,00
Why zero is showing? How can I display the original value? In PSA, values are showing correctly.
Thanks,Hi,
These are the zeroes after the decimal places. this is the property of the key figure.
In your report you can change the display value. In the display properties of the Key figure under the number of decimal places make it as 0. This will remove the zeroes.
Hope it helps.
Regards,
Gaurav
Edited by: Gaurav Kothari on Oct 16, 2008 10:35 AM -
Key figures with Heirarchy in Bexquery not showing up in Snapshot/ Explorer
Hi,
I am taking a snapshot of a multiprovider in Explorer using T-code RSDDV.
In the related bex query I have a few calculated Key figure which I want to get it into the explorer tab / Key- figures. The idea here is to use these as measures within the Explorer portal.
The problem I am running into is if any of these key figures use Hierarchies I am not able to bring it in but without the hierarchies I have no issue.
Has someone come across this?
If you need more clarification please feel free to ask.
Thanks
bobYou have a beautiful example in the Oracle By Example Series here :
http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/bi_admin/biadmin.html#t2s7
If you follow the instruction on the Channels Detail_Key in this example, you will succeed
Success
Nico -
I am running an SQL(CE) script to create a DB. All script commands succeed, but the DB get "broken" after creating the last costaint: after running the script, viewing table properties of Table2 and clicking on "Manage relations" gives the following error: Unable to create foreign key: InvalidArgument=Value of '0' is not valid for 'index'. Parameter name: index. Wondering what does that refer to...
Here it is the script. Please note that no error is thrown by running the following queries (even from code that passing the queries by hand, one-by-one to sql server management studio).
CREATE TABLE [table1] (
[id_rubrica] numeric(18,0) NOT NULL
, [id_campo] numeric(18,0) NOT NULL
, [nome] nvarchar(100) NOT NULL
GO
ALTER TABLE [table1] ADD PRIMARY KEY ([id_rubrica],[id_campo]);
GO
CREATE UNIQUE INDEX [UQ__m_campi] ON [table1] ([id_campo] Asc);
GO
CREATE TABLE [table2] (
[id_campo] numeric(18,0) NOT NULL
, [valore] nvarchar(4000) NOT NULL
GO
ALTER TABLE [table2] ADD PRIMARY KEY ([id_campo],[valore]);
GO
ALTER TABLE [table2] ADD CONSTRAINT [campo_valoriFissi] FOREIGN KEY ([id_campo]) REFERENCES [table1]([id_campo]);
GO
Sid (MCP - http://www.sugata.eu)I know this is kind of old post, but did this realy solved your problem?
I'm getting this same error message after adding a FK constraint via UI on VS2008 Server Explorer.
I can add the constraint with no errors, but the constraint is not created on the DataSet wizard (strongly typed datasets on Win CE 6) and when I click "Manage Relations" on the "Table Properties" this error pop out:
"InvalidArgument=Value or '0' is not valid for 'index'.
Parameter name: index"
Even after vreating my table with the relation in SQL the same occurs:
CREATE TABLE pedidosRastreios (
idPedidoRastreio INT NOT NULL IDENTITY PRIMARY KEY,
idPedido INT NOT NULL CONSTRAINT FK_pedidosRastreios_pedidos REFERENCES pedidos(idPedido) ON DELETE CASCADE,
codigo NVARCHAR(20) NOT NULL -
How to create a variable for key figure (value will be entered by the user
I want to create one query, where the user has to entered a max value when the query is started, so that only the query rows will be listed, where the key figure value (integer) of the row is smaller than the max value given.
How can i define that variable which has to start at the begin of the query; and also the restricted key figure iin consideration of the KF variable.
Thanks for helping
Ar.Hi Arnaud,
Go to Conditions-> Right click -> New Condition -> Edit -> NEw -> Selct the KEy figures from the dropdown( the KFs that are used in the rows/columns) -> Select Less than from the operator drop down (less than is for you case) -> Values, there is an option to create a variable -> Select the variable -> transfer. It will appear on the top.
Save & Execute, you will find it in your selction criteria.
Regards
Sunil -
BEx query: count unique key figure values
Hi
I need a little help with a query. I need to count the number of unique key figure values. Se example;
Data:
Employee1 - 2
Employee2 - 3
Employee3 - 2
Employee4 - 1
Employee5 - 2
Employee6 - 1
Employee7 - 2
Wanted output:
1 - 2
2 - 4
3 - 1
What kind of options do I have?
Thanks
MikeI would create a new characterstic for the same key figure and placed in rows and count in columns.
and second approach would be , create condition with customer exit and write the logic to count the unique values.
This is just a direction to move forward with the assumption that you are good in using variables and wirting logic in ABAP.
Thanks,
Sukhi -
How to ignore blank/null key figure value in BI Queries
Reports on Multiprovider - we see some cells of a Key figure as blanks. These blanks are interpreted as zeros by the system and calculated accordingly resulting in incorrect values. As per our requirement, we need a count of all hard/real zeros only, not the blanks. For example, if there are 10 rows of which 6 are real zeros and 4 are blanks - our count should be 6 and not 10.
How to ignore the blanks in BEx queries please?
Thanks for your help.
UpenderRakesh,
It is not possible to find a pattern because the report is on a MultiProvider with 2 InfoProviders- Purchasing documents DSO and Material Movements InfoCube.
Every Purchasing Document has several materials associated with it. These materials are compared with materials in Materials Movement. Not all materials in Purchasing Document are found in Materials Movement. For those Materials found in Materials Movement, the Quantity is obtained. For these found rows, the correct value is showing up - if the quantity is zero, it is showing in reports as zero. If the material is not found in Material Movements then Quantity shows up as blank values.
My requirement is ignore such blank quantities and not count them. Only Quantities with 0 values should be counted. Currently both blanks and zero values are counted showing inflated count.
Thanks,
Upender -
Key Figure values in the Bex Report are different from the cube
Hi all,
When I tried to pull data of the cube, the values of the Key Figure 0Lotsize_cm was showing 100 EA. But when I try to run the query of the cube, then the key figure is LotSize is showing up as 500 EA. I don't understand why this is happening.
When I checked for Aggregation in the Key Figure. It shows up as "Sum" under aggregation and "Last Value" under Exception aggregation.
Could some one help me find a solution to this issue.
I look forward to hearing from the experts.
Regards,
S.PHi Arun and Zegion,
Thank you for your responses.
Arun, I do not have any aggregates on the cube. I changed the aggregate properties of the Key Figure from SUM to Minimum. this has solved my problem temporarily.
the reason I am saying temporarily because this is a SAP delivered InfoObject. This is for the datasource 0CO_PC_PCP_01. When I read through the documents, it said, SUMMation for Aggregation and Last value for "Exception Aggregation" will display the value of KF as the last value and does not add them up.
Since this wasn't the happening in my query, I changed the Aggregation from SUM to Minimum.
Regards,
S.P -
Hi friends...
I have a scenerio , where I have loaded the data from 3 different data sources say A , B and C in to 2 different DSO s and in to 2 different Info Cubes. And I have built Multi Provider from this 2 Info cubes.
In the data source B , I have BELNR (Parked document number ).WRBTR (for Amount). In the report I have to show a field called Nr of Documents Parked and Value of Documents Parked. Same thing for Data Source C, for Blocked Documents. Now My question is there is no Key Figure in My Data Model to Count the Nr of Parked / Blocked Docs....So in the Reporting how can I show this ? Do I need to use Customer Exits ? Do I need to have CKF /RKF ? if so , from what Key figures ? or Can I get the Count from the Backend (Modelling itself by using a Keyfigure with any Code)?...not only this 2 , I have lot many custom things to do in my Model...If any one can get me some idea on this , remaining will be very easier for me as they all are similar things to do....
Please let me know if you have any questions or I need to elabarate it more to get an Idea on this....
Thanks in advanceTHANKS GUYS ,
I wrote the transformation routiene to count all the parked documents as
IMPORTING
request type rsrequest
datapackid type rsdatapid
SOURCE_FIELDS-/BIC/ZPARKBEF TYPE /BIC/OIZPARKBEF
EXPORTING
RESULT type tys_TG_1-RSTT_IPTDA
DATA TMP TYPE tys_TG_1-RSTT_IPTDA.
IF SOURCE_FIELDS-/BIC/ZPARKBEF = 'Y'.
TMP = TMP + 1.
ENDIF.
RESULT = TMP .
But when I see the Infocube data its showing only 0 for Parked Before value 'N' and 1 for Parked Before vale 'Y'. But I want to calculate total number of parked documents ..How can I do this?
Thanks -
Key figure value based on user input.
Dear Friends,
We are using BI7.00 and NW2004S. In one of our report to monitor the number of notification closed and the number of notification open upto the user selected month. For this i have created a Query which has selection screen value as month. I have created a condition which will fetch the difference in days (notification completion - notification creation date) based on user entered value. For example if user enters 10 in the selection screen, report will fetch the notifications which have diffrence in days as 10.
The condition is okay for the above. What user actually wants is the number of notifications completed and that pending based on the value he enters in the screen. For example he enters 10 in the screen, system should show the values as shown below
> 10 days
Completed Pending
3 2
I tried various options but could not achieve this.
Experts help expected. Kindly provide solution.
Regards,
M.MHi,
As per my understanding 1 firstly u have to find out
the no of days (diff between dates notification completion, notification creation date .)
then u have to create condition on no of days which u
have find.there u have to create one user entry
variable for the user can enter his own parametrs.
Right?????
If It is right..
here are the steps..
1st:in the query designer at key figure coloumn create
one local formula.in that local formula create formula
variable with replacement path.in that take reference character
notification completion.in the next tab take replace ment
as key.in the last tab select "date".
2nd: do the same thing for the notification creation date.
3 rd : create 3 rd local formula and do the substraction
for the first 2 local formulas.
4th:create codition on the difference which u have find with
on that condition u can create one user entry varibale.
5th:while u defining the query put these 2 dates,i,e
notification completion, notification creation date in the character block.
If not system will ignore the formula variable which u created in
above steps.
Hope this wil help u.
regards....KP -
How to block key figure value input in DP?
Hello everyone!!
I need to create a way to block the input of value in some key figures in some planning books in DP.
I tried to create a macro to block cell input - CELL_INPUT(XXX) = 0 - , but unfortunately it doens´t work, because I have another macro (default) that keeps one cell of the entire row opened to the user insert the values.
I can not put the "closing" macro as an interactive macro in the planning book, because, only one user is able to execute the macros, not all of them. And I also can not take off the other macro from the default event or change in the design mode of the planning book.
Does anybody know´s another way to do it?
Thanks a lot!!
Regards
AngelaHello Visu
It´s not possible to create another planning book. They will have to use the same. But I have another solution. I´ll create this macro to block the values input in the determined row to be executed only for one user. This user will be the administrator, and only he would be able to execute this macro to block the other users.
But I have one doubt, how can I set the macro to be execute only by this user using the USER( ) function? The way I did it´s locking only this user, and it has to block all the others. The function user will be used only for the administrator.
The macro is like this:
IF
USER ( 'AAA') = 1
Line XXX (Attributes) =
ROW_INPUT( 0 )
ENDIF
Best Regards
Angela
Edited by: Angela Christina Martelli on Mar 26, 2009 4:49 PM
Maybe you are looking for
-
Errors:Installing Oracle Portal, Forms, Reports and Discoverer on Win7
Someone can help me? I installed Oracle Portal, Forms, Reports and Discoverer on Win7. I have install: jdk 64bit Oracle db 11g (64bit) Oracle Weblogic 1033 (wls1033_generic.jar) Oracle Portal, Forms, Reports and Discoverer (ofm_pfrd_win_11.1.1.2.0_64
-
XI File Adapter sending/receiving zip files
Can the XI File Adapter create a zip file to send outbound from XI and/or can it also translate a zip file inbound into XI?
-
Hi - Can some help I am going crazy!!.! I drew a shape with the pen tool (which took me ages..) , I traced it from a picture I imported, and i am unable to reselect it. I can see it in red but I am just not able to reselect it. I have the layer sel
-
Addining additional page types or styles to the pages icon drop down list
in the tool bar - pages - i have one page of latintype of text as the only choice. How do I add other types of page layout or templates to this drop down list that only has the one page of weird text on it? I am stuck. thanks.
-
N81 8GB Firmware V20.0.056 APAC
I would like to ask when will Nokia release the firmware for APAC region? I've seen the APAC firmware leaked in certain forum however NSU do not have the latest firmware for it yet. It still showing me the latest firmware as V11.0.045 This is what I