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: 

Text fields

Former Member
0 Kudos
158

Hello

Can you tell me somebody: Can I have to access to text fields (text table) through value table, or access to thats field is possible only through text table in ABAP report?

Thanks

Regards

1 ACCEPTED SOLUTION

Former Member
0 Kudos
135

hi

good

Table A is a text table of table B if the key of A comprises the key of B and an additional language key field (field of data type LANG). Table A may therefore contain explanatory text in several languages for each key entry of B.

To link the key entries with the text, text table A must be linked with table B using a foreign key. Key fields of a text table must be selected here for the type of foreign key fields

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ea9e446011d189700000e8322d00/content.htm

thanks

mrutyun^

6 REPLIES 6

Former Member
0 Kudos
136

hi

good

Table A is a text table of table B if the key of A comprises the key of B and an additional language key field (field of data type LANG). Table A may therefore contain explanatory text in several languages for each key entry of B.

To link the key entries with the text, text table A must be linked with table B using a foreign key. Key fields of a text table must be selected here for the type of foreign key fields

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ea9e446011d189700000e8322d00/content.htm

thanks

mrutyun^

0 Kudos
135

Hello Mrutyunjaya,

I want to know whether from <b>ABAP code</b> I have access to text field through the value(main) table, not through text table?

Regards

0 Kudos
135

What table and fields are you trying to access? Knowing that might make it easier to answer your question

- April King

0 Kudos
135

Hi April,

I trying to access the text field from text table but through main table (without selecting from text table). It is possible?

Regards

Liny

0 Kudos
135

I'm not sure. What are the <b>names</b> of the tables and the fields that you are trying to read? It depends on where the data is stored. For instance, the text descriptions for some fields are stored in HRP1000. So we use function module HR_READ_FOREIGN_OBJECT_TEXT to read the associated text.

- April

0 Kudos
135

Thank you April! Your answer was very helpful.

I solved my problem and rewarded points :)!

Best Regards

Liny