2007 Jan 09 2:58 PM
Hi fellow abapers,
I have come across an interesting problem when trying to get the fields for table t778p a simple check table.
When I look at the table using se11 one of the fields is not displayed, however when I go to se16 and view the data in the table the field is there and contains values.
The field is PTEXT
In the program I am writing I call the function module DDIF_FIELDINFO_GET but as you can imagine it does not return this hidden field.
Does anyone know how to get around this so i can get this fieldname programmatically from the table.
2007 Jan 09 3:03 PM
WHen tables are associated with text tables, the the "text" or "description" field is automatically added to the SE16. This is how it is done for all tables with associated text tables. You can see the associated text table by going to SE11, and selecting "Go To", then "Text Table".
Regards,
Rich Heilman
2007 Jan 09 3:02 PM
Hi james,
1. Thats how r/3 behaves while showing values from TEXT Table.
2. for t778p the text table is
T777P
where u will find ptext field.
regards,
amit m.
2007 Jan 09 3:03 PM
You need this table too <b>T777P</b> -;) It holds the variant plans texts -:D
Greetings,
Blag.
2007 Jan 09 3:03 PM
If you go into SE16 and double click on any line it will show you the selected line top to bottom. You can then F4 to find out where the field comes from, in this case it's table T777P field PTEXT.
I've no idea how SAP links these text fields to the check table, seems very mysterious.
Hope this helps.
Gill
2007 Jan 09 3:03 PM
WHen tables are associated with text tables, the the "text" or "description" field is automatically added to the SE16. This is how it is done for all tables with associated text tables. You can see the associated text table by going to SE11, and selecting "Go To", then "Text Table".
Regards,
Rich Heilman
2007 Jan 09 3:15 PM
Hi James,
The hidden field in T778P is T777P-PTEXT (Plan Version Text)
Date element is PLTEXT
To check table run sql trace from there you can find related information about table T778P ,
Pradeepvonti
2007 Jan 09 3:32 PM
in se11 u will not see the field for text one...when ur in SE11...from menu GOTO->Text Table wherein this field is maintained along with key fields and SPRAS field.
So, when u see in SE16 as there is a link between the main table and text table the data is been shown.
Award Points.
2007 Jan 09 3:48 PM
Hi guys, thanks for the help
Debugged through se11 and got the function module im after
DDUT_TEXTTABLE_GET