cancel
Showing results for 
Search instead for 
Did you mean: 

single and double qoute

former_member361003
Participant
0 Kudos

Hi All,

How could I output this in smartforms:

"Company" and

Employee's account

Any help highly appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Create Program line in smartform by right clicking on node use path as:-

create->Flow Logic->Program Lines.

Here you can define input and output variable if you want to print values in front of hard coded text.

Here you can define variable1 and variable2 parametes in input and output parameters.

Write:/ "Company" , &variable1&

write:/ "Employee's account", &variable2&

Hope this works for you.

Thanks.......

former_member361003
Participant
0 Kudos

Thanks guys for all the help. Actually I solved by typing directly in the smarforms. Initially I just copied and paste document from word to smartforms and it display other characters for qoute and double qoute however once I just typed in smartforms itself, it working fine.

again, thanks for all the help.

really appreciated.

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

To get the Double Quotes you need to simply concatenate the ". You can do this in Code element.

Variable = 'Company'.
Concatenate '"' variable '''' INTO Company.

To get the 'S then you need to dao this way.
DATA: l_s      TYPE char4 VALUE '''s',
Concatenate emp_name l_s into emp_name.

Former Member
0 Kudos

Hi,

In the text node give the Words like,

example:

"Employe'e".

without && if u give anything it will be printed like that in the form.

Thanks,

Nithya.

Former Member
0 Kudos

Hi,

Create text node in your windows and write the required text.

Former Member
0 Kudos

Hi Bijay,

Can you be more eloborate.

To what i understood here are the steps:

1.In your report program include the function module of your smartform.

2.For company codes use thta particular table and fetch the data.

Now, In your form make use of text elemnts and include your data.

Now ifyou want to mention your company as "Company" or something.

Try taking ( " ) into a character variable say,

w_char = '"'.

and make use of it in your form like this.

&w_char&&company&&w_char&

Hope it helps!

Much Regards,

Amuktha.

Edited by: Amuktha Naraparaju on Feb 12, 2009 5:11 AM

Edited by: Amuktha Naraparaju on Feb 12, 2009 5:15 AM