How to debug Delta records..urgent
Hi All,
I loaded some records with delta mode.
In rsa3, I select delta mode D, and clk Excute button, But It is saying "Error During Execution".
A. What is the reason Can any one explain?
B. How to Debug my delta records?
Pls explain Urgent.
Thanks & Regards,
Lakshmi.K.
Hi,
in case of simulation of update mode D you also have to provide the name of your target system. Then check the box debug mode. After clicking the execution button you are in the coding right before the extraction fm gets called. Jump into in by pressing F5 ....
But first of all you need to make sure that your datasource provides a delta (this may cause the 'error during execution').
regards
Siggi
Similar Messages
-
How to reprocess delta records during subsequent update of data targets
Hi,
I have an ODS which sends in delta records to a cube above it. Now there is a data load, happening monthy from a flat file, which was successful upto the ODS, but failed in the cube due to one invalid record. How do I reprocess this data load after correction of the invalid records in the source flat file?
The method I currently follow is to delete the failed request from the cube and then do a selective delete of records from the ODS and then reload the last data after correction.
Is there a better way to just reprocess the last load from the flat file?
Thanks & regards,
NikhilHi Bhanu,
Thanks for the response. I will explain a bit more in detail. Suppose there are 5 records coming in from the flat file - now 4 of those records are correct and one has invalid data.
All 5 records get loaded to the ODS successfully but in the cube we have a function module which works on the data and aborts the entire data package if it finds even one invalid record. So nothing gets loaded into the cube at all.
Now if we correct the one invalid record and then reload into the ODS - it will just send this corrected record over to the cube and we will miss out on the other 4 records which were originally correct since the ODS does not detect them as changed.
If we delete the request from the ODS (rather than doing the selective delete) then it disables the delta in the ODS asnd we have to reinitialise everything - which we cannot afford to do in a production environment.
Hope the problem is a bit more clear now.
I was looking for some way to just resend all the five records - with the one corrected record to the cube without going through this selective delete process sinc eits too cumbersome and we run the risk of messing up with actual data ina production environment.
Thanks for the help,
regards,
Nikhil -
How SAP determines Delta records?
Dear Experts,
I have a standard extractor 2LIS_02_ITM. It works like this.
1. when a sales order is saved, a customized program creates a new PO and updates a field in the PO using direct update, the abap 'update' command.
2. in BI, this record created is loaded as delta.
3. We notice that sometimes this when delta loaded, this field is blank and sometimes its not.
A. We suspect the delta did not capture program-created PO if this field value is populated as blank by the program.
B. If the program-created PO is opened and edited by user and then saved, SAP would generate a Delta record?
If this delta is created and BI reloads delta, this delta would be loaded into BI and the report would show the field value.
So, I need to check with experts here if using customized program to create a PO and update a field in it at the same time, would this be captured by the Delta mechanism?
Normally, if manually created, the PO would, i assume, be captured in the delta queue. But what about using program?
Please advise how delta is or can be affected by programs and how exactly is delta determined in this case. This standard extractor is set to use delta, i think using numeric field.
So, I am not sure if its due to R/3 or BW. For BW, its a direct mapping of the updated field. So, I do not think there is an issue on BW side.
regards
PascalDear Debjani,
On your reply to point 2 about the timing of LIS V3 update run, I like to seek clarification how the timing could cause the problem given that many delta records have successfully been loaded with existing way where a collection run is scheduled to run every around 15 minutes and is able to capture the delta except in some cases which is the problem? How can the field value change be missed due to this? On your point 3 reply, the PO is created by program and it can be created by user.
I still require some clarification . Hope you can kindly bear with me.
1. For most of the delta records loaded into BI from R/3, there is no problem with the data. The program-created PO records can be loaded. But for some cases, even when this field is populated by program or EDI, after auto-creation of the PO. This delta is loaded into BI with this field being blank.
2. This suggests to me, for most cases of the auto-PO creation, the BI Delta mechanism in R/3 is able to handle PO created by automated program in R/3.
3. So, seems to me, regardless of how the PO is created : user created / by program / by EDI, the delta mechanism seems to work. So, I like to learn more how exactly can TIMING difference (asynchronous) between the creation of PO records and the LIS V3 update delta queue creation batch job have resulted in the field update from not being extracted into the delta queue ?
Solutions (i think):
1. Is it possible to Change the current delta queue update extraction method from periodic (every x minutes) V3 update batch run to the Direct / Unserialised V3 update extraction method as mentioned by Arvind earlier? Would this mean every time PO is created by any means, even by program or field updated by EDI, the delta queue is immediately created to capture the change? This sounds like a solution?
2. Have the auto-PO creation program Trigger an R/3 event to run the V3 update whenever it has completed an update or PO creation to generate the delta queue. Would this load the r/3 too much if run frequently? Or since frequent run would mean also less delta queue created which means shorter run time?
Dear Sven,
would it be good idea to use the program for ME22N to update the particular field After the PO is auto-created by the ME21N program? Would this mean, using these programs will assure that delta is captured?
Best regards
Pascal
Edited by: Pascal Gabin on May 11, 2011 9:24 AM -
HOW TO GET "N" RECORDS, URGENT
Hi,
Can any one please tell me what will be the SQL statement to get 10 records for each department . I dont want top 10 , i just want to get 10 records for each department from the employee table. or lets say 10 orders for each day for last 30 days from the order table. This is very URGENT. Please help.
Thanks in AdvanceHi,
Thanks for your reply . But you didnt get my question I guess. I said I dont want the top "N" records. I want a query to pull N records for each department . Here is a sample, which shows 3 records for each department. Though there can be many records in the table for each department, the select staement pulls only three records for each department. I want that select statement.
Thanks
Feroz
deptno------------empno----------ename
10 -------------------100------------feroz
10--------------------110------------anwar
10--------------------120-------------liakat
20-------------------200--------------zahir
20------------------210---------------inzam
20------------------220---------------shakil
30------------------300---------------rameh
30------------------310--------------rajesh
30-------------------320-------------ritesh -
How to get the records of the particluar day when delta laod failed (Urgent
Hello BW Gurus,
We are facing one serious issue. Here is the scenario.
1st time the Delta was init and for next consective two loads delta ran sucessfully... then next time delta got failed and the status is in red..... even though system started next delta loading and it has fetched the records and status is in green but not activated ,,,,,its happening still past one month so almost there are 20 requests which are to be get activatetd.
How to resolve this issue.
<b>And how to get the records of the partilcular day when the delta got failed.
</b>
Anyone have come across with this strange issue then help me out and i will rewarrd the points.
Urs,
Raki.Hi
Can you provide more details about your extractor and data targets.
Are you loading delta to an ODS ??
If you are loading to an ODS, The only solution i can see is to get the missing delta records via FULL UPDATE. Because if you delete the error request from ODS it will also delete the 20 successful requests above it.
Cheers
Praveen
null -
How to see deleted records in delta extraction from view
Hi folks,
i am currently reflecting about delta extraction from a view:
The view contains a date field (change date) which is used to identify new or changed records.
So the delta extraction of new and changed records works without problems.
But what is happening with records that are deleted in the source system?
My current understanding is that deleted records will not be shown in the view. Therefore the deletion is not visible in the extraction.
- Is there a workaround for this problem?
- How is deletion of records normaly handled in generic extractors?
- Is it impossible to extract a deletion when using views?
any suggestions and help will be appretiated...
byeHello Florian,
Generally records will not be deleted (until if you physically delete it from table) but will have a status deleted.
So it doesn't matter whether you use view or tables the deleted records will be extracted through the view to update the BW data targets.
Thanks
Chandran -
How to fill set up tables with out missing the delta records
Hi,
I would like fill set up tables in the productioon system of apllication of logistics.
Can you please guide me how do we perform.?
What are points to be considered?
Because,when i start the filling set up table by 10.AM if there are any posting at 10:05,10:06....like that
how can collect them i.e will i miss any records in second delta run?What setps to be taken care?
Thanks in advance
Naresh.Hi.
You can fill the set-up tables during normal operation hours ,if you load the data into ODS and the update queue is 'Queued delta' .Downtime is needed to avoid the duplicates .But if you use 'Direct delta' you miss the delta documents. Hence it is better to go for downtime approach for this case.
Initially your delta records will be stored in the extraction queue and then when you run the collective job, records will be moved into delta queue. You can run the collective job (LBWE) anytime after the init run.If you need a daily delta ,then schedule this job before the delta loading. You can schedule this job either hrly or daily .This will move your records into delta queue. At the time of delta loading ,all your delta queue records will be moved into BW .
Thanks. -
How to Insert a record in a database table in debugging mode in production
Hi,
How to Insert a record in a database table in debugging mode in production ?
Waiting for kind response.
Best Regards,
Padhy
Moderator Message : Duplicate post locked.
Moderator message : Warning. Don't create multiple threads for same question.
Edited by: Vinod Kumar on May 12, 2011 11:02 AM
Edited by: Vinod Kumar on May 12, 2011 11:04 AMHi Senthil,
Regards,
Phani Raj Kallur
Message was edited by: Phani Raj Kallur -
I am running full upload daily now i want to load delta records how can i
Hi Gurus,
I am running full upload daily now i want to load delta records how can i do that could any body help recording this..
Regards
Kiran KumarHello Kiran,
First make sure that you datasource is delta enabled. If so create a new infopackage for Init without data transfer and execute it. Then create a InfoPackage for Delta.
Thanks
Chandran -
How can I get delta records for Generic Delta
Hi BW Gurus,
I am using Generic Extractor using View from CATSDB and CATSCO talbes. At the time of modifying and changing records I am unable to get those records in BW despite enabling delta in RSO2 screen. I am able to view those modified and added records in R/3 in tables. Plz help me how I get those records to BW.hi,
After we loaded all the historical data uing full upadate . Implemenattion process is over , But we will have the Transaction data that will raise daily , So we have to store that New / changed data in Delta q , And extract them each day by Delta Update
So we will create an Info packege with the update mode as Delta , And schedule them when to start extraction , So we create the process chain uisng RSPC by giving the Info packege name . And extract the Detla daily as per schedule .
award pts if helpful.. -
How to debug record wise?
hi experts..
i have a scenario as mentioned below..
i have 50 DATA PACKETS,
each DATA PACKET has 50000 records,
i have written a start routine too, now there is a error in 46 DATA PACKET for record number 35000, now i want to directly debug that record with out debugging each and every record of 46th data packet.
can any one help me out with a solution.
thanks and regards..Hello,
Create a Form-level ON-ERROR trigger, then for that particular error, display the block name that raised it:
DECLARE
lv_errcod NUMBER := ERROR_CODE;
lv_errtyp VARCHAR2(3) := ERROR_TYPE;
lv_errtxt VARCHAR2(80) := ERROR_TEXT;
BEGIN
IF (lv_errcod = 40654) THEN
Message(lv_errtyp||'-'||to_char(lv_errcod)||': '||lv_errtxt
|| ' on block:' || :system.trigger_block);
ELSE
Message(lv_errtyp||'-'||to_char(lv_errcod)||': '||lv_errtxt);
END IF;
RAISE Form_Trigger_Failure;
END;Francois -
Problem in getting Generic Delta records to BW
Hi BW Gurus,
I have got one issues with which I have been struggling a lot for several days . i.e
I am extracting data from R/3 using Generic Extractor (View) from CATSCO and CATSDB. At the time of delta, I tried using Personal No with Time Stamp giving Upper limit as 1800 seconds. I executed Infopackage in BW immediately. But it didn't work out. So plz guide me how I can get Delta Records to BW. Or should I do any necessary factors apart from these in Generic Delta Screen (RSO2).
It is very urgent.
I will be thankful for solving this issue.Hey I am "Intros" again,,
I am sorry man for giving the wrong T-code mistakenly in my last reply..
To solve the proble...the whole process is same what I told u before..
But... you got to go to T-Code : BD87 , then execute the IDocs manually to bring them in to BW
identify your IDocs which are missing in Monitor screen, then goto BD87 and select those IDocs and click execute... )you can search the IDoc's based on selection conditions)
I hope this will help u...
cheers man..
---Intros -
How to catch Delta Initialization and Delta Update in a Function Module
Hi Experts:
I'm developing a FM to extract data from R3. I wonder if anybody knows how to catch when i'm making a delta initialization and a delta update in my FM, because i have different parameters and routines from each one.
Thanks in advanced.
Points for helpfull answers.Hi,
Keep one dummy date field in the structure. Make this dummy date field as delta enabled field. When you do Init load this date field value will be blank and next time when you do load it will have the last upload (in this case init load) date. You have to write a code before open cursor as below:
LOOP AT s_s_if-t_select INTO l_s_select.
WHERE fieldnm = '(dummy date field name)'.
l_date = l_s_select-low.
ENDLOOP.
l_date will have the last upload date. This you can use to select the delta records from the table or for the further processing.
If you want to check the value during Init or delta load, go to RSA3 and debug it(Don't use F - Full load. Use I or D in the update field).
Hope this helps.
PB -
Impact of Delta Records on Key Figure Summation in DSO
Hi experts,
I have a key figure with aggregation type "summation" in a DSO. I would like to know the impact of delta records on the key figure.
E.g.
source DSO
doc_id (key) | doc_pos | type | amount
4711 | 1 | A | 100 USD
4711 | 2 | B | 20 USD
target DSO
doc_id (key) | amount
4711 | 120 USD
If the first record is modified ("type" from A to C) as follows and delta-loaded to target DSO:
4711 | 1 | C | 100 USD
This will lead to incorrect amount:
target DSO
doc_id (key) | amount
4711 | 220 USD
How can I handle this situation?
Thanks in advance.
Regards,
MengHi..
I believe one document number and document Item will have only one type.
Like 4711 1 should have only one type ( A / B / C).
If the above assumption is true then just remove Doc Type from Key field of source DSO.
Then From Source to Target Change Log table can handle this.
Regards
Anindya -
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?
Maybe you are looking for
-
Updating Database From csv File in Web Dynpro Java
Hi Gurus, I'd like to write an WDJ where the (super-)user can upload a csv file and delta-update the content of this file witch an external database. Could you please give some me hints & examples. Thanks in advance, Farid ps. answers will be rewarde
-
Is there anyway to restore my i-tunes acct to my laptop? both my laptop
is there anyway to restore my songs to my i-tune acct? my laptop & i-pod broke and my songs are gone? thanks
-
Panning and scaling image stills - jerky playback
when I render out a movie of my project that has still images that are panning and zooming the playback of those stills is a bit jerky How can get the motion so its smooth and does'nt stutter any help would be very helpfull
-
Error 255 when trying to downlaod MUSE through Cloud
I have tried to download Muse using both explorer and Chrome and I get the same error each time: Can anyone help with this? Exit Code: 7 Please see specific errors below for troubleshooting. For example, ERROR: --------------------------------------
-
Battery fine (?), won't run macbook
Hey there Fairly new (just out of warranty) MacBook. Battery is charged. Battery works fine in an older MacBook. However, on this laptop disconnecting the power adapter results in instant power off. Using the battery from another MacBook does not cha