Program error: Object type of receiver cannot be determined

Hello Experts,
               Am getting this error "Program error: Object type of receiver cannot be determined" when creating internal orders using BAPI_INTERNALORDERS_CREATE. I read many forums, but they are not answered. I didn't get any solution. Any Solution Please.
Thanks in Advance

Here is my Code
TYPE-POOLS : TRUXS.
TYPES:BEGIN OF TY_COAS_SVALD,
      AUART TYPE AUFART,         "Order Type
      BUKRS TYPE BUKRS,          "Company Code
      KTEXT TYPE AUFTEXT,        "Description
      GSBER TYPE GSBER,          "Business Area
      WERKS TYPE WERKS_D,        "plant
      KDAUF TYPE KDAUF,          "Sales Order Number
      KDPOS TYPE KDPOS,          "Item
      USER0 TYPE AUFUSER0,       "Applicant
      USER1 TYPE AUFUSER1,       "Applicant's telephone number
      USER2 TYPE AUFUSER2,       "Person responsible
      USER6 TYPE AUFUSER6,       "Department
      KOKRS TYPE KOKRS,          "Controlling area
      AUFWAERS TYPE AUFWAERS,    "Currency
      END   OF TY_COAS_SVALD .
DATA : IT_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
DATA:T_COAS TYPE STANDARD TABLE OF TY_COAS_SVALD INITIAL SIZE 0,
    WA_COAS TYPE  TY_COAS_SVALD.
PARAMETERs : p_file TYPE IBIPPARMS-PATH.
at SELECTION-SCREEN on VALUE-REQUEST FOR p_file.
  PERFORM browse_file.
INITIALIZATION.
  CLEAR:WA_COAS.
  REFRESH:T_COAS.
START-OF-SELECTION.
PERFORM LOAD_FLAT_FILE.
PERFORM SUB_CALL_BAPI_FOR_KO01.
FORM browse_file .
CALL FUNCTION 'F4_FILENAME'
IMPORTING
   FILE_NAME           = p_file
ENDFORM.                    " browse_file
FORM LOAD_FLAT_FILE .
DATA : LT_RAW TYPE TRUXS_T_TEXT_DATA.
  CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
    EXPORTING
      I_FIELD_SEPERATOR          = 'X'
     I_LINE_HEADER              = 'X'
      I_TAB_RAW_DATA             = LT_RAW
      I_FILENAME                 = P_FILE
    TABLES
      I_TAB_CONVERTED_DATA       = T_COAS
   EXCEPTIONS
     CONVERSION_FAILED          = 1
     OTHERS                     = 2
  IF SY-SUBRC <> 0.
  ENDIF.
ENDFORM.                    " LOAD_FLAT_FILE
FORM SUB_CALL_BAPI_FOR_KO01 .
  DATA:L_MASTERDATA  TYPE BAPI2075_7,
       LE_MASTERDATA TYPE BAPI2075_2,
       T_BAPI TYPE STANDARD TABLE OF BAPI2075_6 INITIAL SIZE 0,
       WA_BAPI TYPE BAPI2075_6.
clear:l_masterdata,
      le_masterdata,
      wa_bapi.
refresh:t_bapi.
  LOOP AT T_COAS INTO WA_COAS.
  L_MASTERDATA-ORDER_TYPE = WA_COAS-AUART.
  L_MASTERDATA-COMP_CODE = WA_COAS-BUKRS.
  L_MASTERDATA-ORDER_NAME = WA_COAS-KTEXT.
  L_MASTERDATA-PLANT = WA_COAS-WERKS.
  L_MASTERDATA-BUS_AREA = WA_COAS-GSBER.
  L_MASTERDATA-SALES_ORD = WA_COAS-KDAUF.
  L_MASTERDATA-S_ORD_ITEM = WA_COAS-KDPOS.
  L_MASTERDATA-APPLICANT = WA_COAS-USER0.
  L_MASTERDATA-APPLICANT_PHONE = WA_COAS-USER1.
  L_MASTERDATA-PERSON_RESP = WA_COAS-USER2.
  L_MASTERDATA-DEPARTMENT = WA_COAS-USER6.
  L_MASTERDATA-CO_AREA = WA_COAS-KOKRS.
  L_MASTERDATA-CURRENCY = WA_COAS-AUFWAERS.
  WA_BAPI-SALES_ORD = WA_COAS-KDAUF.
  WA_BAPI-S_ORD_ITEM = WA_COAS-KDPOS.
  WA_BAPI-COMP_CODE = WA_COAS-BUKRS.
  APPEND WA_BAPI TO T_BAPI.
CALL FUNCTION 'BAPI_INTERNALORDER_CREATE'
      EXPORTING
        I_MASTER_DATA       = L_MASTERDATA
IMPORTING
   E_MASTER_DATA       = LE_MASTERDATA
TABLES
   SRULES              = T_BAPI
   RETURN              = IT_RETURN
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
  ENDLOOP.
  WRITE : / IT_RETURN-TYPE, IT_RETURN-MESSAGE.
ENDFORM.                    " SUB_CALL_BAPI_FOR_KO01

Similar Messages

  • ActionScript 3.0: Error #1034: Type Coercion failed: cannot convert displayObject$ to DefaultPackage

    I'm a student I have a final project want to deliver it after two days.
    I'm making a drag and drop game, I watched a tutorial to do that.
    But after ending coding I faced a weird error!
    I've I checked that my code is the same as the code in the tutorial.
    This is the Debug error report:
        Attempting to launch and connect to Player using URL E:\FL\ActionScript\Drag and Drop Project\DragAndDrop.swf
        [SWF] E:\FL\ActionScript\Drag and Drop Project\DragAndDrop.swf - 87403 bytes after decompression
        TypeError: Error #1034: Type Coercion failed: cannot convert paper1$ to DragDrop.
                  at Targets()[E:\FL\ActionScript\Drag and Drop Project\Targets.as:23]
    My `.fla` File is containing 12 Objects to drag and another 12 Objects to drop on it.
    The idea here is when drop the Object on the target the Object will become invisible and the target become visible (in `.fla` file `target alpha = 0`).
    I made two classes:
    DragDrop.as : for the objects that I'm going to drag.
    Targets.as  : for the targets that I'm going to drop Objects on it.
    Note: match function is to animate "GameOver" MovieClip When complete the game.
    DragDrop.as:
        package
                  import flash.display.*;
                  import flash.events.*;
                  public class DragDrop extends Sprite
                            var origX:Number;
                            var origY:Number;
                            var target:DisplayObject;
                            public function DragDrop()
                                      // constructor code
                                      origX = x;
                                      origY = y;
                                      addEventListener(MouseEvent.MOUSE_DOWN, drag);
                                      buttonMode = true;
                            function drag(evt:MouseEvent):void
                                      stage.addEventListener(MouseEvent.MOUSE_UP, drop);
                                      startDrag();
                                      parent.addChild(this);
                            function drop(evt:MouseEvent):void
                                      stage.removeEventListener(MouseEvent.MOUSE_UP, drop);
                                      stopDrag();
                                      if(hitTestObject(target))
                                                visible = false;
                                                target.alpha = 1;
                                                Object(parent).match();
                                      x = origX;
                                      y = origY;
    Targets.as:
        package
                  import flash.display.*;
                  import flash.events.*;
                  public class Targets extends MovieClip
                            var dragdrops:Array;
                            var numOfMatches:uint = 0;
                            var speed:Number = 25;
                            public function Targets()
                                      // constructor code
                                      dragdrops = [paper1,paper2,paper3,paper4,paper5,paper6,
                                                                     paper7,paper8,paper9,paper10,paper11,paper12,];
                                      var currentObject:DragDrop;
                                      for(var i:uint = 0; i < dragdrops.length; i++)
                                                currentObject = dragdrops[i];
                                                currentObject.target = getChildByName(currentObject.name + "_target");
                            public function match():void
                                      numOfMatches++;
                                      if(numOfMatches == dragdrops.length)
                                                win.addEventListener(Event.ENTER_FRAME, winGame);
                            function winGame(event:Event):void
                                      win.y -= speed;
                                      if(win.y <= 0)
                                                win.y = 0;
                                                win.removeEventListener(Event.ENTER_FRAME, winGame);
                                                win.addEventListener(MouseEvent.CLICK, clickWin);
                            function clickWin(event:MouseEvent):void
                                      win.removeEventListener(MouseEvent.CLICK, clickWin);
                                      win.addEventListener(Event.ENTER_FRAME, animateDown);
                                      var currentObject:DragDrop;
                                      for(var i:uint = 0; i < dragdrops.length; i++)
                                                currentObject = dragdrops[i];
                                                getChildByName(currentObject.name + "_target").alpha = 0;
                                                currentObject.visible = true;
                                      numOfMatches = 0;
                                      addChild(win);
                            function animateDown(event:Event):void
                                      win.y += speed;
                                      if(win.y >= stage.stageHeight)
                                                win.y = stage.stageHeight;
                                                win.removeEventListener(Event.ENTER_FRAME, animateDown);
    ...Thanks

    Thank you very much for replying.
    - dragdrops represents: the dragable objects.
    - Targets obtaining the dropable objects by hitTestObject, then the dropable objects visible is turned to false, & the target visible turned to true.
    Dragable objects is a 12 elements all of them have an instance names: paper1....paper12.
    When I focused to the project I noticed that I forget to give the dragable objects an instance names!
    after making the instance names to them, a new error occures:
    E:\FL\ActionScript\Drag and Drop Project\Targets.as, Line 11
    1046: Type was not found or was not a compile-time constant: paper1.
    This error is continuing to paper2, paper3.....paper12 !
    Please download my project, I must deliver it to my college in 24/12. I will never forget your favor. thanks.
    https://www.dropbox.com/s/8mdg5w17vvryzso/Drag%20and%20Drop%20Project.rar | 715KB

  • Error: Object type '' could not be generated when creating sales order

    Hello Friends,
    I am using a SAP standard ITS service to create sales order.
    When I am creatin SO, it gives me error Object type '' could not be generated.
    Can you plz suggest me what is that issue & how I can reslove it.
    Regards,
    Narendra

    any inputs around this plz??

  • ERROR OGG-01148 programming error, data type not supported for column

    I am getting following error when I put null in insert statement
    2011-03-31 18:30:45 ERROR OGG-01148 programming error, data type not supported for column TXID in table advoss.tblaudittrail.
    I am replicating MySQL 5.5.9 to Oracle 11g rel2 via goldengate 11

    I am able to diagnose what is cuasing the problem
    unsigned flag was the culprit of this error
    I am able to insert null after removing unsigned flag.
    thank you very much for your kind support

  • Flash CS4 - Images in gallery will not show- TypeError: Error #1034: Type Coercion failed: cannot co

    So for my A2 studies I have to make an interactive product using flash. Long story short, I needed to make a flash gallery. I am using the "Zen Gallery Flash Component" and this is my code;
    galleryInstance.albums=[                                                             {                                                                         imagesFolder:"N:\ICT\ICT Unit 10\Prototype 3\images",                                                                       icon:"4.jpg",                                                                       items:                                                                       [                                                                                 {source:"1.jpg"},                                                                                 {source:"2.png"},                                                                                 {source:"3.jpg"},                                                                                 {source:"4.jpg"},                                                                                 {source:"5.jpg"}                                                                       ]                                                             },                                                             {                                                                       imagesFolder:"N:\ICT\ICT Unit 10\Prototype 3\images",                                                                       icon:"8.jpg",                                                                       items:                                                                       [                                                                                 {source:"6.png"},                                                                                 {source:"7.jpg"},                                                                                 {source:"8.jpg"},                                                                                 {source:"9.jpg"},                                                                                 {source:"10.jpg"}                                                                       ]                                                             }                                                             ]; galleryInstance.build(); 
    The user manual does not specify any more coding is needed (I read all the relevant parts and couldn't find anything). The problem is that my images do not show but when exporting the flash product, the gallery is fully functionon - it seems that it cannot locate my images.
    In addition to this, I get multiple Output Errors;
    TypeError: Error #1034: Type Coercion failed: cannot convert flash.events::IOErrorEvent@2d09a709 to Error. TypeError: Error #1034: Type Coercion failed: cannot convert flash.events::IOErrorEvent@2d09a709 to Error. TypeError: Error #1034: Type Coercion failed: cannot convert flash.events::IOErrorEvent@2d09a709 to Error.etc..
    What am I doing wrong?

    I'm not sure, the gallery just appeares to be an SWF.
    This is all that came up when I clicked it (I had a look at the parameters and they don't seem to help in the addition of pictures).
    There appears to be no forum for this flash component :L

  • Photoshop program error when type tool is selected

    I've been trying to use the type tool in Photoshop and I am able to select the tool, however as soon as I place the cursor on my document, I get a program error. From there, I have to force quit the program to get out of it. I downloaded a security update for my mac yesterday, but since I haven't been using the type tool in photoshop recently, I'm not sure if that had anything to do with this issue or not. Has anyone had the same problem?
    would appreciate any help. Thank you.

    Let me clarify. I'm running Mac OS X v. 10.4.11, Photoshop CS4. The error message just says "Could not complete your request because of program error". I haven't uploaded any new fonts to my system, however, I have deleted some that were suspect of being corrupt. I cannot change fonts on the type tool because it doesn't give me a chance, the error message pops up instantly. I have reset my tools and deleted my preferences and even reinstalled Photoshop CS4 but nothing has worked.

  • MRESCR01 inbound IDOC error: "Object type 'TRANSID ' has no relationship '

    Hello,
    I am trying to get an inbound IDOC from XI to a SAP R/3 System.
    It's an extended idoc (MRESCR01) for create orders.
    The error at /we02 in the inbound system is:
    Object type 'TRANSID ', key '0A1F032A59B345D027B002DE ', log.system ' ' has no relationship 'OUTTID '
    Message no. RL007
    Diagnosis
    All the roles used in relationships of type 'OUTTID' should be found for object type 'TRANSID' with key '0A1F032A59B345D027B002DE' in logical system ''.
    System Response
    No such roles were found.
    Further information:
    XI process message succesfully, with the Z segments extended information. But, at the WE02, only one of the 3 extended segments arrives to SAP R/3.
    Thanks a lot for your help, best regards

    thanks shridar and michal for response.
    these solution solved the problem of the segments. now the 5 arrives to SAP R/3.
    but i keep getting the error and IDOC is not processed:
    IDOC STAT = Status 51
    Object type 'TRANSID ', key '0A1F032A59B345D03A7A0A26 ', log.system ' ' has no relationship 'OUTTID '
    Message no. RL007
    Diagnosis
    All the roles used in relationships of type 'OUTTID' should be found for object type 'TRANSID' with key '0A1F032A59B345D03A7A0A26' in logical system ''.
    System Response
    No such roles were found.
    Thanks and best regards,

  • IDoc status error 51 : A company code cannot be determined for LS

    Hi,
    We are trying to post an Idoc into R/3 but getting the IDoc status code 51 :  A company code cannot be determined for LS
    What could be the possible reason?
    Should we use Party in Receiver IDoc scenarios?

    Hi,
    I have quite the same problem. I built an IDOC with WE19 and I have the message "A company code cannot be determined for LI 0000031004".
    As explained in note OSS 117808, the partner number (31004) and partner type (LI) are read from the control record of the IDOC. I enter this values in OBCA and OBCE customizing points, to determine the company code 'LC'. It doesn't work.
    PT Rao, what do you call "activate partner profile" ?
    Thanks in advance.
    Regards,
    Arnaud

  • Get last changed date by Program ID/Object type/Object name of a task

    Hi to all.
    I'm looking for a way to get last changed date of an object by task number(CR). Any SAP function or utility someone has??
    For example if I have a task with the object list:
    R3TR PROG  ZSD_ORD_COND_P
    R3TR TABL    ZCNDSLCTN
    LIMU  REPS  ZSD_ORD_COND_CLS
    R3TR TRAN   ZZDIS
    R3TR VIEW   ZSD_VBAK_KONV
    I need to get last changed date for each object.
    Thanks,
    Yuval Kaduri, Cellcom, Israel.
    Edited by: yuval kaduri on Mar 2, 2008 2:59 PM

    Hi Venu, thanks for the input.
    In the table I don't have all changes made in objects that the CR is not released. I need to know all changed date of objects even if the CR is not released. There are  few tables containing the date and time object last changed for the deferent types but I'm looking for a function or some utility someone wrote that gets the CR line info as - PgmID/Obj/Object name - and gives back last changed date and time.
    Thanks,
    Yuval Kaduri, Cellcom, Israel.

  • Error #1034 Type Coercion fail with registerClassAlias and nested Vectors

    I'm attempting to use flash.net.registerClassAlias and ByteArray.writeObject in order to serialize/deserialize data with static type information.  It works as you'd expect in the general case but I've run into problems with some nested Vectors that I don't understand.  Hopefully someone can point out if I'm just missing something.
    For what I understand, we must register both the scalar types and a one-deep specification of a Vector for that scalar type in order to use nested Vectors.  For example:
                flash.net.registerClassAlias("TestStructureInner", TestStructureInner);
                flash.net.registerClassAlias("VectorTestInner", Vector.<TestStructureInner> as Class);
    This should allow us to read/write objects of type TestStructureInner, Vector.<TestStructureInner>, and Vector.<Vector.<TestStructureInner>> into ByteArrays.  And in general it seems to work.
    Attached though is a simplified test case that fails, however.  The first time we deserialize the data it works.  The subsequent time, however, we encounter the following runtime error #1034.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fcb9 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fbc9 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fdd1 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fce1 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fbf1 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fec1 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fad9 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304fa61 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304f9e9 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
        TypeError: Error #1034: Type Coercion failed: cannot convert __AS3__.vec::Vector.<Object>@304f971 to __AS3__.vec.Vector.<__AS3__.vec::Vector.<Test0.as$30::TestStructureInner>>.
    Re-registering the class aliases again via flash.net.registerClassAlias works in this test case but isn't 100% for our actual application (I'm reticent to even mention it but it seems relevant).  Is there a step I'm missing here?  Any light shed would be appreciated.
    // mxmlc -debug Test0.as
    package
        import Base64; // http://code.google.com/p/jpauclair-blog/source/browse/trunk/Experiment/Base64/src/Base64.a s
        import flash.net.registerClassAlias;
        import flash.events.Event;
        import flash.utils.ByteArray;
        import flash.display.Sprite;
        import flash.display.Stage;
        import flash.system.System;
        public class Test0 extends Sprite
            static private const OPERATION_SERIALIZE:uint = 0;
            static private const OPERATION_DESERIALIZE_AND_FAIL:uint = 1;
            static private const OPERATION_DESERIALIZE_AND_SUCCEED:uint = 2;
            static private var staticStage:Stage;
            private var bar:Vector.<TestStructure>;
    * common functions
            static private function registerClassAliases():void
                flash.net.registerClassAlias("TestStructureInner", TestStructureInner);
                flash.net.registerClassAlias("VectorTestInner", Vector.<TestStructureInner> as Class);
                flash.net.registerClassAlias("TestStructure", TestStructure);
            static public function staticDeserialize():Object
                var byteArray:ByteArray = Base64.decode("EBUAG1Rlc3RTdHJ1Y3R1cmUKEwAHZm9vEAEAH1ZlY3RvclRlc3RJbm5lcgoBEAEABAoBEAEABA oBEAEABAoBEAEABAoBEAEABAoBEAEABAoBEAEABAoBEAEABAoBEAEABA==");
                byteArray.position = 0;
                return byteArray.readObject();
            public function Test0():void
                registerClassAliases();
                // Switching operation between the constants demonstrates failure/success in a couple of different ways.
                // SERIALIZE is just used to prepare the base64 string for subsequent tests.
                var operation:int = OPERATION_SERIALIZE_AND_FAIL;
                if (operation == OPERATION_SERIALIZE)
                    trace("Serializing");
                    // outputs base64 string for subsequent tests
                    serialize();
                else if (operation == OPERATION_DESERIALIZE_AND_FAIL)
                    trace("Fail case");
                    // perform successful one deserialization, then one failing one.
                    deserializeOnceThenFail();
                else if (operation == OPERATION_DESERIALIZE_AND_SUCCEED)
                    trace("Success via re-registration");
                    // perform successful one deserialization, then another successful one.
                    deserializeOnceThenSucceed();
    * serialize
            // outputs base64 string we use for subsequent tests.
            private function serialize():void
                var baz:Vector.<TestStructure> = new Vector.<TestStructure>;
                for (var i:int=0; i<10; ++i)
                    baz.push(new TestStructure);
                var byteArray:ByteArray = new ByteArray;
                byteArray.writeObject(baz);
                trace(Base64.encode(byteArray));
    * deserializeOnceThenFail
            // perform successful one deserialization, then one failing one.
            public function deserializeOnceThenFail():void
                // save stage
                staticStage = stage;
                // the first deserialize will proceed without error.
                staticDeserialize();
                trace("Successful deserialize");
                // add an event listener in order to invoke error on subsequent frame
                stage.addEventListener(Event.ENTER_FRAME, doEnterFrameOnceThenFail);
            // remove event listener and invoke again.
            static private function doEnterFrameOnceThenFail(e:Event):void
                staticStage.removeEventListener(Event.ENTER_FRAME, doEnterFrameOnceThenFail);
                staticDeserialize();
                trace("unsuccessful deserialize2");
    * deserializeOnceThenSucceed
    * Here, we re-call flash.net.registerClassAlias on all our class types when running.
            // perform successful one deserialization, then one failing one.
            public function deserializeOnceThenSucceed():void
                // save stage
                staticStage = stage;
                // the first deserialize will proceed without error.
                staticDeserialize();
                trace("Successful deserialize");
                // add an event listener in order to invoke error on subsequent frame
                stage.addEventListener(Event.ENTER_FRAME, doEnterFrameOnceThenSucceed);
            // remove event listener and invoke again.
            static private function doEnterFrameOnceThenSucceed(e:Event):void
                staticStage.removeEventListener(Event.ENTER_FRAME, doEnterFrameOnceThenSucceed);
                registerClassAliases();
                staticDeserialize();
                trace("successful deserialize2");
    internal class TestStructureInner
              public var value:int;
    internal class TestStructure
              public var foo:Vector.<Vector.<TestStructureInner>> = new Vector.<Vector.<TestStructureInner>>;

    The error would imply that ImageAssetEvent does not inherit
    DisplayEvent. Either modify the inheritance chain or listen for a
    basic Event object (flash.events.Event) and cast inside the
    function.

  • Object type not maintained for message type

    Hi,
    I am working on chnage pointers for Vendor classification data. when I execute the program RBDMIDOC (BD21) I get the error Object type LIFNR not maintained for Message type.
    If anyone has worked on change pointers, please guide me in solving this error.
    Thanks
    Hari

    Hi
    Which msg type u r using there.
    Regads,
    Prasad.

  • Error #1034: Type Coercion failed: Error in FocusManager

    Hi,
    I am using ActionScript 3.0.
    Here I want to setFocus on a DisplayObject(flash.display.DisplayObject).
    I tried :
                        //var dispObject:DisplayObject;
                        //dispObject = code here to get displayObject;//valid DisplayObject got
                        var focusManager1:FocusManager = dispObject["focusManager"];
                        var component:IFocusManagerComponent = dispObject as IFocusManagerComponent;
                        if(focusManager1 != null && component != null)
                            focusManager1.setFocus(component);
    But I am getting : Error #1034: Type Coercion failed: cannot convert mx.managers::FocusManager@3881e41 to mx.managers.FocusManager.
    This is at line :  var focusManager1:FocusManager = dispObject["focusManager"];
    The same code would work if I use mx.core.UIComponent instead of DisplayObject, I guess.
    But I am not able to convert DisplayObject to UIComponent (invalid cast).
    Can someone please help me.
    Thanks,
    Pradeep.

    mx.managers.FocusManager is for Flex Components and does not work with any other objects.
    In order to set focus on an InteractiveObject (you cannot set focus on a DisplayObject which is not an InteractiveObject) use stage.focus.

  • Designer and SDO_GEOMETRY object type

    I want to have tables with columns of object type MDSYS.SDO_GEOMETRY (Oracle Spatial's type) in Designer 9i and then generate these tables.
    So I created in Oracle Object Types branch object type called MDSYS.SDO_GEOMETRY without attributes, methods or source table.
    Then I created in Designer table with column named GEOMETRY which has Datatype property empty and Oracle Type property of value MDSYS.SDO_GEOMETRY.
    But when I generate this table I get these two messages:
    CDS-11349 Warning: The Oracle Object Type MDSYS.SDO_GEOMETRY cannot be generated.
    CDS-18025 Error: Table 'PRK_PRIMER_GEO_SDO' will not be created as Oracle Object Type 'MDSYS.SDO_GEOMETRY' is not created
    Object type MDSYS.SDO_GEOMETRY already exists in database for sure.
    What is wrong here?
    Regards
    Saso Celarc

    I think, Designer cannot handle SDO_GEOMETRY type.
    Workaround: use a other datatype/size not used in your schema ( such as varchar2(99) ), generate scripts and do a text substitution on them to SDO_GEOMETRY.

  • Note correction Instructions point towards object type FUGR / REPS

    Folks
    While looking at Correction Instructions for a note, its pointing to changes in Object Type FUGR, REPS
    I am familiar with Object Type Class and methods and how to navigate to them but am unfamiliar on how to check the Object Type FUGR, REPS and the corrections made to them.
    Is there any standard T-code or process to check the Object Type FUGR, REPS ?
    Thanks

    Further to above ;
    SAP systems record all changes made in the system in transport requests. There are different types of transport objects, depending on the type of change. Each transport object consists of three pieces of information:
    ·        Program ID
    ·        Object type
    ·        Object name
    Program ID can be R3TR, LIMU, or LANG. R3TR is a group of objects, and LIMU is a subobject of a larger object. This means, for example, that R3TR PROG RSPFPAR is the transport of the program RSPFPAR with all its information (source code, text elements, properties, ...), while LIMU REPT RSPFPAR describes the text elements of this program.
    The complete object R3TR PROG includes the following subobjects, among others:
    LIMU REPS
    LIMU REPT
    LIMU DYNP.
    Also REPS stands for Report Source Code
    Manish

  • Consume a Web Service: No receiver could be determined

    Hello,
    I have a successful running Web Service on a JAVA stack. Now I want to consume this web service within the ABAP Stack. For this purpose I generated the appropriate proxy object from the WSDL.
    However, while running my ABAP test program I am receiving an error: RCVR_DETERMINATION.NO_RECEIVER_CASE_BE No receiver could be determined
    Does anybody know, what to do? Do I need to register the generated proxy somewhere? Or what went wrong?
    Best Regards!

    you dont need to do any settings in LPCONFIG
    just create client proxy and <b>activate</b> the proxy class
    then in LPCONFIG
    enter the client proxy name and port name (port name can be any text) and check the checkbox "default" and click create and activate the same.
    now you are ready to consume the webservice.
    Regards
    Raja
    assigning points to helpful answers by choosing the appropriate radiobuttons in the answers in the SDN way of saying thanks.

Maybe you are looking for

  • Classification - inheritance by batch of material classification

    Is there a way to have the classification settings i.e. values, for a material automatically inherited by a batch created for that material ? And if so: What are the pre-requisites ? e.g. presumably both objects must have the same classifications Whe

  • Outlook client sync error

    My iPhone was in sync with Outlook 2003, finally, found the post on the add-ins. After that I had no problems. I upgraded to Outlook 2007 recently. Yesterday I connected my iPhone, it upgraded to the itunes as well as a new iphone file???? I don't re

  • Trouble Using Motorola H700

    I have a Motorola H700 that was paring and working just fine with my 8GB iPhone. With the release of 1.1.3 I, like many others, had problems with Bluetooth. During a call, I could hear the recipient in my headset just fine, but there was nothing comi

  • Macbook stuck on load screen, recovery mode unhelpful?

    So my friend has a refurbished Macbook laptop running Lion that won't boot past the grey load screen with the spinning wheel. I've tried everything I can possibly think of to fix it and nothing has worked. I think that the hard drive might be going b

  • Oracle VM Templates: Resizing a Template's Disk

    Is it possible to shrink (i.e., resize) the Virtual Disk of a Virtual Machine Template? Specifically, I'd like to to reduce the size of the +12GB Virtual Disk that's prepackaged with the OVM_OL6U2_x86_64_PVM template (that comes as part of the Oracle