A question about Generic Extractor

Hi everyone,
I excuted Generic Extractor to extract customer reference data to MDM server. I deselect "Local download" and  select "Upload via FTP", there is no error and the reference data was transfered to corresponsing mdm port directories. But xml files of the reference data were also downloaded into the local directory from where I upload Ports and Check-Tables.
Could you give some suggestion about it.
best regards,

Hi Lionsir,
It could be the case that you have given the local file directory address in the generate XSD option.
Just check the same.
Hope it helps.
Thanks,,
Minaz

Similar Messages

  • Question about generics and subclassing

    Hi all,
    This has been bothering me for some time. It might be just me not understanding the whole thing, but stay with me ;):
    Suppose we have three classes Super, Sub1 and Sub2 where Sub1 extends Super and Sub2 extends Super. Suppose further we have a method in another class that accepts (for example) an AbstractList<Super>, because you wanted your method to operate on both types and decide at runtime which of either Sub1 or Sub2 we passed into the method.
    To demonstrate what I mean, look at the following code
    public class Super {
      public methodSuper() {
    public class Sub1 extends Super {
      public methodSub1() {
        // Do something sub1 specific
    public class Sub2 extends Super {
      public methodSub2() {
         // Do something sub2 specific
    public class Operate {
      public methodOperate(AbstractList<Super> list) {
        for (Super element : list) {
           // Impossible to access methods methodSub1() or methodSub2() here, because list only contains elements of Super!
           // The intention is accessing methods of Sub1 or Sub2, depending on whether this was a Sub1 or Sub2 instance (instanceof, typecasting)
    }The following two methods seem impossible:
    Typecasting, because of type erasure by the compiler
    Using the instanceof operator (should be possible by using <? extends Super>, but this did not seem to work.
    My question now is: How to implement passing a generic type such as AbstractList<Super> while still making the methods of Sub1 and Sub2 available at runtime? Did I understand something incorrectly?

    malcolmmc wrote:
    Well a List<Super> can contain elements of any subclass of super and, having obtained them from the list, you could use instanceof and typecast as usual.I agree with you on this one, I tested it and this simply works.
    Of course it would be better to have a method in Super with appropriate implementations in the subclasses rather than use distinct method signatures, instanceof and casting isn't an elegant solution. Alternatively use a visitor pattern.Not always, suppose the two classes have some similarities, but also some different attributes. Some getters and setters would have different names (the ones having the same name should be in the superclass!). You want to be able to operate on one or the other.
    Generics doesn't make much difference here, exception it would be more flexible to declare
    public methodOperate(AbstractList<? extends Super> list) {Which would alow any of AbstractList<Super>, AbstractList<Sub1> or AbstractList<Sub2> to be passed.I tried it and this also works for me, but I am still very, very confused about why the following compiles, and gives the result below:
    public class Main {
         public static void main( String[] args ) {
              AbstractList<Super> testSub = new ArrayList<Super>();
              testSub.add( new Sub1( "sub1a" ) );
              testSub.add( new Sub1( "sub1b" ) );
              accept( testSub );
         private static void accept( AbstractList<? extends Super> list ) {
              for ( int i = 0; i < list.size(); i++ ) {
                   Super s = list.get( i );
                   System.out.println( s.overrideThis() );
    public class Sub1 extends Super {
         private String sub1;
         public Sub1( String argSub1 ) {
              sub1 = argSub1;
         public String overrideThis() {
              return "overrideThis in Sub1";
         public String getSub1() {
              return sub1;
    public class Sub2 extends Super {
         private String sub2;
         public Sub2( String argSub2 ) {
              sub2 = argSub2;
         public String overrideThis() {
              return "overrideThis in Sub2";
         public String getSub2() {
              return sub2;
    public class Super {
         public Super() {
         public String overrideThis() {
              return "OverrideThis in Super";
    }With this output:
    overrideThis in Sub1
    overrideThis in Sub1Even using a cast to Super in Main:
    Super s = (Super) list.get( i );does not return the Sub1 as a Super (why not??)
    Sorry for the long code snippets. I definitely want to understand why this is the case.
    (Unwise, I thing, to use Super as a class name, too easy to get the case wrong).OK, but I used it just as an example.

  • Another question about generics

    Consider the following hierarchy of classes:
    class Fruit {...}
    class Orange extends Fruit {...}
    class Apple extends Fruit{...}
    Now I need to declare a collection wherein I could store any type of Fruit (including its derivated classes), but also gather some fruits.
    I hare read that for reading I need to declare the collection as follows:
    Set<? extends Fruit> fruitSet = new HashSet<Fruit>();
    and for writing I need the following declaration:
    Set<? super Fruit> fruitSet = new HashSet<Fruit>();
    My question is, is there an efficient way to declare the collection so that both operations be feasible in the class? In the current version, I use generic method and need to re-cast for some calls.
    Can anyone help?

    What they're talking about is the fact that parameterized types are not covariant. You can't treat a List<Rectangle> as a List<Shape> because they are not the same thing. Arrays on the other are covariant, you can treat a Rectangle[] as a Shape[].
    No, with your example it will not generate a compile time error, but I do see what you're getting at.
    public void readFruit(Set<Fruit> fSet) {
        // snip
    Set<Apple> fruits = new HashSet<Apple>();
    readFruit(fruits); // error because Set<Apple> is NOT a Set<Fruit>It has nothing to do with whether or not fruits contains Apples and Oranges, it's how fruits is declared. While a Set<Fruit> may contain Apples and Oranges a Set<Orange> is not a Set<Fruit>. So if you attempt to pass a Set<Orange> to a method that takes a Set<Fruit> you might as well be trying to pass an int to a method that accepts a String, they're not the same, there is no is-a relationship. So this is what you do:
    public void readFruits(Set<? extends Fruit> fSet) {
        // snip
    // All work because it will take any Set<E> where E extends Fruit.
    readFruits(new HashSet<Fruit>());
    readFruits(new HashSet<Apple>());
    readFruits(new HashSet<Orange>());What this says is that fSet can be any Set<E> where E is a subtype of Fruit. It doesn't matter what implementations the Set actually contains. If it's a Set<Fruit> and it contains Apples, it doesn't matter, it's simply allowing you to pass a Set<Apple> or Set<Orange> as opposed to only being able to pass a Set<Fruit>.

  • Question about 'Generic Database Connector'

    Hi SAP IdM Gurus,
    I found 'Generic Database Connector' in the list of SAP NW IdM connectors overview.
    I'd like to check the capability of this connector in detail. 
    I'm wondering whether it could provide not only  a connectivity of RDBMS, but also custom-developed application using the RDBSM for their ID/Password repository. If it provides only a connectivity of RDBMS, Is there a connector for the custom-developed application using the RDBSM for their ID/Password repository?
    My question is that which connector is used for the connectivity  of custom-developed application using the RDBSM for their ID/Password repository.
    I would really appreciate it if you could answer the question.
    Thanks
    Kenneth

    Kenneth,
    The Generic Database connector uses a JDBC connection and allows for the and writing to databases.
    That being said, you can also use this connection to set up access to the system or drop access using SQL commands and set them up per the framework.
    What specific Database are you working with?
    Matt

  • Question about generic dimension in MDX for Universe

    Hi All,
      I'm testing this syntax in MDXtest and works very fine
    WITH
       SET [0COMP_CODE_MEMBERS] AS '[0COMP_CODE].[LEVEL01].members'
       MEMBER [0COMP_CODE].[MAX] AS 'Max( [0COMP_CODE].[LEVEL01].members,  [Measures].CurrentMember )'
       MEMBER [0COMP_CODE].[MIN] AS 'Min( [0COMP_CODE].[LEVEL01].members,  [Measures].CurrentMember )'
       MEMBER [0COMP_CODE].[SUM] AS 'Sum( [0COMP_CODE].[LEVEL01].members,  [Measures].CurrentMember )'
    SELECT
       NON EMPTY [0COMP_CODE].[LEVEL01].members * [0CALMONTH2].[LEVEL01].members ON COLUMNS,
       NON EMPTY AddCalculatedMembers( [0COMP_CODE].[LEVEL01].members ) ON ROWS
    from
      ZNDS_M01/ZNDS_M01_Q0001
    WHERE
      ( [Measures].[4F2TKUKDVLVTAQQ5JBLREGNJH] )
    I'm using this in one measure
    Sum( [0COMP_CODE].[LEVEL01].members,  [Measures].CurrentMember )
    But, how can I replace 
    [0COMP_CODE].[LEVEL01].
    for a generic measure?
    I need the sume depend of what the user add to the grid or select in the graph.
    How can I do this?
    Thanks.

    Hi,
    [0COMP_CODE].[LEVEL01] doesn't look like a measure to me.
    what exactly is it that you trying to do ?
    Ingo

  • A simple question about Generics

    Hello
    Why does not
    class C{
    List<Comparable> aList;
    public C(){
      aList = new ArrayList<Integer>();
    }work. Compiler says "incompatible types". Integer is a Comparable, or am I mistaken?
    Fluid

    You can suppress the warnings like this:
    public class Range {
        private List<? extends Comparable> data;
        /** Creates a new instance of Range */
        public Range(List<? extends Comparable> data) {
            this.data = data;
        @SuppressWarnings("unchecked")
        public Comparable getMax(){
            return Collections.max(this.data);
        @SuppressWarnings("unchecked")
        public Comparable getMin(){
            return Collections.min(this.data);
    }There probably is a more elegeant "generics"-solution to get rid of those warnings, but I wouldn't know how.
    P.S. you need jdk 1.5_06 for this to compile.

  • Some generic  questions about JMF

    Hi, as new to JMF, I would like to ask some generic questions about JMF from this community
    Though including RTP stack, JMF is only compatible to old RTP draft, RFC1889. I know that Sun stopped developing/supporting JMF. What is the alternative solution for JAVA RTP implementation suitable for a serious SERVER project, not just a school-term project? Has anyone thought about that or may have already moved forward? Is that any commercial or more updated Java based RTP stack currently? I searched with google. Besides jrtp, a school project, and I could not find a nice one. Majority of RTPstack implementation is C/C++.
    My second question is if there is the performance analysis and comparison of JMF. I know that some client applications such as SIP-Communicator adopt JMF for media delivery. But it is for one user in one machine. I wonder if any server application has adopt JMF as media relaying layer.
    I appreciate any input from this community.

    erwin2009 wrote:
    Hi, as new to JMF, I would like to ask some generic questions about JMF from this communitySure/
    Though including RTP stack, JMF is only compatible to old RTP draft, RFC1889. I know that Sun stopped developing/supporting JMF. What is the alternative solution for JAVA RTP implementation suitable for a serious SERVER project, not just a school-term project? Has anyone thought about that or may have already moved forward? Is that any commercial or more updated Java based RTP stack currently? I searched with google. Besides jrtp, a school project, and I could not find a nice one. Majority of RTPstack implementation is C/C++. There is one active project out there, Freedom for Media in Java, that has RTP capabilities. It's obviously not from Sun, but it's the only other RTP-capable project I am aware of, other than FOBS4Java, I believe is the name of it.
    What they are suitable for is beyond my scope of knowledge, I only know of the 2 projects.
    My second question is if there is the performance analysis and comparison of JMF. I know that some client applications such as SIP-Communicator adopt JMF for media delivery. But it is for one user in one machine. I wonder if any server application has adopt JMF as media relaying layer. None that I have seen, except for various projects I've helped people with on this forum. But, if someone is asking for help on a forum with his/her server application, it probably doesn't meet the guidelines you just laid out ;-)
    I appreciate any input from this community.Sorry I don't have more to add to your inquires...

  • Generic Extractor Question

    Hi
    I would like to create a Generic Extractor on table QMFE which has Created Date and Changed Date fields.
    If I have to get deltas, I can use only one field in Extractor for Delta option: Either Created Date or Change Date.
    If I use Create Date, I'll miss Changes and vice versa.
    I felt Function Module Extractor will be 2much complex.
    Can any one suggest what is the best approach to get deltas in this scenario?
    Thanks
    Sree
    Please search the forum before posting a thread
    Edited by: Pravender on Aug 12, 2011 3:59 PM

    Hi Sree,
    1) The simplest approach will be to create a single extractor and set the delta pointer to Changed Date, but this is only possible if you populate changed date = Created date for the very first time you create records. So that by using changed date you will not miss any newly created delta records, check with your functional team whether this is possible or not?
    2) Otherwise you can create two generic extractors and use two different delta pointers one with Created Date and other with changed date. In the generic extractor you simply need to set your delta pointer and modify the OPEN CURSOR statment to include the proper delta field in selection of data. Rest of your code will be same for both the extractors.
    Now if you go for 1st approach then you will have to create only one IP in BW and include it in process chain but in 2nd approach you will have to create two IP (one for each DS) and include both in process chain. It will only increase your data loading time.
    Regards,
    Durgesh.

  • Generic extractor question/problem

    Hello,
    I want to create a generic extractor on custom table which should delta enabled . This custom table has ERDAT( creation date) and ERZET u2013 Entry time but the client is asking me to use both fields for delta functionality . I am not sure how to do this . Please help .
    Regards,

    As you said client want you to use both the date n time stamp field to extract delta you can follow the below steps.
    - Create the generic data source as per you requirement in order to pic the delta
    - Open you extract structre and append the field TZNTSTMP, this is the field which holds the time stamp.
    - to setup deltas click on generic delta --> select time stamp(UTC)
    Regards
    KP

  • How to use 2 date field as delta control in generic extractor.

    Hi colleagues:
    I have developed a generic extractor to extract logistic data: Purchase Orders and Invoice. In order to do that, I have defined a view joining EKBE, EKKO, EKPO, EKET tables on R/3. By this approach, the delta mechanism is supposed to be controlled by the EKBE-BUDAT field and also by the EKPO-AEDAT field. Both fields are available on the view used to create the Datasource. However, the Datasource creation allows us to define just one field as delta control.
    I have a few questions regarding to this scenario:
    <b>1 - Is it possible to define 2 fields as delta control field on Generic Datasource?</b>
    <b>2 - How about creating two similar Datasouces, one having AEDAT as delta control, the other having BUDAT as delta control, and then connect those Datasources to an unique Infosource on the bw side?</b>
    Best regards
    Waldemar

    hi,
    1 - as far as I know it is not possible to define 2 fields
    2 - this workaround is used often in cases like yours.
    Just remember about order of extracting: first you extract new documents then changed
    Regards,
    Andrzej

  • General question about Extraction

    Hi guys,
      Please bear with my very preliminary question, but I just wanna set my assumptions straight.
      Now, when we talk about extracting data from SAP R/3, do we have to use CO-PA and LO extraction ?
      In my scenario, we intend to pull data from SAP R/3 Finance and Controlling, so <b>do I HAVE</b> to use the CO-PA extractors ? or
      It`s a good practise to use the CO-PA extracters to get the data from my SAP R/3 Financial Accounting(FI) and Controlling(CO)
      It`s really confusing me because I cannot seem to relate why do I need to use CO-PA to pull the data from my SAP FI/CO when I can use generic extractors ?
      Humble apologies for the simplicity of my question !

    Hi John,
    As Ashwin pointed out COPA is for Profitability Analysis. You need to decide which FI data you wnat to pull from R/3. Based on that you decide on the SAP provided extractors.
    To know more about the SAP provided FI extractors refer the below link:
    Re: R/3 data (FICO, PS)  into BW
    Bye
    Dinesh

  • Problem in creating a Generic Extractor on a custom 'Z' table

    This is regarding an earlier question I posted in sdn today. I am trying to create a generic extractor on a custom 'Z' table and iam getting the following message.
    Invalid extract structure template YBW_Z3PVR of DataSource YCNA_3PVAR_RPT
    Message no. R8359
    Diagnosis
    You tried to generate an extract structure with the template structure Z3PVR. This operation failed, because the template structure quantity fields or currency fields, for example, field MENGE refer to a different table.
    Procedure
    Use the template structure to create a view or DDIC structure that does not contain the inadmissable fields.
    Please advise. how do i solve this?

    Hi there,
    Is your Z* table working? It must be add check field for quantity field and currency field.
    Hope this helps.

  • How to reduce long extraction time - Generic extractor based on view

    Hello. The previous thread about this error was closed without any answer.
    I'm in the same configuration.
    "Using a generic extractor (Delta enabled on confirmation date) based on view to load data from ECC6 to BI.
    Now my issue is that the delta extraction is running for a long time (around 1 hr) even if the data volume is very small
    While checking the job overview in source system i saw that the job is hanging at the below step for almost 1 hr."
    1 LUWs confirmed and 1 LUWs to be deleted with function module MF RSC2_QOUT_CONFIRM_DATA.
    I am not understanding why this is happening.
    Here is the log of the job:
    30.05.2011 03:58:11 Job started
    30.05.2011 03:58:11 Step 001 started (program SBIE0001, variant &0000000166864, user ID ALEREMOTE)
    30.05.2011 03:58:11 Asynchronous transmission of info IDoc 2 in task 0001 (0 parallel tasks)
    30.05.2011 03:58:11 DATASOURCE = 0CO_OM_WBS_6
    30.05.2011 03:58:11 *************************************************************************
    30.05.2011 03:58:11 *          Current Values for Selected Profile Parameters               *
    30.05.2011 03:58:11 *************************************************************************
    30.05.2011 03:58:11 * abap/heap_area_nondia......... 4000000000                              *
    30.05.2011 03:58:11 * abap/heap_area_total.......... 8000000000                              *
    30.05.2011 03:58:11 * abap/heaplimit................ 100000000                               *
    30.05.2011 03:58:11 * zcsa/installed_languages...... DEFS                                    *
    30.05.2011 03:58:11 * zcsa/system_language.......... E                                       *
    30.05.2011 03:58:11 * ztta/max_memreq_MB............ 2047                                    *
    30.05.2011 03:58:11 * ztta/roll_area................ 6500000                                 *
    30.05.2011 03:58:11 * ztta/roll_extension........... 2000000000                              *
    30.05.2011 03:58:11 *************************************************************************
    30.05.2011 03:58:11 1 LUWs confirmed and 1 LUWs to be deleted with function module RSC2_QOUT_CONFIRM_DATA
    30.05.2011 05:02:53 Call customer enhancement BW_BTE_CALL_BW204010_E (BTE) with 171 records
    30.05.2011 05:02:53 Result of customer enhancement: 171 records
    30.05.2011 05:02:53 Call customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 171 records
    30.05.2011 05:02:53 Result of customer enhancement: 171 records
    30.05.2011 05:02:53 Asynchronous send of data package 1 in task 0002 (1 parallel tasks)
    30.05.2011 05:02:53 IDOC: Info IDoc 2, IDoc No. 4667050, Duration 00:00:00
    30.05.2011 05:02:53 IDoc: Start = 30.05.2011 03:58:11, End = 30.05.2011 03:58:11
    30.05.2011 05:02:53 tRFC: Data Package = 1, TID = AC11082D38B44DE308DD028A, Duration = 00:00:00, ARFCSTATE = RECORDED
    30.05.2011 05:02:53 tRFC: Start = 30.05.2011 05:02:53, End = 30.05.2011 05:02:53
    30.05.2011 05:02:53 Altogether, 0 records were filtered out through selection conditions
    30.05.2011 05:02:53 Asynchronous transmission of info IDoc 3 in task 0003 (0 parallel tasks)
    30.05.2011 05:02:53 IDOC: Info IDoc 3, IDoc No. 4667051, Duration 00:00:00
    30.05.2011 05:02:53 IDoc: Start = 30.05.2011 05:02:53, End = 30.05.2011 05:02:53
    30.05.2011 05:02:53 Synchronized transmission of info IDoc 4 (0 parallel tasks)
    30.05.2011 05:02:53 IDOC: Info IDoc 4, IDoc No. 4667052, Duration 00:00:00
    30.05.2011 05:02:53 IDoc: Start = 30.05.2011 05:02:53, End = 30.05.2011 05:02:53
    30.05.2011 05:02:53 Job finished
    Thanks for your help.
    Yann

    Parth Kulkarni,
    following the note and the other thread, I've check the index 4 of the table COEP.
    Here is what I got:
    Index ID           COEP             - 4
    Short text         MANDT/TIMESTMP/OBJNR, Index for Delta read method (CO-PA)
    Last changed       SAP             04.01.2010
    Status             Active          Saved
                       Does not exist in the database
    DB index nme
        Not defined as DB index in the ABAP Dictionary
    Is the fact that it doesn't exist in the database a problem ?
    Is the fact that it is active is good enough ?
    By the way thanks for your speedy reply !
    Yann
    Edited by: Yann GOFFIN on May 30, 2011 1:35 PM

  • 0RecordMode implementation in Generic Extractor & ODS

    Hi All,
    We have scenario of generic extractor supplying data to ODS . Now we want to implement deletion functionality using record mode .
    We have added 0recordmode to ODS and infosource . What additional thing we need to do in case of achieving deletion of data from ODS . ( Tried supplying record mode D to ODS  but system doesnt delete the record).
    One more thing is in ods we have 4 keyfields out of which we are able to supply only 3 fields in the infosource which supplies data deletion records.
    Could any body please explain as how to achieve this ...
    Thanks !
    Regards
    Mr Kapadia

    Hi Kapadia,
        In transfer rules level change the record mode to R rather than D. Let me know if you have any questions.
    Assign points if it helps.
    Regards
    Satish Arra

  • Want to complete information about Generic WHT report-S_P00_07000134

    Hi Experts,
    I want to know complete information about Generic WHT report-S_P00_07000134
    My following questions
    1) Once executed report,why it is asking addition selection like address and more informaiton and where it will help.
    2)Why is asking for variant,if click on yes,what will happen
    3) Selected "always allow in the context"option and seen the file in c:\drive.Butnot able to understand the format.What is this and for change allow option in future,what can i do?
    Please help.
    Regards,
    Kishore.J

    Hi,
    Check whether you have maintained Tax ID in T.Code J1ID Vendor Excise details.
    Regards,

Maybe you are looking for