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

material long description text object and text id

Former Member
0 Likes
8,142

Hi,

i need to display material long description Using FM 'READ_TEXT' .How can i know text object and id for long descritption. I checked in MM02 in basic data text tab i could not find anything. Please help me.

Regards,

Suresh.

1 ACCEPTED SOLUTION
Read only

Former Member
5,215

hi,

u can find the material long description in the text tab of item. u can find the tdid, tdname and tdobject if u click on menu bar goto->header.

Rgds.,

subash.

Hi,

i need to display material long description Using FM 'READ_TEXT' .How can i know text object and id for long descritption. I checked in MM02 in basic data text tab i could not find anything. Please help me.

Regards,

Suresh.

9 REPLIES 9
Read only

Former Member
0 Likes
5,215

Do you mean Purchase Order Text by long text??

Regards,

Aparna

Read only

0 Likes
5,215

Hi,

not purchage order text .i want material long description.

Regards,

Suresh

Read only

0 Likes
5,215

For material you can see material long text, Sales text etc..

please check the below



 APPLOBJECT  MATERIAL
 TEXT_NAME    Matl no. (18 char.) 
 TEXT_ID    BEST , GRUN, or IVER
 LANGU    SY-LANGU

 APPLOBJECT  MDTXT
 TEXT_NAME    Matl no. (18 char.) +  Plant
 TEXT_ID    LTXT
 LANGU    SY-LANGU

APPLOBJECT  MVKE
 TEXT_NAME    Matl no. (18 char.) + Sales organization and distribution channel 
 TEXT_ID    0001
 LANGU    SY-LANGU

 

Read only

Former Member
5,216

hi,

u can find the material long description in the text tab of item. u can find the tdid, tdname and tdobject if u click on menu bar goto->header.

Rgds.,

subash.

Read only

Former Member
0 Likes
5,215

Hi Suresh,

To find text id,

Text ID of text to be read:

The text ID defines a further subdivision of the texts for a text object. Valid values for the text ID are defined in table TTXID.

To find object of text id,

Object of text to be read:

The text object is part of the text key and assigns the text module to a specific application object. Valid text objects are defined in table TTXOB.

If it useful, reward points,

Thank you,

Prasad G.V.K

Read only

Former Member
0 Likes
5,215

Hi suresh,

Go to your requirement T.Code ( for example : vf03,vf02,,,).

There is a tab like ' Head.Text' or 'Item .Text'.

Click that Tab after that click 'DISPLAY LOG' logo. There you will find Object and ID for corresponding Text.

Hope this help.

With Regards,

T.Durai murugan.

Read only

0 Likes
5,215

Hi,

iam using MM02 transaction.in that i selected basic data view.

in the basic data view click on basic data text(last tab).

i entered some long text.how can i know the text object and text id for that long text.

Regards,

Suresh.

Read only

Former Member
0 Likes
5,215

Hello


I_ID = 'GRUN'.
I_LANGUAGE = SY-LANGU.
I_NAME = YOUR_MATERIAL_NUMBER.
I_OBJECT = 'MATERIAL'.

CALL FUNCTION 'READ_TEXT'
  EXPORTING
    ID                      = I_ID
    LANGUAGE                = I_LANGUAGE
    NAME                    = I_NAME
    OBJECT                  = I_OBJECT
  IMPORTING
    HEADER                  = I_HEADER
  TABLES
    LINES                   = I_LINES
  EXCEPTIONS
    ID                      = 1
    LANGUAGE                = 2
    NAME                    = 3
    NOT_FOUND               = 4
    OBJECT                  = 5
    REFERENCE_CHECK         = 6
    WRONG_ACCESS_TO_ARCHIVE = 7
    OTHERS                  = 8.

Read only

Former Member
0 Likes
5,215

Hi,

Thanks for your replies.

Regards,

suresh.