Skip to Content
author's profile photo Former Member
Former Member

Getting texts out of STXB

How does one get the texts out of Cluster table STXB ?

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 02, 2005 at 07:35 AM

    Hi,

    To read text from STXB, you will have to issue the statement like

    IMPORT tline TO rt_lines FROM database stxb(tx) ID stxl_id.
    
    WHERE: stxl_id is a structure like
    DATA:   BEGIN OF STXL_ID,
            TDOBJECT LIKE STXL-TDOBJECT,
            TDNAME   LIKE STXL-TDNAME,
            TDID     LIKE STXL-TDID,
            TDSPRAS  LIKE STXL-TDSPRAS,
            END   OF STXL_ID.
    

    You can additionally take a look at FM READ_TEXT.

    Hope this helps.

    Regards

    Message was edited by: Shehryar Khan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Tim,

      I shall refer you to two other topics on SDN where a similar discussion has taken place.

      1. TEXT into the Cluster Tables.

      2. BasicText for a Material

      Now, you have asked whether <i>the area of the cluster table</i> matters a lot. I would say it matters the most.

      It is a way of segregating the related texts in the cluster table. Even if the all the entries in the table (eg:STXB) have the same RELID (= TX), you would have to specify that, because it is a mandatory part of the syntax for the IMPORT statement.

      Coming to understanding the import statement, when the data was entered into the cluster table, it would have been done through an EXPORT statement. You will need to find out where that EXPORT statement was issued, and use the similar structure for the data recepients in the IMPORT statement.

      Please do get back if you need more information.

      Regards,

      Anand Mandalika.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.