cancel
Showing results for 
Search instead for 
Did you mean: 

Submitting the values to the Standard text and print them in Smartforms

Former Member
0 Kudos

Hi All,

I have a requirement, where i need to submit some values to the standard text and then print that text in smartforms.

I have called the standard text in the smartforms, but iam unable to pass values to text i.e. printed

Eg: Standard text : This form is printed by &user-id&.

In form i have passed the value user-id = 'TEST'.

Now in printout :

THIS FORM IS PRINTED BY TEST.

PLEASE SUGGEST ME ...

THANK YOU

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

We need to specify the Web Properties tab with following details

Field Name:

Input type: text

Feild length:

Maxi length:

this will solve the problem

Former Member
0 Kudos

Hi,

Thanks for your reply.

I did the same , but my standard text contain a variable , which i need to get in runtime then fill that variable and print the whole text..

Eg:

Standard text in So10 : This form is printed by &user-id&.

In form i to have pass the value user-id = 'TEST'.

Now in printout it shld look like this :

THIS FORM IS PRINTED BY TEST.

Former Member
0 Kudos

Hi Aditya,

Then in that case, maintain the text as *This form is printed by* in SO10.

Get this text using READ_TEXT into v_text. and u can display &sy-uname& as usual.

can u try in this way ?

Former Member
0 Kudos

Hi Aditya,

we can insert the standard text in smartform in this way.

1. Initially create the standard text in SO10.

2. In smartform, create a text element. There select the Text type as "Include Text".

There pass the Text name as the one that you created in SO10 & text obj as TEXT and Text ID as ST.

Thats it.