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

How do I get the STXH-TDNAME infomation?

Hi, ALL.

I'd like to get infomations about STXH-TDNAME in Zprogram.

I know that a meaning of STXH-TDNAME is changed based on value of STXH-TDOBJECT.

I'd like to get a meaning of that from value of STXH-TDOBJECT.

it contains by any table??

If you know that, please let me know.

Regards.

Rie.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 23, 2011 at 03:20 AM

    Hi ,

    before you post , you should search in SDN forums.

    anyhow check tcode SE75.

    regards

    Prabhu

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi ,

      TDNAME is depends upon the transaction , you need to see the logic in those transaction itself...

      like PO>goto longtext>double click on text>opens text editor>GOTO-->header -->see the text name ie. PO number for Header text or PO+ITEM for Item Text...

      regards

      Prabhu

  • author's profile photo Former Member
    Former Member
    Posted on Aug 23, 2011 at 05:08 AM

    Hi Rie,

    Find below sample example for STXH-TDNAME :

    DATA : BEGIN OF it_stxh OCCURS 0,
             tdobject LIKE stxh-tdobject,
             tdname LIKE stxh-tdname,
             tdid LIKE stxh-tdid,
             tdspras LIKE stxh-tdspras,
             END OF it_stxh.
           
      SELECT tdobject 
             tdname 
             tdid 
             tdspras
             INTO TABLE it_stxh 
             FROM stxh 
             WHERE tdobject = 'EKKO' 
             AND tdspras = sy-langu.
        
      READ TABLE it_stxh INTO wa_stxh WITH KEY tdname = <PO_Number>.

    BR

    Dep

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 23, 2011 at 08:38 AM

    you can use CALL FUNCTION 'READ_TEXT'

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 23, 2011 at 09:40 AM

    hi,

    You can trace it through ST05.

    Search for STXH in the trace output.

    With regards,

    Syed Ibrahim .G

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 23, 2011 at 12:07 PM

    Prabhu's second reply was the correct one, from my point of view, I don't think there is a simple link between text object and concatenation logic of the text name. It's in the application logic.

    "BELEG" -> "BUKRS & BELNR & GJAHR" (= primary key of BKPF)

    "DOC_ITEM" -> "BUKRS & BELNR & GJAHR & BUZEI" (= primary key of BSEG)

    Thomas

    Add a comment
    10|10000 characters needed characters exceeded

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.