‎2013 Feb 05 3:48 PM
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
‎2013 Feb 05 4:10 PM
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)
‎2013 Feb 05 4:48 PM
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
‎2013 Feb 05 6:15 PM
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
‎2013 Feb 06 6:57 AM
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.
‎2013 Feb 06 12:07 AM
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