LONG, CLOB problems

Platform: Win2k, Ora9i, Toplink9i, OCI driver, jdk1.3.1_01
I'm having trouble with storing long strings using Toplink. I'm using a LONG column, and the text is getting truncated from around 8000 characters to about 5600.
While trying to figure out what was going on, I discovered a warning from Oracle saying that LONGs should not be used, instead a CLOB was appropriate (why does the Toplink SchemaManager generate LONGs then?). So I thought I'd try the experiment again with CLOBs. I dropped the schema and recreated it, using CLOB NULL everywhere I'd used LONG NULL before.
Unfortunately, when I run the same code on the CLOBized schema, I get the error below. Does anyone have any idea how to get either LONGs or CLOBs to do the job I need?
Thanks,
Bryn
p.s. Sorry if this (or something very like it) gets posted twice, the forums server seems to have dropped my session between previewing and posting so I had to redo it.
EXCEPTION [TOPLINK-4002] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exception
s.DatabaseException
EXCEPTION DESCRIPTION: java.sql.SQLException: ORA-03124: two-task internal error
INTERNAL EXCEPTION: java.sql.SQLException: ORA-03124: two-task internal error
ERROR CODE: 3124
at oracle.toplink.exceptions.DatabaseException.sqlException(Unknown Sour
ce)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirect
NoSelect(Unknown Source)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSele
ct(Unknown Source)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(U
nknown Source)
at oracle.toplink.publicinterface.UnitOfWork.executeCall(Unknown Source)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall
(Unknown Source)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall
(Unknown Source)
at oracle.toplink.internal.queryframework.CallQueryMechanism.insertObjec
t(Unknown Source)
at oracle.toplink.internal.queryframework.StatementQueryMechanism.insert
Object(Unknown Source)
at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertO
bjectForWrite(Unknown Source)
at oracle.toplink.queryframework.InsertObjectQuery.executeCommit(Unknown
Source)
at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.perform
UserDefinedWrite(Unknown Source)
at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.perform
UserDefinedInsert(Unknown Source)
at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertO
bjectForWrite(Unknown Source)
at oracle.toplink.queryframework.WriteObjectQuery.executeCommit(Unknown
Source)
at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.execute
Write(Unknown Source)
at oracle.toplink.queryframework.WriteObjectQuery.execute(Unknown Source
at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
at oracle.toplink.publicinterface.Session.internalExecuteQuery(Unknown S
ource)
at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(Unknow
n Source)
at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
at oracle.toplink.internal.sessions.CommitManager.commitAllObjects(Unkno
wn Source)
at oracle.toplink.publicinterface.Session.writeAllObjects(Unknown Source
at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(Unknown So
urce)
at oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(Unknow
n Source)
at oracle.toplink.publicinterface.UnitOfWork.commit(Unknown Source)

Using the Oracle8Platform instead of OraclePlatform will tell TopLink to generate CLOBs instead of LONGs and BLOBs instead of LONG RAWs.
As for the error, I have never seen this error before. Your best bet is probably to contact Oracle database support.
Peter Krogh

Similar Messages

  • PJC to input formatted text into a long/clob field

    Hi,
    Is there a PJC that can be used to stored formatted text into a LONG/CLOB column in the database (Something similar to the Message field while posting a new thread in this forum). I am using Oracle Forms 10G (9.0.4)
    I would also like to print this formatted text using Oracle Reports 10G (9.0.4).
    Thx in Advance
    Best Rgds
    Ramdas

    Hello<br><br>
    Have a look at this new forum, and particulary this article that shows how to create an editable styled text area.<br><br>
    Francois

  • Long CLOBS with VB

    Hi,
    We are using VB Components from ASP to read/write data to CLOBS. The trouble is, we are having problems with text over 4k. We get the following error trying to insert text > 4k using the latest Oracle ODBC driver:
    Ora-01704: String Literal too long.
    I have looked through other postings related to this, and it seems that a solution may be to prepare/bind the statement. I was hoping that someone may have an example of doing this in VB, the code we use at the moment to insert data looks like this:
    ' Create the ADO objects
    Dim cmd As ADODB.Command
    Set cmd = New ADODB.Command
    cmd.ActiveConnection = sConnect
    cmd.CommandText = strSQL
    cmd.CommandType = adCmdText
    ' Execute the query without returning a recordset
    cmd.Execute , , adExecuteNoRecords
    Can anyone shed some light, and will we need to change the way that we read the data from the CLOBS also (we currently just use a tyical "Select X from Y" statement and assign the recordset to values like this:
    sText = rs("A_CLOB_COL")
    Thanks in advance,
    R

    Hi,
    You will find ODP samples at http://otn.oracle.com/sample_code/tech/windows/odpnet/content.html
    For any questions pertaining to ODP please use the appropriate discussion forum - ODP.NET
    Sujatha.
    http://otn.oracle.com/sample_code/content.html

  • CLOB problem in 9.0.4

    hi all,
    I recently converted two LONG columns to a CLOBs. there is no default value on either of these columns.
    The forms properties for the CLOBs are data type: LONG, max length : 32000, data length semantics: NULL
    During testing, I found that any data entered in the form field, would not be saved to the DB, even though all indications were a good save/commit. the data seemed to disappear.
    a direct update statment via sql*plus updates the CLOB without any problems.
    Luckily, i received in oracle insert error. the HELP menu, display errors showed me why the data was disappearing. forms was sending an EMPTY_LOB no matter what is typed into the field. please see below. the save is working, however forms insert is not using the data from the form, it is submitting EMPTY_CLOB()!!
    i have searched everywhere to find the EMPTY_CLOB() statment. it does not exist in the form or attached libraries ( or on the database fo that matter).
    does anyone have any ideas for me, on finding it, or preventing it.
    INSERT INTO bg_bug(LOGGED_BY,BUG_SEQ_NUM,BUG_DESCRIP,STATUS_CODE,STATUS_CHANGE_DATE,PROJ_CODE,MODULE_NAME,SEVERITY_CODE,ASSIGNED_TO,LOGGED_DATE,tech_liaison,REQUESTOR,DUE_DATE,LOCK_BUG,LOCKED_BY,PRIVATE_BUG,PRIVATE_BY,MOO,moo_history,developer_comment) VALUES (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,:15,:16,:17,:18,EMPTY_CLOB(),EMPTY_CLOB()) RETURNING ROWID,LOGGED_BY,BUG_SEQ_NUM,BUG_DESCRIP,STATUS_CODE,STATUS_CHANGE_DATE,PROJ_CODE,MODULE_NAME,SEVERITY_CODE,ASSIGNED_TO,LOGGED_DATE,tech_liaison,REQUESTOR,DUE_DATE,LOCK_BUG,LOCKED_BY,PRIVATE_BUG,PRIVATE_BY,MOO,moo_history,developer_comment INTO :21,:22,:23,:24,:25,:26,:27,:28,:29,:30,:31,:32,:33,:34,:35,:36,:37,:38,:39,:40,:41

    I have a problem when passing a CLOB value from FORMS to a backend procedure.
    I have coded a back-end proc to accept CLOB data and update a table. In the Forms, I have code in the POST-INSERT (since I have made CLOB column as non-database item) trigger to get the CLOB item of the block and invoke the backend procedure passing the clob as a parameter.
    On testing, I found that the data updated in the table by the proc is[b] JUNK.
    To narrow the problem, I have used dbms_lob.read in back-end proc to read the clob value in to another varchar variable and this varchar variable contains the correct data. So, the data passed from the front-end to back-end seems to be okay. But, instead of varchar, if I copy data into another CLOB variable using dbms_lob.copy in back-end proc, and display this variable, I find junk value. Similarly, the clob data getting into the clob field of the table is junk.
    So, there seems to be some charset(??) conversion problem between client CLOB and Server CLOB. Not sure how to resolve this.
    Could someone please advise?
    Code Snipplet
    POST-INSERT on forms
    ==================
    declare
    vCmttext CLOB;
    msgendtag VARCHAR2(100) CHARACTER SET vCmttext%CHARSET:= '</ichicsr>';
    begin
    dbms_lob.createtemporary (vCmttext,TRUE,10);
    dbms_lob.open (vCmttext,1);
    dbms_lob.write(vCmttext,length (msgendtag),1, msgendtag);
    AS_TEST_LOG_UPD(id,seq_nbr,vCmttext);
    end;
    BackEnd Proc
    ==========
    CREATE OR REPLACE PROCEDURE AS_TEST_LOG_UPD(vid varchar2, vSEQ_NBR number,
    vCommenttext TEST_LOG.CMNT%type)
    AS
    l_text_buffer varchar2(100);
    l_text_amount BINARY_INTEGER := 100;
    vComment1 clob CHARACTER SET vCommenttext%CHARSET;
    amt INTEGER := 3000;
    BEGIN
    dbms_lob.read(vCommenttext, l_text_amount, 1, l_text_buffer );
    DebugProcFunc('clob.txt',l_text_buffer); --- This Prints the correct data
    dbms_lob.createtemporary (vComment1,TRUE,10);
    dbms_lob.open (vComment1,1);
    dbms_lob.copy (vComment1,vCommenttext, amt, 1, 1); -- Copy the Client CLOB to server CLOB
    dbms_lob.read(vComment1, l_text_amount, 1, l_text_buffer ); --- This Prints the JUNK data
    DebugProcFunc('clob.txt',l_text_buffer);
    Update TEST_LOG Set
    CMNT = vComment1 -- Updating the Junk data
    Where ID = vid and SEQ_NBR = vSEQ_NBR;
    END;
    Thank you,
    Beena

  • Convert String to CLOB problem, CLOB is a input parameter in the procedure.

    I can not flush and close "Writer"??
    The following code:
    CLOB inclob=null;
    CallableStatement csr=conn.prepareCall ("begin TestClob(?); end;");
    csr.registerOutParameter (1, Types.CLOB);
    inclob = CLOB.createTemporary(conn,false,CLOB.DURATION_CALL);
    inclob .open(CLOB.MODE_READWRITE);
    Writer tempClobWriter = inclob.getCharacterOutputStream();
    tempClobWriter.write("This is In CLOB");
    // Flush and close the stream
    tempClobWriter.flush(); // problem is here
    tempClobWriter.close();//problem is here
    inclob.close();// this works
    Btw:
    How to use CLOB.setString() to specify string to CLOB directly?
    Message was edited by:
    user515324

    sorry, I fogot mention the error is "No data to read from socket"
    My Oracle JDBC driver is 9.2.0.4, Oracle database is 10.2.1.0
    Some guy said it is driver's problem.

  • MAIL: Trying to settle long-lasting problem. Mail always immediately downloads the messages I delete from any IMAP mailbox. I'm running out of HD space!

    BACKGROUND
    I only have 60GB of space on my MacBook Air. Currently, three long-standing IMAP accounts are taking up over 7GB of it!
    I have seen several related discussions about this kind of problem, but they all seem to have been solved or glossed over with setting up the IMAP interaction so that messages are deleted from the server in addition to the device or with a "Mailbox > Use This Mailbox For" fix that doesn't work for me. I like being able to save all of my email history on servers (I'm often surprised by how many years back I have to search to find a piece of information I need), but I can no longer stand losing so much of my very limited local space to really old mail.
    PROBLEM
    I'll refer to just one of the relevant accounts as "Gmail," since that's in parentheses when seen in these screenshots. These are its current Mailbox Behaviors settings:
    Under my Gmail Inbox in Mail, I have deleted every message from before 2013. The mail from 2013 is all that I want stored on my MacBook Air.
    Ultimately, I think this has something to do with the Archive (seen in the sidebar above, as well). Even when I've deleted everything from before 2013 in my Inbox, AND emptied the entire contents of Trash manually, the Archive still contains all of the mail from the server (yes, this account was started in 2011, but I have others that go back much further).
    The cherry on top is that when I delete the same messages from the Archive as I've deleted from the Inbox, Mail immediately begins re-downloading all of those messages. Last time I tried this my laptop had to download 23000 messages, but here's a screenshot of proof with a smaller sample:
    In case my Gmail server settings are useful to consider, here they are:
    Final Notes
    • There's a lot that I don't know about exactly how IMAP communication occurs between a device and a server. For my sake and the sake of anyone else who needs this kind of help, please clarify terms like "flags" and "archive" (since Gmail and Mail both use the term and I don't know think they mean exactly the same thing) if/when you use them.
    • If anyone does think that there's some sort of "Mailbox > Use This Mailbox For" solution to this, you should know that no matter what I have selected in Mail's sidebar (at no matter what level of indentation), the options available under that menu item are always grayed-out.
    • I want to keep using Mail. There's a lot that I like about it and I don't want to switch to Thunderbird or something else (remember, I need to save as much local space as I can).
    • I just upgraded to 10.9.0 Mavericks, but this problem has existed for me and behaved essentially just like this as long as I can remember. In fact, I think I recall the problem still existing before there was an Archive in the sidebar at all.

    UPDATE
    I still have the problem, but when I checked on this post to see if anyone had commented and I simply hadn't received an e-mail, I noticed that all but the last of the images I included have stopped displaying (I had friends check, too).  Most of them were just visual examples of what I was explaining in hopes of giving context and all available info that I may not have personally viewed as relevant, but the first one, about my account's Mailbox Behaviors settings sure is important. These are the settings I have:
    • Store draft messages on the server — Check
    • Store sent messages on the server — Check
    • Delete sent messages — One month old
    • Store junk messages on the server — Check
    • Delete junk messages — One week old
    • Move deleted messages to the Trash mailbox — Grayed-out and Check
    • Store deleted messages on the server — Grayed-out and Check
    • Permanently erase deleted messages when — Quitting Mail
    I hope this helps. Please comment if I'm leaving out any other important information.

  • String Literal too long / CLOB Issue

    I have a table with a "Clob" column called Message. This is where I store the message of an email. We have an internal email app. What is happening is I can't insert anything bigger then around 3990 or something around there. In my procedure I have the parameter coming in as clob and I use a TO_CHAR() around the table column and my parameter or my procedure gives me this error
    PL/SQL: ORA-00932: inconsistent datatypes: expected - got CLOB
    But when it runs and I put in a 9000 character message it says
    Oracle.DataAccess.Client.OracleException was unhandled by user code
    Message="ORA-01704: string literal too long
    I'm using C# with
    Oracle.DataAccess.Client.OracleConnection to create my oracle connection and Oracle 10g.
    I'm calling this procedure from my app. By doing this am I causing it to only hold 4000 characters?
    Here is a scaled down version of my code on just that column
    CREATE OR REPLACE PROCEDURE EMAILINS (
    P_MSG IN CLOB
    AS
    varT VARCHAR2(10000);
    varSQL VARCHAR2(20000);
    varTemp NUMBER;
    BEGIN
    -- SEE IF STRING EXISTS
    SELECT 1 INTO varTemp
    FROM tblEmail
    WHERE TO_CHAR(MESSAGE) = P_MSG
    EXCEPTION
    WHEN TOO_MANY_ROWS THEN
    varSQL := varT||CHR(10)||'***Multiple Rows Exist in Table tblEmail***';
    DBMS_OUTPUT.PUT_LINE(varSQL);
    WHEN NO_DATA_FOUND THEN
    varT := P_MSG;
    varSQL := 'INSERT INTO TBL_EMAIL( MESSAGE)'||CHR(10);
    varSQL := varSQL || 'VALUES (tblEmail_SEQ.NEXTVAL,'||varT||')';
    EXECUTE IMMEDIATE varSQL;
    END EMAILINS;

    In the first place, you don't need (and surely don't want) dynamic SQL to do the insert. Replace
    varT := P_MSG;
    varSQL := 'INSERT INTO TBL_EMAIL( MESSAGE)'||CHR(10);
    varSQL := varSQL || 'VALUES (tblEmail_SEQ.NEXTVAL,'||varT||')';
    EXECUTE IMMEDIATE varSQL;with the simpler
    INSERT INTO tbl_email( <<primary key column>>, message )
      VALUES( tblEmail_Seq.nextval, p_msg );Secondly, you want to use the DBMS_LOB.COMPARE function to determine whether the contents of the LOBs match. So replace
    SELECT 1
      INTO varTemp
      FROM tblEmail
    WHERE TO_CHAR(MESSAGE) = P_MSG with
    SELECT 1
      INTO varTemp
      FROM tblEmail
    WHERE dbms_lob.compare( message, p_msg ) = 0Of course, it is going to be relatively expensive to run this query every time you insert a new message unless the table is always going to be very small, which seems unlikely. It also doesn't prevent duplicate entries if there are multiple threads executing at the same time.
    Justin

  • Long text problem while uploading Inspection plan through BDC.

    Hi,
    I am facing some problem while uploading the inspection plan. There are few MICs for which we are having long text, while uploading the inspection plan through BDC - some other long text is getting copied into the MIC's long text. After checking I came to know that in function module, read_text - some text which is stored in ABAP memory is getting copied into the inspection plan.
    I am working in SAP release 4.7. I have checked with SAP notes: 97419, but it is also not satisfying.
    Waiting for quick solution.
    Thanks in advance.
    Fahié

    Hi a®s,
    Thanks a lot for your kind reply.
    My requirement is I want to maintain long text for few MICs (which are not having long texts at MIC level) in inspection plan (QP01).
    When I am trying to manually assign the MIC's to inspection plan (QP01), long text is copied whereas I am not clicking the long text icon in (QP01). Long text is not maintained in MIC level, still some long text is copied to this MIC. This was also happening while uploading the inspection plan thro' BDC.
    I believe what you have mentioned about function module SAVE_TEXT cannot be used here since long text is already copied before we pass the long text. Also if we pass some long text, still apart from the long text what we have passed there is some other long text copied (extra long text).
    Waiting for quick solution.
    Thanks in advance.
    Fahié

  • ITouch cannot be updated because it was disconnected, also some extraordinarily long backup problems.

    I have a 4th gen ipod touch and i've been having this problem for a while. I'm on 4.3.3 and I don't jailbreak, I buy all my apps etc, but whenever I sync, it won't properly do it. It will start the sync by backing up. Now, I don't actually have a single back up meaning this is technically my 'first' backup. I know that 'first' backups are supposed to take longer, but it either a) takes over 3 hours (i've left it on for this long then gave up) or b) will go through and just before completing, say that the ipod was disconnected and thus was unable to backup. Occasionally, it will go through with the backup when i right click on my iPod in iTunes and select 'back up' but when I go to check everything, including my preferences > devices > backups, nothing has changed. I don't have a single backup on that list, its white and bare.
    I don't have a single backup because although I managed to get this iPod fine, new from the apple store and backup for the first time then, after a while it stopped properly syncing, aka this problem. I was then recommended by some random site that I can't recall to delete backups and backup for the 'first' time again. I've also tried clearing some apps to see if that was the problem, as well as emptying some of my photos, but although i've not cleared all the apps nor all the photos, it doesn't seem to make a difference.
    When I try to update to 4.3.5, it will extract information, proceed to Back up (step 1 of 5) and somewhere in the backing up process my iPod Touch will reboot and the apple logo plus a loading logo (the white lines arranged in a circular motion, when things are 'loading') ontop will appear. From then on, regularily will my iPod Touch beep with a high pitched noise that I can't put my finger on, but is familiar, until the backup ultimately fails with the message "iTunes could not back up the iPod because it was disconnected."
    I've tried different USB ports, I do NOT use a hub. It also does not sync songs as when I try to put more songs on my iPod, it requires to back up. I've also tried clicking the (x) to stop the backup but clicking it doesn't even do anything.
    I've wanted to try to restore, but apparently I can't even do that because it TOO requires to back up right after restoration, it will fail the backup and revert my iPod to what it was before.
    Please tell me that this is a problem I can fix easily, it's a fairly new iPod Touch.

    See here for 
    DFU Mode / Unable to Update or Restore
    http://support.apple.com/kb/HT1808

  • Long messages problem

    Hi all,
    When I send a short message (2 to 4 lines) on my iPhone 4S and I press the stand-by button while the message is still being sent, I hear the 'woosh' sound a few seconds later. So no problems for that. But when I send a longer message (10 lines or more) and I do the same (pressing the stand-by button while sending) I don't get to hear the 'woosh' sound, even when I wait a few minutes. I only get to hear the 'woosh' sound if I reactivate my phone by pressing on the home button or stand-by button, and this can be a few hours after I had sent the message (for example when I'm at my work or so). So my question is: is this normal and does your phone need to be activated while it's sending a message or is this not normal and what for solution do you guys propose... It's not a big deal but I'm just wondering. I have my phone now for 4 months but I haven't really been noticing it since then, just the last couple of days it appeared to me. Thanks in advance guys

    For an SMS/MMS that exceeds 160 characters which is the limit with carriers in the U.S., I would wait until you hear the sent alert sound before selecting the sleep/wake button if the message is not sent otherwise. Not sure why the message is not being sent after selecting the sleep/wake button, but it not you need to wait to ensure the message is sent before doing so.

  • Callable statement Clob problem..reading and writing

    Hi,
    I am having problem ,,trying to read and write a clob object ...
    DB Server is oracle 9i and app server is WAS5.1
    I am geting exception...
    java.sql.SQLException: Missing IN or OUT parameter at index::
    pls check the code below..
    Connection connection = null;
    CallableStatement csmtObj = null;
    Clob clob = null;
    try {
    connection = getConnection();
    csmtObj = connection.prepareCall("{call MYPROC(?,?,?)}");
    csmtObj.registerOutParameter(1,Types.CLOB);
    csmtObj.setString(2,"xxx");
    csmtObj.setString(3,"YYY");
    csmtObj.execute();
    clob = csmtObj.getClob(1);
    } catch (Exception exception){
    exception.printStackTrace();
    throw exception;
    Regards

    Thanks
    I was able to resolve the reading part but ...I am getting exception while writing ..
    it says parameter type conflict..
    This is the code
    public static boolean putStringAsCLOB(String strContent, String strDataType,
              String strOperType) {
         boolean operationStatus=false;
         Connection connection = null;
         CallableStatement csmtObj = null;
    String clob = strContent;
    ByteArrayInputStream bais = new ByteArrayInputStream(pfoAsBytes);
    InputStreamReader reader=new InputStreamReader(bais);     
    try {
              connection = getConnection();
              csmtObj = connection.prepareCall("{call MYPROC(?,?,?)}");     
              csmtObj.setCharacterStream(1,reader,pfoAsBytes.length);
         csmtObj.setString(2,strDataType);
              csmtObj.setString(3,strOperType);
              operationStatus=csmtObj.execute();
         } catch (Exception exception){
              exception.printStackTrace();          
         } finally{
              if(connection != null){
                   try {
                        connection.close();
                   } catch (SQLException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
         return operationStatus;
    Regards
    Message was edited by:
    user606712

  • Long Text problem in a BADI

    Hi Everyone,
    I am implementing BADI "WORKORDER_UPDATE". The requirement is there should be no changes made on the IW32 transaction. I have successfully implemented the BADI and it is now giving an error when we try to change anything on the order in IW32.
    The problem is with the longtext. There is a field TXCHG which I used to see if there are any changes being made to the long text. When someone changes the lontext and tries to save it, it gives an error but still retains the changed longtext. The code works fine with all other changes(I mean it gives an error when they try to change anything in IW32 and will not retain the changes). But this does not happen in the case of long text. It gives an error but still has the changed long text as part of the order.
    Any suggestions on how to proceeed? I am using instance  Before_Update in this BADI.
    Thanks
    Kumar.

    Do u mean after giving the Error message, even if u come out without saving it is keeping the changes?
    If the answer to the above question is no then try the following procedure:
    Read the long text using READ_TEXT (function module) by passing the TDID, TDOBJECT, TDSPRAS, TDNAME (u can get these details by going through the menu edit-> go to header). 
    Store that in an internal table and then append all the lines of this internal table into a string Variable and assign this variable's text to the field in which long text is being displayed.
    This should work bcoz , in the database only the original Long text is stored and we are retrieving it and displaying back in the relevant field.
    Please reply if it works.....

  • Import of Tables with CLOB problem.

    Hi,
    I am having problems with the import of tables with CLOB columns.
    Tables with CLOB columns will force the use of the tablespace in which it (table) was created originally. It will not be created on the new schema's default tablespace. Is there a way to get around this problem?
    More on this problem can be found here :
    Re: Import error 1647, CLOB fields problem, need help!
    I am using Oracle 9.2.0.6 standard edition, that is why the transportable tablespace option will not work.
    Thanx
    Rob

    Sorry I have posted the wrong link, it should be:
    Re: Import error 1647, CLOB fields problem, need help!
    Regards
    Rob

  • ECC5.0 Long text Problem in QM02

    Hi friends,
    when i am create Item long text in Qm01 when i am reading the text in from FM read_text in tlines my structure is
    tdofrmat ,tdline
             text1(72)
    =          text1(72)
             text2(59)
    after saving the long text and when i am trying to read in QM02 mode ,with same FM i am getting as.
    tdofrmat ,tdline
    X>         * text1(72)
    X>         * text1(72)
    X>         * text2(59)
    Hope u under stand my problem.
    How to Indentify which line is continous to which one,where the word was splitted.i searched FM's but i didn't get.i tried with "Newline" by refering Class No result.Gurus kindly Provide the solution......
    In Advance Thanks...

    Hi,
    Did you try this:
    text1(72)
      text1+72(72)
    text2(59)
    Regards.

  • IA05-Long text problem

    Hi ,
    I have to do a data upload for IA05 transaction.
    I have done the recording for BDC.
    But i am facing problem in Long text upload (SAVE_TEXT), because the TEXT NAME logic requires Group number. This group number is created when the transaction is executed.
    Do by any means i can get the group number at runtime because will executing the transaction i can see the group number which is created.
    Else does anybody have some other way to do this. Please suggest.
    Thanks & Regards
    Kapil

    Hi,
    <b>This is the only way you can do this.</b>
    And you are not hardcoding anything. If BDC is successful and you get the 'Group numer" just create a text using SAVE_TEXT FM.
    Let me know if you have something else on your mind.
    Regards,
    RS

Maybe you are looking for

  • How can I tranfer audio files from my iPhone 5 to my laptop?

    Is there a way to transfer audio files (not music but an audio recording) from my iPhone 5 to my laptop?

  • I have a few issues.

    So I am running 8.1 with Vista on an HP Touchsmart and whenever I change the Artist Name or Ablum Info for a WHOLE album. It ends up splitting the album into two separate albums. It does NOT copy the songs it just splits around the middle for the mos

  • Installing APEX without Oracle Text Option

    Hi, Is it possible to install APEX 3.1.2 or 3.2 without the Text Option? The doc says yes, but the apex help can´t be used. The last time i tried it on a customer side, i got an installation error (but i can´t remember the text of the error) After in

  • Clearing out cookies...

    I use Safari and would like to review my cookies and clear out the redundant one. Is there any way of establishing (maybe at Fnder level or even through some Terminal command) the date a cookie was 'acquired', when it was last used and by which websi

  • Will FCP tell me what the 'correct aspect ratio' is?

    Hi, This isn't a problem, I'm just curious. When I import clips in to FCP I am allowed to view them in their correct aspect by checking 'Correct For Aspect Ratio' using the 'Window Zoom' button in the canvas. Is there a way of seeing the correct aspe