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

text id doesnot exist error

Former Member
0 Likes
4,726

hello all,

I am ujwal the text in me51n header.

But when i enter the details of the text

ID:B01

Lang:En

and name in so10 it says 'text id doesnot exist for text object Text'

I have to use it in smartform and when i'm using include text there also its showing same error

but when i am using Read_text Fm its working fine

But even this is throwing error if no text is maintained

Can anyone help please

Thanks

ramesh

5 REPLIES 5
Read only

Former Member
0 Likes
2,285

Hi,

The standard text is differnt from the Header/Item text in transactions.

In your include text option in smartforms give the correspoding text object and text name. This info you can get it from double clicking the text, Goto-> header in the corresponding transaction (n your case ME52n/ME53n)

Read only

0 Likes
2,285

hi gayathri,

yes, I went to goto->header in me52n only and got the attributes as

text name :the pr number

text id :B01

languague :EN

Text Object: ebanh

If is use them in include text in SF......its says Text id B01 is not availble for text object TEXT

Thanks

Read only

0 Likes
2,285

Hello.

What you need to do is, to set the text name as dinamic value and put the value of &L_BANFN&

then EBANH, B01, EN, have alook the imagen that I added.

Regards

Miguel

Read only

0 Likes
2,285

Hi Ramesh...

r u passing the text object as 'TEXT'? text object TEXT is meant for standard text. Please pass 'EBANH' in place of text object in your smartform.

Read only

Former Member
0 Likes
2,285

Hi Ramesh,

To access Purchase requisition long text, you can use:

CALL FUNCTION 'READ_TEXT'

EXPORTING OBJECT = OBJECT

NAME = NAME

ID = ID

LANGUAGE = LANGUAGE

TABLES LINES = LINES .

Where OBJECT is 'EBAN', for purchase requisitions,

NAME is the purchase requisition number,

ID is the text id which specifies with purchase requisition text you want - defined in table TTXID.

Language is the required language. After the call, LINES contains the long text.

pass the above parameters in the FM.

The tables STXH and STXL will pull up data If and only if the text is maintained for the specific PR or(any other long text holdoing document),

which actually means that you should you have inserted the text using a text editor while in the creation of the PR.

After which pass the value to the text editor for display.

Hope this helps.

Regards,

Vikram