Genric extracter desing
Hello,
I would like to create genric extracter out of the two tables BSEG,LIPS.
Among Two table ,which one i need to take a base table as per performace issue.
Bseg is huge table,that why i would lilke to use LIPS as base table in genric extracter.Both are belongs to item level data.Hence i would like to desing extracter as above mentioned scenario.My best concern is which field i need to take as delta enabled in the genric extracter?.
Please some one can advise me.
Hi,
this depends on your application. If it is more related to deliveries and changes to them, you need to take lips. Otherwise you better use bseg.
regards
Siggi
Similar Messages
-
Please advise how to add new fields to Genric extracter
Hi,
We have Genric Extracter and need to modified with few new fields to it.
The fileds are comming from the table CE10016 Table.
How could i do that?.Please some one can help me on this.
Regards
PrasadHi Prasadrao,
Does ur generic extractor contains data only from CE10016 table,
ok then in this case u have to tcode RSO2-edit-click on append structure-name of append strucure will start from 'zz' - add ur required fields there, save and activate it-back- save and activate datasource- then go to customer exit- pick up ur project - pick up exit type 1 for transaction data - write ABAP code for the new fields by the business logic activate and test the data.
This is a simple procedure, if u expect data can be brought from some other table which can be linked, then there is another solution, but, before that u please put ur clear requirement.
Assign the points, if this is helping you. -
HI
I HAVE CREATED A GENERIC DATA SOURCE AND UPDATING THE DATA IN A CUBE ,THIS A BILLING DOCUMENT I AM TALKING ONLY PAID BILL TO BW.
WHICH OPATION SHOULD I SET FOR GENERIC EXTRACTION IN (RSO2)
PLEASE HELP.
REGARDS,
MANGRAcreate a view in se11 on the two tables and in rso2 tcode select Extraction from view and give the name of the view.
*Assign points if helpful. -
Hi
I have to create view by using VBAK, VBUK from this tables VBAK- Erdat,Ernam and VBUK- Rfgsk,BEstk are the fileds and i have a common filed VBELN in both for join condition .. I have followed steps like 1)se11- create view, given name and 2) table/join conditions - VBAK, VBUK and VBAK VBELN= VBUK VBELN 3) VIEW fileds- both table fields 4) selection what i have to give and What i have to write in RELATIONSHIPS... im getting error when i activate..
RegardsHi ,
check whether the 'data element' given for all the tables in 'View fileds' the 3th step is correct .
the data elements are different from field names ,refer tables VBAK, and VBUK for defining the data elements .
the technical name of the data element in the view must match with that of the table otherwise the view will throw an error .
Also, selection conditions are not mandatory , you give selections only if you want to restrict the data to some records from the source . -
Getting Error while creating Genric Datasource
Hi,
I was try to create genric extracter where i was getting error
While creating view genric extracter where i am getting error "Entry A ZV_ZFRT does not exist in DD02L - check your entry".
My requirement is need to create extracter which is getting populated from three modules like SD,MM,FI/CO.From these three module i am using several tables and some of the tables don't have relation btween these tables as like foreign key and refrence key.
Which extracter i need to create as given scenario?
Does view will fullfill with my requirement or any other extracter.
Please some one can help me in this scenario.
Answer would be great appreciate.Hi,
Rather than writing a program write a function module. Create a structure and include all the necessary fields in the structure. Then in the function module write the logic to extract the values for those fields. While creating the datasource specify the function module and structure name.
Refer this link:
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
Hope this helps.
PB -
Steps to Extract data from Source System
Hi,
I want to use business content object 0PA_C01. I have implemented it in the SAP BW system wanted to know how t=do I extract the data from R/3 system now to the cube. I am new to extraction so kindly help me out in this.
Thanks.Hi SAPBILearner,
Genric Extraction Steps:
1) In R/3 side Create a Data source by use of RSO2 tcode
Select datasource type here, Give datasource name click create button
2) Specify description
Specify your table name
Choose the Application Component(like SD, MM, PP)
Click SAVE it takes to next screen
3) Choose the fields for visible and hidden
SAVE it.
Your datasource has been created
4) In RSA3 (Extract Checker) you can check your datasource it contains data or not
IN BW SIDE
1) First Replicate your datasource
2) Create InfoArea--> Info objects and all
3) Create InfoSource and assign this R/3 Datasource
4) Create info package to load data.
LO EXTRACTION STEPS
===================
1) In R/3 side, First delete the setup table (LBWG)
2) RSA5 --> transfer datasource
3) RSA6 --> Verify transferred datasource available or not
4) LBWE --> Maintain datasource
5) OLI*BW --> Fill setup table
6) RSA3 --> Extract checker
In BW side
1) Replicate datasorce
2) Asssign Infosource , activate datasource
3) Create infopackage to load data
Thanks
Mrityunjay -
Transfer rules are mandatry While creating Info source
Hello BI Guru's
Is transfer rules are mandatry while creating Info Source in BI.
Please currect me if i am wrong.
I have created one genric extracter and want to create info source for that in BI and planning to create Transfermation btween Datasources and infosource and from info source loading data target through transfermation.
Please advise me which way is best way to follow the desing?hi,
in BI 7.0 transfer rules and update rules are not mandantory,
DataSource -> Transformation -> (DTP)-->Data Target
instead of TR/UR-- transformation is there
if helpful asign points
regards
harikrishna.N -
Issue with Delta in Function Module
Hi Team,
I have an issue with delta in Genric extraction using function module.Full load is working fine and i have taken post_date as delta field.plz chk the code if any delta related statements are missing.
FUNCTION ZRSAX_BIW_MANGEMENT_RAT .
""Local interface:
*" IMPORTING
*" VALUE(I_REQUNR) TYPE SRSC_S_IF_SIMPLE-REQUNR
*" VALUE(I_DSOURCE) TYPE SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
*" VALUE(I_MAXSIZE) TYPE SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
*" VALUE(I_INITFLAG) TYPE SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
*" VALUE(I_READ_ONLY) TYPE SRSC_S_IF_SIMPLE-READONLY OPTIONAL
*" TABLES
*" I_T_SELECT TYPE SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
*" E_T_DATA STRUCTURE ZQMBW_FUJ_MANAGEMENT OPTIONAL
*" EXCEPTIONS
*" NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
Example: DataSource for table MANAGEMENT RATING
TABLES: ZQMBW_MANAGEMENT.
Auxiliary Selection criteria structure
DATA: L_S_SELECT TYPE SRSC_S_SELECT.
Maximum number of lines for DB table
STATICS: S_S_IF TYPE SRSC_S_IF_SIMPLE,
counter
S_COUNTER_DATAPAKID LIKE SY-TABIX,
cursor
S_CURSOR TYPE CURSOR.
RANGES: POST_DATE FOR ZMMTVEND_RATING-POST_DATE,
VENDOR FOR ZMMTVEND_RATING-VENDOR.
Initialization mode (first call by SAPI) or data transfer mode
(following calls) ?
IF I_INITFLAG = SBIWA_C_FLAG_ON.
Initialization: check input parameters
buffer input parameters
prepare data selection
Check DataSource validity
CASE I_DSOURCE.
WHEN 'ZQMMANAGEMENT_DS'.
WHEN OTHERS.
IF 1 = 2. MESSAGE E009(R3). ENDIF.
this is a typical log call. Please write every error message like this
LOG_WRITE 'E' "message type
'R3' "message class
'009' "message number
I_DSOURCE "message variable 1
' '. "message variable 2
RAISE ERROR_PASSED_TO_MESS_HANDLER.
ENDCASE.
APPEND LINES OF I_T_SELECT TO S_S_IF-T_SELECT.
Fill parameter buffer for data extraction calls
S_S_IF-REQUNR = I_REQUNR.
S_S_IF-DSOURCE = I_DSOURCE.
S_S_IF-MAXSIZE = I_MAXSIZE.
Fill field list table for an optimized select statement
(in case that there is no 1:1 relation between InfoSource fields
and database table fields this may be far from beeing trivial)
APPEND LINES OF I_T_FIELDS TO S_S_IF-T_FIELDS.
ELSE. "Initialization mode or data extraction ?
IF S_COUNTER_DATAPAKID = 0.
Fill range tables BW will only pass down simple selection criteria
of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'VENDOR'.
MOVE-CORRESPONDING L_S_SELECT TO VENDOR.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = VENDOR-LOW
IMPORTING
OUTPUT = VENDOR-LOW.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = VENDOR-HIGH
IMPORTING
OUTPUT = VENDOR-HIGH.
APPEND VENDOR.
ENDLOOP.
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'POST_DATE'.
MOVE-CORRESPONDING L_S_SELECT TO POST_DATE.
CONCATENATE L_S_SELECT-LOW6(4) L_S_SELECT-LOW3(2) L_S_SELECT-LOW+0(2) INTO POST_DATE-LOW.
CONCATENATE L_S_SELECT-HIGH6(4) L_S_SELECT-HIGH3(2) L_S_SELECT-HIGH+0(2) INTO POST_DATE-HIGH.
APPEND POST_DATE.
ENDLOOP.
**Get Management rating details
OPEN CURSOR WITH HOLD S_CURSOR FOR
SELECT VENDOR POST_DATE OVERALL_MNGT_RAT OVERALL_DEV_RAT FROM ZMMTVEND_RATING WHERE VENDOR IN VENDOR AND POST_DATE IN POST_DATE .
ENDIF.
Fetch records into interface table.
FETCH NEXT CURSOR S_CURSOR
APPENDING CORRESPONDING FIELDS
OF TABLE E_T_DATA
PACKAGE SIZE S_S_IF-MAXSIZE.
S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
IF SY-SUBRC <> 0.
CLOSE CURSOR S_CURSOR.
RAISE NO_MORE_DATA.
ENDIF.
ENDIF. "Initialization mode or data extraction ?
ENDFUNCTION.Hi
Check URLs:
How to populate the ranges using FM for the SELECTs
Re: Generic Delta Function Module -
Procedure for creating an InfoSet
What is The procedure for creating an InfoSet from the DataSource in Genric extraction?
Hi,
check the below links:
SAP Query
SAP Query
hope it helps...
regards,
raju -
Can U explain me in simple words what is function module,SAP Query and Domain with respect to Genric Extraction...I read the F1 help...I am not able to understand...
function module is an sap r/3 object. through function we can transfer data. If the customer is using function modules to populate data into the tables and while doing generic you can use those function modules and transfer data in BW. function module is defined in se37.
sap query is also an sap r/3 object. these can defined in BW also. sap query can be defined on infosets.
domain stores the technical details of the object such as data type, length these technical details are stored in domain. -
How to Extract the data from R/3 Genric extractor to BW ?
How to Extract the data from R/3 Genric extractor to BW ?
hi,
step by step procedure for generic extraction delta
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
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
Extractions in BI
https://www.sdn.sap.com/irj/sdn/wiki
New to Materials Management / Warehouse Management?
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1b439590-0201-0010-ea8e-cba686f21f06
Ramesh -
Genric datasource using FM to extract quantity with out unit fields
Hi All,
I have a situation where i need to extract data from one custom table with 5 fields. one filed is quantity but i created structure and also the refernce fields for quantity in it. i wrote a program also which is fine. but while creating a datasource it is giving error that particular field in the extractor is hide and unable to craete the datsource. could someone tell me how to proceed further.
Regards,
sekhar
Edited by: Sekhar Reddy on Oct 21, 2008 4:40 PMHI,
The structure you created for DataSource is wrong, because genarally this kind of error will come for Qty and Currency unit, so take ABAPer help and create structure.
I also got the same error, but that table was designed by ABAP team, so I informaed to that team then they corrected that table.
Thanks
Reddy -
Safety intervels in genric delta extraction.?
can anyone expliain me with an example how to set safety intervel limit?how to set upper limit and lower limit?
Hello Shilpa !
Guess this doc will clear ur issues:-
Safety Interval Upper Limit of Delta Selection
This field is used by DataSources that determine their delta generically using a repetitively-increasing field in the extract structure.
The field contains the discrepancy between the current maximum when the delta or delta init extraction took place and the data that has actually been read.
Leaving the value blank increases the risk that the system could not extract records arising during extraction.
Example: A time stamp is used to determine the delta. The time stamp that was last read is 12:00:00. The next delta extraction begins at 12:40:00. In this case, the selection interval is 12:00:00 to 12:40:00. At the end of extraction, the pointer is set to 12:40:00.
A record - for example, a document- is created at 12:40 but not saved until 12:40. It is not contained in the extracted data but, because of its time stamp, is not extracted the next time either.
For this reason, the safety margin between read and transferred data must always be larger than the maximum length of time that it takes to create a record for this DataSource (with a time stamp delta), or it must display an interval that is sufficiently large (for determining delta using a serial number).
Safety Interval Lower Limit
This field contains the value taken from the highest value of the previous delta extraction to determine the lowest value of the time stamp for the next delta extraction.
For example: A time stamp is used to determine a delta. The extracted data is master data: The system only transfers after-images that overwrite the status in the BW. Therefore, a record can be extracted into the BW for such data without any problems.
Taking this into account, the current time stamp can always be used as the upper limit when extracting: The lower limit of the next extraction is not seamlessly joined to the upper limit of the last extraction. Instead, its value is the same as this upper limit minus a safety margin. This safety margin needs to be big enough to contain all values in the extraction which already had a time stamp when the last extraction was carried out but which were not read. Not surprisingly, records can be transferred twice. However, for the reasons above, this is unavoidable.
these are used to determining the delta in a datasource:
1. Time stamp - The field is a DEC15 field which always contains the time stamp of the last change to a record in the local time format.
2. Calendar day - The field is a DATS8 field which always contains the day of the last change.
3. Numerical pointer - The field contains another numerical pointer that appears with each new record .
also download Generic Delta doc
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
Regards
Tom. -
Enahancement to 2lis_02_scl, EBAN table extraction & Actual GI date
Hello Guyz
I need to extract 3 important fields into BI:
1. Committed date on the Purhcase Order Schedule Line (Field: DAT01, Table: EKET). This is not available as standard in 2lis_02_scl in LBWE. I can enhance the extractor and populate the field with USER EXIT. But I know that deltas might not get triggerred for this field? Is my assumption correct? If so, how can I extract this field and ensure that deltas will flow into BW?
2. EBAN extraction --> Purchase Requisition Release Date (Field: FRGDT, Table: EBAN): I need to obtain 'Purchase Requisition' information into BW. But there is no standard extractor available in ECC. Am I left with building a genric delta extractor or can someone suggest a better way?
3. Where is the Actual Goods Issue date stored for Purchase orders? In the EKET table we have GI date and GR date but there are planned dates. But we do have Actual GR date in 2lis_02_sgr... but this extractor is only built for Goods Receipts information? So how can I get Goods Issued information?
Please provide an answer to any/all of the above.
Thanks,
Srujan.For your first question, you could do the below.
Assuming that the DataSource is delta capable, you can populate the new field data using 'Repair Full Load':
1. Create a View based on the base tables and EKET. Include the new fields along with the DSO key(s). Create a generic extractor based on the view. Write CMOD code to populate your new field. The CMOD code is as below. Test the extractor in RSA3 to make sure the records are being extracted. Replicate the DS in BW.
2. Create transformation for your Datastore with this new datasource. Create a full load Infopackage. Under the Scheduler tab of Infopackage, select 'Indicate request as repair request'. Schedule the IP. This will populate all historical data for your new fields without harming the deltas.
NOTE: If the record size if huge, you would want to limit the size using some filter criteria. For example, load the data only for a couple of years.
Once DSO is loaded and data activated, Infocube will automatically pick these delta records.
CASE i_datasource.
data: v_dat01 like EKET-DAT01.
l_tabix LIKE sy-tabix.
when '2LIS_02_SCL'.
LOOP AT c_t_data INTO wa_t_data.
l_tabix = sy-tabix.
SELECT SINGLE DAT01 into v_dat01 from EKET where <condition>.
if sy-subrc = 0.
wa_t_data-DAT01 = v_dat01.
MODIFY c_t_data FROM wa_t_data INDEX l_tabix.
endif.
For your second question, building a generic extractor will be ideal. Hope this helps.
-Mann -
When we would create genric extractor on a infoset query
hi All,
we have infoset queries inour R/3 But very confused whether i should i go for generic with querry or genric with views.
Actually the scenario is I have the insfoset query on logical data base
I can create a generic extractor with view from the tables used by above infoset query. but there are structures in that infoset query .
so to create an generic extractor with view on a structure is not possible neither a function module is possible.
last option is creating generic extractor with view and enhancing the extractor with required fields form structure.
but i feel it would be very easy creating a generic with the same infoset querry
can u give me suggestion pls
All the answers would be appreciated by points
Thanks and Regards,
DHi...
SAP Query / InfoSet Query is a powerful tool for defining reports in the SAP
source systems and supports different forms of reporting. It allows users to define
and execute their own reports on data in the SAP system without any knowledge
of the ABAP programming language.
Reports are structured by entering texts and selecting fields and options in SAP
Query. The relevant fields can be selected more easily using InfoSets (before
release 4.6C, InfoSets were known as functional areas).
InfoSets are viewed as DataSources. These data sources can be used for extracting into SAP BW.
To create an InfoSet from the DataSource definition, perform these steps:
1. Fill out all the required entry fields (application component, descriptions).
2. Choose Extraction from Query.
3. Choose Save. A new screen is displayed.
4. Assign a name for your InfoSet and choose InfoSet Maintenance.
5. In the screen that follows, choose Create.
6. Select the data source (DB tables/views, joins, logical DB, and so on).
7. Define the field groups and assign the fields
An InfoSet is a special view of a dataset (logical database, table join, table,
sequential file) that is used by SAP Query as a data source. InfoSets, therefore,
determine the tables or fields in these tables that can be referenced by a report. In
most cases, InfoSets are based on logical databases.
SAP Query features a component for maintaining InfoSets. When you create an
InfoSet, a data source in an application system is selected. SAP Query is relevant
for the Business InformationWarehouse because it allows you to define the extract
structure by selecting fields in a logical database, table join or other datasets in the form of an InfoSet. In this way, you can use the generic data extraction function for master or transaction data from any InfoSet. When you do so, a query is created for an InfoSet that retrieves data and transfers it to the generic extractor.
InfoSets represent an additional, convenient data source for extracting data
generically. Logical databases in all SAP applications, table joins and further
datasets can be used as a data source for SAP BW.
Hope this would help u
with regards,
hari kv
Maybe you are looking for
-
Billing Legacy master & transactional data conversion/migration in SAP ISU
Hi Experts, Please let me know, in ISU implementation project, what is Billing related Legacy master & transactional data conversion/migration is done in SAP ISU system. Thanks in advance
-
For instance by dragging across them like you would do to move a block of type. Or any other way. I'm editing about 5,000 images.
-
HT2500 why does mail reduce a jpeg when I place it as an attachment
When I attach a jpeg to mail, it reduces the size automatically. Why? I attached a 838 KB to a mail and it reduced it to 33 KB. Why?
-
Problem with video playback, videos slutter
Videos recorded by the phone during playback stutter. All updates are installed. The phone has 1.5 GB of free RAM. Changing display settings does not help solve the problem. X-Reality is off. Any ideas? Thanks.
-
After updating to 7.0 apple tv won't play certain tv shows.
I keep getting the error message "An error occured loading this content. Try again later." I've tried resetting the device, restarting my computer, and turning on/off home sharing on both devices. I don't have any problem watching movies from my libr