Generic hierarchy extractor
hi,
I have to extract hierarchy from R/3 system where there is no standard extractor. I found the table for the extractor. From that table, i have to select only certain fields(5 out of 10 fields) and extract it to BI system as hierarchy. So, for this, i am thinking of creating a custom hierarchy extractor. Please advise how we can create custom hierarchy extractor.Also, let me know if there is any other way to get this hierarchy into BI system.
Thanks in advance....
Hi,
We cannot create a generic hierarchy & use in BI, as in RSO2 there is no feasibility of creating a generic extractor for hierarchy.
you can opt for a flat file as a source to load hierarchy in BI.
Or you can take functional team help in creating a hierarchy in R/3 & use it.
Similar Messages
-
Generic data extractor using a function module
Hi All,
I want to create a generic data extractor using a function module within the BW system. i.e. the extractor will run in BW and and store the data in a cube( in BW). No R/3 is invloved. I proceeded as follows:
1. Created a structure through se11.
2. Created a function module. But while defining "E_T_DATA" in the "Tables" section of the function module, I am getting the error "TABLES parameters are obsolete". I defined as follows:
E_T_DATA TYPE ZBW_EXTRACT
ZBW_EXTRACT is the name of the structure.
What should i do in this case ?
Thanks,
SatyaHello Satya,
The message "TABLES parameters are obsolete" is just a warning and not an error. The structure of the interface is strict (defined by SAP). You should opt to proceed even if you receive the warning.
Hope this clarifies. -
Generic data extractor using function module
Hi All,
I want to create a generic data extractor using a function module within the BW system. i.e. the extractor will run in BW and and store the data in a cube( in BW). No R/3 is invloved. I proceeded as follows:
1. Created a structure through se11.
2. Created a function module. But while defining "E_T_DATA" in the "Tables" section of the function module, I am getting the error "TABLES parameters are obsolete". I defined as follows:
E_T_DATA TYPE ZBW_EXTRACT
ZBW_EXTRACT is the name of the structure.
What should i do in this case ?
Thanks,
SatyaHi,
I went to se80. Copied the function module "RSAX_BIW_GET_DATA_SIMPLE" to my function group. When i tried to change the associated type from "SFLIGHT" to my own structure, it again gives a warning that "TABLES parameters are obsolete!". It does not allow me to either save, check or activate the function module. What should i do ?
Please reply urgently.
Thanks,
Satya -
Hi All,
I have a requirement to develop generic DELTA extractors. have extensively created generic ectractors using function module RSAX_BIW_GET_DATA_SIMPLE.
Can you please let me know how to create generic delta extractors with Steps.
Also How the tabel ROOSGENDLM us used in generic extractors..
Point will be assigned to useful answers..
Regards,
BillHi Bill,
check this out: Generic Extraction via Function Module
You do not have to take care about that table, the service api will do that for your, you only need to take care about the information (delta date, timestamp or pointer) passed to the fm by the api and design your coding related to that information.
regards
Siggi -
Hi Experts,
I am trying to create an extractor for cost center group hierarchy (transaction code KSH3) and cost element group hierarchy (transaction code KAH3) from R/3 so that this hierarchy will be populated into BW data source. I am using transaction code RSO2 to create the generic datasource and I from what I understand, extraction can be done using DB view, SAP query or function module. And the function module is chosen because this is a hierarchy that I need to extract.
Please advice on how do I about this.
I have searched the internet and I have found some of examples given using function module PHIE_HIERARCHY_CATALOG and PHIE_HIERARCHY_TRANSFER. Is this function module only can be use when extracting HR related hierarchy? Because my requirements is to extract from cost center and cost element groups which falls under FICO module.
Your reply is very much appreviated.Try the SAP delivered 0COSTCENTER_0101_HIER for cost centers and 0COSTELMNT_0102_HIER Cost element
pts appreciated. -
Error with Generic delta extractor when checking in RSA3
Hi,
I have created one Test Generic Datasource based on Table MARA.Delta specific field I mentioned is LAEDA(Last changed On). After creating I have generated the datasorce also. But when I check the datasource in RSA3, I am getting error if Update Mode is "D". Error is "An error occurred during extraction". I am not seeing this datasource in RSA7 (Delta Queue).
If I say Update Mode is "F", then extractor is working fine.It is fetching some records.
Your help will be appreciated.
Thanks
Sirineni.Hi Sirneni,
Is your Init load in BW successfull. Only after
successfull completion of init load in BW the data source appears in delta queue RSA7 in R/3. Also check whether any materials are being changed in R/3 because u r delta is based on last changed date.
Regards,
Prakash B -
Standard Generic Delta Extractor 0CRM_SRV_COSTS - Delta stop working
Hello all,
Has anyone experienced an issue with the standard generic extractor 0CRM_SRV_COSTS (reside in SAP R/3 system) where its delta suddenly just stop working? The issue is that the datasource keeps extracting the same delta records and from RSA7 and SMQ1, only have the olda data records and no new data coming through (ie. from RSA7 data are only in the Delta Repetition).
The extractor uses Function Module and Numeric Pointer for the delta and I tried to investigate (via RSA2 and ROOSOURCE ) if there is a way to see what field is being used for the Numeric Pointer and how to trace it - but no luck so far.
Has anyone experienced the similar/same issue on other extractor which can provide some inputs?
Any ideas/suggestions will be very much appreciated.
Thanks,
AndyMaybe someone knows if records in tables SMOXRELP_S and SMOXRELP should match perfectly? I see that table SMOXRELP lacks one record that I have in table SMOXRELP_S.
-
Generic delta extractors without timestamp!
Hi,
For a certain requirement, I have to develop generic extractors which should be delta capable. But unfortunately the source tables donu2019t have a timestamp; hence I canu2019t create delta enabled generic extractors using timestamp. Moreover most of the tables are standard SAP tables, which are used across different modules so it is not possible to introduce timestamp in these tables.
I am working on extractors for Business Partners in SAP Transaction Banking.
I have got couple of options:
1) To use the change pointers by activating CNS service in source system. It is possible to activate the service and set up the segments for standard and custom tables, from where I need to extract the data.
2) To develop the function module and create the generic extractors using delta queue functionality.
Issues: In the first approach, I have created an extractor and it is possible to recognize the changed records. But the issue is I need some kind of flag which tracks the information regarding last successful delta extraction for an extractor based on change pointers and standard SAP table. I am not sure how does standard extractors maintains this status and picks up new/changed records in delta functionality. Not sure how to achieve this.
In second approach I am not sure if it is possible to create generic extractors using delta queue and what are the complexities involved.
If someone has already worked on these areas, any inputs are most welcome.
Thanks and Regards,
AmitHi Amit,
I haven't worked on SAP Transaction Banking but I hope you can get most of Business Partner data in standard extractors. Try to look for some.
If you have to go for Generic extractor. there are 2 options:
1. Use BTE
[How To Create GDS which uses Delta Queue|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10b68b99-022e-2a10-999d-c4dc9ec24a59]
2.Use FM based GDS
[How to Create Generic Delta|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33]
[Generic Delta Using Funtion Module |Re: Generic Delta Using Funtion Module]
You can also look for some numeric pointer from RSO2.
Hope it will help you...
Regards,
Ashish -
Generic delta extractor on view with ALE
Hello.
Extractor 0RT_WRF1_ATTR has type V and generic delta setting Numeric Pointer. Generic delta field is empty. Delta Process = A (ALE Update Pointer (Master Data)). ALE delta setting includes all fields of extractor structure. But changing one of these fields doesn't push new records into datasource.
Can you please explain, how generic delta works with ALE pointers аnd why no data is delivered?CC,
Check on deletion data available in table(with any indicator updated) or not available in table.
If not available, you can not get delta through generic datasouce.
Hope it Helps
Srini -
Generic delta extractor for BW
Hello people!
I'm developing an extractor for BW with Generic delta with the field AEDAT.
In function module for the extractor, how can I identify this delta?
I have to select the table ESSR with this field and I don't know how to identify this field.
Thanks in advance!
See ya!Define a range field like
ranges : l_r_aedat for <tabname>-aedat.
In your FM
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'AEDAT'.
MOVE-CORRESPONDING L_S_SELECT TO L_R_AEDAT.
append l_r_aedat.
Then when you do selections :-
Select * from <tabname> where
and aedat in l_r_aedat. -
Generic FM extractor with Delta
Hello all,
I am trying to create a delta function module extractor on a table. I have creation date ANDAT, last change date AEDAT and a deletion flag on the table.
FM has to handle history, new and changes.
How can I generate delta? Can I just use RSO2 to set up delta? How can it be done? Also, can I get the code for a generic FM delta extractor?
Please help.
Thanks,
Anirudh.Hi Sajeed,
So, I do not have to handle delta in the extractor at all? Just create a function module based extractor with all the fields and actually take care of delta in the infopackage??
The creation date is for newly created records and the change date is for changed records.
My email is [email protected]
Thanks,
Anirudh. -
Merchandise Hierarchy Extractor
Hi experts!
I'm starting a new project, and I new to know if there is a extractor to obtain the Merchandise Hierarchy. We know that fot the Product Hierarchy it exits, but we also need the Merchandise Hierarchy.
Thanks in advance for your help.
RegardsHi David,
Please see if 0RT_MATLGR1 or 0RT_MATLGR2 are usefull.
Hope it helps.
BR
Stefan -
How to create a generic data extractor using standard function module
Hi,
I have to generate report based on Function module(standard FM),client know only Fm Name n they have given FM Name n asked reports based on that, so can any one give me steps to create DS based on that.
Thanks,
Swapnacheck this blog
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
and this pdf:
Generik extraction: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33
Generic delta:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
Edited by: Aduri on Dec 17, 2007 4:04 PM -
Generics hierarchy in extending interfaces
Let's say I have an interface like this:
package source;
import java.util.List;
public interface ITest <GTest extends List> {
public void setList(GTest list);
}I extend that interface to have a new one whose generic is an implementation of the generic of the original interface:
package source;
import java.util.ArrayList;
public interface ITestEx extends ITest<ArrayList> {
}Then I write a class which inspects the extended interface to enumerate its methods with their parameters:
package source;
import java.lang.reflect.Method;
public class Test {
public static void main(String[] args) {
Method methods[] = ITestEx.class.getMethods();
for (int nMethod = 0; nMethod < methods.length; nMethod++) {
System.out.println("\nMethod #" + nMethod + ": " + methods[nMethod].getName());
Class<?>[] parameterTypes = methods[nMethod].getParameterTypes();
for (int nParameterType = 0; nParameterType < parameterTypes.length; nParameterType++) {
System.out.println("Parameter type #" + nParameterType + ": " + parameterTypes[nParameterType].getName());
}The output is:
Method #0: setList
Parameter type #0: java.util.List
That is, the argument of the setList(GTest) method is retrieved as List, which is the type GTest was declared to be in the base interface (ITest), even though getMethods() was called on its subinterface (ITestEx), which declares the generic as ArrayList.
Is it possible to use reflection in a way that in this case would retrieve the argument of setList(GTest) as ArrayList ?
P.S. We have been pointed to http://www.ibm.com/developerworks/library/j-cwt11085.html , but we couldn't understand whether it might help.
Edited by: SantiBailors on Sep 19, 2007 3:25 PMHi, I've altered your code by adding a helper method getTypes that maps formal type arguments to actual types. Now it prints the "real" type names. HTH
public static void main(String[] args) {
Map<TypeVariable<?>, Type> types = getTypes(ITestEx.class, ITest.class);
Method methods[] = ITestEx.class.getMethods();
for (int nMethod = 0; nMethod < methods.length; nMethod++) {
System.out.println("\nMethod #" + nMethod + ": " + methods[nMethod].getName());
Type[] parameterTypes = methods[nMethod].getGenericParameterTypes();
for (int nParameterType = 0; nParameterType < parameterTypes.length; nParameterType++) {
if (types.containsKey(parameterTypes[nParameterType]))
System.out.println("Parameter type #" + nParameterType + ": "
+ types.get(parameterTypes[nParameterType]));
else
System.out.println("Parameter type #" + nParameterType + ": " + parameterTypes[nParameterType]);
private static <T> Map<TypeVariable<?>, Type> getTypes(Class<? extends T> cl, Class<T> genericInterface) {
Map<TypeVariable<?>, Type> typeMapping = new HashMap<TypeVariable<?>, Type>();
for (Type t : cl.getGenericInterfaces()) {
if (t instanceof ParameterizedType) {
ParameterizedType pt = (ParameterizedType)t;
if (pt.getRawType().equals(genericInterface)) {
for (int i = 0; i < genericInterface.getTypeParameters().length; ++i)
typeMapping.put(genericInterface.getTypeParameters(), pt.getActualTypeArguments()[i]);
break;
return typeMapping;
Edited by: McNepp on Sep 20, 2007 12:14 PM -
Hi:
I had a DataSource that was generated via a view. This view consists of 3 tables. Via RSA3 I tested it and things looked pretty good. But then I needed to add another field to the datasource. So, what I did was the following:
Deleted the datasource
Modified the View to add the new field
Re-created the datasource using the view and generate.
Then went to RSA6 and enhanced the data structure by added fields. Generated it again. Went back and unchecked the hidden fields and the user exit fields.
Modified CMOD to now reflect the new structure.
To test this, I ran RSA3 again and via debugging I discovered that the program that gets generated in function module RSA3_GEN_GET_DATA it still passing the old structure. Therefore my new field was not there and the data is no longer aligned. It seems that the new changes were not made aware to the function module.
Has anyone experience this? This sounds like an SAP bug??
Any ideas on this would be greatly appreciated!
Regards,
Helenadear helena
if u are using the z view then it can accomodate new field form teh base tables (in these cases if u have not included keys in view, it leads to inconsistancy of view ) to fed data to datasource
then make sure views are consistent and displays the
data.
i think in such a case u can enhance extract structre by appending the structure with addded field and then save ur datasource in RSO2 and then go in RSA6 to generate ur datasource, and thereafter ther in RSA6 only u can do test extraction. Thsi makes sure ur datasource is active and delivering the data.
make sure there is data in R.3 for the field for which u are expecting teh data in datasource.
Maybe you are looking for
-
User defined Field refresh during copying Sales Quotation in SO
Dear Colleagues, We are doing an implementation of B1 2004A PL14. We have defined a few user defined fields (Select fields) and using them in Quotation, SO and Delivery. Now, when we create a Quotation and select a value from user-defined selection a
-
Hello All, I am having some connection issues with the NetStream and NetConnection classes in my application. I am trying to connect to my webcam via Adobe Media Server so I can publish audio, video and other forms of data to Flash Media Server. Befo
-
Found another Belle calendar bug (Nokia, when is B...
I know, Nokia does not react here but writing to Dutch Nokia Care is no use: either no answer or a standard answer like "Your C6-01 is a high quality business phone with advanced features ... blah blah blah". But okay, found another bug in the Belle
-
Event "asynch descriptor resize" on windows
Hi, I already found some information about the event "asynch descriptor resize" in google, but all of them were related to linux. I am using Windows Server 2008 and have the problem, that when I execute a statement (create materialized view), the eve
-
Photoshop CS6 - 64bit Edition wont hold print settings but 32bit version will.
Hello all, I really hope somebody can help me with this issue. I work in an educational establishment and we have both 32 and 64bit versions of Photoshop CS6 (Predominately 64x) and for some reason when you go to print and change paper size, scaling