2006 Oct 20 6:25 AM
Hello Friends,
where should i get purchase order long text(in which table and how should i retrive it).
plz sent reply.
thanks in advance
regards,
Bhaskar
2006 Oct 20 10:54 AM
In the Purchase ordertransaction ME23N
go to the line item -- texts.
Double Click on on the text which you want to read in text screen.
Follow the menu path
GOTO--HEADER
You will get the information to be passed on to the function module READ_TEXT.
Text Name 420000009500010
Language DA
Text ID F03 Material PO text
Text object EKPO Purchasing doc. item te
Hello Friends,
where should i get purchase order long text(in which table and how should i retrive it).
plz sent reply.
thanks in advance
regards,
Bhaskar
2006 Oct 20 6:26 AM
Hi,
Use the function module READ_TEXT to get the long text..
Pass the parameters to the function module if it purchase order header text..
Text name Purchase order number
Language EN
Text ID F01
Text object EKKO
Thanks,
Naren
Message was edited by: Narendran Muthukumaran
2006 Oct 20 6:26 AM
u can retrieve the logn text using the function module <b>read_text</b>
generally standard texts entries are stored in STXH table
Regards
- Gopi
2006 Oct 20 10:54 AM
In the Purchase ordertransaction ME23N
go to the line item -- texts.
Double Click on on the text which you want to read in text screen.
Follow the menu path
GOTO--HEADER
You will get the information to be passed on to the function module READ_TEXT.
Text Name 420000009500010
Language DA
Text ID F03 Material PO text
Text object EKPO Purchasing doc. item te
2006 Oct 26 5:16 AM
Hi friends.
thanks for reply.
from this i get the purchase order header text and actually i want purchase order Item text so plz tell me the parameter which is pass to FM Read_text so that it retrive purchase order Item text.
thanks in advance.
regards
Bhaskar.
2006 Oct 26 5:18 AM
method is same for header and item text. In text name, you will enter po/item together.
2006 Oct 26 5:29 AM
Hi sanjay.
thanks for reply,
but it doesnt give me any output can you plz give me small example.
Again thanks.
regards
Bhaskar
2006 Oct 26 5:31 AM
Text name <b>PO Number + PO Item Number</b>
Language <b>EN</b>
Text ID <b>F01</b>
Text object <b>EKPO</b>
<b>in the PO Screen ITEM - > TEXTS - > TEXT OVERVIEW
in that place the cursor on a item text and DOUBLE CLICK
u will see the text editor, there GOTO - > HEADER. this will show u the details.</b>
if u see this it will show u what to pass to the read_text function module.
Please mark all helpful answers
Regards
- Gopi
2006 Oct 26 5:39 AM
Hi friends.
I tried this but its not working.
I Tried both pono/po item and pono+poitem.
thanks in advance
regards
Bhaskar
2006 Oct 26 5:45 AM
see below reply from one of contributor in the same thread:
In the Purchase ordertransaction ME23N
go to the line item -- texts.
Double Click on on the text which you want to read in text screen.
Follow the menu path
GOTO--HEADER
You will get the information to be passed on to the function module READ_TEXT.
Text Name 420000009500010
Language DA
Text ID F03 Material PO text
Text object EKPO Purchasing doc. item te
2006 Oct 26 6:01 AM
Hi Friends.
Thanks For Reply.
Its working fine.
again thanks.
regards
Bhaskar
2006 Oct 26 6:04 AM
Close this thread if ur problem is solved by assigning poitns to the useful answers
Regards
- Gopi
2006 Oct 20 11:19 AM
Hi,
try using this code........
DATA: V_TDID LIKE THEAD-TDID,
V_TDNAME LIKE THEAD-TDNAME,
V_TDOBJECT LIKE THEAD-TDOBJECT,
T_LINE LIKE TLINE OCCURS 0 WITH HEADER LINE.
V_TDID = 'F01'.
V_TDNAME = po_number.
V_TDOBJECT = 'EKKO'.
Function module to read text
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = V_TDID
LANGUAGE = sy-langu
NAME = V_TDNAME
OBJECT = V_TDOBJECT
ARCHIVE_HANDLE = 0
IMPORTING
HEADER =
TABLES
LINES = T_LINE
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
.
Madhavi.