Skip to Content

How to read long text for Inspection Characteristic from QE13 ?

Dear All,

Is there any way to read long text for Inspection Characteristic from QE13 ? Currently i'm getting this long text from QP01 where Text Object = QSS and Text ID = QM. The problem is if users do some change here in long text it also changes in my output. But i dont want to show the changed long text, rather i need to show the text actually from QE13 where is gets no effect on change. But i'm not getting Goto->Header here. Is there any way to do it ?

Thanks.

With regards.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jan 01, 2015 at 10:06 AM

    Hi

    Please check the details from the table STXH and then use it in the FM - READ_TEXT.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 01, 2015 at 01:03 PM

    Hi,

    you can get Text ID and Text Object from SO10 TRANSACTION.

    SO10 --- > F4 ON text name ---> execute ---> shift+f8 ( additional information tab ) there you can

    get Text ID and Text Object based on text  content if am not wrong.

    also refer the below link

    http://scn.sap.com/thread/1612571

    Thanks,

    Marimuthu.K

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 05, 2015 at 09:12 AM

    Hi,

    if you are not able to find it via header, try it this way.

    for ex: Change the text and save it. Then, go to table stxh and find it based on changed date.

    Add comment
    10|10000 characters needed characters exceeded

    • Dear Kesavadas Thekkillath,

      Thanks for your reply. Actually I need the deleted data. I'm getting changed long text but need to get the previous data which is showing in QE13. Problem here is i'm not getting TEXT ID and OBJECT from table STXH. As old data is showing in QE13. Data must be stored in some table. I need to get this table name which stores old data.


      Long text in QE13.

      Long text in QP03. This is changed long text, which i'm getting now. But I need the previous one.


      QE13.JPG (33.9 kB)
      QP03.JPG (19.1 kB)
  • Feb 26, 2015 at 07:52 AM

    So you are required to read text in Database, and you MUST NOT use READ_TEXT bypassing memory (local catalog) as it would overwrite user input, agree?

    So you should fill an internal table (fields clustr and clustd) from database table STXL with keys TDOBJECT, TDNAME, TDID, TDSPRAS as for text header. Then IMPORT text lines (TLINE) FROM this INTERNAL TABLE.

    Regards,

    Raymond

    Add comment
    10|10000 characters needed characters exceeded

    • I was (wrongly) thinking you wanted the old text (in database) vs the current code (in memory) before commit, e.g. during execution of QA11. After commit, in QA13 for example, it is too late for those tools, only current data was saved in database and has overwitten the previous data.

      Only change documents could now contain the required data (*) but (AFAIK) they are not 😔 (**). Only the fact that a long text is changed are stored (Check SCDO transaction documentation)

      Special Text handling : This should be checked if long text changes are to be logged. The old and new status of long texts is not logged. Only the fact that they have been changed is noted.

      Regards,

      Raymond

      (*) Look for some recent documents in change document headers (table CDHDR) created by transaction QA13. Memorize the "object" names (MELDUNG, CHARGE, etc.) . Now call transaction SCDO and check definition of change object and tables saved.

      (**) So I got the  1433661 - FB02/Long text: No change allowed in France

      Changes are not logged for long texts. Because ...