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

how to use read_text function module

Former Member
0 Likes
1,442

Hi how to use read_text function module to read purchase order header text .what are all tht things to pass in ID,Name and Object

thanks,

Mahe

1 ACCEPTED SOLUTION
Read only

faisalatsap
Active Contributor
0 Likes
789

Hi, Sky

First of all Welcome to SDN

Please do search before posting have a look at [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]

[Click here for Search Results|https://forums.sdn.sap.com/search.jspa?threadID=&q=%22read_text%22&objID=f50&dateRange=all&numResults=30&rankBy=10001]

Regards,

Faisal

5 REPLIES 5
Read only

faisalatsap
Active Contributor
0 Likes
790

Hi, Sky

First of all Welcome to SDN

Please do search before posting have a look at [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]

[Click here for Search Results|https://forums.sdn.sap.com/search.jspa?threadID=&q=%22read_text%22&objID=f50&dateRange=all&numResults=30&rankBy=10001]

Regards,

Faisal

Read only

Former Member
0 Likes
789

Hi,

Refer to this link..[READ_TEXT Function Module|http://www.erpgenie.com/sap-technical/abap/abap-readtext-functions-to-read-the-sap-long-text]

Read only

Former Member
0 Likes
789

Dear,

Use below code.

DATA:IT_LINE LIKE TLINE OCCURS 0 WITH HEADER LINE,
 V_TDNAME LIKE THEAD-TDNAME.

V_TDNAME = PO_NUMBER.
CALL FUNCTION 'READ_TEXT'
  EXPORTING
*   CLIENT                        = SY-MANDT
    ID                            = 'F01'
    LANGUAGE                      = 'EN'
    NAME                          = V_TDNAME 
    OBJECT                        = 'EKKO'

  TABLES
    LINES                         = IT_LINE.

Thanks and Regards,

Read only

kanishakgupta1
Contributor
0 Likes
789

hi,

the object is EKKO,

id is F01,

language is E

name is the PO number

regards

kanishak

Read only

0 Likes
789

"language is E" - Kanishak Gupta

Very pertinent remark! I couldn't understand what i was missing before seeing your message.

Thank you!