‎2010 Jan 08 10:07 AM
Hi,
I am using a 'Read_Text' function in smartform, but smartforms does not allows it , while executing it gives dump stating
'The call to the function module "READ_TEXT" is incorrect:
The function module interface allows you to specify only
fields of a particular type under "NAME".
It will be helpful if any one can throw more light on this.
Thanks
Rani
‎2010 Jan 08 10:12 AM
Hi,
You can call the READ_TEXT function module from a smartform just as you can from any other piece of ABAP.
If the field in your smartform that holds the text name is not of the same data type as the function module interface then you will need to convert it before making the call.
Presumably there a reason why you are calling this function module and not using an Include Text.
Regards,
Nick
‎2010 Jan 08 10:36 AM
Hi,
In place of calling Read_text function module
you can create an Text Module from the tcode
Smartforms and include them in the text elements created.
Hope it helps
Regards
Mansi
‎2010 Jan 08 11:16 AM
from where are you reading the text ie : form which transaction adn which tab..
for example if you are reading from text from sales item.. ie : sale order item
go to VA02 --> give sales orde number , double click on the line item, then select the tab texts.
now double click in the editor screen where you give text..
after that go to menu path go to --> header
you can check the text name it is 16 digit number but which i nothing but sales order number + item no
you need to concatenate sales order number and item number and pass it to name in the read text fucntion module which basically read texts..
how to use read_text fuction module you can check in forum you will get many links.
If you need further info please let me know..
Regards
Satish Boguda
‎2010 Jan 09 7:52 AM
Thanks Nick , Manasi & Satish,
I am able to use 'Read_text' in smartform,
Thanks for your support
Rani