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

pretty painter

Former Member
0 Likes
1,321

Hi experts,

Is this possible that i can do pretty painter for specific part of code.I mean i dont want to do pretty painter for whole program but only for a subroutine..is this possible??

Hi experts,

Is this possible that i can do pretty painter for specific part of code.I mean i dont want to do pretty painter for whole program but only for a subroutine..is this possible??

10 REPLIES 10
Read only

Former Member
0 Likes
1,228

yes..

it's possible.You can select subroutine code & use pretty printer option.

it should work.

Thanks.

Read only

Former Member
0 Likes
1,228

hi,

select the block of code and then click on Pretty Printer. This should work. Also, this varies from version to version.

regrds,

shamim.

Read only

Former Member
0 Likes
1,228

in menu Utilities->Settings->pretty printer

check out if there are any options available

Read only

Former Member
0 Likes
1,228

Hi,

You can do that one, Just click the options of the Pretty Printer and select the perfect options, and while doing the Pretty printer select the the desired part and press the Pretty printer

Regards

Sudheer

Read only

Former Member
0 Likes
1,228

Hi

Use this FM to use the pretty printer

PRETTY_PRINTER

Regards

Shiva

Read only

Former Member
0 Likes
1,228

hi gaurav

you may select the subroutine and then u can use pretty printer option. u you can either do it by using the tab of pretty printer or u can go from utilities--


> setiings--


> pretty printer.

hope this will help u.

Read only

Former Member
0 Likes
1,228

Hi Experts

I tried but by selecting the code and using pretty printer option will do pretty printing for all the code.I dont want whole code pretty printed but a specific part of code only.So selecting and doing pretty printer is not working onmy system as desired.

What can we change in pretty printer settings to acheive this??

How to use above mentioned FM for particular code??

Regards

Gaurav K

Read only

0 Likes
1,228

1. In menu Utilities->Settings>Select Pretty Printer Tab

2. Remove the check box for <b>Indent</b>

3.Now in ur code select the code u want to indent and click on pretty print button, it will work, i had checked

Read only

0 Likes
1,228

Hi Gaurav,

Is your problem solved with my last solution?

Read only

0 Likes
1,228

Hi Chandar

I tried with the given solution.But it is showing

' Pretty print not executed (it is switched off in the settings)'

So, it is not working as desired.

in pretty paiinter tab, no checkbox was clicked and above error i m getting.If it is working in your system that means it may vary from version to version.

Mine is R/3 Release 4.6C.

Check your system.But I am sorry to say that above mentioned solution is not working for me.

Regards

Gaurav K