‎2015 Sep 29 12:51 PM
Hi All,
in the smartform for the invoice I try to call a header text. Everything in the header text is printed, but not the standard text inside the header text.
So, in the header text we have a line like:
/: INCLUDE ZSD_STANDARDTEXT OBJECT TEXT ID ST LANGUAGE EN
The call in the smartform is with 'include text' where the corresponding object 'VBBK' and ID 'Z020' etc is called.
Is this possible anyway?
thanks & regards,
Ron.
‎2015 Sep 29 1:26 PM
Hi Ron,
You can insert standart text like this :
And you can insert header text like this :
‎2015 Sep 29 1:26 PM
Hi Ron,
You can insert standart text like this :
And you can insert header text like this :
‎2015 Sep 29 1:46 PM
Hi Omer,
thanks for your fast reply. I know how to insert the texts into the smartform, but thanks. My situation is slightly different. I have a standard text inside of the header text. And this does not seem to work.
So, when I goto the invoice -> header -> texts, and double click on it, I have:
/: INCLUDE STANDARD_TEXT OBJECT TEXT ID ST LANGUAGE EN etc.
‎2015 Sep 29 2:29 PM
I got it now. So how do you insert a standart text inside header text?
If you insert without "Expand Immediately" context of header text like this :
INCLUDE EXP_DOCUMENTS OBJECT TEXT ID ST LANGUAGE EN
If you insert with "Expand Immediately" context of header text like this :
Regular Cartons
Special Cartons
Badatz Kosher
Regular Kosher certificate
Passover Kosher certificate
Veterinary documents
‎2015 Sep 29 3:24 PM
I guess using the 'expand immediately' is obligatory? I don't want it to be expanded immediately. Because if I do that, then the text is no longer maintained it at one place. *(SO10)*
‎2015 Sep 29 3:54 PM
Hi Ron,
smartforms is not able to Interpret commands which are stored in old TLINE formatted texts. You will need to write some ABAP coding scanning the longtext for /: INCLUDE and read the text yourself.
Regards
Oliver
‎2015 Sep 29 4:08 PM
Thanks. So, I will read the header text with the FM READ_TEXT and scan the TLINE table for any include text; and print it.
I guess this is the only option. Thanks for thinking along with me!
regards,
Ron.