Value type 20 records in CCA cube
Hi
There is a difference between the no of records in request loaded and no of records shown in Ftable for
records having value type =20 for year 2005 for 0CCA_C11
cube...Pl note the value type =20 records are loaded once in begining of the year..
why so?
Regards
Padmanabh
Not as sure about 0CCA_C11 (Infocube?) off the top of my head do you mean 0CCA_C01? - Which cube and datasources are you using..
Value type 20 is Plan and 0CO_CCA_1 extractor splits the record in the extractor. Have you looked into Currency Type? I suspect you would have a multiple of the original since it would split into different currency type record 0curtype of
00 document currency,
10 company code currency
20 controlling area currency
30 group currency..
Chances are, you have 3x the records...
Hoe this helps and free free to assign points if it is useful.
Mary
Similar Messages
-
Getting value type 20 (plan) from 0CO_OM_OPA* extractor
Hi All,
I have 0CO_OM_OPA6 extractor which is for actuals so it extracts value type 10 to bw cube.
Now as per requirements i need to get value type (0VTYPE) 20 into the cube.
I know there is extractor 0CO_OM_OPA_3 extractor which is designed for plan. Which are the tables behind this extractor ? can some one give me the names of the tables ?
is there anyother way i can get value type for plan ?
Thanks,
KSPlease see note note 573962.
This note returns background information for the totals record and line item DataSources for costs in the area of overhead controlling.
These are DataSources for objects with an account assignment:
Cost center,
Process costs,
Requests,
WBS element,
Network,
Network activity and
Network activity element.
The following questions are answered in this note:
Why are there two different DataSources that extract costs for an object with an account assignment?
For which value types do the DataSources return data?
Which DataSources are delta-compatible?
When do the line item DataSources sometimes return values for the costs other than the totals records DataSources?
How do I avoid duplicate values for costs in the InfoCube?
Which selections should I use with the extraction?
7000000220000001
70000003
Some information is missing.
70000004
Why are there two different DataSources that extract costs for an object with an account assignment?
For which value types do the DataSources return data?
Which DataSources are delta-compatible?
Answer
Totals record DataSources
There is one totals record DataSource for each of the objects with an account assignment.
These are specifically the following DataSources: 0CO_OM_CCA_1, 0CO_OM_ABC_1, 0CO_OM_OPA_1, 0CO_OM_WBS_1, CO_OM_NTW_1, 0CO_OM_NWA_1, 0CO_OM_NAE_1.
The DataSources extract data for the following BW value types, InfoObject
0VTYPE:
10 Actual,
40 Commitment,
20 Cost element planning values
at totals record level from the COSS and COSP database tables.
Furthermore, target costs are still calculated for cost centers from the cost element planning values if the BW value type
30 Target
is selected explicitly.
The totals record DataSources do not support a delta extraction.
Line item DataSources
There is also one line item DataSource for each object with an account assignment.
These are specifically the following DataSources: 0CO_OM_CCA_9, 0CO_OM_ABC_7, 0CO_OM_OPA_6, 0CO_OM_WBS_6, CO_OM_NTW_2, 0CO_OM_NWA_2, 0CO_OM_NAE_2.
These DataSources only return data for the BW value type
10 Actual.
These are actual line items that are read via the COVP view from the COBK and COEP tables.
The line item DataSources support the delta extraction of data.
When do the line item DataSources sometimes return values for the costs other than the totals records DataSources?
Answer
The actual line item DataSources do not deliver any data from R/3 for historical periods if the line item information for these periods were already archived in R/3. We recommend that you then load the actual data for the historical periods into BW through the totals record DataSources.
5. How do I avoid duplicate values for costs in the InfoCube?
6. Which selections should I use with the extraction?
Answer
During the extraction, make sure that actual data in a certain period is either read through the totals record DataSource or the line item DataSource.
You can guarantee this by making a corresponding selection for the selection criterion periods for the line items and the totals record DataSources and by restricting the value types for the totals record DataSource.
If the values of a period are read simultaneously via the totals record and the line item DataSource and these are updated in the InfoCube, this causes duplicate values.
For old periods, the actual data is usually read at totals record level,
since the line items are already reorganized or
because the line items information are no longer required for historical data and, thus, the dataset transferred during the delta initialization of the line items DataSource can reduce.
Typical example for the selections:
0CO_OM_CCA_1
Period : 1995 001 to 2001 016
Value types: Plan, commitment, target, actual
0CO_OM_CCA_1
Period : 2002 001 to 2050 016
Value types: Plan, commitment, target
0CO_OM_CCA_9 Delta procedure for actual values
Period : 2002 001 to 2050 016.
regards,
Colin -
How to get values from a stored package variable of type record ?
Sir,
In my JClient form, I need to get values from a database stored package variable of type record. And the values are retained in the JClient form for the whole session. The values are copied only once when the form is started.
What is the best way to do that ?
Thanks
StephenStephen,
not sure what your model is, but if it is Business Components, I think I would expose the properties as a client method on the application module. This way all JClient panels and frames will have access to it. You could use a HashMap to store the data in teh app module.
If JDBC supports the record type, then you should be able to call it via a prepared SQL statement. If not, you may consider writing a PLSQL accessor to your stored procedure that returns something that can be handled.
Steve Muench provides the following examples on his blog page
http://otn.oracle.com/products/jdev/tips/muench/stprocnondbblock/PassUserEnteredValuesToStoredProc.zip
http://otn.oracle.com/products/jdev/tips/muench/multilevelstproc/MultilevelStoredProcExample.zip
Frank -
End Routine - Modify a record in the cube
Hello Guys,
In the end routine I have to update a field . The transformation is the same cube to the cube. I want the record to be modified like add a value to a field in the end routine. Since it is a cube it creates a new record instead of overwriting the existing record. Is there anyway I can modify the record. I know I can make the existing record 0.00 and then create a new record with the new value.Is there any other solution.
For example:This is the existing record in the cube
sales order Item No Backlog Amount Indicator
1000 10 1000.00
After applying the end routine it has 2 records ( I modify the record with the indicator value)
sales order Item No Backlog Amount Indicator
1000 10 1000.00
1000 10 1000.00 REV
After applying the end routine I need the record to be like overwrite(similar to DSO)
sales order Item No Backlog Amount Indicator
1000 10 1000.00 REV
How to achieve the above result in end routine.
Thanks
SenthilHi there,
Since you create new records in end routine in the InfoCube, why not delete the old ones?
You can use the
delete RESULT_PACKAGE where ...
Therefore deleting the old records after inserting the new ones.
Diogo. -
How to print all values in record datatype?
Hello friends ,
I wrote one function which returned the departments record type.
when ever I called the function that returned departments record type and stored in department record type variable..I have to print all the values in record...
What can I do???
My code is like this...
set serveroutput on
declare
type depcur is ref cursor return departments%rowtype;
dep depcur;
rec departments%rowtype;
function ref_cur_demo(ref1 in depcur) return departments%rowtype
is
v_dep departments%rowtype;
begin
loop
fetch ref1 into v_dep;
exit when ref1%notfound;
end loop;
return v_dep;
end;
begin
open dep for select *from departments;
rec:=ref_cur_demo(dep);
--Here I have to print all the record variables;
end;Hi Gopi,
You have to write the program in different way. In your case the function always returns only one value. You can see only one department detail as output.
To display a record type variable you need to use record type variable name .(dot) field name.
SQL> set serveroutput on
SQL> declare
2 type depcur is ref cursor return departments%rowtype;
3 dep depcur;
4 rec departments%rowtype;
5 function ref_cur_demo(ref1 in depcur) return departments%rowtype
6 is
7 v_dep departments%rowtype;
8 begin
9 loop
10 fetch ref1 into v_dep;
11 exit when ref1%notfound;
12 end loop;
13 return v_dep;
14 end;
15 begin
16 open dep for select *from departments;
17 rec:=ref_cur_demo(dep);
18 --Here I have to print all the record variables;
19 dbms_output.put_line(rec.department_id||' '|| rec.department_name||' '|| rec.manager_id||' '||rec.location_id);
20 end;
21 /
270 Payroll 1700
PL/SQL procedure successfully completed.
Here is the sample code which will demonstrates using ref cursors.
SQL> create or replace function get_dept_detail
2 return sys_refcursor
3 is
4
5 x_res sys_refcursor;
6
7 begin
8
9 open x_res for select * from departments;
10 return x_res;
11
12 end get_dept_detail;
13 /
Function created.
SQL>
SQL>
SQL> -- Execution
SQL>
SQL> declare
2
3 res sys_refcursor;
4 l_rec departments%rowtype;
5
6 begin
7
8 res := get_dept_detail;
9
10 loop
11 fetch res into l_rec;
12 exit when res%notfound;
13 dbms_output.put_line( l_rec.department_id||' '||l_rec.department_name);
14 end loop;
15
16 end;
17 /
10 Administration
20 Marketing
30 Purchasing
40 Human Resources
50 Shipping
60 IT
70 Public Relations
80 Sales
90 Executive
100 Finance
110 Accounting
120 Treasury
130 Corporate Tax
140 Control And Credit
150 Shareholder Services
160 Benefits
170 Manufacturing
180 Construction
190 Contracting
200 Operations
210 IT Support
220 NOC
230 IT Helpdesk
240 Government Sales
250 Retail Sales
260 Recruiting
270 Payroll
PL/SQL procedure successfully completed.
SQL>
SQL> -- In SQL*PLUS
SQL>
SQL> var res refcursor
SQL> execute :res := get_dept_detail;
PL/SQL procedure successfully completed.
SQL>
SQL> print res;
DEPARTMENT_ID DEPARTMENT_NAME MANAGER_ID LOCATION_ID
10 Administration 200 1700
20 Marketing 201 1800
30 Purchasing 114 1700
40 Human Resources 203 2400
50 Shipping 121 1500
60 IT 103 1400
70 Public Relations 204 2700
80 Sales 145 2500
90 Executive 100 1700
100 Finance 108 1700
110 Accounting 205 1700
DEPARTMENT_ID DEPARTMENT_NAME MANAGER_ID LOCATION_ID
120 Treasury 1700
130 Corporate Tax 1700
140 Control And Credit 1700
150 Shareholder Services 1700
160 Benefits 1700
170 Manufacturing 1700
180 Construction 1700
190 Contracting 1700
200 Operations 1700
210 IT Support 1700
220 NOC 1700
DEPARTMENT_ID DEPARTMENT_NAME MANAGER_ID LOCATION_ID
230 IT Helpdesk 1700
240 Government Sales 1700
250 Retail Sales 1700
260 Recruiting 1700
270 Payroll 1700
27 rows selected.
SQL>
Cheers,
Suri ;-) -
A list of values type item in a based table block
My block is based on a table. An item of the block take the value of a field of the table when the form raises. But this item must be updateable (by selecting a value in a list) and then it must be of the list of value type. And the values in the list of values come from another table (not the based table). Is it possible ? If it is, how can I do this ?
Thank you !Yes, it's possible. Just use a regular text item. Create an LOV using the LOV wizard. When you define the query for the LOV's record group, enter a statement that selects from the other database table. Set the return value of the appropriate LOV column to be the text item on the form. Finally, assign the LOV to that text item, so that the LOV pops up when the user presses the LOV key with the cursor in that text item. You can also set the LOV so that it automatically displays when the cursor enters the text item.
Just look up LOV in online help if you need more info. -
Value Type and Report Type in Report Painter Report
Is there a way I can get both characteristics WRTPP and RRCTY in one table? Or, can I work with two different tables in creating Report Painter report? I need to get the planned values of cost elements with record type 1 and value type 10 to show under one column in my report.
Your help is very much appreciated.
Edited by: Mauricio Villa on Oct 23, 2010 10:32 PMuse the selection criteria to restrict the field types in the query designer- use other variables to check the value
if it doesnt reconcile- you can alternatively use a multi provider for the same thing- that way you will get the same amount in 1 column and you could restrict using the infoprovider column -
Delete blank records from the cube
Hello;
We just upgraded from 3.5 to 7.0. When we started running our queries for the Inventory cube, we were getting an error message of "Error: The validity interval has the initial value as lower limit".
When I checked the cube, I found records that were blank, such as no dates, plants, etc.. I then tried to see if I can delete those records, but I cannot find a way to do this. Can someone tell me how to delete the blank records or any records from the cube directly? When I run the queries from the ODS, I do not get any errors at this time.
Any information, suggestions or HELP is greatly appreciated.
Thanks,
Maximina BarryHello Maximina,
You could try writing in some code that would delete the records which have some fields as blank in the start routine of the transformation that connects the ODS to the cube . So that the next time you load data from the ODS to the cube .. they would stay deleted .
Hope it helps.
Just to add ...
refer -> Need Sample Code to delete records from Cube using SE38 Editor
Thanks,
~Vj
Message was edited by:
Vijay Gopinath -
Report Painter - What is value type 10 Statistical Plan
One of my customers is running report 6o00-001 Orders: Actual / Plan / Variance. This report is displaying a plan value when, they say, no plan value has been entered. I have checked normal planning and this is correct - there is no plan value. However, when I check the report painter definition, the column in question will display value type 1 (Plan) and value type 10 (Statistical Plan).
Can anyone tell me:
- what is a statistical plan on an order?
- how can I remove the statistical plan value?
Many thanks in advance.Hi Szymon
Thanks for your answer.
But checking the correction constructions the code do reference to the operation RKP5 and the posting are being recording with operation RKP1.
I'm checking for a similar note but with this operation but I can't find it.
Do you know if it is something like that?
Regards
This is like the record looks in the table COSP.
Client
130
MANDT
130
Ledger
0
LEDNR
00
Object number
OR000000760636
OBJNR
OR000000760636
Fiscal Year
2014
GJAHR
2014
Value Type
10
WRTTP
10
Version
1
VERSN
001
Cost Element
56650101
KSTAR
0056650101
CO subkey
HRKFT
Business Transaction
RKP1
VRGNG
RKP1
Trading Partner
VBUND
Trading Part.BA
PARGB
Dr/Cr indicator
D
BEKNZ
S
Transaction Currency
BRL
TWAER
BRL
Period block
016
PERBL
016
Unit of Measure
MEINH
* modification to post revenues - Note 604092 if coeja-wrttp = '10' and uf-activ = 'RKP5'. elseif coeja-wrttp ge '01' and coeja-wrttp le '04'. else. continue. endif. * end modification to post revenues - Note 604092
Code in correction instruction.
* modification to post revenues - Note 604092 if coeja-wrttp = '10' and uf-activ = 'RKP5'. elseif coeja-wrttp ge '01' and coeja-wrttp le '04'. else. continue. endif. * end modification to post revenues - Note 604092 -
Is there any standard ODS for Contract (value type and quantity type)?
We know that in MM, contract records can be categorized into two different categories, Value type and Quantiy type. We are trying to see if there is any Contract ODS in business content that we can install which can take care of these two types of contract records that we can bring them over to BW from R3?
ThanksHi Kevin,
Please see this link,ODS looks related to your requirement.But seems its for CRM and not for MM.
http://help.sap.com/saphelp_nw04/helpdata/en/38/c3813ed9d23e44e10000000a114084/frameset.htm
cheers,
Vishvesh -
Financial transactions and value type
Dear Experts,
In SAP-HELP I found that: "The commitment items with other financial transactions (not 30), 40, 60 and 90, control with which value type a posting is recorded and under which business transaction it is displayed in the information system."
Please advise me where I can find for each financial transaction: which value type is determened, and which business transaction is displayed ?
ThanksTake a look at the following information under Sap Help if you have not already done so.
Value type and business transaction..
http://help.sap.com/saphelp_47x200/helpdata/en/9f/9a0829576611d295960000e835339d/frameset.htm
Financial transactions..
http://help.sap.com/saphelp_47x200/helpdata/en/9f/9a082c576611d295960000e835339d/frameset.htm
Update data in Funds Management
http://help.sap.com/saphelp_47x200/helpdata/en/9f/9a082c576611d295960000e835339d/frameset.htm
I don't think that there is a list or guide which indicates for each financial transaction, what value types are used and for which business transactions.
The financial transaction is part of master data of commitment items. Certain type of commitment items can only be used with certain type of business transactions. It is the business transactions which are linked to the value types.
For instance the financial transaction 90 is used for cash/bank clearing commitment items. I cannot (or shouldn't) use a cash account in a business transaction for a purchase order (value type 51). When you use a commitement item in a purchase order created in materials management, you want that commitment item to have a financial transaction 30, so that it will update funds management. This is just a basic example. I hope this help some. -
Value type 61 (Down Payments) may not be carried forward in FM area
Hi Friends,
We have implemented Fund management in FY 2011. My requirement is i want carry forword budget down payment to nex fiscal year , plz suggest to configuration step , Process and Impact on Existing system.
In FM budget When i m trying to carry forward down payment which is recorded under PO through T code - "FMJ_ANZ " system showing me error.
"Value type 61 (Down Payments) may not be carried forward in FM area 9000
Message no. FI741
Diagnosis
Due to the settings for the selected update profile or due to the Customizing settings for the closing operations in FM, no carryforward is allowed in FM area 9000 for value type 61 (Down Payments) in the commitment budget and/or payment budget.
Procedure
Delete the entry for this value type or select a different value type, assign an update profile to the FM area which allows this value type to be carried forward, or change the Customizing settings for the closing operations in FM.
Plz sugeest me config step, Process , and impact on existing scnerio.
Regards
RaheemHi Team ,
I have change Profile from "000102 to 000400 " and allow valu type 61 for carry forward in testing server after that budget down poayment carry forward to new FY successfuly ,
But when i am trying to make service entry sheet using ML81N system showing another error," 098 Changing the assignment of payment or commitment budget is not allowed" Snap shot is attached. is anything missed out.
plz sugeest me what have to do in this case -
How to restrict Overwritten records of Info-Cube in Query
Hi ,
In query i am able to see the overwritten/replaced records with Zero values as well the same records with new values i.e. same record with in 2 lines one with zero value and other with replaced value.How i can restrict that only new record should be shown in Query.
With regards,
Abhishek KumarAs in InfoCube if a new record is inserted with same key fields it add the previous record with -ve values and new record with new values having same key fields.Now i can see these records in Info-Cube but when it comes to query it shows all the records ,one with the zero value and the same with the new values.Question is how i can restrict the record with zero value.
Abhishek Kumar -
Aggregate function on "large value type"
We are constrained to use a model that stores records in a main table and various attributes of the record in a second table. Something like this: main record table CAR, attribute table CAR_DETAILS with CAR_DETAILS have key value pairs like "color"
"blue" and "doors" "4".
For reports we need to flatten the one to many nature of this to get CAR and color and doors by using an aggregate function like:
car_id, max(car_detail.value) filtered on car_detail.key = "color", max(car_detail.value) filtered on car_detail.key = "doors".
This works on other tables but the car_detail table (shall we say) appears to store its values as blobs. In any case when we attempt to aggregate we get "The query uses an aggregate function on a large value type expression. Large value type expressions
can not be aggregated."
Since we can't change the model, we would need to use another function to change this to a smaller string (or date, these are actually mostly date), but none of the very limited set of functions available seems to work to make this aggregation possible (and
there is no "first" or anything else similar).
The list of functions available in Report Model Queries can be found at https://msdn.microsoft.com/en-us/library/ee210538.aspx
Appreciate any ideas on how to solve this
I found a work around : create a second dataset reversing the direction:
car_detail.key, car_detail.value, car_id
with this filtered by car_detail.key = "color" (or doors etc)
Then use a lookup from the first dataset to the second to display the data:
=Lookup(Fields!car_Id.Value,Fields!Icar_Id.Value,Fields!car_detail.Value, "DataSet2")
where the 1st field is in the main report dataset, the second and third are in the lookup dataset, and the 4th parameter is the name of the lookup dataset.
Would still really like to have a solution that allows aggregation for ease of use and efficiency. -
About value type and key figure type
Hello Gurus,
please explan the different usage of about value type and key figure type. what is the typical values for both infoobjects ?
Many thanks,
FrankHi,
0METYPE is a key figure-specific info object usually used to define semantics of the individual business key figures in BW (for example, actual, commitment, plan, target values).
Its a bi specific field which is filled from extract structure field named MEASTYPE table COSR
Refer to OSS Note 523742 for how it is filled and the following link for additiona information.
http://help.sap.com/saphelp_nw70/helpdata/en/91/ddd52b9ef30645a338e28aae443807/frameset.htm
Note 523742 - BCT-CO: BW key figure model and R/3 tables for trans. data
This note provides information on the key figure model in the area of BW Content CO-OM. It also gives an overview of the DataSources for transaction data and the corresponding source tables and value fields in the R/3 System.
The key figure model for currency fields in the area of CO-OM contents affects the following info object of type key figure:
0AMOUNT Amount
The key figure itself does have any business semantics.
The semantics of the individual business key figures in BW (for example, actual, commitment, plan, target values) is determined using combinations of values for the following key figure-specific info objects (see also the account model in SEM-BPS, note 407563):
0METYPE Key figure type
0VTYPE Value type for reporting
--> 0VTDETL Details of the value type
--> 0VTSTAT Statistics indicator for the value type.
For example, using transaction SE16, the possible characteristics of the values of this InfoObject can be taken from the above-mentioned master data tables in R/3.
The business key figures on the InfoCubes of the standard BW content were defined as restricted key figures using this semantics of the key-figure-specific characteristics.
The conversion of the R/3 transaction data in the BW key figure model is carried out in the extractors using the ROMI_GET_VTYPE_AND_DETAIL function module. It primarily happens using the specified conversion tables.
The following dependencies exist for the source tables of the DataSources:
COSP_VTYPE for COSS, COSP, COVP,
COSB_VTYPE for COSB,
BPXX_VTYPE for BPGE, BPJA, BPEE
If an R/3 source record cannot be converted using these tables, it may not be extracted to BW.The application log of the R/3 DataSource transaction RSA3 contains entries for the unconverted values after the test run.(The log function for the CO-OM DataSources was considerably improved by the correction for note 523655).
The application log for the extraction runs from BW can be evaluated using transaction SLG1 (Object: RSAP, object information: RSAP_INFO)
Furthermore, the semantics of a key figure are still determined by the time characteristics and the following key-figure-specific info objects:
0CURTYPE Currency type (for more information, see note 517909),
0DB_CR_IND Debit/credit indicator (for more information, see note 065075),
0VERSION CO version
-Vikram
Maybe you are looking for
-
Monitoring mateiral dates functionality in PS
Hi Experts I wish to use this functionality for the following scenario: Project material needs long delivery duration. And the delivery monitoring is critical function since any delay hampers entire project. Especially, for major project items, the r
-
Runtime Error '9", "Subscript out of Range"
This is the line that comes up on debug: Set WsMonth = Workbooks("Safety Observation Tracker.xls").Sheets("Jan" I'm not a code guru, I have no clue where or why or if this ever worked. Any Help would be greatly appreciated. BJN Cut off the end Set W
-
When inserting a link to an anchor on a page, users are able to browse to the part of the page they want using a link which already points to the anchor e.g. <a href="anypage.htm#anchor1">First link to anchored text</a>. If they do that the newly cre
-
Hello - I have been discovering a problem on some of our servers on which lines containing cfdump just stop working. They do not result in a ColdFusion error, but an error gets logged to exception.log. This is a bit frightening because normal CF tr
-
How do I connect one iMac to to another iMac
What cable do I need to purchase to connect my current iMac to my old iMac and use the old iMac as a second screen?