2007 Nov 23 12:19 PM
Hi Experts,
I am using FM 'READ_TEXT' in an ABAP but the FM is not returning LINES table filled with any value. May i know, how can i get the SAP long text value populated in LINES table i.e. i_tl in my case.
Code is as follow -
CALL FUNCTION 'READ_TEXT'
EXPORTING
object = 'BELEG'
name = e_th-tdname
id = '0001'
language = 'R'
IMPORTING
header = e_th
TABLES
lines = i_tl
EXCEPTIONS
not_found = 4.
Probably, no SAP long text maintained for this inputs provided to FM. But, if this is the case then how can we maintain SAP long text for these inputs ?
Useful answers will be appreciated.
Thanks in advance,
Akash
Hi Experts,
I am using FM 'READ_TEXT' in an ABAP but the FM is not returning LINES table filled with any value. May i know, how can i get the SAP long text value populated in LINES table i.e. i_tl in my case.
Code is as follow -
CALL FUNCTION 'READ_TEXT'
EXPORTING
object = 'BELEG'
name = e_th-tdname
id = '0001'
language = 'R'
IMPORTING
header = e_th
TABLES
lines = i_tl
EXCEPTIONS
not_found = 4.
Probably, no SAP long text maintained for this inputs provided to FM. But, if this is the case then how can we maintain SAP long text for these inputs ?
Useful answers will be appreciated.
Thanks in advance,
Akash
2007 Nov 23 12:36 PM
Akash,
From which transaction you are trying to read the long text?
Are you passing correct parameters?
Regards,
Satish
2007 Nov 23 12:46 PM
Check if the text name has the zeroes appended to its value while passing the same to the FM
Check if the text object is correct.
Check if the text has been maintained in language 'R'.
Hope it solves the issue.
Lokesh
Pls. reward if it helps.
2007 Nov 23 12:56 PM
BELEG object is -- documents
IDs have the following meanings
0001 Correspondence
0002 Note
0003 Payment advice information
0004 Remarks EBPP
u will have to maintain in appropriate Tcodes
2007 Nov 23 1:08 PM
Hi Akash,
Use FMs INIT_TEXT & SAVE_TEXT.
Get Header details by passing the same parameters to INIT_TEXT as you passed in READ_TEXT.
Pass header details & i_tl to SAVE_TEXT, data will get stored in respective place.
<b>Reward Points for helpful answers</b>
Satish
2007 Nov 24 7:17 AM
Hi Satish,
Have tried as per suggested by you i.e. first getting Header details by passing the same parameters to INIT_TEXT as i passed in READ_TEXT.
But i_tl was received as empty in return, and then i tried to pass header details to SAVE_TEXT, but did not find any change.
Please let me know, if i missed something.
Thanks,
Akash
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |