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...

Similar Messages

  • Can we call a static method without mentioning the class name

    public class Stuff {
         public static final int MY_CONSTANT = 5;
         public static int doStuff(int x){ return (x++)*x;}
    import xcom.Stuff.*;
    import java.lang.System.out;
    class User {
       public static void main(String[] args){
       new User().go();
       void go(){out.println(doStuff(MY_CONSTANT));}
    }Will the above code compile?
    can be call a static method without mentioning the class name?

    Yes, why do it simply?
    pksingh79 wrote:
    call a static method without mentioning the class name?For a given value of   "without mentioning the class name".
        public static Object invokeStaticMethod(String className, String methodName, Object[] args) throws Exception {
            Class<?>[] types = new Class<?>[args.length];
            for(int i=0;i<args.length;++i) types[i] = args==null?Object.class:args[i].getClass();
    return Class.forName(className).getDeclaredMethod(methodName,types).invoke(null,args);

  • Calling a static method when starting the server???

    Hi,
    i wanted to call a static method of a java class,
    whenever i start the server.
    plz give some input on this.
    thanks and regards
    siva

    Siva -- Can you be more specific as to the problem you are trying to solve (why do you want to call this static method,.)
    The reason I ask is that there are some ways to make this happen but they may have limitations
    that won't work for you. For instance, you can create a servlet that calls your class' static method and then make the
    servlet be loaded on startup.
    Thanks -- Jeff

  • What is the method isMemberOfRole in IUser class for?

    Can anybody throw light on the purpose of the method
    isMemberOfRole in the IUser class?
    I have been trying to use it to compare user roles but without success.
    IUser usr = WDClientUser.getCurrentUser().getSAPUser();
    if(usr.isMemberOfRole("Test_Role",true))

    Hi,
    Try this code
    IWDClientUser  user = WDClientUser.getCurrentUser();
    IUser userID = user.getSAPUser();
    String Userrole=new String();
    for (Iterator iter = userID.getRoles(true); iter.hasNext();) {
    IRole role = UMFactory.getRoleFactory().getRole((String) iter.next());
    Userrole=role.getUniqueName();
    You can use user.getSAPUser().isMemberOfGroup() method also
    Regards, Anilkumar

  • The method clone() from the type Object is not visible

    Hi,
    This is my 1st post here for a few years, i have just returned to java.
    I am working through a java gaming book, and the "The method clone() from the type Object is not visible" appears, preventing the program from running. I understand "clone" as making a new copy of an object, allowing multiple different copies to be made.
    The error occurs here
    public Object clone() {
            // use reflection to create the correct subclass
            Constructor constructor = getClass().getConstructors()[0];
            try {
                return constructor.newInstance(new Object[] {
                    (Animation)left.clone(),
                    (Animation)right.clone(),
                    (Animation)deadLeft.clone(),
                    (Animation)deadRight.clone()
            catch (Exception ex) {
                // should never happen
                ex.printStackTrace();
                return null;
        }The whole code for this class is here
    package tilegame.sprites;
    import java.lang.reflect.Constructor;
    import graphics.*;
        A Creature is a Sprite that is affected by gravity and can
        die. It has four Animations: moving left, moving right,
        dying on the left, and dying on the right.
    public abstract class Creature extends Sprite {
            Amount of time to go from STATE_DYING to STATE_DEAD.
        private static final int DIE_TIME = 1000;
        public static final int STATE_NORMAL = 0;
        public static final int STATE_DYING = 1;
        public static final int STATE_DEAD = 2;
        private Animation left;
        private Animation right;
        private Animation deadLeft;
        private Animation deadRight;
        private int state;
        private long stateTime;
            Creates a new Creature with the specified Animations.
        public Creature(Animation left, Animation right,
            Animation deadLeft, Animation deadRight)
            super(right);
            this.left = left;
            this.right = right;
            this.deadLeft = deadLeft;
            this.deadRight = deadRight;
            state = STATE_NORMAL;
        public Object clone() {
            // use reflection to create the correct subclass
            Constructor constructor = getClass().getConstructors()[0];
            try {
                return constructor.newInstance(new Object[] {
                    (Animation)left.clone(),
                    (Animation)right.clone(),
                    (Animation)deadLeft.clone(),
                    (Animation)deadRight.clone()
            catch (Exception ex) {
                // should never happen
                ex.printStackTrace();
                return null;
            Gets the maximum speed of this Creature.
        public float getMaxSpeed() {
            return 0;
            Wakes up the creature when the Creature first appears
            on screen. Normally, the creature starts moving left.
        public void wakeUp() {
            if (getState() == STATE_NORMAL && getVelocityX() == 0) {
                setVelocityX(-getMaxSpeed());
            Gets the state of this Creature. The state is either
            STATE_NORMAL, STATE_DYING, or STATE_DEAD.
        public int getState() {
            return state;
            Sets the state of this Creature to STATE_NORMAL,
            STATE_DYING, or STATE_DEAD.
        public void setState(int state) {
            if (this.state != state) {
                this.state = state;
                stateTime = 0;
                if (state == STATE_DYING) {
                    setVelocityX(0);
                    setVelocityY(0);
            Checks if this creature is alive.
        public boolean isAlive() {
            return (state == STATE_NORMAL);
            Checks if this creature is flying.
        public boolean isFlying() {
            return false;
            Called before update() if the creature collided with a
            tile horizontally.
        public void collideHorizontal() {
            setVelocityX(-getVelocityX());
            Called before update() if the creature collided with a
            tile vertically.
        public void collideVertical() {
            setVelocityY(0);
            Updates the animaton for this creature.
        public void update(long elapsedTime) {
            // select the correct Animation
            Animation newAnim = anim;
            if (getVelocityX() < 0) {
                newAnim = left;
            else if (getVelocityX() > 0) {
                newAnim = right;
            if (state == STATE_DYING && newAnim == left) {
                newAnim = deadLeft;
            else if (state == STATE_DYING && newAnim == right) {
                newAnim = deadRight;
            // update the Animation
            if (anim != newAnim) {
                anim = newAnim;
                anim.start();
            else {
                anim.update(elapsedTime);
            // update to "dead" state
            stateTime += elapsedTime;
            if (state == STATE_DYING && stateTime >= DIE_TIME) {
                setState(STATE_DEAD);
    }Any advice? Is it "protected"? Is the code out-of-date?
    thankyou,
    Lance 28

    Lance28 wrote:
    Any advice? Is it "protected"? Is the code out-of-date?Welcome to the wonderful world of Cloneable. In answer to your first question: Object's clone() method is protected.
    A quote from Josh Bloch's "Effective Java" (Item 10):
    "A class that implements Cloneable is expected to provide a properly functioning public clone() method. It is not, in general, possible to do so unless +all+ of the class's superclasses provide a well-behaved clone implementation, whether public or protected."
    One way to check that would be to see if super.clone() works. Their method uses reflection to try and construct a valid Creature, but it relies on Animation's clone() method, which itself may be faulty. Bloch suggests the following pattern:public Object clone() throws CloneNotSupportedException {
       ThisClass copy = (ThisClass) super.clone();
       // do any additional initialization required...
       return copy
    if that doesn't work, you +may+ be out of luck.
    Another thing to note is that Object's clone() method returns a +shallow+ copy of the original object. If it contains any data structures (eg, Collections or arrays) that point to other objects, you may find that your cloned object is now sharing those with the original.
    Good luck.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • I have installed both Audition 3 and Photoshop CS3 on a laptop with no Internet connection. How may they be activated? The methods documented in the software don't work.

    I have installed both Audition 3 and Photoshop CS3 on a laptop with no Internet connection. How may they be activated? The methods documented in the software don't work.

    Ned, thanks for responding. Internet access is not the problem, I will have a tower computer connected to Comcast.
    Isolating the laptop  from the internet is the issue.
          From: Ned Murphy <[email protected]>
    To: Mordecai benHerschel <[email protected]>
    Sent: Wednesday, March 18, 2015 7:27 PM
    Subject:  I have installed both Audition 3 and Photoshop CS3 on a laptop with no Internet connection. How may they be activated? The methods documented in the software don't work.
    I have installed both Audition 3 and Photoshop CS3 on a laptop with no Internet connection. How may they be activated? The methods documented in the software don't work.
    created by Ned Murphy in Downloading, Installing, Setting Up - View the full discussionSince it is a portable machine, couldn't you go somewhere that has wifi available and use that as a temporary internet connection? If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7314414#7314414 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7314414#7314414 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Downloading, Installing, Setting Up by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • What is the method to disable the Parameters button

    Hi Ted,
    What is the method to disable the Parameters button ("Show/Hide Parameters Panel")?
    I can't find it in the API.
    Thanks,
    Tuan

    With XI 3.0, the left-hand panel is tri-state:
    [https://boc.sdn.sap.com/node/17983#setToolPanelViewType|https://boc.sdn.sap.com/node/17983#setToolPanelViewType]
    Sincerely,
    Ted Ueda

  • [svn] 3672: Removing the commonly used getUnqualifiedClassName out of the less commonly used utility class to reduce SWF size for the general case .

    Revision: 3672
    Author: [email protected]
    Date: 2008-10-15 16:54:51 -0700 (Wed, 15 Oct 2008)
    Log Message:
    Removing the commonly used getUnqualifiedClassName out of the less commonly used utility class to reduce SWF size for the general case.
    Reviewer: Gordon
    QE: No
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextGraphicEleme nt.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectInstance.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/NameUtil.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectUtil.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OrderedObject.as

    In general theory, one now has the Edit button for their posts, until someone/anyone Replies to it. I've had Edit available for weeks, as opposed to the old forum's ~ 30 mins.
    That, however, is in theory. I've posted, and immediately seen something that needed editing, only to find NO Replies, yet the Edit button is no longer available, only seconds later. Still, in that same thread, I'd have the Edit button from older posts, to which there had also been no Replies even after several days/weeks. Found one that had to be over a month old, and Edit was still there.
    Do not know the why/how of this behavior. At first, I thought that maybe there WAS a Reply, that "ate" my Edit button, but had not Refreshed on my screen. Refresh still showed no Replies, just no Edit either. In those cases, I just Reply and mention the [Edit].
    Also, it seems that the buttons get very scrambled at times, and Refresh does not always clear that up. I end up clicking where I "think" the right button should be and hope for the best. Seems that when the buttons do bunch up they can appear at random around the page, often three atop one another, and maybe one way the heck out in left-field.
    While I'm on a role, it would be nice to be able to switch between Flattened and Threaded Views on the fly. Each has a use, and having to go to Options and then come back down to the thread is a very slow process. Jive is probably incapable of this, but I can dream.
    Hunt

  • The Method to reflect the changed OIM User Prifile to the Target Resource

    After completing the Trusted Reconciliation,
    The Method to reflect the changed OIM User Prifile to the Target Resource Account
    question)
    1. If i execute the Reconciliation of the target system, the current OIM User Profile information is automatically reflected in the target system

    Don't create threads for the same question:
    errorlog : Empty parent row cannot be updated ... what????

  • I would like to send contacts via wireless in vcf format in an e-mail. iPhone doesn't even see the attachment. Is there a special file contact type for iphone?

    I would like to send contacts via wireless in vcf format in an e-mail. iPhone doesn't even see the attachment. Is there a special file contact type for iphone?

    I must be more specific:
    I am attempting to send a vcf from a Windows Computer using Outlook to another Email account that syncs with an iPhone. When I read the e-mail on the iPhone, I can't see the vcf file. But I can see the contact on outlook as a VCF.

  • The disc is the wrong type for the operation

    Hello!
    I'm using DVD Studio Pro 4 and as I try to burn a double layer DVD I get a message saying "The disc is the wrong type for the operation". I've tried several brands, but I get the same message. What can possibly be wrong?
    Thanks for helping me!
    /Andreas from Sweden

    If you are trying to do this on the internal Superdrive they have problems writing to Dual Layer DVD disks of any make and or type.
    IMHO the DVD drive Apple uses is not very good.
    If this is a fairly new Mac system I suggest you take it to an Apple store and show them that it can't write to Dual Layer DVD discs of any make and maybe they will replace it with on e that will.

  • How to call a instance method without creating the instance of a class

    class ...EXCH_PRD_VERT_NN_MODEL definition
    public section.
      methods CONSTRUCTOR
        importing
          value(I_ALV_RECORDS) type ..../EXCH_VBEL_TT_ALV
          value(I_HEADER) type EDIDC .
      methods QUERY
        importing
          I_IDEX type FLAG
          i_..........
        returning
          value(R_RESULTS) type .../EXCH_VBEL_TT_ALV .
    Both methods are instance methods.
    But in my program i cannot created instance of the class unless i get the results from Query.
    I proposed that Query must be static, and once we get results we can create object of the class by pasing the result table which we get from method query.
    But i must not change the method Query to a static method.
    Is there any way out other than making method Query as static ?
    Regards.

    You can't execute any instance method without creating instance of the class.
    In your scenario, if you don't want to process your method of your class, you can check the instance has been created or not.
    Like:
    IF IT_QUERY IS NOT INITIAL.
      CRATE OBJECT O_QUERY EXPORTING......
    ENDIF.
    IF O_QUERY IS NOT INITIAL.
    CALL METHOD O_QUERY->QUERY EXPORTING....
    ENDIF.
    Regards,
    Naimesh Patel

  • Is there a way to refer to/call the method of a super class' super class?

    Is there any way to essentially do what this pseudo code does?
    public void someMethod()
    return super.super.someMethod();
    }

    Imagine you had a class called C that extends class B, and class B extends class A. They all declare an instance variable called i. In the case of accessing an instance variable you could do this in class C:
    ((A)this).iThis is because super means the same as a cast of this.
    This is not true for for method invocation though. The cast to type A does not change the method that is invoked, because the instance method to be invoked is chosen according to the run-time class of the object referred to by this. A cast does not change the class of an object; it only checks that the class is compatible with the specified type.
    This is all in the JLS.

  • How to call a Java method n map the output of that method to a table in ODI

    Hi,
    I'm new to ODI. I've written an interface which joins two tables( in source ) to a file (in target). Now i have to apply a method(java call) on each element of a column in the target. Now my questions are :
    1. All that i know is to use Procedure using either Jython or Java BeanShell. Can you give some sample commands to achieve such functionality?
    2. Where should i actually apply this procedure? Is it possible to apply this procedure within the Interface during mapping (so that i can directly map the result to the output file)?
    Thanks in advance :)

    VikasKiran wrote:
    1. All that i know is to use Procedure using either Jython or Java BeanShell. Can you give some sample commands to achieve such functionality?Hi Vikash,
    Suppose the java code is like below
    import java.io.*;
    public class FileWrite
    public void writeFile()
    FileOutputStream fos;
    DataOutputStream dos;
    try {
    File file= new File("C:\\MyFile.txt");
    fos = new FileOutputStream(file);
    dos=new DataOutputStream(fos);
    dos.writeInt(2333);
    dos.writeChars("Hello World");
    } catch (IOException e) {
    e.printStackTrace();
    Next we compile the .java class from the command line and create the jar file.
    Then copy and paste the .jar archive to the ODI drivers folder. Next we restart the ODI agent.
    Now call methods in this class from either Jython
    import FileWrite
    fw=FileWrite()
    fw.writeFile()
    or from the Java BeanShell
    import FileWrite;
    FileWrite fw = new FileWrite();
    fw.writeFile();
    2. Where should i actually apply this procedure? Is it possible to apply this procedure within the Interface during mapping (so that i can directly map the result to the output file)?If your method is inside your jar file returning one value then store into one variable.Then use this variable in your interface or procedure wherever you want.
    As GURU told we cannot use procedure inside interface mapping.
    Thanks

  • How to get the method names in a class

    hi  friends,
    Could any of you tell me the report or function module  to display all the method names in a given class.
    thanks in advance.
    regards,
    kumar

    Hi Kumar ,
    Open ur class in SE24 transaction ,there is a tab for methods ..
    u'll get the list of methods form there ... n in source u'll get their operative details
    Regards
    Renu

Maybe you are looking for

  • Memory problem on Msi x48c platinum

    Hi every body, I have a MSI x48c platinum mainboard, Recently i bought a ddr3 memory module (corsair CMX4GX3M2A1600C9) trying to upgrade my system, after replacing old memories with new ones, system didn't boot. Even bios setting page did not apear.

  • Can't sign in to my account

    I can't sign in to my account in the app store for MacBook. When I click on "account" in the app store which appears in the right side, a window appears to let me type the ID and the password. Each time I type the password the window appears again an

  • IE11 restricted users opens links in new window instead new tab

    Hello, Have a problem. All restricted users, on several machines when try to open link in new tab, link opens in new window instead new tab. Pressing ctrl+K or ctrl+T works fine. Resetting browser setting didn't help. Red cross near resetting user cu

  • Error: -3, tried registry "classes" fix, now get 1402 Could not open key

    I tried to upgrade itunes and I get an error when quicktime installs. The error is: Error: -3, followed by itunes cannot run because some of its required files are missing. I followed the registry "classes" permission fix and tried to install a stand

  • ACR Error Code

    Tried to update ACR and received message "Installlation Failed. Error Code U44M1P7"  Any ideas what's wrong?