Tutorial for make a non-generic type class from a generic type interface

Hi there,
How can I make a non-generic type class from a generic type interface?
I appreciate if somebody let me know which site can help me.
Regards
Maurice

I have a generic interface with this signature
public interface IELO<K extends IMetadataKey>
and I have implemented a class from it
public class CmsELOImpl<K extends IMetadataKey> implements IELO<K>, Cloneable, Serializable
then I have to pass class of an instance CmsELOImpl to AbstractJcrDAO class constructor whit below signature
public abstract class AbstractJcrDAO<T> implements JcrDAO<T> {
public AbstractJcrDAO( Class<T> entityClass, Session session, Jcrom jcrom ) {
          this(entityClass, session, jcrom, new String[0]);
So I have made another class extended from AbstractJcrDAO. Below shows the code of this class and itd constructor
public class ELODaoImpl extends AbstractJcrDAO<CmsELOImpl<IMetadataKey>> {
     public ELODaoImpl( Session session, Jcrom jcrom ) {
     super(CmsELOImpl.class , session , jcrom, MIXIN_TYPES);
and as you see in its constructor I am calling the AbstractJcrDAO constructor by supper method
then I got this error on the line of super method
The constructor AbstractJcrDAO(class<CmsELOImpl>, session, Jcrom, String[]) is undefined.
as I know java generics are implemented using type erasure. This generics are only
in the java source file and not in the class files. The generics are only used by the compiler and
they are erased from the class files. This is done to make generics compatible with (old) non generics java code.
As a result the class object of AbstractJcrDAO<CmsELOImpl<IMetadataKey>>
is AbstractJcrDAO.class. The <CmsELOImpl<IMetadataKey>> information is
not available in the class file. As far as I understand it, I am looking a way
to pass <CmsELOImpl<IMetadataKey>>, if it is possible at all.
Maurice

Similar Messages

  • 1067: Implicit coercion of a value of type Class to an unrelated type flash.display:MovieClip

    Hello, i've a class named LoadImages with the code:
    package
        import flash.display.MovieClip;
        import flash.events.MouseEvent;
        import flash.events.Event;
        import flash.display.Loader;
        public class LoadImages extends MovieClip
            private var _root:MovieClip=new MovieClip();
            public function LoadImages(numImages:Number, rt:MovieClip)
    and i've a second class named MainJogo that call's LoadImages:
    package
        import flash.events.*;
        import flash.display.Loader;
        import flash.display.MovieClip;
        import flash.display.Stage;
        import LoadImages;
        public class MainJogo
             #error
            private var imgMc:LoadImages=new LoadImages(2,this);
              #error
            public function MainJogo(url:String)
    if i just post the MainJogo class code in TimeLine there is no problems but if i run the app like this with 2 classes i keep getting the error
    1067: Implicit coercion of a value of type Class to an unrelated type flash.display:MovieClip.
    Can someone help me please?
    thanks

    MainJogo is not a Movieclip so "this" (in the scope of MainJogo) is not a MovieClip.
    if MainJogo did extend the movieclip class, you would probably still need to cast "this" as a MovieClip.
    you could use:
    package
        import flash.events.*;
        import flash.display.Loader;
        import flash.display.MovieClip;
        import flash.display.Stage;
        import LoadImages;
        public class MainJogo extends MovieClip
    private var imgMc:LoadImages=new LoadImages(2,MovieClip(this));
            public function MainJogo(url:String)

  • How to shift valuation class from one material type to another material type ?

    I have came across following weird scenario:
    We already created huge no.of materials of material type say ZABC with two valuation classes say 1100 and 1200(GL accounts for these VCs for different posting keys in OBYC settings are same). Account category reference for this material type is 0010.
    After that we created new material type say ZPQR  with new Account category reference 0025, and valuation class 1200 is linked with this ACR 0025. Because of this, valuation class 1200 disappeared from material type ZABC. In order to avoid inconsistency, we need to have valuation class 1200 linked with older material type i.e.ZABC.How we can do this ? What impacts must have happened in this period (from MM/FI) in the system, where valuation class get shifted from one material type(ZABC) to another material type(ZPQR)....please help us in this scenario.

    Thanks Sana,
    We are also looking for the solution provided by you i.e. reassign ACR 0010 to Valuation class 1200.
    Your are also correct in terms of  statement "config doesnt allow me to assign same valuation class to 2 different AREF (Account reference number/Account category reference).
    I wanted to know, what are the possible impacts in the system during this re-assignment of ACR to old material type ZABC.
    Regards,
    Sudarshan.

  • Inheriting from a Generic type

    Hello all,
    I'm doing some tests on compiling generics and get confused about the case where a class not considered as a generic could inherit from a generic type. Shouldn't it be implicitly considered as a generic ?
    To illustrate my problem, consider the following:
    I declare a class MyCollection as following:
    public class MyCollection extends Vector {...}
    vector is a Generic type as it is declared as public Vector<E> {...}
    But if I try to instantiate MyCollection, I'm not allowed to do it as:
    MyCollection<Object> col = new MyCollection<Object>();
    but I'm allowed to do:
    MyCollection col = new MyCollection();
    So what happens to the E generic variable of Vector ?
    I can't clearly explain what is MyCollection. I should have implicitly considered it as a Generic type.
    Can someone explain ?

    Not really. I've probably not been clear.
    Java5 exposes in its apis a class defined as:
    public class Vector<E> ...
    Now I define my own colletion class defined as:
    public class MyCollection extends Vector { ...
    This syntax is allowed by the compiler. Note that I
    didn't define my class MyCollection as a Generic.
    BUT, as the superclass IS a generic, How is
    interpreted MyCollection ?
    As a kind of Vector<Object> ?
    What about the E generic type defined in Vector, the
    superclass ?
    I Thought, this way of feining my class MyCollection
    implied it to be Generic also, i.e. that this kind of
    definition means implcitly that it is equivalent as
    defining:
    public class MyCollection<E> extends Vector<E> ...
    But that's not clear to me !!!
    What about you all ???Your definition:
    public class MyCollection extends Vector
    does not make MyCollection generic implicitly, or at all. It is equivalent to
    public class MyCollection extends Vector<Object>
    which is basically the same as using a pre-1.5 Vector. The superclass may be defined as a generic type but that doesn't matter here. MyCollection is not generic, period. It can be interpreted "as a kind of Vector<Object>".
    The superclass doesn't matter to whether or not your class is generic. Your class is generic if and only if you declare it as a generic
    The only way to make your class a proper generic extension of Vector is:
    public class MyCollection<E> extends Vector<E>.
    Is there any reason you don't want to do this?

  • Invoice Correction Requests for Make to Order

    Dear Gurus
    I am creating an Invoice Correction Request for an Invoice which was generated for Make to Order material. I am using Document type RK . I can save Invoice correction Request. But when I generate a Credit Memo it gives message that
    000010 "Create billing document" not allowed (Sys. status Cost, object VB0060000100000010)
    000020 "Create billing document" not allowed (Sys. status Cost, object VB0060000100000020)
    It should not ask for costing here in Credit memo Request.
    Even if I do costing for Line 20 it copies only Line 20 in Credit note  which gives wrong calculation. Because I  cannot change line 10 in Invoice Correction Request.
    Pl can you advise whether costing is required in Credit memo request. If not how can I handle this scenario.
    Regards,
    Neeraj Srivastava

    Hi,
    Just check if you attached status profile to either your sales order header or item.
    Just release that first and try again.
    Let me know if it helps.
    Regards
    Ravi

  • Calling a class from another one (newbie)

    (cib; 2003-oct28)
    Hi,
    PLugin for JSPWIKI;
    Error when calling a class from a plugin.
    Why is it wrong to call the class :
    public class XercesChecker {
    public static void main(String[] args) {
    by:
    String filepath = (fileList.getPath());
    XercesChecker xc = new XercesChecker(filepath);
    ---COMPILATION ERROR MESSAGE-------*
    javac -classpath"../;E:\prog\Tomcat41\webapps\JSPWiki\WEB-INF\lib\JSPWiki.jar"
    XercesCheckerLoopPlugin.java
    XercesCheckerLoopPlugin.java:40: cannot resolve symbol
    symbol : constructor XercesChecker (java.lang.String)
    location: class vendo.XercesChecker
    XercesChecker xc = new XercesChecker(filepath);
    ^
    1 error
    ---XercesCheckerLoopPlugin.java------*
    package vendo;
    import vendo.XercesChecker;
    import java.io.*;
    import java.io.Writer;
    import java.io.File;
    import com.ecyrd.jspwiki.WikiContext;
    import java.util.Map;
    import com.ecyrd.jspwiki.plugin.WikiPlugin;
    import com.ecyrd.jspwiki.plugin.PluginException;
    public class XercesCheckerLoopPlugin implements WikiPlugin
    StringBuffer output = new StringBuffer();
    public String execute(WikiContext context,
    Map params)
    throws PluginException
    String message="";
    // Get the names of the directory to loop through
    String dirName = (String)params.get( "dir" );
    String monresult="";
    try {
    File dirObj = new File (dirName);
    if (dirObj.exists() == true) {
    if (dirObj.isDirectory() == true) {
    // Create an array of File objects, one for each file or directory in
    dirObj.
    File [] fileList = dirObj.listFiles();
    // Display Source Directory Name.
    output.append("Source Directory: "+dirName);
    // Loop through File array and display.
    for (int i = 0; i < fileList.length; i++) {
    // Print the path to each file.
    String filepath = (fileList[i].getPath());
    output.append ("<br />D�b:" + fileList[i].getPath() + "Fin<br />" );
    XercesChecker xc = new XercesChecker(filepath);
    //output.append (xc(filepath));
    } // for loop
    } else { output.append (dirName+" is not a directory."); }
    } else { output.append ("Directory "+dirName+" does not exist."); }
    monresult = output.toString();
    catch(Exception e){}
    return monresult;
    ----------XercesChecker------------*
    package vendo;
    import org.apache.xerces.parsers.DOMParser;
    import org.xml.sax.SAXException;
    import java.io.IOException;
    //http://www.ibiblio.org/xml/books/xmljava/chapters/ch09s06.html
    public class XercesChecker {
    public static void main(String[] args) {
    if (args.length <= 0) {
    System.out.println("Usage: java XercesChecker URL");
    return;
    String document = args[0];
    DOMParser parser = new DOMParser();
    try {
    parser.parse(document);
    System.out.println(document + " is well-formed.");
    catch (SAXException e) {
    System.out.println(document + " is not well-formed.");
    catch (IOException e) {
    System.out.println(
    "Due to an IOException, the parser could not check "
    + document
    Thanks for any help
    webmaster.cib(at)laposte.net

    I do not see a constructor in the XercesChecker class that accepts a String.

  • Generic FG/class for spreading non-monthly qty's into monthly buckets

    In custom long-term planning reports, we may have to use data like labor hours that are stored in non-monthly buckets, e.g. buckets like
    12/15/2010 u2013 1/14/2011  100 hours
    1/15/2011 u2013 2/14/2011       80 hours
    etc.
    But in order to make our long-term reports useful for cash-flow estimation/planning, we may have to reslot such non-monthly data into fiscal monthly buckets like:
    Dec 2010
    Jan 2011
    Feb 2011
    In the above simple example, the translation from non-monthly data to monthly data is simple:
    half of the hours from the 12/15/2010-1/14/2011 non-monthly bucket go into the Dec 2010 monthly bucket and
    half of the hours from the 12/15/2010-1/14/2001 non-monthly bucket go into the Jan 2011 monthly bucket.
    etc.
    And generalizing from this simple example, you can see that there will always be some ratio in which the non-monthly data can be split into monthly data.  (For example, the ratio between a non-monthly bucket and two successive monthly buckets might be 3:1 if 3 weeks of the non-monthly bucket fall into the first monthly bucket and the fourth week of the non-monthly bucket falls into the second monthly bucket.
    These considerations suggest that SAP developers and customers might benefit from a generic FG or class that:
    accepted a set of non-monthly buckets plus a set of quantities 
    figured out the monthly buckets spanning this set of non-monthly buckets
    spread the non-monthly data into the monthly buckets correctly (according to the simple u201Cratiou201D idea outlined above.)
    This generic FG or class would do (1-3) regardless of the specific nature of the quantities involved ... because who cares what they are.  Also, one could imagine a version of this class or FG where the output buckets might not be monthly, but rather a different set of non-monthly buckets than the input non-monthly buckets.
    So, my four questions are:
    Does anyone know of an SAP-delivered class or FG that does (1-3)  (Iu2019m thinking SCM/APO might well have one u2026)
    If not, does anyone have anything approaching this class of FG that they would care to share with me (via email, of course)?
    If not, does any genius out there have the time to write such a class and put it in the SDN code base?
    Do you all agree that the safest way to get the ratio is to take everything to the u201Clowest common denominatoru201D of days and then figure the ratio accordingly?
    Thanks for considering this matter.
    djh

    As you can see from below, the code markers aren't working in Mozilla either ....oh well
    FUNCTION ZCK_TRAN_TO_MONTHS.
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(START_DATE) TYPE  FSTAD
    *"     REFERENCE(END_DATE) TYPE  FENDD
    *"     REFERENCE(AMOUNT) TYPE  ZZVGWRT
    *"  TABLES
    *"      MONTH_TABLE_FOR_RUN TYPE  ZMMY_MSTR_DATA_EST_YRMO
    *"  CHANGING
    *"     REFERENCE(MONTH_BUCKETS) TYPE  ZMMS_MSTR_DATA_EST_MOBUCKETS
    FIELD-SYMBOLS:
      <fs_mobu>             TYPE zmms_mstr_data_est_mobuckets,
      <fs_mota>             TYPE zmms_mstr_data_est_yrmo,
      <fs_buck>             TYPE zzvgwrt.                        "bucket of month_buckets
    DATA:
      lv_month(2)           TYPE n,
      lv_year(4)            TYPE n,
      lv_m_days             TYPE i,
      lv_total_days         TYPE i,
      lv_last_day           LIKE sy-datum,
      lv_out_flag           TYPE c,
      ls_month_buckets      TYPE zmms_mstr_data_est_mobuckets,
      lv_yrmo               TYPE zzbkper,
      lv_index1             LIKE sy-tabix,
      lv_index2             LIKE sy-tabix,
      lt_month_table        TYPE zmmy_mstr_data_est_yrmo.
      lt_month_table[] = month_table_for_run[].
      lv_total_days    = end_date - start_date.
      lv_month         = start_date+4(2).
      lv_year          = start_date(4).
      CLEAR:             lv_out_flag,
                         gt_mo_spread,
                         ls_month_buckets.
      DO.
        IF lv_month = start_date+4(2) AND lv_year = start_date(4).
          CALL FUNCTION 'MM_LAST_DAY_OF_MONTHS'
            EXPORTING
              day_in            = start_date
            IMPORTING
              last_day_of_month = lv_last_day
            EXCEPTIONS
              day_in_no_date    = 1
              OTHERS            = 2.
          lv_m_days = lv_last_day - start_date.
        ELSEIF lv_month = end_date+4(2) AND lv_year = end_date(4).
          lv_m_days = end_date+6.
          MOVE 'X' TO lv_out_flag.
        ELSE.
          CONCATENATE lv_year lv_month '01' INTO lv_last_day.
          CALL FUNCTION 'MM_LAST_DAY_OF_MONTHS'
            EXPORTING
              day_in            = start_date
            IMPORTING
              last_day_of_month = lv_last_day
            EXCEPTIONS
              day_in_no_date    = 1
              OTHERS            = 2.
          lv_m_days = lv_last_day+6.
        ENDIF.
        APPEND INITIAL LINE TO gt_mo_spread ASSIGNING <fs_mosp>.
        <fs_mosp>-year   = lv_year.
        <fs_mosp>-month  = lv_month.
        <fs_mosp>-amount = amount / lv_total_days * lv_m_days.
        IF lv_month EQ 12.
          ADD 1 TO lv_year.
          CLEAR lv_month.
        ENDIF.
        ADD 1 TO lv_month.
        IF lv_out_flag EQ 'X'.
          EXIT.
        ENDIF.
      ENDDO.
    * now:
    *   loop thru gt_mo_spread
    *   pick up month_bucket index from month_table_for_run
    *   add amount from gt_mo_spread row to appropriate month_bucket
      ASSIGN ls_month_buckets TO <fs_mobu>.
      LOOP AT gt_mo_spread ASSIGNING <fs_mosp>.
        lv_index1 = sy-tabix.                          "just in case we need it
        CONCATENATE <fs_mosp>-year
                    <fs_mosp>-month
               INTO lv_yrmo.
        READ TABLE lt_month_table ASSIGNING <fs_mota>
          WITH KEY
            zzyrmo = lv_yrmo.
        lv_index2  = sy-tabix.
        ASSIGN COMPONENT lv_index2 OF STRUCTURE <fs_mobu> TO <fs_buck>.
        <fs_buck> = <fs_buck> + <fs_mosp>-amount.
      ENDLOOP.
      month_buckets = ls_month_buckets.
    ENDFUNCTION.
    FORM build_bucketed_detail.
    FIELD-SYMBOLS:
      <fs_mobu>                         TYPE zmms_mstr_data_est_mobuckets,
      <fs_comp1>                        TYPE zzvgwrt,  "bucket in ls_mo_buckets/<fs_mobu>
      <fs_comp2>                        TYPE zzvgwrt,
      <fs_mota>                         TYPE zmms_mstr_data_est_yrmo,
      <fs_buck>                         TYPE zzvgwrt.            "bucket of month_buckets
    DATA:
      lv_matnr_arbid_cur(26)            TYPE c,
      lv_matnr_arbid_lag(26)            TYPE c,
      lv_dtlh_index                     LIKE sy-tabix,
      ls_month_buckets                  TYPE zmms_mstr_data_est_mobuckets,
      lv_nummo                          TYPE i,
      lv_yrmo                           TYPE zzbkper,
      lv_yindx                          TYPE i,
      lv_bindx1                         LIKE sy-tabix,     "index on ls_month_buckets cmpnts
      lv_bindx2                         LIKE sy-tabix.     "index on <fs_dtlhmo> buckets
                                                           "note: must be lv_bindx1 + 5.
      lv_nummo = LINES( gt_mo_tbl ).
      READ TABLE gt_dtlh_keys INDEX 1 ASSIGNING <fs_dtlh>.
        CONCATENATE <fs_dtlh>-matnr
                    <fs_dtlh>-arbid
               INTO lv_matnr_arbid_lag.
      lv_dtlh_index = 1.
      APPEND INITIAL LINE TO gt_dtlhmo_keys ASSIGNING <fs_dtlhmo>.
      <fs_dtlhmo>-matnr      = <fs_dtlh>-matnr.
      <fs_dtlhmo>-arbid      = <fs_dtlh>-arbid.
      <fs_dtlhmo>-arbpl      = <fs_dtlh>-arbpl.
      <fs_dtlhmo>-kostl      = <fs_dtlh>-kostl.
      ASSIGN ls_month_buckets TO <fs_mobu>.
      DO.
        READ TABLE gt_dtlh_keys INDEX lv_dtlh_index ASSIGNING <fs_dtlh>.
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
        CONCATENATE <fs_dtlh>-matnr
                    <fs_dtlh>-arbid
               INTO lv_matnr_arbid_cur.
        IF lv_matnr_arbid_lag <> lv_matnr_arbid_cur.
          CLEAR <fs_dtlhmo>.
          APPEND INITIAL LINE TO gt_dtlhmo_keys ASSIGNING <fs_dtlhmo>.
          <fs_dtlhmo>-matnr        = <fs_dtlh>-matnr.
          <fs_dtlhmo>-arbid        = <fs_dtlh>-arbid.
          <fs_dtlhmo>-arbpl        = <fs_dtlh>-arbpl.
          <fs_dtlhmo>-kostl        = <fs_dtlh>-kostl.
          CLEAR ls_month_buckets.
          CLEAR <fs_mobu>.
        ENDIF.
        <fs_dtlhmo>-tot_vgw01_03   = <fs_dtlh>-vgw01 +
                                     <fs_dtlh>-vgw02 +
                                     <fs_dtlh>-vgw03.
        IF <fs_dtlh>-fstad+4(02) = <fs_dtlh>-fendd+4(02).
          lv_yrmo = <fs_dtlh>-fstad+0(6).
          READ TABLE gt_mo_tbl ASSIGNING <fs_mota>
            WITH KEY
              zzyrmo = lv_yrmo.
          lv_yindx  = sy-tabix.                                "month number
          lv_yindx  = lv_yindx  + 5.                           "to account for leading fields
          ASSIGN COMPONENT lv_yindx
              OF STRUCTURE <fs_dtlhmo>
                        TO <fs_buck>.
          <fs_buck> = <fs_buck> + <fs_dtlh>-tot_vgw01_03.
        ELSE.
          CALL FUNCTION 'ZCK_TRAN_TO_MONTHS'
            EXPORTING
              START_DATE             = <fs_dtlh>-fstad
              END_DATE               = <fs_dtlh>-fendd
              AMOUNT                 = <fs_dtlhmo>-tot_vgw01_03
            TABLES
              MONTH_TABLE_FOR_RUN    = gt_mo_tbl
            CHANGING
              MONTH_BUCKETS          = ls_month_buckets.
          lv_bindx1 = 1.
          DO.
            IF lv_bindx1 > lv_nummo.
              EXIT.
            ENDIF.
            lv_bindx2 = lv_bindx1 + 5.
            ASSIGN COMPONENT lv_bindx1 OF STRUCTURE <fs_mobu>   TO <fs_comp1>.
            ASSIGN COMPONENT lv_bindx2 OF STRUCTURE <fs_dtlhmo> TO <fs_comp2>.
            <fs_comp2> = <fs_comp2> + <fs_comp1>.
            lv_bindx1 = lv_bindx1 + 1.
          ENDDO.
        ENDIF.
        lv_dtlh_index = lv_dtlh_index + 1.
      ENDDO.
    ENDFORM.
    Edited by: David Halitsky on Sep 9, 2010 9:42 PM

  • How do I gain type safety with a generic method taking a class object?

    How do I achieve type safety with the following code without getting a compile error?
    import java.util.ArrayList;
    import java.util.List;
    public class Main {
        public static void main(String[] args) throws Exception {
            ListenerHolder th = new ListenerHolder();
            List<TestObject<String>> list = createTestObjectList();
            /* *** compiler error here *** */
            th.addListener(TestObject.class, list);
        private final static List<TestObject<String>> createTestObjectList() {
            List<TestObject<String>> list = new ArrayList<TestObject<String>>();
            return list;
        private final static class ListenerHolder {
                /* *** my generic method *** */
                public <T> void addListener(Class<T> listenerType, List<T> listener) { }
        private final static class TestObject<T> { }
    }The compiler error is:
    C:\java\Main.java:11: <T>addListener(java.lang.Class<T>,java.util.List<T>) in Main.ListenerHolder cannot be applied to (java.lang.Class<Main.TestObject>,java.util.List<Main.TestObject<java.lang.String>>)
    Thanks in advance,
    Dan

    dandubois wrote:
    Thanks for the help, that is exactly what I wanted to know.
    It didn't occur to me that TestObject<T> would in some respects be considered as an 'extends' of TestObject as I know the compiler converts them all back to plain TestObjects.Maybe I should have written TestObject<?>, to make it more obvious. There's some supertype/subtype relation diagram in the Generics FAQ somewhere, if you need more detailed information.
    In the end, I think jtahlborn's solution might be more appropriate in the described scenario, so you should go for it.

  • Tryng to set up Aple ID on wifes iph 6, she's forgotten her password. At iforgot I type in her gmail ID and ask for email but none comes ?

    trying to set up Apple ID on wife's new iphone 6, she's forgotten her password. At "iforgot.apple.com" I type in her gmail ID and ask for email but none comes ?

    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact Apple ID Support, upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    The operator will take you through some steps you may have already tried, however they need to be sure they have exhausted all usual approaches before trying to reset your account, so you should try to be helpful and show patience with the procedure.
    The operator will need to verify they are speaking to the account holder and may ask you some questions that only the account holder could know, and you will need to answer them if the process is to proceed.
    Once the operator has verified your identity they will send a message through to your device which contains an alpha numeric code, which you will need to read back to them.
    Once this has been completed they will send an email to your iCloud email address after a period of 24 hours, so you should check that mail is enabled in your devices iCloud settings.
    Upon receipt of the email, use the reset link provided to reset your password, after which you should be able to make the adjustments to iCloud that you wish to do.

  • Generic Java class for working with Context Nodes

    Hi,all
    I would like to write generic Java class for working with Context Nodes:
    populating node,
    add element to node,
    update node element,
    remove node element
    Any ideas how can I do it?

    Hi,Armin
    Thanks for your answer.
    I have many nodes with the same structure,but different data.
    I don't want to work with each one of them individually.
    This is the main reason.
    Regards,
    Michael
    Any ideas?

  • Looking for a tutorial to make a paint splash

    I'm looking for a good tutorial to make a paint and water splash. It can be either for photoshop cs6 or illustrator cs6 or both. If anybody knows of one, I would appreciate it. p.s. I'm not looking to use a scatter effect. I'm looking for the glossy splash effect.

    >>Have you tried googling »photoshop tutorial splash«?
    Yes and variations such as paint splash and water splash.
    >> many tutorials may utilize photographic images as the basis of splash-effects<<
    Yep that and scatter effects is all I can find.

  • Non-video tutorial for Aperture?

    I need a non-video tutorial for Aperture, is there such a thing available? A book, a page or WRITTEN instructions? The videos are useless, can't search for what I need to know - ie how do I actually edit a photo and get it to stick (crop, manipulate?) I'm so frustrated I'm editing my photos on my PC and sending them to the mac - thanks!

    The Help file is, imho, well-structructured, thorough enough, and serves beginners well. It is (of course) searchable. It comes with the program, and is also available on-line at http://documentation.apple.com/en/aperture/usermanual
    The Peachpit Aperture 3 book is used by Apple personnel for training. It doubles as a guide for Aperture 3 certification. It is set up as a series of lessons.
    http://www.peachpit.com/store/product.aspx?isbn=0321647440
    Aperture is a complex program with a long steady learning curve. The view from the slopes is good! Take a break from your frustration. Learn the names of things, the layout of the interface (covered in the first pages of the two things referenced above), and ask +specific, answerable+ questions ("When I do Y I expect X but I get Z. Why do I get Z? How can I get X"). There are many here who are happy to share what they have learned.
    Welcome to the forum!

  • Requirement type change for Make to order

    HI Experts,
                      Need your help in resolving a issue, We have scenario where same material can be a make or Buy based on one logic, For buy scenario i need to drop IC order.
    To do thing functionality i am flipping requirement type of the line item in MV45AFZB, Problem is i am not able to get planned order generated even though i am able to flip the requirement type.
    Should i need to change my logic in MV45AFZB or ZZ?
    Thank you
    Kris
    Edited by: Kris on Jul 22, 2010 6:18 PM

    Hello Kris
    Why do you have to work with user exits to flip Requirement types?
    Why don't you set up 2 item cats ( one for Make, another for Buy situation),  (have the users)  flip the item category manually in the order and drive the requirement type via item cat using 'Determination Of Requirement Types Using Transaction'  config? If you don't want to flip the item cats, you may set up 2 different order types also.
    Hope this helps.

  • Multiple PR doc type for Maintenance order - Non stock item category

    For non-stock item requirement in PM, we create a maintenance order and indicate item category as "N" in components tab. Accordingly a purchase requisition is created as per configuration. We have assigned PR doc. Type “FO – Framework requisition” for Maintenance Order Category.
    SPRO - PLANT MAINTENANCE & CS - Maintenance and Service Processing - Maintenance and Service Orders - General Data - Define Account Assignment Cat. and Document Type for Purchase Requisitions
    Now according to the new requirement, we need to have different PR Doc type as per CONTROL KEY mentioned in the Maintenance Order.
    Example:
    If the Control Key is “PM01 - Plant maintenance – internal” the purchase requisition document type should be “NB – Purchase Requisition”. If the Control Key is “PM03 - Plant maintenance-External(services)” the purchase requisition document type should be “FO – Framework Requisition”.
    Please advise how to configure the same.
    Regards
    Sathish Kumar Balakrishnan

    Hi Partha,
    This is a simple enhancement. In our scenario, we had configured PR document type "FO" in SPRO settings for "Document Type for Purchase Requisitions".
    Hence to have "NB" PR document type whenever material components are being indented through maintenance order, we used this enhancement COZF0002
    Please instruct your abaper to add similar logic, as shown below.
    Enhancement:COZF0002
    Functional module:EXIT_SAPLCOZF_002
    Include: ZXCOZU02
    Logic:
    IF sy-tcode eq 'IW21' or sy-tcode eq 'IW22' OR sy-tcode eq 'IW28'  OR sy-tcode eq 'IW31' or sy-tcode eq 'IW32'  OR sy-tcode eq 'IW38' .
      IF resbd_imp-postp = 'N'.
        eban_ord_cust_chg-bsart = 'NB'.
      ENDIF.
    endif.
    Hope this helps.
    Regards
    Sathish K B

  • Call of the method START_ROUTINE of the class LCL_TRANSFORM failed; wrong type for parameter SOURCE_PACKAGE

    Hi,
    My DTP load failed due to following error.
    Call of the method START_ROUTINE of the class LCL_TRANSFORM failed; wrong type for parameter SOURCE_PACKAGE
    I don't think anything wrong with the following code as data loads successfully every day. Can any one check?  What could be the issue?
    METHOD start_routine.
    *=== Segments ===
         FIELD-SYMBOLS:
           <SOURCE_FIELDS>    TYPE _ty_s_SC_1.
         DATA:
           MONITOR_REC     TYPE rstmonitor.
    *$*$ begin of routine - insert your code only below this line        *-*
    *   Fail safe which replaces DTP selection, just in case
         DELETE SOURCE_PACKAGE WHERE version EQ 'A'.
    *   Fill lookup table for the ISPG
         SELECT p~comp_code m~mat_plant m~/bic/zi_cpispg
           INTO TABLE tb_lookup
         FROM /bi0/pplant AS p INNER JOIN /bi0/pmat_plant AS m ON
           p~objvers EQ m~objvers AND
           p~plant   EQ m~plant
         FOR ALL ENTRIES IN SOURCE_PACKAGE
         WHERE p~objvers   EQ 'A' AND
               p~comp_code EQ SOURCE_PACKAGE-comp_code AND
               m~mat_plant EQ SOURCE_PACKAGE-material.
         SORT tb_lookup BY comp_code material.
    *$*$ end of routine - insert your code only before this line         *-*
       ENDMETHOD.     

    Hi,
    Compare the data types of the fields in your table tb_lookup with the data types in your datasource. Most probably there is an inconsistency with that. One thing that I realize is that
    I use the select statement in the format select ... from ... into... Maybe you need to change places of that, but I am not sure. You may put a break point and debug it with simulation.
    Hope it gives an idea.
    Yasemin...

Maybe you are looking for

  • Create 3d cel animation look after effects

    Im trying to achieve this look for a project I am working on. (Link below), The artist said that they only used after effects for all the cube animations, and was wondering if anybody new a tutorial or guide that would help with best way to acieve th

  • How to recover lost photos in a completely erased iphone 5s?

    I have iphone 5s. I had some photos in it, but mistakenly I have completely erased it. Therefore, is there any way to recover my photos?

  • Viewing sent or received files

    Hi guys, First of all, sorry if I'm posting this in an incorrect area. The problem really is in the title -- I can't seem to locate the feature which would allow me to view all sent and recieved files. I'm sure it was located under the "view" tab run

  • How can I see a video through a logo?

    Hello, I've been searching on the internet about vectors and such but haven't found the solution. I need to make my own custom logo wich I did but my mistake was that I did it in photoshop and not in illustrator. The thing is that I vectorized the fi

  • Overlapping Channels and DVR issues

    I wanted to report an issue or see if anyone else has experienced what has been happening to me.  I live in the DC metro area and I go to the HD NBC (504) or HD CBS (509) stations with no problems. However multiple times I have gone to either station