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

Purchase Order Text

Former Member
0 Likes
1,728

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,550

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

12 REPLIES 12
Read only

Former Member
0 Likes
1,550

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

Read only

gopi_narendra
Active Contributor
0 Likes
1,550

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

Read only

Former Member
0 Likes
1,551

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

Read only

0 Likes
1,550

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.

Read only

0 Likes
1,550

method is same for header and item text. In text name, you will enter po/item together.

Read only

0 Likes
1,550

Hi sanjay.

thanks for reply,

but it doesnt give me any output can you plz give me small example.

Again thanks.

regards

Bhaskar

Read only

0 Likes
1,550

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

Read only

0 Likes
1,550

Hi friends.

I tried this but its not working.

I Tried both pono/po item and pono+poitem.

thanks in advance

regards

Bhaskar

Read only

0 Likes
1,550

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

Read only

0 Likes
1,550

Hi Friends.

Thanks For Reply.

Its working fine.

again thanks.

regards

Bhaskar

Read only

0 Likes
1,550

Close this thread if ur problem is solved by assigning poitns to the useful answers

Regards

- Gopi

Read only

Former Member
0 Likes
1,550

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.