Showing results for 
Search instead for 
Did you mean: 

The use of Function Module PRETTY_PRINTER is not permitted on BTP

Active Participant
0 Kudos


I have an idea to use BTP as a service for another ABAP code generation.

For that purpose generated code needs to be formatted.

Do you think is possible to enable PRETTY_PRINTER FM / or alternative class for use on class to be able to format code from the provided strings?

Thank you!

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hello Petr,

judging from your question I assume that you are making use of the Generation APIs for classes of the XCO Library Cloud Platform edition to generate classes in the BTP ABAP environment.

The topic of pretty printing is part of the internal backlog of the XCO Generation APIs for classes and interfaces. Unfortunately, I currently cannot make a statement as to when this functionality will become available as we do not yet have a concrete roadmap for this feature.

Best regards,


0 Kudos

Hello Petr,

The following blog by Frank Muller might prove helpful w.r.t pretty printer.

AMDP Pretty Printer