Number of new delta records into cube
Hi,
The deltas are running for the cube. Client wants to know how many number of records are loaded in the cube for each load.
I mean when the delta load (process chain) completes it should send an email with number records loaded in to cube.
Please any one help me out on this issue. Thanks for your help in advance.
Thanks,
Raj.
I have tried for 0MAT_PLANT as yours.You can see the record count as 67 records. I have tested this on BI 7.0 SP 16
.I got mine as follows:
Test mail
Process ZI_8SMATGMP2_full_Man Of Type Execute InfoPackage Has Status Successfully completed (Process Chain Temp) Log for This Process: Data successfully updated Diagnosis The request has been updated successfully. InfoSource : ZNK_OP_MAT_PLANT Data type : Transaction Data Source system: BW1110 Log of Respective Background Job: Job started Step 001 started (program RSPROCESS, variant &0000000048822, user ID BTC_GBL_BW) Data saved successfully Start InfoPackage ZPAK_43YOZD7INDYOXD6WA8VV2Z257 InfoPackage ZPAK_43YOZD7INDYOXD6WA8VV2Z257 created request REQU_49G2VHO86U1Q27NQC52VN7F8G InfoPackage ZPAK_43YOZD7INDYOXD6WA8VV2Z257 Started In Process Chain ZTEMP; Generated Request: REQU_49G2VHO86U1Q27NQC52VN7F8G Job finished Information for Process Master data table: 0MAT_PLANT Data Type (D- Trans.Data, H - Hier., M - Mast. Data, T-Text): D PSA Table: 8SMATGMP2_BA
Number of Data Records Received: 67 Number of selected data records: 67 Request Number: REQU_49G2VHO86U1Q27NQC52VN7F8G
Edited by: Manga Paidikondala on Apr 11, 2008 12:35 PM
Similar Messages
-
Inserting new input record into the table through screen
Hi,
Example UserTable and PaymentTable
UserTable - UserID - Primary Key
PaymentTable - containg couple of fields and UserId is foreign Key.
I designed the page for to insert the new input record using the steps given in the doc "http://download-uk.oracle.com/docs/cd/B32110_01/web.1013/b28967/web_adv007.htm".
When i click the persistEntity method its throws TopLink error cannot insert null value into UserId column in PaymentTable.
Currently i am posting this reply from home... that's why i mentioning the scenario rather than posting the error.
Please tell how to populate the values from the screen to PaymentTable.
Thanks & Regards
Vimalan BalanHi Vimalan,
Did you find an answer for you question?
Regards,
Phil -
How To Split One Record into 30 Records(Number of days in a Month)
Hi Experts,
we are getting the montly(yearmonth) Forecast data from flat file we need to generate the report which shows the daily Forecast data,
For example for the month of June Forecast we have 150EA.
Flat file data is like this
0calday Qty
201006 150
we need to show the report like datawise
Calday Forecast qty
20100601 5
20100602 5
20100603 5
20100604 5
20100605 5
20100606 5
20100630 5
its like month forecast / Number of days in a month.
we can achive these in two ways as per my knowledge
1. At the time loading data
2. Reporting level
Which is the best way
how can we achive this.
Thanks
ChandraHey. There was a similar posting I gave a suggestion on a while back. Here is the link...
Re: Spliting records into cube
As far as the correct time of doing this, I would definitely do this at the time of data load and not time of reporting.
Hope you find it helpful.
Thanks -
Hi,
In our scenario we load delat data into ODS and then delta data into Cube. I added new characteristics in ODS as well and Cube to fill in based on other existing field and a table lookup for value. I wrote the routine in ODS Update rule.
After the data i see reverse record in Cube? One record for the new characteristics filled in and another reverse record for new characteristics empty.
Basically the data in Cube is Double the Data in ODS.
How to eliminate this? What is the reason for this?
Thank you
arunHi Arun,
When you initialize from the ODS you have to clear the data from the cube, otherwise you get dupicate data in the cube. you can use the ODS as a data store and never clear the data from the ODS, that way you have history. If you add new fields to the ODS do not delete the current data in the ODS and reinitilaize the ODS to bring in the new fields. If you need the new fields in the cube then clear the contents of the cube and initialize the delta into the cube.
Hope this answers your questions,
Aaron Blasi -
Delta Records is not getting updated in delta queus when changes done
Hi All,
In Quality system , when a user makes a change to an order's ship-to address, the changes are "triggering" a delta record into the delta tables for BI to extract. This can be seen via tcode rsa3's delta tester.
In Productionn System, when the user makes the exact same change, nothing is added to the delta table and the changes never come over to BI unless a full extract is request for the order.
Why changes not getting updated, please give your inputs.
Thanks & Regards,
Venkat Vanarasi.Do you have your V3 update job active and running? THis job wites changes to the delta queue. Of course your datasource has to been initialized and a delta queue should be setup. You can check it in RSA7.
Regards,
Juergen -
Delta records not updating from DSO to CUBE in BI 7
Hi Experts,
Delta records not updating from DSO to CUBE
in DSO keyfigure value showing '0' but in CUBE same record showing '-I '
I cheked in Change log table in DSO its have 5 records
ODSR_4LKIX7QHZX0VQB9IDR9MVQ65M - -1
ODSR_4LKIX7QHZX0VQB9IDR9MVQ65M - 0
ODSR_4LIF02ZV32F1M85DXHUCSH0DL - 0
ODSR_4LIF02ZV32F1M85DXHUCSH0DL - 1
ODSR_4LH8CXKUJPW2JDS0LC775N4MH - 0
but active data table have one record - 0
how to corrcct the delta load??
Regards,
JaiHi,
I think initially the value was 0 (ODSR_4LH8CXKUJPW2JDS0LC775N4MH - 0, new image in changelog) and this got loaded to the cube.
Then the value got changed to 1 (ODSR_4LIF02ZV32F1M85DXHUCSH0DL - 0, before image & ODSR_4LIF02ZV32F1M85DXHUCSH0DL - 1, after image). Now this record updates the cube with value 1. The cube has 2 records, one with 0 value and the other with 1.
The value got changed again to 0 (ODSR_4LKIX7QHZX0VQB9IDR9MVQ65M - (-1), before image &
ODSR_4LKIX7QHZX0VQB9IDR9MVQ65M - 0, after image). Now these records get aggregated and update the cube with (-1).
The cube has 3 records, with 0, 1 and -1 values....the effective total is 0 which is correct.
Is this not what you see in the cube? were the earlier req deleted from the cube? -
Delta records are not loading from DSO to info cube
My query is about delta loading from DSO to info cube. (Filter used in selection)
Delta records are not loading from DSO to Info cube. I have tried all options available in DTP but no luck.
Selected "Change log" and "Get one request only" and run the DTP, but 0 records got updated in info cube
Selected "Change log" and "Get all new data request by request", but again 0 records got updated
Selected "Change log" and "Only get the delta once", in that case all delta records loaded to info cube as it was in DSO and gave error message "Lock Table Overflow" .
When I run full load using same filter, data is loading from DSO to info cube.
Can anyone please help me on this to get delta records from DSO to info cube?
Thanks,
ShammaData is loading in case of full load with the same filter, so I don't think filter is an issue.
When I follow below sequence, I get lock table overflow error;
1. Full load with active table with or without archive
2. Then with the same setting if I run init, the final status remains yellow and when I change the status to green manually, it gives lock table overflow error.
When I chnage the settings of DTP to init run;
1. Select change log and get only one request, and run the init, It is successfully completed with green status
2. But when I run the same DTP for delta records, it does not load any data.
Please help me to resolve this issue. -
Entity Framework doesn't save new record into database
Hy,
I have problem with saving new record into database using Entity Framework.
When I run program, everything seems normal, without errors . Program shows existing, manually added records into the database, and new one too. But new one isn't save into database after running program.
I've got no idea where's problem. There is code for add new record, show existing.
Thanks for help!!
// add new record
using (var db=new DatabaseEntitiesContext())
var person = new Table()
First_Name = "New_FName",
Second_Name = "New_SName",
PIN = "4569"
db.Tables.Add(person);
db.SaveChanges();
//show all records
using (var db=new DatabaseEntitiesContext())
var selected = from x in db.Tables
select x;
foreach (var table in selected)
Console.WriteLine("{0}{1}{2}",table.First_Name,table.Second_Name,table.PIN);Hi BownieCross;
If you are using a local database file in your project the following may be the cause.
From Microsoft Documentation:
Issue:
"Every time I test my application and modify data, my changes are gone the next time I run my application."
Explanation:
The value of the Copy
to Output Directory property is Copy
if newer or Copy
always. The database in your output folder (the database that’s being modified when you test your application) is overwritten every
time that you build your project. For more information, see How
to: Manage Local Data Files in Your Project.
Fernando (MCSD)
If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects
and unknown namespaces. -
To add new record into the table Data Service client
When I am trying to add new record into the table Employeedetails using Data Service client it is giving a sql exception: "java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1."
Code:
DataService ds=DataServiceFactory.newDataService(getInitialContext(),"EmplDetApp","ld:EmplDetAppDataServices/EmployeeDetails");
EmployeeDetailsDocument edoc=EmployeeDetailsDocument.Factory.newInstance();
edoc.addNewEmployeeDetails();
//here I set the primary key value empid
edet.setEmpid("1212");
edet.setEmpname("manu");
ds.submit(edoc);
Error
EmpName 5 java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1
com.bea.ld.dsmediator.DataServiceException: java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1
at com.bea.ld.dsmediator.update.JDBCAdaptor.save(JDBCAdaptor.java:247)
at com.bea.ld.dsmediator.update.DataServiceMediator.submit(DataServiceMediator.java:528)
at com.bea.ld.dsmediator.update.DataServiceMediator.submit(DataServiceMediator.java:245)
at com.bea.ld.ServerBean.submit(ServerBean.java:529)
at com.bea.ld.Server_ydm4ie_EOImpl.submit(Server_ydm4ie_EOImpl.java:910)
at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:492)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:435)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:430)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
at java.lang.Thread.startThreadFromVM(Unknown Source)
Caused by: java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK__EmployeeDetails__6383C8BA'. Cannot insert duplicate key in object 'EmployeeDetails'. Severity 14, State 1, Procedure 'PC-P41403 null', Line 1
at weblogic.jdbc.mssqlserver4.TdsStatement.processWarning(TdsStatement.java:1178)
at weblogic.jdbc.mssqlserver4.TdsStatement.parseMsWarning(TdsStatement.java:1089)
at weblogic.jdbc.mssqlserver4.TdsStatement.getMoreResults(TdsStatement.java:756)
at weblogic.jdbc.mssqlserver4.TdsStatement.execute(TdsStatement.java:210)
at weblogic.jdbc.mssqlserver4.TdsStatement.executeUpdate(TdsStatement.java:97)
at weblogic.jdbc.mssqlserver4.TdsStatement.executeUpdate(TdsStatement.java:1455)
at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:147)
at com.bea.ld.dsmediator.update.JDBCAdaptor.save(JDBCAdaptor.java:151)
... 15 more
But I am not sure why it is giving an exception as Violation of PRIMARY KEY.
The update method works fine for the same client.
The exception only happens when I am trying to insert a new record.
Please help me to figure out this problem.If you are absolutely sure that you do not have such a row already in your table, open a case with customer support and reference CR321312. I believe the work-around is to put ld-server-core.jar in your client classpath.
Correction: put ld-server-app.jar in the client classpath
Edited by mreiche at 09/17/2007 3:28 PM -
Inserting new records into database table at runtime
Hi all ,
How to insert new records into database table at runtime on click update?
Thanks.Hi Sasikala,
Just for your understanding am giving a sample code snippet which you can use to read the contents of your Table UI element & save the data on to your database. Suppose you have a button up on pressing which you want to read the data from your screens table & save on to the database then you can proceed as shown below:
1) Obtain the reference of your context node.
2) Fetch all the data present in your table into an internal table using methods of if_wd_context_node
3) Use your normal ABAP logic to update the database table with the data from your internal table
In my example I have a node by name SFLIGHT_NODE and under this I have the desired attributes from SFLIGHT. Am displaying these in an editable table & the user would press up on a push button after making the necessary changes to the tables data. I would then need to obtain the tables information & save on to the database.
data: node_sflight type ref to if_wd_context_node,
elem_sflight type ref to if_wd_context_element,
lt_elements type WDR_CONTEXT_ELEMENT_SET,
stru_sflight type if_main=>element_sflight_node,
it_flights type if_main=>elements_sflight_node.
" navigate from <CONTEXT> to <SFLIGHT_NODE> via lead selection
node_sflight_node = wd_context->get_child_node( name = 'SFLIGHT_NODE' ).
lt_elements = node_sflight->get_elements( ).
" Get all the rows from the table for saving on to the database
loop at lt_elements into elem_sflight.
elem_sflight->get_static_attributes( importing static_attributes = stru_sflight ).
append stru_sflight to it_flights.
endloop.
" Finally save the entries on to the database
modify ZSFLIGHT99 from table it_flights.
if sy-subrc eq 0.
endif.
However a word of caution here.... SAP doesn't ever recommend directly modifying the database through an SQL query. You would preferably make use of a BAPI for the same. Try go through Thomas Jung's comments in [here|modify the data base table which is comming dynamiclly;.
Regards,
Uday -
How to copy a record into a new one
I would like to copy a whole record into a new one. Duplicate_Record doesn't help, because I do not necessarily want to copy the last record, but any record.
The user should be able to open a record and then call "copy" and the current record is beeing copied into a new one. The user can also choose "new record" and nothing will be copied into the new record.
So, if I want to copy the record, it's always the last one that has been opened.
Should I save the values from the last record in globals and pack them into the new record?Sorry, the data is very complex, so I can't give an example. But to say it in a simpler way: I would like to copy any record, opened by the user. But not the last record in the database -> therefore I can't use duplicate_record.
Hope it is clearer this time?still you have not given the data and output which you want.
But not the last record in the database
what did you mean here...
oracle doesnt have a track of the records which were inserted to the db. -
How to insert new record into oracle table from GridView in VS2005.
I need to insert records into Oracle10g table from VS2005 GridView using the Insert Method in Business Logic Class. The Update and Delete Methods are working fine. What's the best way out?
How is it "not possible"?
Either modify the Class for the new fields, or give the new fields default values (if applicable). If the type of an existing column has changed, then only the first option is available.
Where's the problem? -
Loaded data amount into cube and data monitor amount
Hi,
when I load data into the cube the inserted data amount in the administrator section shows 650000 data sets. The monitor of that request shows a lot of data packages. When I sum the data packages, the sum is about 700000 data sets.
Where is the difference coming from?
Thanks!Hi ,
If it is a full load to the cube , all the records are updated in it since in a cube data can be overwritten.
If it is a delta load and u want to see why the difference occurs between the records transferred and added in cube ,
u can go to the manage tab in dso , go to the contents tab ,there click change log button at the below , check the number of entries in that table , the number of entries are the added records in cube since only these records are the new records other records with the same key are already present in the cube. -
PSA had delta records but while updating to DSO it shows zero records.
Hi all,
I have a delta info package which picks up the delta records. The data is successfully extracted from source system and updated in the PSA. But the no of records extracted to the DSO are zero. Couldnt understand what is the problem. Request your valuable inputs on this issue.Inside the InfoPackage which you ran, click on the Monitor button or hit F6. In the next screen, open up the folder with the correct run date and select the node - on the right hand side of the screen, click on the tab named Details. Click on No to the subsequent dialog box. Here, open up the last node named "Processing (data packet)" then open up node named "Data Package". Open up all nodes under this one and you'll probably find that either there is a custom start/end routine in the Transfer Rules or in the Update Rules which is filtering out the records from the PSA from updating the target (Cube/ODS). One of these nodes will show you the exact count of how many records came into PSA and how many were passed on to the data target to update it and the reason behind it, for e.g. "Number of data records changed form 16 to 2 in start routine".
Hope this helps.
Cheers,
Sougata. -
Can not insert record into database
Hi:
I have problem with inserting a record into oracle database .
can some one please give some help?
I created a project which connected to a external database. My project is on one of the tables called family.
I followed the steps in the example "TwoPageCrudTable" from "Technical Articles & Tips". I have 3 pages: family,
family_create and family_update.
In page family: I have one table which bound to family table in db.
In page family_create, I have a bunch of text fields
In page family_update, I also have a lot of text fields which are bound to the fields of the family table.
In each of the page, there is a dataprovider, they all refer to the same rowset in the sessionbean.
Here is my code of create button:
public String create_action() {
if ( familyDataProvider.canAppendRow() ) {
try {
RowKey rowKey = familyDataProvider.appendRow();
familyDataProvider.setCursorRow(rowKey);
familyDataProvider.setValue("family.familyID", rowKey, fid.getText());
// familyDataProvider.setValue("family.countryoforigin", rowKey, counOrigin.getText());
// familyDataProvider.setValue("family.ELOD", rowKey, elod.getValue());
// familyDataProvider.setValue("family.power", rowKey, power.getValue());
familyDataProvider.commitChanges();
} catch (Exception e) {
error("Cannot append new family: " + e);
} else {
error("Cannot append a new row");
return "created";
FamilyID is the primary key of the family table which is type of String. There are also some other
fields with String or Number. I tried to insert a new record with value in all the fields and with
only some of the fields, neither succeeded. I also did a search in this forum and tried some of the
suggestions, no help. So could anybody help me to find the problem? Thanks in advance.It keeps giving me the error:
java.lang.IllegalArgumentException: FAMILY.FAMILYID
Does anybody know what is the problem? Thanks!
Maybe you are looking for
-
How do i delete a contact when it is linked
I have a couple of contacts which i don't even want as they came from facebook, i have now got rid of the facebook lot from my contacts but because a couple of them are now linked with another contact with the same name they won't delete.. HELP!! xx
-
Linux installation and display issues
PROBLEM: During installation, the following error occurs: No Java virtual machine could be found from your PATH environment variable. You must install a VM prior to running this program. RESOLUTION: Install Java 1.5 and make sure that it's in your PA
-
Dear sirs... in jdeveloper 10g 10.1.2, how can i detect the current operating system? thanks for any help
-
Stop script if something is missing
Hello AEScripters, can you tell me how to stop a script while running if a condition isn't right? i tried stop() and exit() (normaly they do the trick-) But i get a alert that these functions are not defined? i use them within a function. Could thi
-
HT1766 how do i found out my restrictiom code because i forgot it
how do u find ur restriction code if u forgot it