2011 Aug 23 3:40 AM
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.
2011 Aug 23 4:20 AM
Hi ,
before you post , you should search in SDN forums.
anyhow check tcode SE75.
regards
Prabhu
2011 Aug 23 4:42 AM
Hi, Prabhu.
Thank you for your reply.
I checked SE75.
but I can't get the infomation of STXH-TDNAME.
I wanna get the info about a meaning of TDNAME not TDOBJECT.
and I 'd like to get them in Zprogram.
If you know the table contains them, please let me know.
Regards.
Rie.
2011 Aug 23 5:40 AM
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
2011 Aug 23 6: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
2011 Aug 23 9:38 AM
2011 Aug 23 10:18 AM
Hi Rie,
You can use the tables like STXH,STXL or Read_function FM
Or you can check the below link to get the TDNAME in your zreport
http://searchsap.techtarget.com/tip/Searching-items-in-SAPscript-forms
2011 Aug 23 10:40 AM
hi,
You can trace it through ST05.
Search for STXH in the trace output.
With regards,
Syed Ibrahim .G
2011 Aug 23 1: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
2011 Aug 25 5:11 AM
Thank you everyone.
I understand that It's an application logic NOT table data.
It's too hard for me to see the logic...
Thanks.
Regards.
Rie.