ALE delta Generic Extraction on Z table
Hi All,
I am doing generic extraction on a Z table (Custom table).I want to run delta on this. But there is no delta specific field in this table.
Now I want to use ALE delta method for this.
I got following information from SDN
1. It is possible for only master data attribute data sources as it does not capture deletion of record.
2. It can be based on one or more delta specific field.
Follow below steps in order to create ALE delta method for generic DS
1. Go to RSO2
2. create mater data attribute DS
3. Give all details like App Comp , description & table / view name
4. Menu -> Data Source -> ALE Delta -> give table name & Change doc. object for that table. Save
5. Click on Generic delta & choose Numeric pointer under delta specific field.
Now my questions are
1. Can I use ALE delta method for an Z table? As I am not able to find any Z table in Menu -> DS -> ALE delta & Change doc. object for Z table.
2. Is it possible only for master data DS not for transaction datasource?
3. Is it possible only when generic DS is created on table not on view?
4. How to create Change doc. object for Z table (transaction SCDO)?
Any help will be appreciated
Thanks
Beside the steps done in RSO2, you have to create your own Change doc. object in t-code TCDOB and generate the update
program there. Then call this pgm when you update the source table. more details can be found in below link.
http://wiki.sdn.sap.com/wiki/display/ABAP/Change+Document
Similar Messages
-
ALE delta extract for HR master data
We want to create some R/3 delta extracts based on the HR PA* tables using the ALE delta extract function of generic extractor. Has anyone done this before? Are there any OSS notes or documents that I should look at? Thanks!
Hi Bill Faison,
This is very old message. I think your problem must be solved. If it is not then: yes we can extract Data from R/3 with ALE Delta .
You have to perform below steps.
1. In your Table you need to activate ALE change pointer.
2. Create change documents for required table.
3. Created Generic Extractor with ALE Delta.
Hope this will help.
Let me know if you have any concern or issue in this regards
Best Regards
Sharad Verma -
Generic Extractor with ALE-Delta Capability
Hi all,
I need to create a generic Data source based on 2 tables with fields: MARA-SPART.
MAKT-MATNR,SPRAS,MAKTX.
so i created a view on same and used it in creation of data source in T.C: RSO2.
My requirement is to make this Data source
Delta-capable using <b>ALE-Delta mechanisum</b>.
Please let me know your views regarding same.
And i promise to return and reward the answers.
Thanks&Regards,
Augustine.Hi Augustine and welcome to the sdn,
it is not possible to get a delta on the fields you added to your view. You have 2 options.
1st: add fields aedat and erdat of table mara to your view. Create 2 infopackages in BW to load all records created and all records changed in a specific time range.
2nd: create a fm and select the required fields from mara and makt that are created or changed in a specific time range. Create a ddic structure as extract structure containing spart, matnr, spras, maktx and a date field for the generic delta. See also this information about fm-extraction: /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
Hope this helps
regards
Siggi -
Generic Extraction (or) How to use table in R/3 system as datasource in BW?
Hi all,
Hope all are having a great day
Can any1 tell me the steps, for Generic Extraction.
It will be very helpful, if the steps are as much as simpler as posible.
I know to create a simple cube in BW.
I have this much knowledge, depending on this can any1 tell me the steps for Generic Extraction from R/3.
examples wud be vry useful
Regards,
Souravhi,
Maintaining Generic DataSources
Use
Independently of application, you can create and maintain generic DataSources for transaction data, master data attributes or texts from any kinds of transparent tables, database views, InfoSets of the SAP query or using a function module. As a result, you can make use of the generic extraction of data.
Procedure
Creating a Generic DataSource(RSO2)
1. Select the DataSource type and give it a technical name.
2. Choose Create.
The creating a generic DataSource screen appears.
3. Choose an application component to which the DataSource is to be assigned.
4. Enter the descriptive texts. You can choose any text.
5. Choose from which datasets the generic DataSource is to be filled.
a. Choose Extraction from View, if you want to extract data from a transparent table or a database view. Enter the name of the table or the database view.
After generation, you get a DataSource whose extract structure is congruent with the database view or the transparent table view.
For more information about creating and maintaining database views and tables, see the ABAP Dictionary Documentation.
b. Choose Extraction from Query, if you want to use a SAP query InfoSet as the data source. Select the required InfoSet from the InfoSet catalog.
Notes on Extraction Using SAP Query
After generation, you now have a DataSource whose extract structure matches the InfoSet.
For more information about maintaining the InfoSet, see the System Administration documentation.
c. Choose Extraction using FM, if you want to extract data using a function module. Enter the function module and extract structure.
The data must be transferred by the function module in an interface table E_T_DATA.
Interface Description and Extraction Process Flow
For information about the function library, see the ABAP Workbench: Tools documentation.
d. With texts, you also have the option of extraction from domain fixed values.
6. Maintain the settings for delta transfer where appropriate.
7. Choose Save.
When extracting, look at SAP Query: Assigning to a User Group.
Note when extracting from a transparent table or view:
If the extract structure contains a key figure field, that references to a unit of measure or currency unit field, this unit field must appear in the same extract structure as the key figure field.
A screen appears in which you can edit the fields of the extract structure.
8. Editing the DataSource:
 Selection
When scheduling a data request in the BW Scheduler, you can enter the selection criteria for the data transfer. For example, you may want to determine that data requests are only to apply to data from the previous month.
If you set the Selection indicator for a field within the extract structure, the data for this field is transferred in correspondence with the selection criteria in the scheduler.
 Hide field
You should set this indicator to exclude an extract structure field from the data transfer. As a result of your action, the field is no longer made available in BW when setting the transfer rules and generating the transfer structure.
 Inversion
Reverse postings are possible for customer-defined key figures. For this reason, inversion is only possible for certain transaction data DataSources. These include DataSources that have a field that is indicated as an inversion field, for example, the field update mode in the DataSource 0FI_AP_3. If this field has a value, then the data records are interpreted as reverse records in BW.
Set the Inversion indicator if you want to carry out a reverse posting for a customer-defined field (key figure). The value of the key figure is then transferred in inverted form (multiplied by 1) into BW.
 Field only known in exit
You can enhance data by extending the extract structure for a DataSource using fields in append structures.
The indicator Field only known in Exit is set for fields of an append structure. In other words, by default these fields are not passed onto the extractor from the field list and selection table.
Deselect the indicator Field Only Known in Exit to enable the Service API to pass on the append structure field to the extractor together with the fields of the delivered extract structures in the field list as well as in the selection table.
9. Choose DataSource ® Generate.
The DataSource is now saved in the source system.
Maintaining Generic DataSources
Change the DataSource
To change a generic DataSource, in the initial screen of DataSource maintenance, enter the name of the DataSource and choose Change.
You can change the assignment of a DataSource to an application component as well as the texts of a DataSource. Double-clicking on the name of the table, view, InfoSet or extract structure takes you to the appropriate maintenance screen. Here you can make changes required to add new fields. You can fully swap transparent tables and database views, but not InfoSets. If you return to the DataSource maintenance and choose Create, the screen for editing a DataSource appears. To save the DataSource in the SAP source system, choose DataSource ® Generate.
If you want to test extraction in the source system independently of a BW system, choose DataSource ® Test Extraction.
Delta DataSource
In the Change Generic DataSource screen, you can delete any DataSources that are no longer relevant. If you are extracting data from an InfoSet, delete the associated query. If you want to delete a DataSource, this must not be connected to a BW system.
For more information about extracting using SAP Query, see Extraction using the SAP Query.
hope this helps.
assign point if so
partha -
how can we set delta updates in generic extraction?can any one help in this
Hi Praveen,
Please do check the link for step by step for generic extraction
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
check the following
http://help.sap.com/bp_biv235/BI_EN/html/bw.htm
business content
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20co-pa%20extraction%203.0x
https://websmp203.sap-ag.de/co
http://help.sap.com/saphelp_nw04/helpdata/en/37/5fb13cd0500255e10000000a114084/frameset.htm
(navigate with expand left nodes)
Check these links:
/people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
/people/sap.user72/blog/2004/12/23/logistic-cockpit-delta-mechanism--episode-two-v3-update-when-some-problems-can-occur
/people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
/people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
/people/sap.user72/blog/2005/04/19/logistic-cockpit-a-new-deal-overshadowed-by-the-old-fashioned-lis
<b>For Generic:</b>
>Go to Tcode : RSO2,
>There give the name of data source which you want to create like transaction data source or master data attribue or Text data source.
>enter
>again in the next screen you need to give application like SD or MM etc
>in the same screen need to select table/view or infosetquery or function module. these are different ways of creating data sources.
>Give the name for the same like if u r creating data source on table give the name of table.
>click on Generic delta which will there in application tool bar and fill the required columns in that screen like type of delta and all
>continue and save
>it will give all the fieds
>enable the check boxes based on your requirement like selection or hide or field only..
>save
Hope This Helps.
Regards,
Ravikanth -
Where to find deltas in generic extraction
hi experts,
could you please explain me tcodes which are used to find the delta data while we go for generic extraction. Also can anyone explain me the full process of extracting the data using
infoset query and function module.
Cheers,
Pragya.Hi
You can define delta's in generic using " calendr day, numeric pointer, time stamp."
Generic Delta
If a field exists in the extract structure of a DataSource that contains values which increase monotonously over time, you can define delta capability for this DataSource. If such a delta-relevant field exists in the extract structure, such as a timestamp, the system determines the data volume transferred in the delta method by comparing the maximum value transferred with the last load with the amount of data that has since entered the system. Only the data that has newly arrived is transferred.
To get the delta, generic delta management translates the update mode into a selection criterion. The selection of the request is enhanced with an interval for the delta-relevant field. The lower limit of the interval is known from the previous extraction. The upper limit is taken from the current value, such as the timestamp or the time of extraction. You can use security intervals to ensure that all data is taken into consideration in the extractions. After the data request was transferred to the extractor, and the data was extracted, the extractor then informs generic delta management that the pointer can be set to the upper limit of the previously returned interval.
The delta for generic DataSources cannot be used with a BW system release prior to 3.0. In older SAP BW releases, the system does not replicate DataSources for master data and texts that were made delta-enabled using the delta for generic DataSources.
Determining the Generic Delta for a DataSource
1. Choose Generic Delta.
2. In the subsequent dialog box, specify the delta-determining field and the type for this field.
3. Maintain the settings for the generic delta:
a. Specify a security interval.
The purpose of a security interval is to make the system take into consideration records that appear during the extraction process but which remain unextracted (since they have yet to be saved) during the next extraction.
You have the option of adding a security interval to the upper limit/lower limit of the interval.
A security interval should only be specified for the lower limit when the delta method results in a new status for changed records, in other words, when the status is overwritten in BW. In this case, duplicate data records that could arise in such a safety interval have no affect on BW.
b. Choose the delta type for the data to be extracted.
The delta type is used to determine how extracted data is interpreted in BW and which data targets in which it can be posted.
With the delta type additive delta, the record to be loaded for summarizable key figures only returns the change to the key figure. The extracted data is added in BW. DataSources with this delta type can supply both ODS objects and InfoCubes with data.
With the delta type New Status for Changed Records, every record to be loaded returns the new status for all key figures and characteristics. The values are overwritten in BW. DataSources with this delta type can write the data into ODS objects and master data tables.
4. Save your entries.
Delta transfer is now possible for this DataSource.
After generating the DataSource, you can see this from the marking for the field Delta Update on the DataSource: Customer Version screen.
In systems from release 4.0B, you can display the current value of the delta-relevant field in the delta queue.
Example for Determining the Selection Interval for a Generic Delta
Safety Interval Upper Limit
The delta-relevant field is a timestamp.
The timestamp that was read last is 12:00:00. Delta extraction begins at 12:30:00. The safety interval for the upper limit is 120 seconds. The safety interval for the delta request is: 12:00:00 to 12:28:00. Upon completion of the extraction, the pointer is set to 12:28:00.
Safety Interval Lower Limit
The delta-relevant field is a timestamp. After images are transferred. In other words, the record is overwritten with the status after the change in BW, for example for master data. Any duplicate records that appear have no effect upon the BW system.
The last changed timestamp is 12:28:00. Delta extraction begins at 13:00. The safety interval for the lower limit is 180secs. The safety interval for the delta request is: 12:25:00 to 13:00:00. Upon completion of the extraction, the pointer is set to 13:00:00.
source: help.sap.com
Hope it helps
kalyan -
Generic extraction using table
Hello friends,
We have three methods in Generic extraction, as we know.
1. Using view/Table
2. Using FM
3. Using Infoset Query
I know pretty well the extraction using View, but when do we use "Table"?
Is there a specific method to perform generic extraction using TABLE?
Please clarifyThanks for the replies.
In case of a generic extraction with view, i've followed the below procedure.
1. RSO2.
2.create a generic datasource by giving a view name and selecting the fields for selection criteria, save and generate.
3. replicate data sources in BW.
4. create an infosource and assign the data source, mapping and create an infopackage to load data.
Now ,
1. how do we enable Delta for this method?
2. Is this possible at all? if yes, how?
3. How do we proceed after the replication of DataSources in BI? specifically, procedure in BI?
Pls clarify. -
Hi Gurus,
Can we set only ALE delta for master data attr/text extractors. Can we not set generic delta for master data extractors. If yes can you provide some master data extractors which use generic delta?
Regards,
Rajesh.Hi, if we are loading master data from R/3 to BI system we will select change pointers in BD61 . ROOSGEN table contains the message types based on that message types change pointer will work. In TBDA2 table we can activate and deactivate the message types; in active column X means message type is active.before activating that field will be in blank once we will activate the it will converted it to X.
for generic refer this document :Delta Transfer to BI (SAP Library - Business Intelligence) -
Difference between Generic extraction and Generic Delta
Hi Experts,
Pleasee give of some information below query:
1) Difference between Generic extraction and Generic Delta.
2) How to achieve Generic delta.
3) When we go for Generic delta instead of generic extraction.
Advance ThankU. Points vl be assigned.
Thanks,
Ragu.RHi,
Generic delta is the delta load done using Generic DS.
Generic extraction
Usage:
1. When the standard extractors are not supporting the extraction what you need. If SAP does not have a standard extractor for your need to get data from R3, you would have to go for generic extractor.
2. If you create a custom object say by combining certain base tables in R3 say custom tables ZTAB1 and ZTAB2. These two tables are not SAP provided tables and there will not be any standard extractors. So cases like this you will have to go for generic extractors.
How:
You have to use RSO2 transaction and you can also set delta based on, one of the three characteristics such as timestamp, calday or pointer (a sequence no).
once you create it and activate it. The extractor will be available in ROOSOURCE - (table in R3 where all the data sources are available).
Refer:
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
http://help.sap.com/saphelp_nw04/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
Generic Extraction via Function Module
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
thanks,
JituK -
Generic Extraction Delta Loads
Hi Experts,
I am facing problem is I want to extract the data in Generic Extraction in View, Suppose my requirement is I want to delta loads every 1 hour per day, how can i do, Generic Extraction possible are not delta records.
Note:- LO Extraction is possible like we have update mode we can scheduled hours in everyday, But Generice Extraction possible are not.
Please provide me solutions ASAP.
Thanks in Advance......
Regards,
Bharathi.There are various delta method
1.calday.
2.time stamp.
3.Numeric pointer.
For youe requirement Time stamp will work.
Please check weather you have any field related to time.
Thanks,
Saveen kumar -
Generic extraction (table,view,functionmodule)
hi
In generic Extaction when we use table and view and function module and sap qu (scenario)
AND
plz send some examples
Please search the forums before postingHi,
when Standard Extractors are not supporting to your requirement then we go with Generic Extraction.
Here we have Three different types to design generic extractors
Table
View
Function Module
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33
https://websmp103.sap-ag.de/~sapidb/011000358700007535452002
Hope this will help you.
Thanks
Prasad -
Any docs regarding Table/View,Function Module for Generic Extraction
Hello All
I need to do Generic Extraction,for that if anyone has docs., I need docs on how to create table,view,Function module and infoset query ,on that pl forward to my id
[email protected]
Many Thanks
balajihi Amit
Thanks for your docs,but this docs i have already,do u have any thing different one,if so please forward?
Facing a Problem
Iam trying to create view(database view)for <b>vbak</b> and <b>vbap</b> and given in Tables in <b>Table/Join Conditions</b> tab and clicked in <b>Relationship</b> and the relantionship has been generated automatically,now when i tried to activate this view its saying like "<b>No tables and/or fields are defined for view xxxxx</b>(xxxx-> name of a view)
what will be the problem?pl let me know how to create a view?
And also I need to know the diffference between database view,Manintenance view,Projection view and help view?
Pl let me know on this?
Many Thanks
balaji -
Deltas for generic extraction.
Hi,
if i want use time stamp & calday for my generic extraction , i can use uppercase and lower case, wher can i give timings suppose want run deltas for 10am-10.30am.
regards
anithaHi,
Security interval upper limit The delta-relevant field is a timestamp.
The timestamp that was read last is 12:00:00. Delta extraction begins at 12:30:00. The security interval for the upper limit is 120 seconds. The selection interval for the delta request is: 12:00:00 to 12:28:00. When the extraction is finished, the pointer is set to 12:28:00. Security interval lower limit The delta-relevant field is a timestamp. After images are transferred. In BI the record is overwritten with the post-change status, for example, for master data. Any duplicate data records do not affect BI. The last read timestamp is 12:28:00. Delta extraction begins at 13:00. The security interval for the lower limit is 180 seconds. The selection interval for the delta request is: 12:25:00 to 13:00:00. When the extraction is finished, the pointer is set to 13:00:00. -
Hi all,
Can anyone tell about delta for generic extraction i.e 3 options in detail and when do we use it.
thanks in advance,
chandra sekharWhen you want to customize existing datasources at R/3 sides then you can do that with customer exits.
Suppose if you want to add a column to the existing datasource then you will use append structures (Transaction SBIW-> Edit Data sources - Enhance Datasource) then to fill the column you will write the code in these Exits.
There are 4 types of Exits available.Function Group (XRSA)
EXIT_SAPLRSAP_001 Customer Function Call for Supplying Transaction Data
EXIT_SAPLRSAP_002 Customer Function Call for Supplying Master Data (Attributes)
EXIT_SAPLRSAP_003 Customer Function Call for Supplying Text
EXIT_SAPLRSAP_004 Customer Function Call for Supplying Hierarchies
As you are aware there 4 types since the datasources in R/3 are predefined to fill the data of BW viz, attributes,Text,Hierarchy and Transaction.
Check the below forum discussion for more information..
DataSource Enhancement
Regs
Gopi
Assign point if it helps ... -
Dear All,
When we should go for which delta method and is there any specific reason for this.
What we use in real time scenerio.
Thanks,
Saveen KumarPlease read this and let me know if still you are not clear.
It all depends upon your reporting requirements.
http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
http://wiki.sdn.sap.com/wiki/display/BI/Generic+Extraction
@AK
Edited by: Ashok KUMAR on Apr 1, 2010 3:39 PM
Maybe you are looking for
-
WITH clause equivalent in oracle 8i
Hi friends, The "WITH" clause is very well supported in Oracle 9i. Is there any equivalent ways to use it in Oracle 8i? Regards J.B
-
Customer wise Invoice wise Payment wise List
Hi all, Good day to you. We have a requirement which will show Invoice wise Payment Wise report Example: Invoice Value CU 1000 Payment 1 CU 250 (Partial Payment) Payment 2 CU 350 (Partial Payment) We want a repor
-
I have a MacBook Pro with iTunes installed on it. I can't get itunes to burn a playlist to CD. Initially I attributed the problem to the Apple Superdrive in my computer, so I got a brand new external DVD RW drive no luck. I have burned plenty of disc
-
Dell E6520 IDT 92HD90BXX - no sound from speakers after update
After recent kernel upgrade speakers in my laptop stopped working (only headphones output works). I had been using ALSA. I switched to OSS to bring the speakers back and it works. I'm fine with OSS unless all of my apps recognize and work with it fla
-
HI, I GOT A MACBOOK PRO LASR YEAR.... SUDDENLY FROM LAST MONTH I FEEL THAT MY LAPTOP BECOMES SLOW... CAN ANYONE HELP ME OUT FROM THIS... THANKS IN ADVANCE..