Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Service Layer bypasses Approval Process

user4711
Explorer
0 Kudos
456
  • SAP Managed Tags:

Hello,

I have set up an approval process (When user A does a Quotation with DocTotal > 10, user B needs to approve).

It works perfectly in B1,

but when I send the following object to the Service Layer as User A, the document is created immediatly, instead of being created as a draft. Why?

POST {{api}}/Quotations

{ "CardCode": "C26000", "DocTotal": 100, "DocumentLines": [ { "LineNum": 0, "ItemCode": "Item001", "Quantity": 1.0 } ]}

How is the process/workflow supposed to be?

Best regards
Thomas
1 ACCEPTED SOLUTION

EunSeok_Bang
Product and Topic Expert
Product and Topic Expert
409
  • SAP Managed Tags:

Hello Thomas,

Just to make sure, have you checked the following in General Settings?

Regards

EunSeok

2 REPLIES 2

EunSeok_Bang
Product and Topic Expert
Product and Topic Expert
410
  • SAP Managed Tags:

Hello Thomas,

Just to make sure, have you checked the following in General Settings?

Regards

EunSeok

user4711
Explorer
0 Kudos
409
  • SAP Managed Tags:

Hello EunSeok,

yes, that solved the problem. Thank you so much.

Best regards

Thomas