2006 Sep 21 7:16 AM
Hi,
In SAPScript, to write the long texts we have the command
INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID& LANGUAGE &EKKO-SPRAS& PARAGRAPH 'IT'
Similarly in Smartforms we use the INCLUDE Texts. But the problem is when I am using the INCLUDE Text in Smartform I am passing the TextName in Variable. It is not recognizing the variable.
Could anyone tell me how to use the INCLUDE Text in Smartform.
Regards,
Nitin
2006 Sep 21 7:46 AM
Hi
You have to define:
- a text node;
- use INCLUDE TEXT OPTION
- Insert your variables:
Text name &T166P-TXNAM&
Text Object &T166P-TDOBJECT&
Text ID &T166P-TDID&
Language &EKKO-SPRAS&
You have to use & just as in SAPSCRIPT
The structure T166P and EKKO have to be defined as global data in your smartform
Max
Hi,
In SAPScript, to write the long texts we have the command
INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID& LANGUAGE &EKKO-SPRAS& PARAGRAPH 'IT'
Similarly in Smartforms we use the INCLUDE Texts. But the problem is when I am using the INCLUDE Text in Smartform I am passing the TextName in Variable. It is not recognizing the variable.
Could anyone tell me how to use the INCLUDE Text in Smartform.
Regards,
Nitin
2006 Sep 21 7:38 AM
Hello,
Check where exactly u are passing the text name to varible, try to check in debugging mode.
Regards
2006 Sep 21 7:44 AM
Hi,
I have checked the value is thier in Variable but the smartform is not recognizing the variable in Text Name field in Include text. If I am giving the value directly it is printing the text but when I try to pass the same value in a variablr it is not printing the text.
I hope thier must be some procedure to use the INCLUDE Text in Smartform.
I want to know how do we use the INCLUDE Text in Smartform to print the Text?
Regards,
Nitin
2006 Sep 21 7:49 AM
2006 Sep 21 7:39 AM
Hello Gupta,
You have to supply the TEXT NAME,TEXT OBJECT,TEXT ID and LANGUAGE and it will get the text on basis of these keys.
Regards,
Shehryar
2006 Sep 21 7:46 AM
Hi
You have to define:
- a text node;
- use INCLUDE TEXT OPTION
- Insert your variables:
Text name &T166P-TXNAM&
Text Object &T166P-TDOBJECT&
Text ID &T166P-TDID&
Language &EKKO-SPRAS&
You have to use & just as in SAPSCRIPT
The structure T166P and EKKO have to be defined as global data in your smartform
Max
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |