cancel
Showing results for 
Search instead for 
Did you mean: 

Can I release a Python library for accessing B1 Service layer as open source?

0 Kudos

Hello all,

I am in the process of writing a Python module to simplify accessing B1 through the service layer and would like to know whether there is any restriction that would prevent me from doing so.

It appears that all of the resources that I am using are publicly available.

So, it seems that it should be permissible...

Am I missing anything?

richardduffy
Active Participant

I would think that there is nothing blocking you from doing this.

SAP validates the correct licensing and access to the Service Layer when calls are made by checking the user name etc and all you are doing is providing a "wrapper".

I would not expect SAP will give you a definitive answer as this is a licensing style question and they very rarely commit to any firm definitions when it comes to licensing or access 😉

Accepted Solutions (1)

Accepted Solutions (1)

MichaelPicht
Advisor
Advisor

OK, I understand. In this case, I assume that you work on the Python library on behalf of your employer. Your employer might have an own policy for open sourcing such code. I recommend that you check with the responsible team of your employer whether an open sourcing of that library is OK or not. I am working for the SAP Open Source Program Office, and we cannot make this decision. Of course you have to adhere to the corresponding license agreement for the B1 services and APIs that are used by your library.

Answers (2)

Answers (2)

MichaelPicht
Advisor
Advisor
0 Kudos

Hi Jay,

the reason why each open sourcing request must go through a (lean) approval process is exactly to check whether it is OK to open source the code or not. Thus, I ask you to start the process for your request. Otherwise you are not allowed to open source the code. The wiki page that I linking should be readable by everybody inside SAP. Thus, I wonder why you cannot access it. You are SAP employee, right?

0 Kudos

Ah - there is where the misunderstanding is... I am not an SAP employee. I'm a customer 🙂

MichaelPicht
Advisor
Advisor
0 Kudos

Hi Jay,

basically, that should be possible. As SAP's open source policy requires, you must get an approval for releasing your library under an open source license. Please have a look at this documentation.

Prerequisite is that the B1 API'S that your library uses are publicly released. Otherwise, our competition could retrieve information about these API's from the open source code - our legal department would have problems with that.

0 Kudos

Hello Michael,

Thanks for your response. Unfortunately, I cannot access the documentation that you are referencing...

But, the only thing that I am essentially doing is to create wrappers that implement the B1 Service Layer based on the publicly available 'Working with SAP Business One Service Layer' documentation.

So, that should be acceptable - no?

Since I started checking - there are numerous blog posts that detail using the same interfaces... Just not a comprehensive one for Python.