Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Using Smartstyles in Smartform

jeff_broodwar
Active Participant
0 Kudos

Hi Experts,

I'd like to ask your assistance in a simple problem in using smartstyles. I have a project where I'll use the standard form SEPA_MANDATES (I created a custom form ZSEPA), now the problem is I would like to make spaces between each category (see screen shot spaces.jpg) the standard line space is too big.

I would like to make atleast half of the standard line (space when entered). I know to do this we should use smartstyles paragraph format, but in this case when I tried, I get a pop up "Unpermitted character formats being deleted" (unpermitted.jpg)

When you click ok, the form is ruined. can you please help me apply the spaces I need?

Please create a copy of the standard form SEPA_MANDATE, then when you try to use smartstyles, these popups will trigger...

Thanks!

Jeffrey Broodwar

1 ACCEPTED SOLUTION

jeff_broodwar
Active Participant
0 Kudos

Hi Everyone,

Thanks for your help, I solved the problem. instead of making a line between customer and address and putting Z in between, I placed the paragraph format in the last line where the partition should start. see screenshot below. I used space after instead of line spacing.

I used to make blank space in the red line's location above then put Z instead of asterisk. This didn't do any good. instead I placed my created paragraph format before the last line (boxed above) having space after value set, this made the space I need. trial and error made it right.

Thanks for all the help, Anyway I got a last question, when I try to click and try to put a new paragraph format I still see a message saying that my custom style( configured to both form and text nodes) not available...

Why is this message being thrown?

Again, thakns for all the help.

Thanks,

Jeffrey Broodwar

18 REPLIES 18

Former Member
0 Kudos

you haven't included the smart style in smart form...have you? this usually come when form doesn't recognize character/para format because of non-availability of style. pls check.

Rgds

jeff_broodwar
Active Participant
0 Kudos

The standard doesn't come with the smartstyle. anyway I searched for smartstyles and found SEPA_MANDATE_STIL, copied this to my own Z style. now, I created a z paragraph format...I cannot use this in the change editor window (instead of asterisk I want to use Z but a message pops saying zsepa_mandate_stil not available) why is this?

Also I have attached the missing attachments in my original post. ( I cannot post attachment, I'm receiving error "The content type of this attachment is not allowed) trying to post a jpeg file... wierd.

Thanks,
Jeffrey Broodwar

Former Member
0 Kudos

Jeffrey screenshot is missing:-(

0 Kudos

Hi Raja, I cannot attach a screenshot...I dont know why...

0 Kudos

Ok I used insert image instead

0 Kudos

Hi Jeff,

1) Please check & activate the style in smartforms transaction.

2) Put the same in form properties - output options tab.

BR.

0 Kudos

Hi,

You need to see a the style used in the Old editor for the lines then insert a new paragraph style in the smart styles that is being used Then insert a new line with that paragraph format, should work.

Cheers,

Arindam

Former Member
0 Kudos

Hi Jeff,

save and activate your Smartstyle, after this your style should work. You can also insert an empty line after your adress to get enought space.

Cheers

Former Member
0 Kudos

Hi,

First you create the Smart style in the TCODE smartforms with the required format which you want.

And then use this style in the Output options of the form.

Thanks

Pavan.N

soumik_de2
Participant
0 Kudos

hi ..................

Former Member
0 Kudos

Hi Jeff ,

The problem would be the character format you have created and used in the smartforms . If you could attach the text editor where you have used the style formats. Simple for line space we usually no need for style . For the space as mentioned in the discussion empty paragraph could be used .attach the close the discussion if you have complete the task .here i will attach screen for reference.

regards,

sanjith n

0 Kudos

Hi All,

Thanks for your response, The normal linefeed takes huge space (see attached Normal Linefeed.jpg)

I also attached the change editor (change editor.jpg)

I copied the standard smartstyle sepa_mandate_stil and created my own Zstyle. under paragraph formats I copied L paragraph format and created my own Z paragraph format, I only changed line spacing from .90 to 1.50 and Indent left margin from .20 to blank. see screenshot SmartStyle.jpg

I tried changing * to Z in change editor but cannot get the desired output..

Thnaks,

Jeff

0 Kudos

hi jeff,

Nice to see your reply .first the unpermitted character format error rectified is it ?

then what you have mentioned is correct that instead of * you used 'Z'.

To confirm this style is working first try to apply the smartstyle globally as displayed below .

If that doesn't work try the next option as shown in the image .

the above mentioned is for particular text specially a style has been used .

Finally no reflection in the output as expected just increase the line spacing in the style . this is just to check the smartstyle is working or not.(Note : you can give more line space and check.for testing purpose only )

you can also check the line space by taking the printout .because in the printout you may get the expected space by simply using standard *.

NOTE : in the style header data you will name the standard paragraph format .It will be considered when you are trying to use * in paragraph format this could be confirmed by using BOLD in the style .Feel free to ask any doubts .

Regards,

Sanjith N

jeff_broodwar
Active Participant
0 Kudos

1 more thing, when I try changing * to Z, I search for the paragraph format I created Z, but I get the message

ZSEPA_STYLE not available...

0 Kudos

hi jeff ........ you have almost done...........

please activate the z style it will solve your issue........................

nd follow my post properly step by step. enjoy.........

0 Kudos

Hi Jeff,

Have you attached the Smart style to the smartform?

Thanks & Regards

0 Kudos

Hi Manu,

I put the style in the text node, not in the form node, but I added it aswell, still no effect.still the same.

jeff_broodwar
Active Participant
0 Kudos

Hi Everyone,

Thanks for your help, I solved the problem. instead of making a line between customer and address and putting Z in between, I placed the paragraph format in the last line where the partition should start. see screenshot below. I used space after instead of line spacing.

I used to make blank space in the red line's location above then put Z instead of asterisk. This didn't do any good. instead I placed my created paragraph format before the last line (boxed above) having space after value set, this made the space I need. trial and error made it right.

Thanks for all the help, Anyway I got a last question, when I try to click and try to put a new paragraph format I still see a message saying that my custom style( configured to both form and text nodes) not available...

Why is this message being thrown?

Again, thakns for all the help.

Thanks,

Jeffrey Broodwar