Application Development and Automation 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: 
Read only

Read Text FM

Former Member
0 Likes
1,193

Dear All,

I have a read text function module code that returns below error message

Text 8339A24C42C74D0CE1000000C0A8643D ID SU99 language EN not found

From the code I beleive that some text that has to be maintained is not done. As read text FM was called by some other developer I want to know for which Tcode or from where the text has to be maintained.

Below is the code for read_text FM,

CALL FUNCTION 'READ_TEXT'
    EXPORTING
     CLIENT                        = SY-MANDT
      ID                            = 'SU99'
      LANGUAGE                      = 'E'
      NAME                          = G1
      OBJECT                        = 'CRM_ORDERH'
     ARCHIVE_HANDLE                = 0
     LOCAL_CAT                     = ' '
   IMPORTING
     HEADER                        = HEADER
    TABLES
      LINES                         = LINES
   EXCEPTIONS
*   ID                            = 1
*   LANGUAGE                      = 2
*   NAME                          = 3
     NOT_FOUND                     = 4
*   OBJECT                        = 5
*   REFERENCE_CHECK               = 6
*   WRONG_ACCESS_TO_ARCHIVE       = 7
*   OTHERS                        = 8
            .

Please note that the variable g1 that I am passing as input for name input in above FM has value 8339A24C42C74D0CE1000000C0A8643D.

I am getting sy-subrc as 4. Please kindly tell me how to maintain the text.

KR,

Bharath

Edited by: bharath padmanabhan on Sep 29, 2010 8:08 PM

Edited by: bharath padmanabhan on Sep 29, 2010 8:08 PM

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,142

SE75 is the place to do it . But your question is not so clear to give a correct answer.

SE75 is the place to do it . But your question is not so clear to give a correct answer.

6 REPLIES 6
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,142

May be you will get some hint by passing SU99 to table TTXOB and checking the field TDTEXT.

Read only

0 Likes
1,142

Dear Keshav,

Thanks for your reply. I will check & let you know.

KR,

Bharath

Edited by: bharath padmanabhan on Sep 29, 2010 8:11 PM

Read only

0 Likes
1,142

Dear Keshav,

From SE11, I passed the value for TDOBJECT input in table TTXOB as SU99 & found that there are no entries for this input. Please let me know whether I have passed SU99 for the correct parameter (TDOBJECT) only. If this is correct please kindly tell me how & from where I should maintain the entry against SU99. Thanks.

KR,

Bharath

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,143

SE75 is the place to do it . But your question is not so clear to give a correct answer.

Read only

former_member214857
Contributor
0 Likes
1,142

Hi Bharath

You can check table STXL and STXH to check how the system handle the entries for texts. There you can get the

full key that you can use in FM READ_TEXT.

Kind regards

Read only

Former Member
0 Likes
1,142

Hi,

From the message, The name looks to me like a GUID and the object CRM_ORDERH looks to me as originated from CRM. If you are calling from R/3, you should be calling with destination.

As Keshav said, without much details, we can only guess.

Sujay

Edited by: Sujay Venkateswaran Krishnakumar on Sep 30, 2010 8:23 AM