Skip to sidebar Skip to content
Ipercube Technical
Jack of all trades, master of none
Date: Time: - Stardate:
Welcome, Log in by clicking  Here!
SS64
MDN
Stack
Code
GitHub
Wiki
Convert
V Studio
  • Home
  • VB Functions
    • Access Functions
    • Assembly Info
    • Color/Image Functions
    • Data Table Functions
    • Email Functions
    • Active Directory Functions
    • LDAP Functions
    • Excel Functions
    • Logging Functions
    • Source Code Retrieval
    • String Functions
    • Sql Functions
    • Object Utilities Functions
    • System and Utilities
    • Utility Forms
  • VB Classes
    • Environment Variables Helper
  • ABAP
    • ABAP Reports
    • ABAP HTTP Functions
Ipercube Technical
  • Home
  • VB Functions
    • Access Functions
    • Assembly Info
    • Color/Image Functions
    • Data Table Functions
    • Email Functions
    • Active Directory Functions
    • LDAP Functions
    • Excel Functions
    • Logging Functions
    • Source Code Retrieval
    • String Functions
    • Sql Functions
    • Object Utilities Functions
    • System and Utilities
    • Utility Forms
  • VB Classes
    • Environment Variables Helper
  • ABAP
    • ABAP Reports
    • ABAP HTTP Functions

ABAP HTTP Functions

Managing files in web server via HTTP

I wrote these ABAP functions when I had to read/write from a BSP application a lot of PDF from/to a SAP Portal used as repository (PDF was stored in KM). Below the ABAP functions which reflect four methods supported by HTTP Protocol 1.0 (HEAD, GET, PUT, DELETE).

Using the HTTP 1.1 protocol, an HTTP Extensions for Distributed Authoring (WEBDAV), two additional methods are available (COPY and MKCOL). The web server must support the HTTP 1.1 protocol, but today all of them support this extension. So I completed the job with the functions to copy files and create directories.

Using the above functions, I also wrote an additional one to RENAME files in HTTP server.

If a web server is WEBDAV enabled, it’s possible to link custom properties to every file (for example a title, a project code, etc.). For this purpose, I wrote two functions that read and write custom properties.

Here the functions:

  • HTTP Copy – Copy a file on the same web server
  • HTTP Delete – Delete a file on a web server
  • HTTP Get – Get a file from a web server
  • HTTP Head – Check file existence on a web server
  • HTTP MkCol – Create a folder on a web server
  • HTTP Properties Get – Get properties of a file on a web server
  • HTTP Properties Set – Set properties of a file on a web server
  • HTTP Put – Put a file on a web server
  • HTTP Rename – Rename a file on a web server
Posted by ipercube


© 2026 Ipercube Design