Conversion of content HTML of field CLOB

It would like to know if it exists some resource directed toward the content conversion of field CLOB I contend standards HTML please are alguem will have the solution send for me Thanks Marcão Souza

Hi guy!
try this. tks.
tks;
Moderator message - Thinly disguised point begging removed.
  DATA oauszt TYPE eauszt.
  DATA: loauszt TYPE f.
  CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
    EXPORTING
      input                 = loauszt  (6.4920000000000000E+03)
      unit_in              = 'S'                         "Einheit 1
      unit_out            = 'H'                        "Einheit 2
    IMPORTING
      output               = loauszt
    EXCEPTIONS
      conversion_not_found = 2
      input_invalid        = 4
      output_invalid       = 4
      type_invalid         = 4
      division_by_zero     = 6
      overflow             = 8
      units_missing        = 10
      unit_in_not_found    = 12
      unit_out_not_found   = 12.
oauszt = loauszt.

Similar Messages

  • Is there a way to get the cursor position index of html text field

    I'm trying to work on a text pad like MC with "insert text at
    position X" and "find and replace" can anyone tell me how to find
    the cursor index of an html text field. Selection.getBeginIndex() ,
    Selection.getEndIndex(), Selection.getCaretIndex() as far as I know
    these methods only work with text and not htmltext.
    What I'm trying to do is assign different parts of the string
    to variables so that I can combine them to reconstitute my html
    string.

    enfantterrible:
    If I understand correctly, you want the corresponding
    position in the
    htmlText propery of the caret index (which as you point out
    is only the
    position in the plain text version of the textfield content).
    Below is how I would do it. Maybe there's an easier or more
    efficient
    way (using XML objects etc), but I don't know it. You could
    conduct all
    your string searches in the plain text and then convert the
    result to
    the html positions. I didn't build this to accept negative
    parameters
    for the pos parameter (e.g. from end of string backwards) but
    the
    function could be adapted to do this too if necessary. The
    test data is
    not proper html from a text field, but it doesn't really
    matter what it
    is so long as its formatted correctly. It just separates the
    tags from
    the content to enable apples with apples comparison.
    //some test data
    var testStringXML = "<format>Hel<b>lo i can't
    t<i>ell you h</i>ow hap</b>py I
    am.</format>";
    var undecoratedString = "Hello i can't tell you how happy I
    am.";
    //the conversion function
    function findDecoratedPosition(pos:Number, xmlString:String,
    test:Boolean):Number {
    //anything between '<' and '>' should be excluded from
    plain text search.
    //create an array of array elements (n=2) consisting of tag
    then plain text
    //requires correctly formatted xml/html
    var tempArr:Array = xmlString.split("<");
    for (var aa = 0; aa<tempArr.length; aa++) {
    tempArr[aa] = tempArr[aa].split(">");
    //remove the first and last elements of the new array (these
    are empty)
    tempArr.pop();
    tempArr.shift();
    //find the corresponding plaintext location and calculate
    the "decorated" position
    var retPos:Number = 0;
    var posCount:Number = 0;
    for (var aa = 0; aa<tempArr.length; aa++) {
    retPos += tempArr[aa][0].length+2+tempArr[aa][1].length;
    //+2 allows for missing < and >
    posCount += tempArr[aa][1].length;
    if (posCount>pos) {
    return (retPos+(pos-posCount));
    //out of range
    return -1;
    //test code:
    for (var aa = 0; aa<undecoratedString.length; aa++) {
    var altPos = findDecoratedPosition(aa, testStringXML);
    trace(undecoratedString.charAt(aa)+" in position "+aa+"
    plainText equates to position "+altPos+" in the decorated version
    ["+testStringXML.charAt(altPos)+"]");
    }

  • HTML form to clob

    Hi all i have an oracle 9i database.
    One of the application is used to store data given through standard HTML forms (not oracle forms). These are stored in varchar2 fields and all works fine.
    However we now have a new request that would require one of the HTML form fields to contain more then the 4,000 character limit of varchar2.
    I tried using same application exactly, simply changed database table field from varchar2 to clob. However while the other table fields are being populated normally, the clob field remains empty.
    Can anyone help
    James.

    I found a work-around as could not find a way to directly insert a CLOB, but i managed to update a CLOB field.
    Hence I only solved this problem by using first the html form to insert new record (except for the CLOB field) and then use a javascript code to update record with CLOB data.
    James

  • Updated - Cursor focus in HTML text field in JEditorPane

    The last poster just save my bacon - so an update for others: Adding a JEditorPane to a JWindow will result in all the <INPUT type=text> form elements to be non focusable. Switching to JFrame does make things work again - but I would love to have a JWindow again (I don't want the title bar for a kiosk type operation).
    thanks!
    brian
    Here is the guy I do thank!!!
    ** PROBLEM
    How do I make cursor focus go into an HTML text field in a JEditorPane?
    My test appplication is a JPanel containing a JEditorPane and nothing else. The content type is text/html. The HTML text contains a form and an INPUT TYPE=TEXT tag. I use setEditable(false) because I do not want the user to edit the paragraph text, only to type in the text field.
    The text field does not get cursor focus. Tab does nothing. The user can click with the mouse to place focus in the text field, so the field is capable of receiving focus. I guess the field is in a View that stops it participating in the component hierarchy.
    Is there a way to make this work?
    ** SOLUTION! - ok, if you don't use JWindow
    It turns out that setEditable(false) is not enough. The JEditorPane still gets in the way of the focus cycle. It also needs setFocusCycleRoot(false) and setFocusable(false) to prevent it from participating in focus. Focus on the text field then works normally.
    fp

    I don't want the title bar for a kiosk type operation).You could use an undecorated frame. Read the API for more info.
    Or, maybe this posting will help:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=675445

  • Clearing contents of a field when updating using an XML document.

    When trying to update a document using XML and the DI API, how can you clear the contents of a field in the document? This in particularly is a nvarchar field.

    >
    Michaela Pfeifer wrote:
    > Hi,
    >
    > we are using the XIF-Adapter to receive business partners from a third party system. The third party system send the data in xml via http.
    >
    > My question is now. Is there any possibility to do a mapping of the data before processing. As i understand I can use the LSMW to do the mapping when receiving iDoc-Files. Is that also possible for XML?
    >
    > Thanks
    > Michaela
    Hi Michael,
    I have to migrate third party data in XML format, pls provide me the configuration guide regarding that.
    Thanks a lot.
    #shobhit(DOT)techy(AT)(gmail).com

  • How to update html file in clob column in oracle

    hi,
    please help me how to update html file in clob column in oracle
    Thanks

    This is your main query as i am able to understand and you want to update your html file into terms columns based on conditions :
    SELECT     b.terms As terms
             FROM chklst_item_x_enrlmnt_type a, prvdr_enrlmnt_agreement b
            WHERE a.enrlmnt_type_cid = 1
              AND a.chklst_item_cid = b.chklst_item_cid
              AND a.chklst_item_cid = 79
              AND a.oprtnl_flag = 'A'
              AND b.oprtnl_flag = 'A'
              AND TRUNC (SYSDATE) BETWEEN b.from_date AND b.TO_DATE;So i suggest below one but you need to create a directory where you can store your html file and then you can update .. And remaining consult Experts suggestions too as your
    question is improperly posted . . .
    DECLARE
       vclob     CLOB;
       v_bfile   BFILE := BFILENAME ('YOUR_DIR', 'filename.html');
    BEGIN
       SELECT     b.terms
             INTO vclob
             FROM chklst_item_x_enrlmnt_type a, prvdr_enrlmnt_agreement b
            WHERE a.enrlmnt_type_cid = 1
              AND a.chklst_item_cid = b.chklst_item_cid
              AND a.chklst_item_cid = 79
              AND a.oprtnl_flag = 'A'
              AND b.oprtnl_flag = 'A'
              AND TRUNC (SYSDATE) BETWEEN b.from_date AND b.TO_DATE
       FOR UPDATE;
       DBMS_LOB.fileopen (v_bfile);
       DBMS_LOB.loadfromfile (vclob, v_bfile, DBMS_LOB.getlength (v_bfile));
       DBMS_LOB.fileclose (v_bfile);
    END;
    / Regards..

  • Conversion error in module API6850_HDR_PROD_MAP, field API6850_HDR-WEIGHTUN

    Hi All,
    While transferring materials form ECC to GTS (Sandbox), i am receiving the above mentioned error.
    Conversion error in module API6850_HDR_PROD_MAP, field API6850_HDR-WEIGHTUNIT_ISO, value LBR.
    As per standard , In the ISO code for US pound its mentioned as LBR in both ECC and GTS
    But  within material master we generally use LB as US pound.
    Can anyone please let us know how we can solve this one?
    Regards
    Proloy

    Hello Proloy,
    UoM handling is often issue within material transfer.
    You have generally 2 options:
    1. In GTS maintain via TA CUNI your LB as is in your feeder. I would suggest to adjust GTS customizing with your ERP. Just do Utilities --> Adjustment and your RFC to feeder.
    2. Or you can map your LB to GTS LBR via user exit.
    Cheers,
    Gabriel.

  • How to set old content for a field when cancel?

    Hallo,
    i have a jdialog form where i can change the content of a field.
    when i close the form with cancel i will bring the old content back.
    how can i do that?
    thanks in advance. any help is appreciated.

    Huh? Just don't update the content when the dialog is dismissed by pressing 'Cancel'.
    To get better help sooner, post a SSCCE that clearly demonstrates your problem.
    db

  • Outbound Plain HTML Adapter how to change the html-header field "host"?

    Hello,
    I'm using XI 3.0 SP11 and want to transmit a message to a business partner using the Plain HTML Adapter.
    My problem is now that I need to change the default Html-Header field "host" because it seems that the adapter engine is converting it to lower case and is attaching the port-number which is causing trouble with the loadbalancer/applicationserver of our business partner.
    I tried to set the appropriate http-header value in the communication channel configuration, but the adapter engine is ignoring this value.
    Thanks in advance for any ideas.
    Sascha Fuchs
    Message was edited by: Sascha Fuchs

    Hi Sascha,
    unfortunately the Plain HTTP adapter is not running in the J2EE, therefore you cannot extend the functionality with an adapter module.
    I am not sure to understand the problem right. Why do you need to change the HTTP header? What is in it in your case and what should be?
    Regards
    Stefan

  • Cursor positioning in table control: marking content of a field

    Hello everybody,
    I use a table-control for data input. For fast data input, my customers need dynamic positioning of the cursor. I'm using the set cursor field ... line ... statement and it works fine, except for one problem with a large text-field:
    Is it possible to set the cursor in a field plus mark all the content of the field? The behaviour, i'm looking for is that any input in the field will replace the existing content. Is there any other option?
    Thank you for any suggestions, regards, Kathrin!

    So you want dynamic cursor positioning within a table control. Take a look at FM SCROLLING_IN_TABLE and demo program DEMO_DYNPRO_TABCONT_LOOP. If this does not address your requirements the you can do it manually as follows:
    For example, your internal table has 30 rows, your table control displays 10 rows (value of sy-loopc) at one time. The value of <tabctrl>-top_line contains 11, meaning you are at the second page of table control. Your cursor is at 12th row and now on pressing ENTER, you want the cursor to be positioned at 13th row.
    In your PAI, issue the statement GET CURSOR LINE <lineno>. This will give you the current cursor position in the table control with reference to the top row currently displayed. So the value of <linno> will be 2.
    In your PBO, calculate the next line no to position your cursor into. This can be done by the formula:
      next_line = <tabctrl>-TOP_LINE + <linno> - 1.
    Then issue the statement SET CURSOR FIELD <field_name> LINE <next_line>.
    Hope this helps.
    Regards
    Message was edited by: Shehryar Khan

  • Merge omitting content of some fields (from Numbers)

    I am attempting to merge Numbers cell content into multiple iterations of a Pages document.
    I am using the Merge to New Document from Edit -> Mail Merge.
    Some of the content (a text field of about 225 words) is being omitted for the first merged document but included in others.
    I have gone back through the Numbers table and made sure there are no empty cells.
    Any other suggestions?

    Thanks. In a search of this forum I did find mention of a limit on number of characters, but I think it was older, so I searched the documentation for Numbers and Pages, and could not find any reference to a character limit. I guess I was hoping that limit no longer applied.
    Silly me -- I foolishly assumed that if there were limit on the number of characters it would have appeared in the documentation, and I failed to ask the Psychic Hot Line what the designers of iWork had in their minds. Now I have a number of college scholarship applications each with several essay-type answers which must be copied and pasted by hand into the summaries.
    On the bright side, the Acrobat responses document retains the entire content of all fields from the PDF forms and I can actually access any form from the responses window, so it's just a few more hours.

  • Call to PL/SQL Stored Procedure in the HTML expression field

    Hi,
    I need to display an image in a report based on the value of the underlying field. (Y/N)
    I created a solution based on http://www.dba-oracle.com/t_easy_html_db_display_image_html_expression.htm
    Unfortunately this does not work for me. The PL/SQL written in the HTML expression field is not being executed. The result is something like : <img src="PKG_IMAGES.display_YN_checkmark_image?p_image=Y">
    What am I missing?
    Tx for your help.

    kcaluwae wrote:
    Hi,
    I need to display an image in a report based on the value of the underlying field. (Y/N)
    I created a solution based on http://www.dba-oracle.com/t_easy_html_db_display_image_html_expression.htm
    Unfortunately this does not work for me. The PL/SQL written in the HTML expression field is not being executed. The result is something like : <img src="PKG_IMAGES.display_YN_checkmark_image?p_image=Y">
    What am I missing?Ensure that the Display As Column Attribute for the report column is Standard Report Column.
    However, the linked article appears to be very out of date. If using APEX 3.1 or later, see About BLOB Support in Forms and Reports for a better alternative.
    There's an OBE tutorial that followed the introduction of declarative BLOB support in 3.1 as well. (That might be an earlier version but it is still relevant to APEX 4.x.)

  • How to get content of custom fields that were created via the EEWB for CIC?

    Hi
    Can anyone tell me how to get the content of custom fields that were created via the EEWB for CIC? This is required at a time when the data has not been written to the database.
    I would like to know how to read this data in the CRM_APPOINTMENT_MERGE method of CRM_APPOINTMENT_BADI.
    Thanks

    Hi Michael,
    I have a requirement to replicate custom setype data created for CRM sales order to R/3 sales order.These fields have been created at item level.
    Do you know the set of steps to achieve the same.
    Any help would be appreciated.
    Thanks,
    Chamu

  • Catalog integration in MM (html - SAP-field mapping)

    Hi Experts! When integrating Catalog with MM (ME21N and ME51N), the only customizable entry in the IMG is the call-structure. Anyone who knows the transaction codes  / tables for HTML-SAP-field mapping (OCI) for this scenario ?? (For PM/CS/PS-orders this is available, but I have not managed to find this for MM)...
    brgs ziggy

    to pull Metadata from CMS repository into MM, you will have to configure the CMS Integrator and run that CMS Integrator, this you can do from the CMC
    as Werner mentioned SAP BW Integrator is being added for next MM release
    its not possible to import Metadata from Excel Sheet into MM, you will need a Integrator to do that, MM supports Integrator for CMS, Data Services, RDBMS, and there are few more Integrators that are provided by MITI (it requires a separate license)
    I don't think it will be possible to mimic the impact and lineage

  • Record 1 :Contents PC from field G_UABSMG cannot be converted in

    Hi Experts,
    When iam trying to load transaction data i'm gettting fallowing error.
    Pls suggest.
    Record 1 :Record 1 :Contents PC from field G_UABSMG cannot be converted in type QUAN ->longtext.
    Siri

    can you please answer some one this is very imporant for me..
    Siri

Maybe you are looking for

  • Problem adobe air

    I am trying to install an update to adobe air.  It keeps giving me an error has occurred and contact my administrator.  I am the administrator of this machine.

  • Wm - process posting change

    Hi experts, I am transfering a material from wm managed storage location to wm managed s.location.In MB1B with 311 mvt i have created material document.when i am doing lt06 two types of screens appearing.one is Process posting change:stock overiew wh

  • Access Level - WebI XI3.0/3.1

    Hi all, Is there any access levels like can able to edit WebI Reports but not Save? thnx in Advance. reddeppa k

  • Batteria iPhone 6

    ho provato hard reset, ripristino normale, ripristino in DFU. comsuma un casino di batteria senza far niente, e non sono l unico! Poi questo iOS 8 che si blocca rimane fisso senza che risponda ai comandi, volete sistemare questo sistema operativo anc

  • Sleep mode quits opens Applications

    Hi Folks, When my MBP goes to sleep all open applications are forced to quit. When I return to wake the computer, I have to restart the applications. Security is set to ask for a password to wake. Having owned a Mac since 1995, this is new to me. Doe