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

Use SQL to get long text

Former Member
0 Likes
1,581

Hi,

Is it possible to retrieve the long text in STXH and STXL by SQL instead of READ_TEXT FM?? How can i covert the HEX text back to normal text??

Regards,

Kit

3 REPLIES 3
Read only

abdul_hakim
Active Contributor
0 Likes
930

Hi,

You should use the READ_TEXT Function Module.You cannot use SELECT clause for this!!

Cheers,

Hakim

Read only

Former Member
0 Likes
930

Hi,

1. Only the way to Read long text is use the function module ‘READ_TEXT’ for which u need to pass TEXTOBJECT, TEXTID, TEXTLANGUAGE AND ONEMORE(I FORGET).

Because the STXL and STXH these tables are cluster tables in which data stored in ‘LRAW’ field which is in RAW format which u can not understand and our normal SQL can also.

2. so u can read most of cluster tables by Function modules only.

3. u can modify or saved by ‘save_text’

Read only

former_member156446
Active Contributor
0 Likes
930

using the FM is easy.. but I suppose it possible.. from the table Stxh.