How to convert matchcode objects to searchhelps.

Hi,
I had created search helps before but,
We have a project in which we have matchcode objects. The client wants us to create
searchhelps for those matchcode objects with the same name
I am not getting how to convert matchcode objects to searchhelps.
Regards,
sarath.

pick the object name and hit them in se11 search help row... that is a search help...
parameter: p type x-x matchcode object <object_name>

Similar Messages

  • How to convert Java Objects into xml?

    Hello Java Gurus
    how to convert Java Objects into xml? i heard xstream can be use for that but i am looking something which is good in performance.
    really need your help guys.
    thanks in advance.

    There are apparently a variety of Java/XML bindings. Try Google.
    And don't be so demanding.

  • WD(ABAP) - How to convert PDF object to XML

    I know there is a way available to converting PDF object to XML in JAVA. However how to achieve this goal in ABAP?
    In Web Dynpro ABAP, I can bind a context attribute to the pdfSource property of interactive form element. There also should be method to able to convert the binary content of this attribute to XML format, right? Does anyone know it?
    Your help would be greatly appreciated.

    Hi all,
    As an extension to Fred's question, is it possible to later use the generated XML data and present it in a PDF template?  It used to be possible using the FDF format, but Adobe seem to have discontinued that. 
    My basic requirement is to send the form data to a third party in XML format and for them to be able to view it in human-readable format, preferably using a PDF as a template. 
    Is this possible?
    Thanks,
    Jonathan

  • How to convert an object to double

    how can i convert an Object into double?
    do i need to import anything?

    I think you mean, such a thing:
    Object obj;
    obj=new Double(3.14159);
    double value=obj.doubleValue();//possible
    obj=new Object();
    value=obj; //not possible!!!!!!!!!!!!!!
    In this case, the static type of obj is Object but the dynamic type is Double. Double is the "wrapper"-class for the variable-type double. For all variable-types is a wrapper-class existing. This is only for one reason that you can store "Values" within an Object Instance.
    Hope this helps
    chris

  • How to convert an Object to byte[]

    How do I convert an object to a byte array without using the ObjectOutputStream?
    I need to send an object over UDP socket which only works with byte[].

    instead of serialisation for complex object i usexm and sax to transfer information over the network,
    it works great
    works nothing when transfering over the ORBWhen programming with a socket, sendTo is a standard function used in the connectionless protocol. I rewrote this function so as to be able to transmit objects. The following code example shows how to implement the send method in a Sender class:
    import java.io.*;
    import java.net.*;
    public class Sender
    {  public void sendTo(Object o, String hostName, int desPort) 
    {    try   
    {      InetAddress address = InetAddress.getByName(hostName);
    ByteArrayOutputStream byteStream = new
    ByteArrayOutputStream(5000);
    ObjectOutputStream os = new ObjectOutputStream(new
    BufferedOutputStream(byteStream));
    os.flush();
    os.writeObject(o);
    os.flush();
    //retrieves byte array
    byte[] sendBuf = byteStream.toByteArray();
    DatagramPacket packet = new DatagramPacket(
    sendBuf, sendBuf.length, address, desPort);
    int byteCount = packet.getLength();
    dSock.send(packet);
    os.close();
    catch (UnknownHostException e)
    System.err.println("Exception: " + e);
    e.printStackTrace(); }
    catch (IOException e) { e.printStackTrace();
    The code listing below demonstrates how to implement a receive method in a Receiver class. Method recvObjFrom is for the receiver to receive the object. You can include this method in your code to receive runtime objects.
    import java.io.*;
    import java.net.*;
    public class Receiver
    {  public Object recvObjFrom() 
    {    try
    byte[] recvBuf = new byte[5000];
    DatagramPacket packet = new DatagramPacket(recvBuf,
    recvBuf.length);
    dSock.receive(packet);
    int byteCount = packet.getLength();
    ByteArrayInputStream byteStream = new
    ByteArrayInputStream(recvBuf);
    ObjectInputStream is = new
    ObjectInputStream(new BufferedInputStream(byteStream));
    Object o = is.readObject();
    is.close();
    return(o);
    catch (IOException e)
    System.err.println("Exception: " + e);
    e.printStackTrace();
    catch (ClassNotFoundException e)
    { e.printStackTrace(); }
    return(null); }
    One may worry about the size of the byte array -- because when you construct ByteArrayOutputStream or ByteArrayInputStream, you have to specify the size of the array. Since you don't know the size of a runtime object, you will have trouble specifying that size. The size of a runtime object is often unpredictable. Fortunately, Java's ByteArrayInputStream and ByteArrayOutputStream classes can extend their sizes automatically whenever needed.
    By
    Sree Visveswaran

  • How to convert the Object into tonumber

    Hi all,
    How to convert a date in Object type into a number type.
    eg:
    Object EVENT_NUMBER = ADFContext.getCurrent().getSessionScope().get("SV_EVENT_NUMBER");
    Number LV_N_EVENT_NUMBER = EVENT_NUMBER.*toNumber();*
    I need to assign the value in number type to variable LV_N_EVENT_NUMBER.
    Thanks in advance
    C.Karukkuvel

    Hi,
    I am assuming you are using oracle.jbo.domain.Number.
    Is this what you need?
    Number num;
                try {
                    num = new Number(object);
                } catch (SQLException e) {
                }Gabriel.

  • How to convert an Object into integer?

    Ho can v convert an object of type Object into integer data type?
    Object obj = null;
    integer int = _____________;
    plz do fill it up and help ASAP......

    Fortunately, Gosling was able to predict that his
    language would produce exceptions, so he gave usthe
    catch block, so we can magically make them goaway:
    > catch (Exception exc) {}You are
    probably not without knowing that empty catch blocks
    are considered to be bad practice.
    You should better do the following
    :catch(Exception exc) {
    throw new RuntimeException();
    ode]You turned your sarcasm detector off or something?? :-)

  • How to Convert Date Object at Universe Level with out Timestamp

    Hi,
    I have a Object  called "PCREGISTERDATE" at universe where the data type is date .but the dates are coming in the following format:9/26/2007 9:48:40 PM but i want to show the date as with out time stamp.
    how can i create a object by at universelevel which shoul show only date with out Time Stamp.
    please help me on this ASAP.
    Thanks & Regards,
    Kumar

    Please try below date fucntion:
    select convert(varchar(10),getdate(),101)  - this is for sybase
    syntex will change based on your source database.
    Thanks
    Ponnarasu .K

  • How to convert java object to xml?

    Is JAXB the only way to do so?
    Can somebody help me?
    I have tried for almost a week,
    but I am failed all the time.

    Sax would be the best way to do it,
    Create a class that implements the org.xml.sax.XMLReader interface. Fire events at its ContentHandler (like open tag, element content characters, and close tag) and it can be used to create a javax.xml.transform.sax.SAXSource.
    I learnt how to do this by looking at example code that comes with the pache FOP project. They have a class which is "converted" to XML, and that output is fed through a transformation. I cribbed their code and used it in mine. Including their helper classes AbstractObjectReader and EasyGenerationContentHandlerProxy which help a lot.
    Of course you never see the XML from the object, that's just a transitional form, but you COULD output that if you wanted. Take a look at http://xml.apache.org/fop/ - the code is bundled with the installation under the "examples" directory.

  • How to convert date object format to new?

    Hi,
    I have data object and I want to convert it to this format.
    DD MMM YYYY
    eg: 23 MAR 2003
    I am looking for exact line of code please.
    Thanks,
    Kavans.

    You should check out the Javadoc for java.text.DateFormat and java.text.SimpleDateFormat.
    As for the exact line of code then this would be close:
    Date date = ...; // wherever your date comes from
    DateFormat dateFormat = new SimpleDateFormat("dd MMM yyyy");
    String dateAsString = dateFormat.format(date);Remember to check out those Javadocs, though, 'cos they'll tell you the various formatting options available.
    Hope this helps.

  • How to convert spool object to XLS file in background job? (please..urgent)

    Hello all.
    My requirment is to convert a spool object to an XLS file in the background (and send it via mail).
    Is it possible?
    If so, please help!
    please attach a code sample if you have one...
    Thanks allot.
    Barak.

    hi ,
    this might healp you ought
    TABLES: TBTCP, T024D.
    *PARAMETERS TEST(5).
    DATA: TJOBNAME LIKE TBTCP-JOBNAME VALUE 'REJ_COMP_MAIL_TO_MRP',
          SPOOLID LIKE TSP01-RQIDENT,
         V_LGORT LIKE MSEG-LGORT,
          V_DISPO LIKE T024D-DISPO,
          V_REPORT TYPE RSVAR-REPORT,
          V_VARIANT TYPE RSVAR-VARIANT.
    DATA: BEGIN OF VVALUES OCCURS 0.
            INCLUDE STRUCTURE RSPARAMS.
    DATA END OF VVALUES.
    DATA : BEGIN OF T_RECEIVERS OCCURS 0.
            INCLUDE STRUCTURE SOMLRECI1.
    DATA END OF T_RECEIVERS.
    DATA: BEGIN OF T_TBTCP,
         jobname like tbtcp-jobname,
         jobcount like tbtcp-jobcount,
          LISTIDENT LIKE TBTCP-LISTIDENT,
          SDLDATE LIKE TBTCP-SDLDATE,
          SDLTIME LIKE TBTCP-SDLTIME,
          VARIANT LIKE TBTCP-VARIANT,
          END OF T_TBTCP,
          ITAB_SPOOL LIKE STANDARD TABLE OF T_TBTCP,
          WA_SPOOL LIKE T_TBTCP.
    DATA: PLIST LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
    DATA: DOCUMENT_DATA LIKE SODOCCHGI1.
    DATA: OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: SO_ALI LIKE SOLI OCCURS 100 WITH HEADER LINE,
          REAL_TYPE LIKE SOODK-OBJTP,
          SP_LANG LIKE TST01-DLANG, LINE_SIZE TYPE I VALUE 255,
          V_NAME LIKE SOEXTRECI1-RECEIVER.
    DATA: GD_EVENTID LIKE TBTCM-EVENTID,
          GD_EVENTPARM LIKE TBTCM-EVENTPARM,
          GD_EXTERNAL_PROGRAM_ACTIVE LIKE TBTCM-XPGACTIVE,
          GD_JOBCOUNT LIKE TBTCM-JOBCOUNT,
          GD_JOBNAME LIKE TBTCM-JOBNAME,
          GD_STEPCOUNT LIKE TBTCM-STEPCOUNT,
          GD_ERROR    TYPE SY-SUBRC,
          GD_RECIEVER TYPE SY-SUBRC.
    START-OF-SELECTION.
      PERFORM GET_SPOOL_REQNUMBER USING TJOBNAME. " CHANGING SPOOLID.
      PERFORM SEND_MAIL.
    PERFORM REMOVE_BLANK_SPOOLS.
    *&      Form  GET_SPOOL_REQNUMBER
          text
         -->P_0111   text                                                *
         <--P_UU  text                                                   *
    FORM GET_SPOOL_REQNUMBER USING P_0111.
      SELECT ALISTIDENT BSTRTDATE BSTRTTIME AVARIANT
       FROM TBTCP AS A INNER JOIN TBTCO AS B
            ON AJOBNAME EQ BJOBNAME AND
               AJOBCOUNT EQ BJOBCOUNT AND
               ASTEPCOUNT EQ BSTEPCOUNT
       INTO TABLE ITAB_SPOOL
          WHERE AJOBNAME = P_0111 AND BSTRTDATE EQ SY-DATUM.
    ENDFORM.                    " GET_SPOOL_REQNUMBER
    *&      Form  send_mail
          text
    -->  p1        text
    <--  p2        text
    FORM SEND_MAIL .
    Get the spool data.
      LOOP AT ITAB_SPOOL INTO WA_SPOOL.
        REFRESH : SO_ALI, PLIST, T_RECEIVERS.
        CLEAR : SO_ALI, PLIST, V_NAME, DOCUMENT_DATA, T_RECEIVERS, SPOOLID,
                V_REPORT, V_VARIANT, V_DISPO.
        IF WA_SPOOL-LISTIDENT <> '0'.
          MOVE WA_SPOOL-LISTIDENT TO SPOOLID.
          CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
            EXPORTING
              RQIDENT              = SPOOLID
              FIRST_LINE           = 1
              LAST_LINE            = 0
              DESIRED_TYPE         = ' '
            IMPORTING
              REAL_TYPE            = REAL_TYPE
              SP_LANG              = SP_LANG
            TABLES
              BUFFER               = SO_ALI
            EXCEPTIONS
              NO_SUCH_JOB          = 1
              JOB_CONTAINS_NO_DATA = 2
              SELECTION_EMPTY      = 3
              NO_PERMISSION        = 4
              CAN_NOT_ACCESS       = 5
              READ_ERROR           = 6
              TYPE_NO_MATCH        = 7
              OTHERS               = 8.
    Check the return code.
          IF SY-SUBRC <> 0.
            MESSAGE S208(00) WITH 'Error'.
            LEAVE LIST-PROCESSING.
          ENDIF.
    DATA : DATE LIKE SY-DATUM,
           DATE1(10) TYPE C.
    Prepare the data.
    CLEAR OBJTXT.
    REFRESH OBJTXT.
    DATE = SY-DATUM - 1.
    CONCATENATE DATE6(2) '-' DATE4(2) '-' DATE+0(4) INTO DATE1.
    CONCATENATE 'PLEASE CHECK THE LIST OF REJECTED MATERIALS POSTED ON :' DATE1 INTO OBJTXT.
    APPEND OBJTXT.
    SELECT SINGLE DSNAM FROM T024D INTO T024D-DSNAM WHERE WERKS = '1000' AND DISPO = WA_SPOOL-VARIANT.
    CONCATENATE 'MRP CONTROLLER :' WA_SPOOL-VARIANT '-' T024D-DSNAM INTO OBJTXT.
    APPEND OBJTXT.
    OBJTXT = ''.
    APPEND OBJTXT.
    CLEAR PLIST.
    REFRESH PLIST.
    PLIST-TRANSF_BIN = SPACE.
    PLIST-HEAD_START = 1.
    PLIST-HEAD_NUM = 0.
    PLIST-BODY_START = 1.
    DESCRIBE TABLE OBJTXT LINES PLIST-BODY_NUM.
    PLIST-DOC_TYPE = 'RAW'.
    APPEND PLIST.
    CLEAR PLIST.
         PLIST-TRANSF_BIN = 'X'.
         PLIST-HEAD_START = 0.
         PLIST-HEAD_NUM = 0.
         PLIST-BODY_START = 0.
         PLIST-BODY_NUM = 0.
         PLIST-DOC_TYPE = 'RAW'.
          PLIST-OBJ_DESCR = WA_SPOOL-VARIANT.
         APPEND PLIST.
          PLIST-TRANSF_BIN = 'X'.
          PLIST-HEAD_START = 0.
          PLIST-HEAD_NUM = 0.
          PLIST-BODY_START = 1.
          DESCRIBE TABLE SO_ALI LINES PLIST-BODY_NUM.
          PLIST-DOC_TYPE = REAL_TYPE.
    Get the size.
          READ TABLE SO_ALI INDEX PLIST-BODY_NUM.
          PLIST-DOC_SIZE = ( PLIST-BODY_NUM - 1 ) * LINE_SIZE + STRLEN( SO_ALI ).
          APPEND PLIST.
    ***get the values of the variant
          MOVE : WA_SPOOL-VARIANT TO V_VARIANT.
          SELECT * FROM TBTCP WHERE JOBNAME EQ TJOBNAME ORDER BY SDLDATE.
            MOVE TBTCP-PROGNAME TO V_REPORT.
          ENDSELECT.
          CALL FUNCTION 'RS_VARIANT_VALUES_TECH_DATA'
            EXPORTING
              REPORT                     = V_REPORT
              VARIANT                    = V_VARIANT
            SEL_TEXT                   = ' '
            MOVE_OR_WRITE              = 'W'
            SORTED                     = ' '
            EXECUTE_DIRECT             =
          IMPORTING
            TECHN_DATA                 =
            TABLES
              VARIANT_VALUES             = VVALUES
           EXCEPTIONS
             VARIANT_NON_EXISTENT       = 1
             VARIANT_OBSOLETE           = 2
             OTHERS                     = 3.
          LOOP AT VVALUES.
            CASE VVALUES-SELNAME.
              WHEN 'S_DISPO'.
               MOVE VVALUES-LOW TO V_LGORT.
                MOVE VVALUES-LOW TO V_DISPO.
            ENDCASE.
          ENDLOOP.
          SELECT SINGLE USRKEY FROM T024D INTO T024D-USRKEY WHERE WERKS EQ '1000' AND DISPO EQ V_DISPO.
          IF SY-SUBRC EQ 0.
            T_RECEIVERS-RECEIVER = T024D-USRKEY.
            T_RECEIVERS-REC_TYPE = 'U'.
            APPEND T_RECEIVERS.
          IF V_DISPO = '3'   OR V_DISPO = '5'   OR
             V_DISPO = '21'  OR V_DISPO = '48'  OR
             V_DISPO = '51'  OR V_DISPO = '231' OR
             V_DISPO = '512' OR V_DISPO = '921'.
            T_RECEIVERS-RECEIVER = 
            T_RECEIVERS-REC_TYPE = 'U'.
            T_RECEIVERS-COPY = 'X'.
            APPEND T_RECEIVERS.
          ENDIF.
          IF V_DISPO = '14'  OR V_DISPO = '86'  OR
             V_DISPO = '515' OR V_DISPO = '704' OR
             V_DISPO = '711' OR V_DISPO = '712' OR
             V_DISPO = '713'.
            T_RECEIVERS-RECEIVER =
            T_RECEIVERS-REC_TYPE = 'U'.
            T_RECEIVERS-COPY = 'X'.
            APPEND T_RECEIVERS.
          ENDIF.
           T_RECEIVERS-RECEIVER = *        T_RECEIVERS-REC_TYPE = 'U'.
           T_RECEIVERS-COPY = 'X'.
           APPEND T_RECEIVERS.
           T_RECEIVERS-RECEIVER = *        T_RECEIVERS-REC_TYPE = 'U'.
           T_RECEIVERS-BLIND_COPY = 'X'.
           APPEND T_RECEIVERS.
          ENDIF.
          IF NOT SP_LANG IS INITIAL.
            DOCUMENT_DATA-OBJ_LANGU = SP_LANG.
          ELSE.
            DOCUMENT_DATA-OBJ_LANGU = SY-LANGU.
          ENDIF.
          V_NAME = SY-UNAME.
    Subject.
    CONCATENATE 'List of Rejected Materials, MRP Controller:' WA_SPOOL-VARIANT
                INTO DOCUMENT_DATA-OBJ_DESCR.
    Send the email.
          CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
            EXPORTING
              DOCUMENT_DATA              = DOCUMENT_DATA
              SENDER_ADDRESS             = V_NAME
              SENDER_ADDRESS_TYPE        = 'B'
            TABLES
              PACKING_LIST               = PLIST
              CONTENTS_BIN               = SO_ALI
              CONTENTS_TXT               = OBJTXT
              RECEIVERS                  = T_RECEIVERS
            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 <> 0.
            MESSAGE E208(00) WITH 'Error in sending email'.
          ENDIF.
          COMMIT WORK.
    Send the email immediately.
          SUBMIT RSCONN01
          WITH MODE = 'INT'
          AND RETURN.
          IF SY-SUBRC EQ 0.
            WRITE 'To get the spool no'.
            CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
              IMPORTING
                EVENTID                 = GD_EVENTID
                EVENTPARM               = GD_EVENTPARM
                EXTERNAL_PROGRAM_ACTIVE = GD_EXTERNAL_PROGRAM_ACTIVE
                JOBCOUNT                = GD_JOBCOUNT
                JOBNAME                 = GD_JOBNAME
                STEPCOUNT               = GD_STEPCOUNT
              EXCEPTIONS
                NO_RUNTIME_INFO         = 1
                OTHERS                  = 2.
            IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
            WRITE : / 'Spool id of the job that is sent', SPOOLID,
                     GD_EVENTID,
                     GD_EVENTPARM,
                     GD_EXTERNAL_PROGRAM_ACTIVE,
                     GD_JOBCOUNT,
                     GD_JOBNAME,
                     GD_STEPCOUNT.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " send_mail
    *&      Form  remove_blank_spools
          text
    -->  p1        text
    <--  p2        text
    *FORM REMOVE_BLANK_SPOOLS .
    LOOP AT ITAB_SPOOL INTO WA_SPOOL.
       MOVE WA_SPOOL-LISTIDENT TO SPOOLID.
       CALL FUNCTION 'RSPO_ISELECT_TSP01'
         EXPORTING
           RFCSYSTEM        = SY-SYSID
           RQIDENT          = SPOOLID
      FORUPDATE        = ' '
        IMPORTING
          TSP01_ELEM       = W_INFO
        EXCEPTIONS
          ERROR            = 1
          OTHERS           = 2.
       CALL FUNCTION 'RSPO_IRETURN_RAW_DATA'
         EXPORTING
           RQ                 = W_INFO
         TABLES
          LINE_BUFFER        = W_DATA
       PAGE_INDEX         = W_PAGES
          LINE_BUFFER2       =
        EXCEPTIONS
          ERROR              = 1
          OTHERS             = 2.
       IF W_INFO-RQDOCTYPE = 'LIST'.
         CALL FUNCTION 'RSPO_R_GET_TOC_SPOOLREQ'
           EXPORTING
             RQIDENT = SPOOLID
           TABLES
             TOCDESC = W_TODESC
           EXCEPTIONS
             ERROR   = 1
             OTHERS  = 2.
         CALL FUNCTION 'RSPO_SPOOLDATA_WRITE_INIT'.
         READ TABLE W_DATA WITH KEY DATA_LINE = 'List contains no data'.
         LOOP AT W_DATA.
           IF W_DATA-DATA_LINE CP 'List contains no data'.
           ENDIF.
         ENDLOOP.
       ENDIF.
    ENDLOOP.
    *ENDFORM.                    " remove_blank_spools

  • How to convert an Object type to a float type????

    How do you concert something that is:
    Object [] element = new Object[20];
    into a
    float variable.
    I want to store, let say element[1] into a float variable so i can do calculations with it.
    thanks!!!!

    Well, assuming element[1] is a String, or at least that it's toString() method returns something that represents a float...
    float variable = Float.parseFloat(element[1].toString());

  • How to convert an Object to XML definition

    Hi all,
    A quick question I want to convert an instance of an object
    (including it's properties) to XML. I have read the doco on
    SimpleXMLEncoder whixh states that : "The SimpleXMLEncoder class
    take ActionScript Objects and encodes them to XML. Use default
    serialization. "
    Will this class do the job? if so the example code does not
    really demonstrate it clearly that it will. And I haven´t been
    able to get it to work.
    If this is not the Class to use is there another or do I have
    to write my own class?
    Thank you in advance.
    David

    Hi Tim,
    Thanks for the quick reply. I tried your code above and the
    compiler tells me I was missing 1 Argument for (an instance of XML
    Docuement it looks like):
    var myEncoder:SimpleXMLEncoder = new SimpleXMLEncoder();
    And 2 Arguments for :
    var myXML:XMLNode = myEncoder.encodeValue(myobject);
    I ended up creating this missing parameters as follows and
    got the result I was looking for. Does this look right to you?
    var rootXML:XMLNode = new
    XMLNode(XMLNodeType.DOCUMENT_TYPE_NODE,"Root");
    var myQname:QName = new QName("namspace","local");
    var myXMLDocument:XMLDocument = new XMLDocument();
    var myEncoder:SimpleXMLEncoder = new
    SimpleXMLEncoder(myXMLDocument);
    var myXML:XMLNode =
    myEncoder.encodeValue(objectToEncode,myQname,rootXML);
    trace (myXML.toString());
    var myRealXML:XML = new XML(myXML.toString());
    trace ("------------");
    trace (myRealXML.toXMLString());
    David

  • How to convert UIView object to NSData and vise-versa  for saving it in database using sqlite

    I am using sqlite for my project which stores all the data including text fields , id , and one UIVIew object in a column having BLOB datatype .
    Now while retriving the data i use
    const char *raw = sqlite3_column_blob(selectstmt, 3);
    int rawLen = sqlite3_column_bytes(selectstmt, 3);
    NSData *data = [NSData dataWithBytes:raw length:rawLen];
      view =[NSKeyedUnarchiver unarchiveObjectWithData:data];
    where data is NSData obj n view is UIView obj ,
    also while inserting data  i use ,
    NSData *data=[[NSData alloc]init];
        data=[NSKeyedArchiver archivedDataWithRootObject:view];
       // [data dataForView:notes.view];
        sqlite3_bind_blob(updateStmt, 2, [data bytes], [data length], SQLITE_TRANSIENT);
    But this is not working properly ...  the Data object is giving some length,
    while using the view the view object is null
    is there any other solution to do the same ?

    There's a ton of information here: [http://www.json.org/] and I can't believe you didn't find that site yourself.

  • How do I Convert an "Object" to a "double"?

    Can anyone please tell me how to convert an "Object" to a "double"? Typecasting does not work.

    Do you want to convert any object at all to a double, or only particular kinds of objects? My guess is that you don't really need to convert a File or a JButton to a double, you have some kind of an object that really contains some sort of double information and you want to get it out. More information would help.

Maybe you are looking for

  • Office 2010 deployment - Bypass/Skip if Office 2013 present

    We have predominantly Office 2007 installed thought out environment and I now have a working Office 2010 app deployment package. Now I am finding that we have a few systems that already have Office 2013 and I'd like to bypass any system that already

  • Billing Status C in Sales Ord not getting reversed on creating Credit Memo?

    Dear SD Guru's I have a small query, i have such a scenario. I create sales order for a saleable service material from (01.02.08 to 29.02.08) through order type (ZOOH) Raise invoice in advance for 30 days on 01.02.08 through billing type (ZOIN) say 1

  • Mail - Mail Activity

    Mail Activity visible from the sidebar. Send a message and the Mail Activity is NOT 1 of 1 but 18 of 18 - and that number keeps increasing with each message sent, which did NOT occur until installing Mavericks. Any suggestions?

  • Nokia c2-02 showing local mode after software upda...

    I TRIED TO UPDATE NOKIA C2-02 WITH PC SUITE AND INTERNET CONNECTION IT WAS ALL GOING SMOOTHLY AFTER SOMETIME IT SHOWED RESTART YOUR PC FOR FURTHER INSTALLATION I DID IT AND NOW AFTER RESTARTING MY PC WHEN I ON THE PC SUITE APLLICATION IT SHOWD NO PHO

  • Problems in Reflectin JCO Class

    Hello. I am new to Java but very used to ABAP. To start some experiments in Java I want to check, whether JCO Library is available using Reflection-API. Therefore I wrote the following code:           Class jcoclass;           try {                //