Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

retrieve long text from db

Former Member
0 Kudos

Hi

I have a quotation order, and I have to retrieve the long text about the quotation ID. I see I have to use the READ_TEXT function, but I can't find how to use it in this way.

Can anybody help me please?

Thanks

Gabriel

6 REPLIES 6

Former Member
0 Kudos

Hi

Open the quotation, go to the particular long text and than

GO TO -> HEADER

you will get TDID, TDNAME, TDOBJECT.

Pass the same values to Read_text function module

Regards

Madhan

0 Kudos

thanks for your help, but this is the first time I am doing something like this, so please, could you be a little more specific?

How can I "open quotation"?

0 Kudos

Hi

You can open the quotation using VA23 transaction, go to the particular long text and than

GO TO -> HEADER

you will get TDID, TDNAME, TDOBJECT.

Pass the same values to Read_text function module using SE37 transaction.

Regards

MD

0 Kudos

when I do

GOTO -> HEADER

a tabstrip is shown, and there are many tab, I look in each field of this tabstrip, but I can't find the fields you tell me.

where are there?

former_member181995
Active Contributor
0 Kudos

Just Double click on Script editor where your text was written.than from Goto>header>note all necessary information of ID

LANGUAGE

NAME

OBJECT than use this like below

CALL FUNCTION 'READ_TEXT'
    EXPORTING
      client                  = sy-mandt
      id                      = stxh-tdid
      language                = stxh-tdspras
      name                    = name
      object                  = stxh-tdobject
    TABLES
      lines                   = i_lines[]
    EXCEPTIONS
      id                      = 1
      language                = 2
      name                    = 3
      not_found               = 4
      object                  = 5
      reference_check         = 6
      wrong_access_to_archive = 7
      OTHERS                  = 8.

Former Member
0 Kudos

Hi

Good

Checke the below link, this will give you the idea to use the READ_TEXT.

http://www.sap-basis-abap.com/sapac002.htm

Thanks

mrutyun^