Object function(){} has no method 'isElementatached toDocumentBody'

Hi,
obiapps 7963
obiee 11115
server linux and client windows7
i had configured ebs with obiee
when i open dashboard it shows 1st page data(tables and graphs) when i select 2nd page(tab) there is no change only first page displays
and when i select prompt it displays below error
Object function(){} has no method 'isElementatached toDocumentBody' on popup window
any suggestion plzz

I was contacted by Adobe regarding my error and I was informed that I was running two differen versions of jQuery at the same time which is a no, no. jQuery does not like to have multiple versions loaded at the same time, but if you needed to you could always run one after another, but it would take longer for the page to load. In my case I changed the embeded code in my lightbox under the "Join Our Mailing List". The embeded code uses jQuery version 1.4.4 while the jQuery version that Muse uses is version 1.8.3. To resolve this problem I simply change the 1.4.4 to being 1.8.3. While jQuery is not always backwards compatible, I was lucky on this item as it appears to be backwards compatiable.
I would also like to note that I had originally placed my CSS for this code inline with the coding, but I then removed it and placed it in the head as this helped with some of the problems as well. It is always better to create seperate CSS and .js files and then have your code reference these files. I will work on this in the coming days.
-John

Similar Messages

  • Cannot save asset - Object [object global] has no method 'submitForm'

    Hi,
    I am getting following error message on the contributor UI everytime I create / save a flex asset. I am on 11G WCS.
    Object [object global] has no method 'submitForm'
    Anyone know how to fix this?
    thanks!

    It does seem like a Adobe code issue as I do not see any of
    your code in the trace stack.
    In the Adobe ListBase.as the line (1357) of code is commented
    as part of an if block. "if necessary, make the rows that will
    eventually be offscreen, above visible rows" There are a number of
    variables in the line and one or more of them is not defined. Thus
    that leads me to believe a timing problem with updating the
    DataGrid.
    However what code is listening to the event you are
    dispatching? Do you get there?

  • Extending the BC4J objects which has private methods

    Hi,
    I faced a situation which requires to extended the AM and CO of a page which has some private methods.
    As we cant inherit the which private methods of a class I thought of using the same code in the extended class.
    As it is not feasible solution n not upgrade safe we have not taken up the development..
    Any one faced the same issue and any workaround on the same will be appreciated..
    Thanks,
    Nagu

    Copy the private method code into your extended objects. Then it'll use the private methods in your extended code....

  • Muse JS Assert: Error calling selector function:Type error: Object has no method Muse Menu

    When exporting html and viewing locally we receive the following error... This error disappears after removing menu from top of page. This error does not occur when viewed on Outdoors360.businesscatalyst.com (our temporary site)
    Muse JS Assert: Error calling selector function:Type error: Object has no method Muse Menu
    Any ideas??

    I fix the problem.
    I have carefully reviewed JAVASCRIPT files and I could see that these are not a major influence within the site, only are reference code and utilities of the same application.
    By removing these files nothing has stopped working, I thought I would have some error in the sliders, or opacities, but no, nothing happened.
    DELETE IT
    FRANCISCO CATALDO DISEÑADOR GRÁFICO

  • Object# object has no method "on" -- Chrome

    So, I have been trying to trouble shoot the error above. I have been able to find a work around for some of the CSS errors I have had within IE10 and on and off in Firefox. Chrome is the one that tends to be the problem at this point.
    Website: http://www.kaneprinting.com
    The error either comes up as
    Type Error: Object#<object> has no method "tobrowserwidth"
    or
    Type Error: Object#<object> has no method "on"
    The second error is the one that happens more frequently and the one that I am most worred about.
    If someone could please help me to get ride of this error that would be wonderful. From everything that I can tell it might have something to do with the lightbox feature I have on the "Join Mailing List" at the top of the page as this happens on every page in chrome. The lightbox has some embeded code in it which I added as we wanted users to be able to join the mail list and have it validate their entries.
    Please advise as soon as you can.
    Best, John

    I was contacted by Adobe regarding my error and I was informed that I was running two differen versions of jQuery at the same time which is a no, no. jQuery does not like to have multiple versions loaded at the same time, but if you needed to you could always run one after another, but it would take longer for the page to load. In my case I changed the embeded code in my lightbox under the "Join Our Mailing List". The embeded code uses jQuery version 1.4.4 while the jQuery version that Muse uses is version 1.8.3. To resolve this problem I simply change the 1.4.4 to being 1.8.3. While jQuery is not always backwards compatible, I was lucky on this item as it appears to be backwards compatiable.
    I would also like to note that I had originally placed my CSS for this code inline with the coding, but I then removed it and placed it in the head as this helped with some of the problems as well. It is always better to create seperate CSS and .js files and then have your code reference these files. I will work on this in the coming days.
    -John

  • Uncaught TypeError: Object [object Object] has no method 'stringify'

    Hi,
    I've been working with a fairly simple animation on my site for a while now. I didn't change anything to do with it for the longest time, but something's obviously happened, because now when i run the animation, i get "Uncaught TypeError: Object [object Object] has no method 'stringify'      animate/2.0.0/edge.2.0.0.min.js" from Chromes Console Log. I have no idea what this means, but it has something to do with the json. I'm not sure if my image is being loaded, but there's no reason it shouldn't be, since i never changed the path of it. Can somebody tell me what "Object [object Object]" is supposed to refer to?
    Thanks!
    P.S My animation setup is just the stage, with about 17 copies of an .svg that i use as a sprite sheet, plus some text. Every single object has animations that include opacity, top, left, and height.

    I was contacted by Adobe regarding my error and I was informed that I was running two differen versions of jQuery at the same time which is a no, no. jQuery does not like to have multiple versions loaded at the same time, but if you needed to you could always run one after another, but it would take longer for the page to load. In my case I changed the embeded code in my lightbox under the "Join Our Mailing List". The embeded code uses jQuery version 1.4.4 while the jQuery version that Muse uses is version 1.8.3. To resolve this problem I simply change the 1.4.4 to being 1.8.3. While jQuery is not always backwards compatible, I was lucky on this item as it appears to be backwards compatiable.
    I would also like to note that I had originally placed my CSS for this code inline with the coding, but I then removed it and placed it in the head as this helped with some of the problems as well. It is always better to create seperate CSS and .js files and then have your code reference these files. I will work on this in the coming days.
    -John

  • ABAP Objects - Instance of a method

    Goodmorning to you all,
    Can anyone explain the process in :
    IF cl_gui_alv_grid=>offline( ) IS INITIAL.
    The method OFFLINE has a returning parameter E_OFFLINE.
    Questions :
    - how does the system recognise this parameter.
    - can i check this variable in the debugger.
    - general explanation of the working of this.
    TIA,
    Rob Makelaar
    The Netherlands

    Hi Rob
    For the functionality of this method:
    This method is used to determine if the ALV Grid Control runs without frontend handling.
    The ALV Grid Control runs without frontend handling in batch mode ( sy-batch has the value ' X '), in print mode, in combination with CATT and during Web Reporting.
    In these cases, you should not create frontend (GUI)  objects (e.g. custom containers, etc...) .
    Since this method has a 'RETURNING' type parameter, you can call and directly assign its output to a variable.
    e.g.
    DATA lv_offline TYPE i .
    lv_offline = cl_gui_alv_grid=>offline( ) .
    You can also call this method in usual way as:
    DATA lv_offline TYPE i .
    CALL METHOD CL_GUI_ALV_GRID=>offline
       RECEIVING
          E_OFFLINE  = lv_offline .
    By the way, you can assign points to posts you find helpful using the scala on the left of each post. By assigning a 10-point or checkin "Solved my own" at left of your original post, you can close your thread.
    Regards
    *--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

  • How to Send Internal table to SAP Spool using Function Modules or Methods?

    Hi Experts,
    How to Send Internal table to SAP Spool using Function Modules or Methods?
    Thanks ,
    Kiran

    This is my code.
    I still get the no ABAP list data for the spool, even tho I can see it sp01?
    REPORT  Z_MAIL_PAYSLIP.
    * Declaration Part *
    tables: PERNR, PV000, T549Q, V_T514D, HRPY_RGDIR.
    infotypes: 0000, 0001, 0105, 0655.
    data: begin of ITAB occurs 0,
      MTEXT(25) type C,
      PERNR like PA0001-PERNR,
      ABKRS like PA0001-ABKRS,
      ENAME like PA0001-ENAME,
      USRID_LONG like PA0105-USRID_LONG,
    end of ITAB.
    data: W_BEGDA like HRPY_RGDIR-FPBEG,
          W_ENDDA like HRPY_RGDIR-FPEND.
    data: RETURN like BAPIRETURN1 occurs 0 with header line.
    data: P_INFO like PC407,
          P_FORM like PC408 occurs 0 with header line.
    data: P_IDX type I,
          MY_MONTH type T549Q-PABRP,
          STR_MY_MONTH(2) type C,
          MY_YEAR type T549Q-PABRJ,
          STR_MY_YEAR(4) type C,
          CRLF(2) type x value '0D0A'.
    data: W_CMONTH(10) type C.
    data: TAB_LINES type I,
          ATT_TYPE like SOODK-OBJTP.
    data: begin of P_INDEX occurs 0,
            INDEX type I,
    end of P_INDEX.
    constants: begin of F__LTYPE, "type of line
       CMD like PC408-LTYPE value '/:',  "command
       TXT like PC408-LTYPE value 's',   "textline
    end of F__LTYPE.
    constants: begin of F__CMD, "commands
      NEWPAGE like PC408-LINDA value '',
    end of F__CMD.
    data: P_LIST like ABAPLIST occurs 1 with header line.
    *data: OBJBIN like SOLISTI1 occurs 10 with header line,
    data: OBJBIN like  LVC_S_1022 occurs 10 with header line,
          DOCDATA like SODOCCHGI1,
          OBJTXT like SOLISTI1 occurs 10 with header line,
          OBJPACK like SOPCKLSTI1 occurs 1 with header line,
          RECLIST like SOMLRECI1 occurs 1 with header line,
          OBJHEAD like SOLISTI1 occurs 1 with header line,
          it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          gd_buffer type string,
          l_no_of_bytes TYPE i,
          l_pdf_spoolid LIKE tsp01-rqident,
          l_jobname     LIKE tbtcjob-jobname.
    data: file_length  type int4,
          spool_id     type rspoid,
          line_cnt     type i.
    *-------------------------------------------------------------------* * INITIALIZATION *
    OBJBIN = ' | '.
    append OBJBIN.
    OBJPACK-HEAD_START = 1.
    data: S_ABKRS like PV000-ABKRS.
    data: S_PABRP like T549Q-PABRP.
    data: S_PABRJ like T549Q-PABRJ.
    * SELECTION SCREEN                                                  *
    selection-screen begin of block BL1.
    parameters: PAY_VAR like BAPI7004-PAYSLIP_VARIANT default 'ESS_PAYSLIPS' obligatory.
    selection-screen end of block BL1.
    START-OF-SELECTION.
      s_ABKRS = PNPXABKR.
      S_PABRP = PNPPABRP.
      s_pabrj = PNPPABRJ.
      w_begda = PN-BEGDA.
      w_endda = PN-ENDDA.
    get pernr.
    *                                 "Check active employees
      rp-provide-from-last p0000 space pn-begda  pn-endda.
      CHECK P0000-STAT2 IN PNPSTAT2.
    *                                 "Check Payslip Mail flag
      rp-provide-from-last p0655 space pn-begda  pn-endda.
      CHECK P0655-ESSONLY = 'X'.
      rp-provide-from-last p0001 space pn-begda  pn-endda.
    *                                 "Find email address
      RP-PROVIDE-FROM-LAST P0105 '0030' PN-BEGDA PN-ENDDA.
      if p0105-usrid_LONG ne ''.
        ITAB-PERNR      = P0001-PERNR.
        ITAB-ABKRS      = P0001-ABKRS.
        ITAB-ENAME      = P0001-ENAME.
        ITAB-USRID_LONG = P0105-USRID_LONG.
        append itab.
        clear itab.
      endif.
      "SY-UCOMM ='ONLI'
    END-OF-SELECTION.
    *------------------------------------------------------------------* start-of-selection.
      write : / 'Payroll Area        : ', S_ABKRS.
      write : / 'Payroll Period/Year : ',STR_MY_MONTH,'-',STR_MY_YEAR. write : / 'System Date : ', SY-DATUM.
      write : / 'System Time         : ', SY-UZEIT.
      write : / 'User Name           : ', SY-UNAME.
      write : / SY-ULINE.
      sort ITAB by PERNR.
      loop at ITAB.
        clear : P_INFO, P_FORM, P_INDEX, P_LIST, OBJBIN, DOCDATA, OBJTXT, OBJPACK, RECLIST, TAB_LINES.
        refresh : P_FORM, P_INDEX, P_LIST, OBJBIN, OBJTXT, OBJPACK, RECLIST.
    *                                                  Retrieve Payroll results sequence number for this run
        select single * from HRPY_RGDIR where PERNR eq ITAB-PERNR
                                        and FPBEG ge W_BEGDA
                                        and FPEND le W_ENDDA
                                        and SRTZA eq 'A'.
    *                                                  Produce payslip for those payroll results
        if SY-SUBRC = 0.
          call function 'GET_PAYSLIP'
            EXPORTING
              EMPLOYEE_NUMBER = ITAB-PERNR
              SEQUENCE_NUMBER = HRPY_RGDIR-SEQNR
              PAYSLIP_VARIANT = PAY_VAR
            IMPORTING
              RETURN          = RETURN
              P_INFO          = P_INFO
            TABLES
              P_FORM          = P_FORM.
          check RETURN is initial.
    *                                                 remove linetype from generated payslip
          loop at p_form.
            objbin = p_form-linda.
            append objbin.
            line_cnt = line_cnt + 1.
          endloop.
          file_length = line_cnt * 1022.
    *                                                 create spool file of paylsip
          CALL FUNCTION 'SLVC_TABLE_PS_TO_SPOOL'
            EXPORTING
              i_file_length = file_length
            IMPORTING
              e_spoolid     = spool_id
            TABLES
              it_textdata   = objbin.
          IF sy-subrc EQ 0.
            WRITE spool_id.
          ENDIF.
          DESCRIBE table objbin.
          DATA PDF LIKE TLINE OCCURS 100 WITH HEADER LINE.
          CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
            EXPORTING
              SRC_SPOOLID                    = spool_id
              NO_DIALOG                      = ' '
              DST_DEVICE                     = 'MAIL'
    *      PDF_DESTINATION                =
    *    IMPORTING
    *      PDF_BYTECOUNT                  = l_no_of_bytes
    *      PDF_SPOOLID                    = l_pdf_spoolid
    *      LIST_PAGECOUNT                 =
    *      BTC_JOBNAME                    =
    *      BTC_JOBCOUNT                   =
            TABLES
              PDF                            = pdf
            EXCEPTIONS
              ERR_NO_ABAP_SPOOLJOB           = 1
              ERR_NO_SPOOLJOB                = 2
              ERR_NO_PERMISSION              = 3
              ERR_CONV_NOT_POSSIBLE          = 4
              ERR_BAD_DESTDEVICE             = 5
              USER_CANCELLED                 = 6
              ERR_SPOOLERROR                 = 7
              ERR_TEMSEERROR                 = 8
              ERR_BTCJOB_OPEN_FAILED         = 9
              ERR_BTCJOB_SUBMIT_FAILED       = 10
              ERR_BTCJOB_CLOSE_FAILED        = 11
              OTHERS                         = 12
          IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    *Download PDF file C Drive
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename = 'C:\itab_to_pdf.pdf'
          filetype = 'BIN'
        TABLES
          data_tab = pdf.
    * Transfer the 132-long strings to 255-long strings
    *  LOOP AT pdf.
    *    TRANSLATE pdf USING ' ~'.
    *    CONCATENATE gd_buffer pdf INTO gd_buffer.
    *  ENDLOOP.
    *  TRANSLATE gd_buffer USING '~ '.
    *  DO.
    *    it_mess_att = gd_buffer.
    *    APPEND it_mess_att.
    *    SHIFT gd_buffer LEFT BY 255 PLACES.
    *    IF gd_buffer IS INITIAL.
    *      EXIT.
    *    ENDIF.
    *  ENDDO.
          OBJHEAD = 'Objhead'.
          append OBJHEAD.
    * preparing email subject
          concatenate W_ENDDA(6)
                    ' Payslip-'
                    ITAB-ENAME+0(28)
                    ITAB-PERNR+4(4) ')'
                 into DOCDATA-OBJ_DESCR.
          DOCDATA-OBJ_NAME = 'Pay Slip'.
          DOCDATA-OBJ_LANGU = SY-LANGU.
          OBJTXT = 'Pay Slip.'.
          append OBJTXT.
    *prepare email lines
          OBJTXT = DOCDATA-OBJ_DESCR.
          append OBJTXT.
          OBJTXT = 'Please find enclosed your current payslip.'.
          append OBJTXT.
    * Write Attachment(Main)
    * 3 has been fixed because OBJTXT has fix three lines
          read table OBJTXT index 3.
    *    DOCDATA-DOC_SIZE = ( 3 - 1 ) * 255 + strlen( OBJTXT ).
          clear OBJPACK-TRANSF_BIN.
          OBJPACK-HEAD_START = 1.
          OBJPACK-HEAD_NUM = 0.
          OBJPACK-BODY_START = 1.
          OBJPACK-BODY_NUM = 3.
          OBJPACK-DOC_TYPE = 'RAW'.
          append OBJPACK.
    * Create Message Attachment
          ATT_TYPE = 'PDF'.
          describe table OBJBIN lines TAB_LINES.
          read table OBJBIN index TAB_LINES.
    *    OBJPACK-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + strlen( OBJBIN ).
          OBJPACK-TRANSF_BIN = 'X'.
          OBJPACK-HEAD_START = 1.
          OBJPACK-HEAD_NUM = 0.
          OBJPACK-BODY_START = 1.
          OBJPACK-BODY_NUM = TAB_LINES.
          OBJPACK-DOC_TYPE = ATT_TYPE.
          OBJPACK-OBJ_NAME = 'ATTACHMENT'.
          OBJPACK-OBJ_DESCR = 'Payslip'.
          append OBJPACK.
    * Create receiver list refresh RECLIST.
          clear RECLIST.
          RECLIST-RECEIVER = itab-USRID_long.
          translate RECLIST-RECEIVER to lower case.
          RECLIST-REC_TYPE = 'U'.
          append RECLIST.
    * Send the document
    *SO_NEW_DOCUMENT_ATT_SEND_API1
          call function 'SO_DOCUMENT_SEND_API1'
            exporting
              DOCUMENT_DATA = DOCDATA
              PUT_IN_OUTBOX = 'X'
              COMMIT_WORK = 'X'
    * IMPORTING
    *   SENT_TO_ALL =
    *   NEW_OBJECT_ID =
            tables
              PACKING_LIST  = OBJPACK
              OBJECT_HEADER = OBJHEAD
              CONTENTS_BIN  = pdf
              CONTENTS_TXT  = OBJTXT
    *   CONTENTS_HEX =
    *   OBJECT_PARA =
    *   OBJECT_PARB =
              RECEIVERS = RECLIST
            exceptions
              TOO_MANY_RECEIVERS = 1
              DOCUMENT_NOT_SENT = 2
              DOCUMENT_TYPE_NOT_EXIST = 3
              OPERATION_NO_AUTHORIZATION = 4
              PARAMETER_ERROR = 5
              X_ERROR = 6
              ENQUEUE_ERROR = 7
              others = 8.
          if SY-SUBRC NE 0.
            ITAB-MTEXT = 'Message Not Sent to : '.
          else.
            ITAB-MTEXT = 'Message Sent to : '.
          endif.
    *    else.
    *      ITAB-MTEXT = 'Message Not Sent to : '.
    *    endif.
        else.
          "SY-SUBRC Not = 0
          ITAB-MTEXT = 'Payroll data not found : '.
        endif.
        "end of SY-SUBRC = 0.
        modify ITAB.
      endloop. "end loop at ITAB
      sort ITAB by MTEXT PERNR.
      loop at ITAB.
        at new MTEXT.
          uline.
          write : / ITAB-MTEXT color 4 intensified on.
          write : / 'Emp. Code' color 2 intensified on,
                 12 'Emp. Name' color 2 intensified on,
                 54 'Email ID' color 2 intensified on.
        endat.
        write : / ITAB-PERNR, 12 ITAB-ENAME, 54 ITAB-USRID_LONG.
      endloop.

  • Last active change request of a object which has been transported

    Hi to all,
    I need a method to obtain the last active change request of a object which has been transported to the corresponding target system. I know that the CR tables are E070 and E071, but how can I know the last active and transported CR of each object? Any suggestion?
    Thank you very much,
    Antonio

    Hi Antonio, As u are aware that you can get TR information from E070 and E071 tables.From these two tables we can get the latest TR. In table E070 there are two fields with AS4DATE, AS4TIME.So, U can find the latest transported object on these two fileds.Also, u need to check the TRSTATUS field which specifies whether the object is transported ( R Released) or still Modifiable( Active as D).
    However this table will also contains subtasks and main request. This can be diffrentiated with the help of STRKORR field of E070. If blank then its a main req else its a subtask where the field would contain the Main Request No.
    Hope this would be of some help for u r development.
    Regards,
    Swaroop

  • How to get caller object reference from a method

    Hi,
    I am working a already existing Java Swing project, now I got a problem, in a method I need to get the caller object reference otherwise, I can't succeed this operation. So please tell me a way how to get the caller object reference from a method. that method would be static or regular method anything will do for me.
    Edited by: navaneeth.j on Jan 29, 2010 11:20 PM

    navaneeth.j wrote:
    Actually my doubt is, I have a method "addition" method, which is using by many classes so my requirement is in the addition method I want to write a code snippet which will identify and get the the caller object. Actually I tried Reflection.getcallerclass but there I am getting "CLASS" object not the actual object reference, but I want object reference.
    Actually we have a huge project which is writen plain JAVA, so in this project the authors written the Database connection package for single database transaction. so now we are using this project source code for JSF application in this web application the DB package has serve based on the dynamic db connection parameters, so if we want to change this package fully means need to solve the dependency problem in hundreds of classes, so my point is if I can access the caller object in the DB package when ever it gets called by any class from any where of the project. So actually I liked Reflection.getcallerclass, the way of implementation perfectly works for me but it is not giving caller object reference, if something gives the caller object then I can get the DB connection parameters then there is no need to pass the parameters in the hierarchy.You can add a parameter (of type Object) to your addition() method
    and everywhere you call the addition() method also pass this (which from the POW of the addition() method will be a reference to the calling class instance).
    There may be alternative solutions
    but none that require less effort.

  • Jndi lookup of of object that has been bound remotely

    I want to register in weblogic server jndi tree some remote objects. A one standalone
    application binds these object in server jndi. Another standalone app try to lookup
    and executes some methods - everything works ok.
    The problem is : applications which works internally on server can't lookup these
    object. It's initial context doesn't contains such bindings. What's the difference
    between naming contexts
    inside and outside the server?
    Thank in advance,
    Vladimir.

    Hi JP3O,
    >> But that doesn't help because CurrentExcelWorksheetEventsInstance is not nothing even after all properties give errors. What is a better test or approach I can use?
    In my option, if you refer to the property of the Worksheet object which has been deleted, the error would be raised as expected. I think you could use the try catch statement to deal with this situation. Some key code like below:
    Dim oxl As Excel.Application
    Dim owb As Excel.Workbook
    Dim osheet As Excel.Worksheet
    Dim owbname As String
    oxl = New Excel.Application
    owb = oxl.Workbooks.Open("D:\Test\VSC#\03\Winform\VBWinform\Test.xlsx")
    osheet = owb.Worksheets("sheet1")
    Try
    osheet = owb.Worksheets.Add()
    owb.Close(False)
    owbname = owb.Name
    Catch comex As System.Runtime.InteropServices.COMException
    If comex.ErrorCode = -214682246 Or comex.Message.Contains("Object has been deleted") Then
    ' handle deleted object
    Else
    Throw comex
    End If
    End Try
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Com.waveset.util.WavesetException: User object null has no cache

    In the anonymous context i receive this error when i try and run the PasswordGenerator.
    com.waveset.provision.PasswordGenerator com.waveset.util.WavesetException: User object null has no cache, it cannot resolve the reference to ObjectGroup object Top.
    It works fine when i run it logged in as an end user or admin. Any ideas

    Yes you are correct i am in as an anonymous user trying to create a forgot password workflow. I was having issues with the password Generator because it required a WSUser object and in other posts it stated you could pass in a null object. However, in the anonymous context you cannot do that so once i discovered the account id in my workflow i had to call getObject for type User with the account id and pass that into the generate password method.
    Then it worked.
    Thanks

  • Why does serializable interface has no methods inside it

    Aloha
    Can anyone please help me with this....Serializable interface has no methods inside it.So how is it useful to the user.Also if I am writing a class which implements Serializable how does JVM know what to do.?

    JoachimSauer wrote:
    dannyyates wrote:
    [The JVM] doesn't know about serialisation [...]Sorry for the nitpick, but that's not completely true. The JVM needs to know about serialisation at least at little bitNo.
    since Serialization creates new objects without the code from the constructrs ever being run. ObjectInputStream loads the classes just like any other code would, although it's obviously reading the serialized stream to get that information... and then calls newInstance() on ObjectStreamClass.
    And ObjectStreamClass uses reflection to get a constructor (via java.lang.Class getDeclaredConstructor ) and then uses said java.lang.reflect.Constructor to create a new instance via newInstance()
    There is no JVM magic. It is all Java code. (With the exception of what java.lang.reflect.Constructor does because at the point it dives into sun packages but you could do the same by calling java.lang.reflect.Constructor)

  • How to call one method objects in to another method of same interface.

    Interface name : IF_EX_ME_PROCESS_REQ_CUST
    CLass Name : ZCL_IM_PRPO_MM_BADI_CHECK
    it has two methods
                         PROCESS_ACCOUNT
                         CHECK
    METHOD if_ex_me_process_req_cust~check.
    LOOP AT i_items INTO l_item.
        ls_item = l_item-item->get_data( ).
    ENDLOOP.
    endmethod.
    METHOD if_ex_me_process_req_cust~process_account.
    DATA: re_persistent_data1 TYPE exkn.
      CALL METHOD im_account_ref->get_persistent_data
        RECEIVING
          re_persistent_data = re_persistent_data1.
    ENDMETHOD.
    QUESTION
    re_persistent_data(process_Account) has fields sakto and PSP_PNR.
    i need to acccess the field values in
    Check Method.
    please help me with code
    Thanks

    re_persistent_data1 is defined as local data object of method if_ex_me_process_req_cust~process_account , so all its components are accesible only within that method. If you want to access it in some other method of same class you need to make it global. You do this simply by creating an attribute re_persistent_data of this class and store the persistent data in that attribute instead of that local data.
    Once its there you can access it with check method hence you are able access its components.
    Regards
    Marcin

  • How to trigging a object event which the object type has two key fields

    Hi,kind guys
    I use the object type QMSM about qualification notification task,it has two key fiedls,qualification notification number and task number (can display by t-code -QM03), I want to trigging the event 'create' in  BOR 'QMSM ' by function SWE_EVENT_CREATE(or SAP_WAPI_event_create), but it only has one object key ,
    example:
    CALL FUNCTION 'SWE_EVENT_CREATE'
      EXPORTING
        OBJTYPE                       =  OBJTYPE
        OBJKEY                        =  OBJKEY " only one key
        EVENT                         =   EVENT
    but the BOR object 'QMSM' has two keys,so it cann't be trigged rightly.
    thanks for any help.

    You have to Concatenate the Business object keys and pass it in one variable OBJKEY.
    Thanks
    Arghadip

Maybe you are looking for