Skip to Content
avatar image
Former Member

approval process not triggering after data loaded in from Service integration

Dear Colleagues
I have developed a custom Business Object with an associated Approval Process.

I also have a service integration to load data into this BO. When I do this the approval process does not fire. The approval schema is not assigned.

I cannot see how to set this manually since the SchemaStatus is read only on the BO.

HELP!

John Meadows

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 08, 2017 at 06:33 AM

    Hi John,

    I am not sure for which BO you created an Approval Process. Please check the below blogs which might be helpful for your custom BO approval process.

    Creating Custom Work Distribution Category for Approval Process Definition

    https://blogs.sap.com/2015/05/19/custom-work-distribution-category-for-msa/

    How to Create Custom Approval Process and Configure it in Cloud Solution

    https://blogs.sap.com/2016/05/18/how-to-create-custom-approval-process-and-configure-it-in-cloud-solution/

    Best Regards,
    Arun

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 08, 2017 at 08:06 AM

    Hi Arun

    Many thanks for your reply.

    However, the links you have provided are not entirely relevant.

    In my situation i have successfully create my own BO and created an associated Approval Process for this BO.

    Everything works fine when data is added to the BO through the UI.

    Part of my project is to fill this BO with data from SOAP web service, and this again works fine.

    My problem is that when data is loaded via the web service into the BO, the approval process is not triggered.

    Editing the data in the BO doesn't help :-(

    I believe the issue is around the assignment of a data to field ServiceSchemaName, this seems to hold the approval process ID (its a SAP generated UUID) which is the same for all rows in the BO.

    This fields is NOT populated when data is uploaded via the webservice, it is also read only so I cannot set it with the data upload.

    Thoughts?

    John

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Horst

      Just for info, support have finally got around to telling me that my use case isn't supported.:-(

      I have put it on the ideas forum.

      John