Application Development 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: 

How to retrieve the Line item Text

Former Member
0 Kudos

Hello,

I need to retrieve the Line item Text in the PO (Material PO text). Can anyone provide me a sample code? i need to display this in a smartform.

I could not retrive it from the Function Module READ_TEXT.

Can any one help me regarding this?

Regards,

kvsskirankumar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI,

Use function module READ_TEXT to fetch PO line item text by passing id, language, name and object.

For Ex:-

CALL FUNCTION 'READ_TEXT'

EXPORTING

CLIENT = SY-MANDT

id = 'F01'

language = 'E'

name = << concatenate PO number & line item>>

object = EKKO

tables

lines = g_t_ltext.

Thanks & Regards

Sudheer Madisetty

1 REPLY 1

Former Member
0 Kudos

HI,

Use function module READ_TEXT to fetch PO line item text by passing id, language, name and object.

For Ex:-

CALL FUNCTION 'READ_TEXT'

EXPORTING

CLIENT = SY-MANDT

id = 'F01'

language = 'E'

name = << concatenate PO number & line item>>

object = EKKO

tables

lines = g_t_ltext.

Thanks & Regards

Sudheer Madisetty