2014 Feb 05 11:15 AM
Dear all
I have used read text fm thro se37,
i have to read header text in va01.
i have passed following parameters
id 001
language EN
NAME 0000000366
OBJECT VBBK
0000000366 IS A ORDER NO
but after executing im getting error : " Text 0000000366 ID 001 language EN not found"
msg id TD no 600
but i have text in header.
How to rectify this
Regards
Hi Karthik,
First open the Editor where user enters the long text. Click on GOTO in menu bar and select TEXT HEADER or HEADER.
Then a pop-up window will display the parameters that you have to pass to READ_TEXT function module.
Once cross check the parameter you passed from there. I think Parameter Name should contain some Client number or something along with ORDER NUMBER.
Regards,
Vijay
2014 Feb 05 11:18 AM
Text IDs have usually length 4, so try "0001" instead of "001", or double-check the contents of table STXH for TDOBJECT = "VBBK" via SE16.
Thomas
2014 Feb 05 11:22 AM
Thanks for ur reply
i have cross checked stxh , data's are ther.
2014 Feb 05 11:28 AM
Obviously something doesn't match, so please provide a screenshot of the contents for TDNAME = "0000000366".
Thomas
2014 Feb 05 11:28 AM
Hi Karthk,
Thoms is right. At first Correct your text ID.
Here is sample code that help you better.
Declare variable:-
DATA: GS_MOD TYPE TDLINE.
Declare Internal table :-
DATA : BEGIN OF IT_TID OCCURS 0,
ID(4),
END OF IT_TID.
DATA : TLINES LIKE TLINE OCCURS 0 WITH HEADER LINE.
LOOP AT IT_TID.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = IT_TID-ID
LANGUAGE = SY-LANGU
NAME = ITAB-LV_NAME
OBJECT = 'VBBK'
TABLES
LINES = TLINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
IF SY-SUBRC = 0.
READ TABLE TLINES INDEX 1.
IF SY-SUBRC EQ 0.
CASE IT_TID-ID.
WHEN 'ZH01'.
GS_MOD = TLINES-TDLINE.
ENDCASE.
ENDIF.
Regards,
Ranjit Kumar.
2014 Feb 05 11:27 AM
Hi Karthik,
First open the Editor where user enters the long text. Click on GOTO in menu bar and select TEXT HEADER or HEADER.
Then a pop-up window will display the parameters that you have to pass to READ_TEXT function module.
Once cross check the parameter you passed from there. I think Parameter Name should contain some Client number or something along with ORDER NUMBER.
Regards,
Vijay
2014 Feb 05 11:38 AM
Hello karthik,
Go to va03, header ---> texts ----> click on the details in the text as shown below.
Then menubar ---> goto ---> Header
Then pass the correct text id and order number and text object.
2014 Feb 05 11:51 AM
2014 Feb 05 11:52 AM
Hi Karthk,
Go to VA02 enter Sales order number
Double click on the header text of your sales order and then on menu bar=>goto => Header
It will give you all parameters which need to pass in FM 'Read Text'.
Thanks
2014 Feb 06 5:14 AM
2014 Feb 06 6:07 AM
2014 Feb 06 7:45 AM
2014 Feb 06 5:20 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |