Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Download SAP Notes programmatically


can anyone help me with this issue? I am unable to download SAP Notes from python with my SCN Id.

I tried several ways to do this, for example:

#!/usr/bin/env python3

# -*- coding: utf-8 -*-

import requests

from requests.auth import HTTPBasicAuth

asapnote = ""

username = "S00XXXXXX"

password = "XXXXXXXXX"

r = requests.get(asapnote, auth=HTTPBasicAuth(username, password), allow_redirects=True)

print ("RC: %d" % r.status_code)

print (r.headers['content-type'])

print (r.encoding)

print (r.encoding)

print (r.text)

But I always get the following:

RC: 401



I am interested in extract 'Symptom' and 'Other tems' sections and build my own database of terms to search quickly.

Is this possible?

Thanks in advance


The convenient way is to use OData2 services at .

0 View this answer in context
Not what you were looking for? Ask a question