Menu

#6 pysaprfc trims out leading spaces

open
nobody
None
5
2010-11-12
2010-11-12
No

I made a simple program with pysaprfc that calls function module RPY_PROGRAM_READ to download ABAP sources. (I want to track development progress with a source control management tool.)
Unfortunately pysaprfc (apparently) trims leading spaces so that source code indentation gets lost completely.
If I run RPY_PROGRAM_READ in SE37, leading spaces are retained.
If I run RPY_PROGRAM_READ with startrfc from the RFC SDK, leading spaces are retained, too.

Discussion

  • Christian Knappke

    Sample program

     
  • Christian Knappke

    uploaded test program myrfctest.py

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.