Application Development and Automation 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: 
Read only

Removing Style from multiple window, text, template,command in smartform

Former Member
0 Likes
1,452

hi,

i am wondering is there a shortcut to remove a certain style from all the objects of a single form. as i have a case where template,window,text,command contains output option style defined.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,337

Hi Ahmed,

A simple, yet useful tip:

1. Download the form to your local harddrive

2. Edit the form with a text editor (eg. Notepad++)

3. Find & replace the style you wish to remove. Leave the replace field empty.

    The style is embraced by tags.

4. Upload the form to SAP again and overwrite the original (first remove the original, then upload changed form).

Have fun!

Best regards,

Zhou

4 REPLIES 4
Read only

Former Member
0 Likes
1,337

Hi,

There us no shortcut for removing style from each object, you have to remove it by going in each object.

If you are using style randomly anywhere in the form, you can define the smartstyle at

Global Settings-> Form Attribures->output options.

Regards,

Ashish Patil         

Read only

venuarun
Active Participant
0 Likes
1,337

Hi Ahmed,

If you are using same style for all windows then you can declare it globally.No need of declaring styles in each window.

With Regards

Arun VS

Read only

Former Member
0 Likes
1,338

Hi Ahmed,

A simple, yet useful tip:

1. Download the form to your local harddrive

2. Edit the form with a text editor (eg. Notepad++)

3. Find & replace the style you wish to remove. Leave the replace field empty.

    The style is embraced by tags.

4. Upload the form to SAP again and overwrite the original (first remove the original, then upload changed form).

Have fun!

Best regards,

Zhou

Read only

rajkumarnarasimman
Active Contributor
0 Likes
1,337

Hi Ahmed,

Here the style properties and all stored inside program(function module) as shown below, so we have to change the style attribute value in output options tab only.

The Style values is passed in WRITE_INCLUDE_TEXT in the respective smartform program as shown below.

Regards

Rajkumar Narasimman