‎2014 Feb 26 7:52 AM
Hi Experts,
I have connected customized smartform (YFI_REMINDER) which is a copy of F150_DUNN_SF to F150. Now, in F150 when I click on saple print out it gives the following error:
Please note that in the customized smartform, I have deleted all the text elements with Include Texts. Please suggest how to do?
Regards
Mani
‎2014 Feb 26 9:43 AM
‎2014 Feb 26 8:13 AM
Hi Mani,
Use Global Search string 'PERFORM %MOVE USING %TEXTKEY-' in the function module name of your SMARTFORMS name,
Not "YFI_REMINDER".
If you can find that, means there are include texts exist.
Then you can check table STXH of the include text.
Regards.
‎2014 Feb 26 9:16 AM
Hi,
I have found one. How to delete this?
I am finding in the smartform manually. Is there any shortcut?
Thanks in advance
Mani
‎2014 Feb 26 9:26 AM
I tried to find it out manually but unable to find include text.
‎2014 Feb 26 9:34 AM
Click that source and you may find the text name like below code.
PERFORM %WRITE_INCLUDE_TEXT USING <TEXTNAME> %TEXTKEY SPACE SPACE 'P'.
Then go to your smartforms and find that text named <TEXTNAME>
Regards.
‎2014 Feb 26 9:51 AM
in smartform there is also the ability to use the 'no error if include text is missing'
this is very useful in the event that the text is of an ad-hoc nature - and means you can have flexible layouts. Try and explore this first...
‎2014 Feb 26 10:38 AM
Hi Steve,
Thanks for the reply. The problem was to find the text element with include text. I copied from the standard form.
Mani
‎2014 Feb 26 9:43 AM
‎2014 Feb 26 9:53 AM
Feiyun,
Bingo.
The functional specification has many logics given. The logics have tables which are not there in the smartform or driver program, it would be great if you could give a sample code of how to retrieve data from another table.