09-28-2005 7:19 AM
Hello friends,
i would like to include a text within a smartform into a text modul using a variable. The variable contains the name of a sapscript text (SO10-text).
I have already seen an example:
*INCLUDE &TVKO-TXNAM_ADR& OBJECT TEXT ID ADRS
But i can not edit this command. How can i include such kind of commands? There are a patter function available within transaction smartforms or something like this.
daniel
09-28-2005 7:39 AM
hi,
in smartforms Text element - > general attributes - > choose text type (text element / text module / include text )
*INCLUDE &TVKO-TXNAM_ADR& OBJECT TEXT ID ADRS
in your requirement choose include text
textname &TVKO-TXNAM_ADR&
textobject TEXT
text id ADRS
language EN
is this your problem or i understood somthing wrong
cheers,
sasi
09-28-2005 7:39 AM
hi,
in smartforms Text element - > general attributes - > choose text type (text element / text module / include text )
*INCLUDE &TVKO-TXNAM_ADR& OBJECT TEXT ID ADRS
in your requirement choose include text
textname &TVKO-TXNAM_ADR&
textobject TEXT
text id ADRS
language EN
is this your problem or i understood somthing wrong
cheers,
sasi
09-28-2005 7:55 AM
Daniel,
Sassi hit the nail on the head. Just one point though, when you are passing variables into a Include Text Text Node, you must click on the little arrow button inthe Text Key box.
For example, let's say you want to pass a variable in the Text Name, you will put &TEXTNAME& into the field, but to the right of the field you will see a little "Arrow" button. If this "Arrow" button is pointing to the right, the SmartForm is expecting a hard coded value, if it is pointing to the left, you can pass in a variable. To make the arrow switch click on it. You will notice that the text field now expands up to the "Arrow" button and the drop down function is now gone.
Hope this helps.
Cheers,
Pat.
PS.Kindly assign Reward Points to the posts you find helpful.
09-28-2005 7:40 AM
Hello Daniel,
No commands can be used in text editor,
you can change the text type as "Include Text" instead
and can give the text name, text object and text id in that node, u no need to create a text module for this,
hope this solves..
have a nice day.
09-28-2005 9:16 AM