cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with web services in SAP ByDesign

Former Member
0 Kudos

Hi experts!

Actually I have two problems about the integration between SAP ByDesign and my company's software:

- I am trying to find a web service to create expenses in SAP ByDesign, I don't need validation, I just need to create expense in the projects. I include a photo to see where I need to create the expense

- When I try to use the web service "ManageEmployeeTimeIn" in soapUI (I use it for testing), I always receive the same response "Authorization role missing for service". I have created communication agreement and I have set the credentials user and password, but I can't make it work...

Thanks in advance for your support and regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Someone could help me with the creation of expenses?

0 Kudos

Hi Alvaro,

kindly check the Web Service APIs in SAP Business ByDesign 1511 - November 2015 Here you find web services to create Supplier Invoices. When the supplier invoices have project assignments, the expenses are posted on the project and can be invoiced with a project invoice.

Best regards

Marlene

Former Member
0 Kudos

Hi Marlene!

Thank you very much for your answer.

I am trying to use the service "ManageSupplierInvoiceIn" to create a Supplier Invoices, like you tell me, but I am having problems with the parameters.

So now I am trying to read Supplier Invoices already created to see this parameters, and then underestand how i can do it.

But when I try to read Supplier Invoices with soapUI, the response is "Key for Root node missing in Request Message"

Do you can help me?

Thank for your time

0 Kudos

Hi Alvaro

from the message it looks like you did not provide the Supplier Invoice ID. (refer to the example in the help for this webservice). If you  fill the field ID with an ID from your Supplier Invoice List, then you should be able to retrieve the data (I just tried and it worked for me).

Please mark the answer as completed, when your question is answered.

Regards

Marlene

Former Member
0 Kudos

Thank you Marlene, your answer is correct!!

Regards

Alvaro

Answers (1)

Answers (1)

0 Kudos

Alvaro,

I understand that you receive an error message 'Authorization role missing for service' when you trigger a web service call to SAP Business ByDesign.

Error occurs because the user calling this web service is a business user and not the user defined in the Communication Arrangement. User,  which is defined in the communication arrangement should call the web service. To resolve the issue I would request you to consume the service with the technical user and password that is created and maintained in the communication arrangement.

Please mark the thread answered or helpful, if this assisted your query.

Thanks,

Nithin

Former Member
0 Kudos

Hi NithinKumar!

I use the technical user defined in the Communication Arrangement and it doesn't work... I don't underestand why...

Thank you for answering .

Alvaro

0 Kudos

Alvaro,

Please check if the operation 'MaintainEmployeeTimeAsBundle' suffices your purpose. This will not only upload the times but activate them as well (provided there are no errors during activation).

Currently, MAINTAIN_BUNDLE operation is not available for consumption via web-service and is instead used for upload of employee times via excel template.

Please mark the thread answered or helpful, if this befit your query.

Thanks,

Nithin

Former Member
0 Kudos

Thank you NithinKumar!!

Now I can to use "ManageEmployeeTimeIn" with the operation "MaintainEmployeeTimeAsBundle"

0 Kudos

Anytime! And a note of suggestion , you could mark correct answer if your query is resolved. So that rest of the people can find the astute and correct answers for the similar queries they come across without getting confused about the correct answer.