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

Read_text FM

Former Member
0 Likes
1,040

Hi all,

I am looking into a program which uses the following read_text FM

call function 'READ_TEXT'

exporting

  • CLIENT = SY-MANDT

id = 'ZS13'

language = 'E'

name = w_name

object = 'VBBK'

  • ARCHIVE_HANDLE = 0

  • IMPORTING

  • HEADER =

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.

read table tlines index 1.

with the above information, how can I find the transaction in which or where the correspoding text is maintained.

Thanks,

Rajan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
989

Hi Rajan Usman Basha,

There is one trick for it.. it may work for your case

Goto SE11

Table STXH

Enter Object ID

TDOBJECT

TDNAME

TDID

TDSPRAS

And See the value of the field TDMACODE1

Generally it will be T-Code and Program Name combination.. Again it may depend on the configuration...

Just Give a Try for it..

Once you know the T-code... Try to get to the header or item texts Tab

Hope it will solve your problem..

Thanks & Regards

ilesh 24x7

ilesh Nandaniya

Hi all,

I am looking into a program which uses the following read_text FM

call function 'READ_TEXT'

exporting

  • CLIENT = SY-MANDT

id = 'ZS13'

language = 'E'

name = w_name

object = 'VBBK'

  • ARCHIVE_HANDLE = 0

  • IMPORTING

  • HEADER =

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.

read table tlines index 1.

with the above information, how can I find the transaction in which or where the correspoding text is maintained.

Thanks,

Rajan

7 REPLIES 7
Read only

Former Member
0 Likes
989

Hi,

object = 'VBBK' refers to the Sales order Header Text. To find the ID execute tcode VA02 go to->header text. Double click on the texts maintained and check header of the same.

Regards,

Vaishali.

Edited by: Vaishali Rautray on Nov 16, 2009 8:48 AM

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
989

STXH,STXL and STXB are the tables used

and if you want to get the details to be passed to the functional module then,

for example if you want to know the header text used in vlo1n (delivery Order) transaction,

got to vl02n - > enter order no-> choose menu path goto->header->texts

double click on the screen editor.

it will lead you to graphical editor

again choose menu goto->header.

Read only

Former Member
0 Likes
989

Hello,

goto the Fm and chec the parametrs import there we have ID that link with structure si THEAD in this we have TDFORM Form Name based on those we can find the tcode using NACE tcode...

Thanks & Regards,

Santhosh R

Read only

0 Likes
989

I know how to obtain the input parameters for the FM. But, what I want is with the available inputs, I have to find the place where I have to maintain the text.

Thanks,

Rajan

Read only

0 Likes
989

Check Transaction SO10

Read only

Former Member
0 Likes
989

Hi Rajan,

As far i know, first drill down step will be the read texts input Name. If we pass the invoice number then we can check in VF02 or if we pass sale order number then we can check in VA02. The next step will be text id. As Vaishali Rautray said, VBBK denotes sale order header text and VBBP denotes sale order item text. You can find the same in invoice also.

Read only

Former Member
0 Likes
990

Hi Rajan Usman Basha,

There is one trick for it.. it may work for your case

Goto SE11

Table STXH

Enter Object ID

TDOBJECT

TDNAME

TDID

TDSPRAS

And See the value of the field TDMACODE1

Generally it will be T-Code and Program Name combination.. Again it may depend on the configuration...

Just Give a Try for it..

Once you know the T-code... Try to get to the header or item texts Tab

Hope it will solve your problem..

Thanks & Regards

ilesh 24x7

ilesh Nandaniya