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

REG:FM READ_TEXT.

Former Member
0 Likes
772

Hi to all,

in tcode me13

i have to retrive the text from two lines.

i.e in script window the first line text

and second line text.

can any one help me

with regards

satish

Hi to all,

in tcode me13

i have to retrive the text from two lines.

i.e in script window the first line text

and second line text.

can any one help me

with regards

satish

5 REPLIES 5
Read only

naimesh_patel
Active Contributor
0 Likes
736

Hello,

For getting this texts pass these parameters to Read_text

1. Info record text,

Name: Info rec number

Language = sy-langu

Text id = 'AT'

Text object = 'EINA'

2.Purchase order text

Name : Info rec number + Purchasing org + 0 + Plant

Language = sy-langu

Text id = 'BT'

Text object = 'EINE'

Regards,

Naimesh

Read only

0 Likes
736

hi naimesh,

thanks for your answer.

but my requirement is in Info record text window

eg:first line contains manufacurer name

second line contains supplier name.

i have to retrieve the texts .

Read only

Former Member
0 Likes
736

Hi,

use table stxh,stxl and FM read_text

to know text id

me13->header-text->goto->header

Regards

amole

Read only

Former Member
0 Likes
736

HI

GOOD

CHECK WITH THESE PROGRAMS

MM06IFTE_TEXT_LESEN

MM06IFTE_TEXT_UEBERNAHME_INFO

THANKS

MRUTYUN

Read only

Former Member
0 Likes
736

Hi satish,

Use below code

CALL FUNCTION 'READ_TEXT'

EXPORTING

  • CLIENT = SY-MANDT

ID = 'AT'

LANGUAGE = SY-LANGU

<b> NAME = EINA-INFNR</b> OBJECT = 'EINA'

TABLES

LINES = LINES

EXCEPTIONS

ID = 1

LANGUAGE = 2

NAME = 3

NOT_FOUND = 4

OBJECT = 5

REFERENCE_CHECK = 6

it_lines internal table contains all lines

of info record

Regards

amole<b></b><b></b><b></b>