Generic Delta with Two fields
Hi,
Can it be possible to have Delta on two fields in Generic Data Source?
If yes, Please let me know the Procedure.
Thanks,
Ram.
hi,
generic data source is nothing but if u used one data source to upload the data to one ods. at that time u want the same data source for next cube also.that time u crete the generic data source and create transformation ods to cube and also create the dtp ,upload the data.
delta means its filter the same records present in next time.
1.create data source and infopackage.
2.upload the data to datasource(psa).
3.create ods.
4.create transformation.(use that data source).
5.create dtp.
6.execute the data.
7.create cube.
8.right click the ods.
9.create generic data source.
10.right click the ods create transformation(use torget as cube)
11.create dtp.
12. that will have full or delta updates .
13. use delta update.
14.execute the data.
if its helpfull assign points.
thanks.
prakasu
Similar Messages
-
Generic Delta with Timestamp Field
Dear SDN Team,
We changed one of our HR datasource from FULL to DELTA with Timestamp(TMSTMP)-Time Stamp(UTC).
Which Delta we need to take Timestamp(Local) or Timestamp(UTC)
Our Generic Datasource is based on Function Module.This data source contains HR Hours Data i.e Direct Hours & Indirect Hours.
With interval settings has
Safety Interval Upper Limit - 'Blank' .
Safety Interval Lower Limit - 1800
New status for Changed Records (Selected)
It is a HR Generic Data Source.
We are creating the records in PA30,PA40 and going to take the records from PA0000,PA0001
Delta type for this DS is "AIE" as our delta type process for our DS.
I am trying to load the INIT to Cube,but its not allowing to load,saying with 'AIE' delta type its not possible to load to cube.
I changed the delta type to 'ADD' then the safety interval limits changed to
Safety Interval Upper Limit - 1800 .
Safety Interval Lower Limit - Blank.
Additive Delta (selected)
Is it possible to load the Generic Delta Time stamp to Cube?
Please let us know what are the settings & delta type needs to be there to load the Generic Delta Timestamp to Cube.
Your suggestions are really appreciated.
Thanks and Kind Regards,
Lakshman Kumar GHi,
We used TMSTMP filed with Data element TZNTSTMPS with data type DEC Length 15 in Function Module & Extract Structure.
Default filed name is TIMESTAMP_UTC,Domain is TZNTSTMPS.
Generic Delta -
Filed name - TMSTMP
Timestamp (UTC) selected
With interval limits
Safety Interval Upper Limit 1800
Safety Interval Lower Limit
New Status or Changed Records selected.
Thanks and Kind Regards,
lakshman -
Generic Delta with numeric pointer (Without safety interval and no field)
Hi
We have problems with Generic Delta extraction. Our previous Dev has created the data source with numeric pointer as the data source without any safety interval and without any field for numeric pointer selection even we have the date field (creation and change dates in view)....
He created the generic delta with numeric pointer and Additive delta selection on top of view (EKKO,EKPO and EKKN). So we are missing lot of records. Now I need to fix this asap, I have done generic delta with timestamp and cal day with change/creation date.
Now in order to fix our delta loads should I use the cal day as the delta pointer with change or creation date already available or is it ok to use numeric pointer with additive delta and safety lower limit as 10 or 20 with upper limit blank?
Also Should I use any field in the field nm section or is it ok to leave it blank ? Please advice...
Note: I checked the missing delta records in ECC and the change timing is in the afternoon and our load time is only night...We also have several other data sources with same settings (numeric with no safety and no field) but it is not giving any issues.
Thanks
Edited by: ganesh uttitti on Jan 26, 2011 10:33 PMHi Ganesh ,
I'm a little confuse,Why are you not use LO Delata for it? -
Is it possible to work with generic delta with timestamp without time chracterstics , and calday with out date feilds.
PLZ can any one provide reply to my thread.
Edited by: aumdeepa on Aug 5, 2011 11:47 AMIf it failed in BW (request is red) and you do a delta - system will ask to mark it a 'repeat' because the last one failed. When you choose 'repeat', it is going to let the extractor know that it is a repeat delta.
In this case, it will extract data from 25th to current date (both last and current delta).
Repeat delta will work the same, just that the lower and upper limits will be applied to the selection of the delta field.
Lower limit -> adjust back the lower selection value by this value
upper limit ->Adjust back the upper selection value by this much.
upper limit 1, lower limit 1 (by the way lower limit isn't usually applicable in real situations)
Ran delta on 20th first time
Select all data upto 19th (adjusted due to upper limit)
Ran again on 23rd
Select from 19th (ie 20 - 1 due to lower limit 1) upto 22nd (ie 23 - 1 due to upper limit)
Ran on 27th
Select from 21st (22 - 1 due to lower limit 1) upto 26th (27 - 1 due to upper limit) and so on.
Repeat delta will follow this logic but will also bring the selection that was executed in the last delta run.
Hope it clears. -
Adding a custom tab in Purchase Order with two fields - ME21N
Hello Experts,
My requirement is to add a custom tab with two fields in purchase order at header level.
The BADI ME_PROCESS_PO_CUST is alreday implemented previously as there was one custom tab added previously in header.
The structure CI_EKKODB already have the custom fields for the enhancement done earlier.
Now to add my additional tab how should i proceed ....should i put my additional fields in the same structure and write my code in same BADI.....will there be any impact on already done enhanecement.
Please suggest in achieving this functionality.
Thanks,
NaveenHi,
Check this [wiki|http://wiki.sdn.sap.com/wiki/display/ABAP/DetailedexplanationaboutBADIandthewaystofindtheBADIwithanexample%28ME23n+transaction%29], it tells you how to do with an example for item data.
Regards,
Eduardo -
Generic delta using function module with two fields AEDAT AND ERDAT
Hi,
i have scenario that i have to create a generic data source having delta using funcation module and the delta speci fields are AEDAT AND ERDAT . Is there possibility with out using these two fields ( i mean AEDAT AND ERDAT) in the extract structure can i create the data source . and provide sample code for me . it is very urgent.
waiting for the reply,
sri.cHi Sri,
here some coding, I hope this helps!
first, get the delta-field
LOOP AT s_s_if-t_select INTO l_s_select.
CASE l_s_select-fieldnm.
WHEN 'ZDATE'.
MOVE-CORRESPONDING l_s_select TO r_date.
IF r_date-high IS INITIAL OR r_date-high = space.
r_date-high = '9991231'.
ENDIF.
APPEND r_date.
ENDCASE.
ENDLOOP.
Cursor öffnen
OPEN CURSOR WITH HOLD s_cursor FOR
SELECT * FROM
WHERE ....
AND erdat in r_date
AND aedat IN r_date.
FETCH NEXT CURSOR s_cursor INTO CORRESPONDING FIELDS OF table e_t_data package size s_s_if-maxsize.
regards
Siggi
PS: Note that this coding only works for a very straight forward extraction.
Message was edited by: Siegfried Szameitat -
Delta with data field works if delta not run everyday?
Hello,
I have a doubt related with how delta works,
I have a generic datasource with delta behaviour. In delta, i selected a date field to control delta and i put one day for limit.
So, my doubt is:
I have a table with records with delta date 24.05.2007.
Last delta extraction were at 23.04.2007.
When i execute delta infopackage at 26.04.2007, i'm i going to get all records since 23.04.2007?
Thanks
Best Regards,
MariaHi,
if delta initialisation was done you'll get the diff between current run date and last delta run
/manfred -
Generic Delta with Numeric pointer.
Hi Experts,
We are using a generic delta for a Standard Master Data Attribute Data Source. Since it is standard by default it has the Numeric Pointer and the Additive Delta in the settings.
When a delta extraction is done with this option it does not bring any changed records it just brings the newly added records.
We are not able to change to the other Delta options available in that screen.
Could you guys help us with this issue.
Thanks
SandhyaHi Harvinder,
The answer you gave was very helpful.Thanks for all your help so far.
Due to some restrictions from our BASIS team, We are not able to Check the 'Change Document' for (AEDAT) Changed on field. There are other fields in the same Data Source which are Delta Enabled and they also have the 'Change Document' Checked. Could we use one of those fields in our Delta. If yes what changes do we have to make. If you can, Can you give a brief step by step how to make the changes.
Also we are not able to change anything in the Generic Delta tab. At times it is giving an error, other times it does not get saved when we go back it is unchaged. May be we are doing something wrong.
Regards,
Sandhya -
Generic delta with function module
Hi Gurus,
Is it possible to create a generic DataSource with delta support using function module following the queue delta mechanism (u can get some function moduel in MCEX function group, and check the outbound delta queue before and after update in transaction smq1.
I can store the delta data using qRFC and collective update mechanism. but I don't know how to create a generic data with delta and how to attach a rfc destination (& logical system) to the data source. The Source system information is stored in the table "ROOSGEN". Is there any configuration setting required to do the same.
Regards,
JugalJugal,
What I understand you to be asking is if it is possible to create a generic delta extractor which uses the delta queue. If this indeed is your question the answer is yes.
First you need to create your data source so it is visible via tx RSA5 and need to make sure that the delta type (ie ABR, AIM)is set appropriately for the datasource.
The issue however is determining from where you will associate your delta hook (when will you write to the queue)? I have in the past utilized BTE's, Business Transaction Events to write information out to the delta queue, you can see a list of available BTE's in your system via tx FINF.
Once you find a place to write your deltas from you call the below FM with the appropriate datasource.
RSC1_TRFC_QUEUE_WRITE.
Once you have done this the standard BW extractor for deltas will pull the information from the delta queue. But from what I understand you just want to know how to associate the data with the delta and that is the FM listed above.
Hope this helps,
Cheers,
Scott
> Hi Gurus,
>
> Is it possible to create a generic DataSource with
> delta support using function module following the
> queue delta mechanism (u can get some function moduel
> in MCEX function group, and check the outbound delta
> queue before and after update in transaction smq1.
> I can store the delta data using qRFC and collective
> update mechanism. but I don't know how to create a
> generic data with delta and how to attach a rfc
> destination (& logical system) to the data source.
> The Source system information is stored in the table
> "ROOSGEN". Is there any configuration setting
> required to do the same.
>
> Regards,
> Jugal -
Use DISTINCT with two fields to return one record
I am using OleDB with a SELECT DISTINCT query that is used in C# code to populate a DataGridViewComboBox. The queried table has two fields: ID and Description. The ID field values are unique. Descriptions may be duplicated. The DataSource of my DataGridViewComboBox
is ListBoxItems which is a ListBox that is populated from a table. The ValueMember is ID and the DisplayMember is Description. A sample table might look like this:
ID Description
1 Blue
2 Blue
3 Red
4 Blue
I want my query to return two records; one for the Red description and only one for the Blue description. I don't care which Blue description it returns, but I do need the corresponding ID for the selected Blue record and the ID value for the Red record.
Using SELECT DISTINCT ID, Description FROM... would give me four records instead of two. How can I return only two records in this scenario?
Rob E.Using window function:
create table #temp
ID int,
description varchar(20),
insert into #temp Values(1,'blue')
insert into #temp Values(2,'blue')
insert into #temp Values(3,'red')
insert into #temp Values(4,'blue')
;WITH CTE AS (select RN=ROW_NUMBER() OVER (PARTITION BY description ORDER BY newid() ),
ID,description from #temp)
SELECT ID, description from CTE
WHERE RN = 1;
ID description
4 blue
3 red
Kalman Toth Database & OLAP Architect
SQL Server 2014 Database Design
New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014 -
i have an array with three fields: id, name and date.
i want to sort it by name first and then date.
the size of my array could be as large as 1 million.
what could be the most efficient way to do so?
tia!It's very inefficient to sort an array on "the fly".
In that case at least use a linked list so you don't
have to move all elements after the insertion point to
make room for a new insert. But it's much better to
sort afterwards when all elements are in the array.Use a TreeSet. A linked list will be slower than a TreeSet, I suspect.
I believe that with a TreeSet, insertions will be somewhat slower (O(logN) vs O(c)), but the subsequent sorting of a linked list will be, what, at least O(NlogN) and possibly O(N^2)? And when you're inserting the first elements into the TreeSet, it should be closer to O(c) anyway, whereas the after-the-fact sorting of a LinkedList wouldn't have an advantage like that.
Then if necessary extract an array out of the TreeSet when you're done creating/inserting elements.
But really, use a database. -
Hi All,
i have created a generic datasource using tables vbrp,vbrk.mara,marc,knvv.. to get the sales data for planning.Here i have document created date and time.So i'm concatinating these 2 date and time fields into timestamp which is of format yyyymmddhhmmss.Finally i'm using this timestamp to extract data .
So is it the right way to pull the data using timestamp and what is the timezone i need to specify as the servers are in india only.
or any other way to proceed.
Thanks
Rao.Hi Siva,
U mean.. is ur MKPF is having the TIme stamp field in that? or this table has got enhanced with the TIme stamp field..?
do let us know these details..
Why dont u try using any other fields like changed on or some other fields which will satisfy ur requirement..?
Is ur Init is done successfully?... and do u see an entry in the table ROOGENDELTM table....
This table will be having an entry for the generic extractors which are with the Delta's..
Thanks
Assign points if this helps -
Delta with two different selection criteria
I have crated two Delta DTPs with different selection criteria (one with Flag = Y and Flag = N).
With flag = Y selection I have 100 records and flag = N, I have 50 records.
When I ran first Delta DTP (flag = Y), I got 100 records. Delta DTP worked fine.
But when I ran 2nd DTP (with flag = Y), 50 records tranferred but no records added.
Is it possible to have two delta DTPs with different selection criteria?
Thanks,
PV
Edited by: P V on Aug 23, 2009 4:58 AMHi.
I guess there was a typo error in your query,
"When I ran first Delta DTP (flag = Y), I got 100 records. Delta DTP worked fine.
But when I ran 2nd DTP (with flag = Y), 50 records tranferred but no records added."
I guess it should be,
"When I ran first Delta DTP (flag = Y), I got 100 records. Delta DTP worked fine.
But when I ran 2nd DTP (with flag = N), 50 records tranferred but no records added."
Yes, two Delta DTPs with different selection conditions can be used.
Can you please check with the availability of 50 records with FLAG = N in the target InfoProvider?
If the 50 records with FLAG = N loaded through delta already exists in the target InfoProvider,
then no addition will occur though trasfer will take place.
Regards.
VJ -
Generic Delta without date field and without document number
Hi Experts,
I have created Funtion Module Extractor program, but my strcture not having any date field and document number fields.
Please let me know how to maintain the delta for extractor program.
Thanks in Advance.
Chandrahi,
it is not mandatory to have doc number or date fields for delta,
u must have other fields which could change and try to find those fields and try, chk with the business for their delta requirement else go with full load.
Ramesh -
How to get generic delta using timestamp field
Hi All,
i have created a generic datasource using tables vbrp,vbrk.mara,marc,knvv.. to get the sales data for planning.Here i have document created date and time.So i'm concatinating these 2 date and time fields into timestamp which is of format yyyymmddhhmmss.Finally i'm using this timestamp to extract data .
So is it the right way to pull the data using timestamp and what is the timezone i need to specify as the servers are in india only.
or any other way to proceed.
Thanks
Rao.Hi Rao,
Delta based on timestamp based on generic datasource only works if any one of the tables contains timestamp field(not time and date fields separately).
I dont think by combining date & time fields will give you correct results.
Regarding time zone: Use SAP system time zone.
Srini
Maybe you are looking for
-
Thinking of using Home Sharing. Not sure if I can or should.
Hi. A few weeks back iTunes started asking me if I wanted to enable Home Sharing. I was curious but since I was unsure I haven't done it yet. Here's my deal, we have 2 Macs in the house and my stepdaughter synchs her iPod on our MacBook and she's fin
-
Hi All, I want to create objects at universe level for the following : Ver:- BOXIR2, Database is Oracle. Monthly averages for the last 12 months u2013 Balances for last 12 months are shown in the report. These are previous 12 months, starting f
-
Last 2 fields to be displayed in ALV
HI Experts, I need your help once again. My ALV using OOPS has 24 columns and the its is very long. Im not able to scroll to the last field in my ALV .WEven if i scroll only 22 fields are visible. Please let me know how to scroll to make all the fiel
-
Hello, Can someone please point me in the right direction on how to set the rotation value for point text? I would greatly appreciate any tips. Thanks, -jeshua
-
QT 7.4, Flash and Quark
Taking a long shot at posting here but I am completely stumped. Today I upgrade to QT 7.4. When I have Quark 6.5 or 7.0 open my flash player in Safari and Firefox slows to a crawl. As soon as I quit the Quark apps the flash player returns to normal.