Skip to Content

This thread is dedicated to questions and discussions around the Process Observer component that is part of Business Suite and S/4HANA. Use the comment function to get your questions.

For details on what Process observer is see here.

Old discussions from the previous SCN version can be found here.

To report this post you need to login first.

17 Comments

You must be Logged on to comment or reply to a post.

  1. Former Member

    Hi Bernd, Christoph,

    We are planning an ECC upgrade from EHP7 SP11 to EHP8 SP05 next month.   Are you aware if there are POB changes or enhancements between those versions?   I did review the release notes, but I guess that POB does not always get mentioned.

    Thanks,  Andy

    (0) 
    1. Bernd Schmitt Post author

      Hi Andrew,

      no major differences beween EhP7 SP11 and EhP8 SP05.

      You find an additional customizing activity in ‘General Settings – Business Object Repository Instrumentation –  Restrict Data Relationship Browser Usage’ which allows to select, for which events DRB prodecessor relationship is to be used, and for which not.

      Might be useful in your scenario. I the customizing activity is not used, it just behaves like before.

      Regards,

      Bernd

      (1) 
  2. Former Member

    Hi,

    In the earlier blog there was some mention of the use of POCR_UPDATE_BOR_EVENT to activate events.  I have a couple of “stubborn” events that are in use but did not activate when I transport a Model to QAS and PRD environments  (see below).

    I have run POCR_UPDATE_BOR_EVENT and it shows no errors, but the event does not activate.  Is there any trick to force it to activate?  The view is not modifiable directly in QAS and PRD.

    I did notice that the event is AFTER the End event in the Model as configured in POB – would that be an issue?

    Thanks for any suggestions

    Andy

    (0) 
    1. Jens-Christoph Nolte

      Hi Andrew,

      I do not see why the event would not activate with the report. It really should. Really, really. Any kind of order (“AFTER the End event”) does not play any role.

      So … are you sure that BUS2038 NOCO is mapped to a task? And that the task is used in an active version of a process definition? That’s really the only issue I can see.

      Best regards,

      Christoph

      (0) 
      1. Former Member

        Hi Christoph,

        I just deployed another change to QAS today, and the NOCO event did not activate.  I ran POCR_UPDATE_BOR_EVENT, but no change.

        The event is mapped to a task, and it works in DEV before deploying.  Can I do anything else to activate it?

        The only other issue I can see is that there are some other events in POC_MODEL_CHECK with “No task assigned” I am aware of these and they are for future use.  Would this somehow stop the program  POCR_UPDATE_BOR_EVENT?

        Thanks, Andy

         

        (0) 
  3. Former Member

    Hi Christoph,

    Thanks for  the response.  Yes the mapping is correct.
    Since writing I have modified the Model definition (including moving the order of events) and transported to QAS, and this time that event did activate, without using POCR_UPDATE_BOR_EVENT.  I am not sure what the cause is, but maybe this is now resolved.

    Thanks,

    Andy

    (0) 
  4. Former Member

    Hi Bernd, Christoph,

     

    I have run into a difficulty with a POB process that we have had running for a few months and is being visualised in OPI.   As part of the evolution of the process there are a few events/tasks that are no longer needed and are not relevant for the current process.  I can remove these from the POB process definition with no problem.  However I’d like to clean up the old data also, as these unwanted events spoil the metrics in OPI.

    I tried to use POC_MASS_DELETE, but that deletes the whole process instance (or object).  Can you advise how I could delete just selected events?  I guess I may need an ABAP to re-write POC_MASS_DELETE ?

    Thanks,  Andy

    (0) 
    1. Jens-Christoph Nolte

      Hi Andy,

      sorry, I missed your question (I guess I’m still getting used to this new thing).

      There’s nothing I can help you with here, though. We don’t have any function to modify the log.

      Inofficially: Yeah, you may want to copy POC_MASS_DELETE or at least use it as a reference. The data structures should be rather straight forward … but officially I cannot recommend you doing that. There’s the obvious risk involved.

      Christoph

      (0) 
  5. Former Member

    Hi Bernd and Christoph,

    We’d like to use POC to monitor sales orders with “Fraud” flag (a field in VBAK table). In a earlier discussion, there was a suggestion to achieve a similar requirement via BRF+ on “Task Assignment” and setting the Bind Deter e.g. ACTIVITY_BIND_DETERMINED accordingly.

    But can you also provide an example for using BRF+ and “Classification KPI” to record a specific order type ?

    Thanks and Regards,

    XD.

    (0) 
  6. Former Member

    Hi Bernd and Christoph,

    I have a technical question for which the SAP Documentation does not seem to give an answer. I am currently activating the Fiori application Order-to-Cash Performance – Overview and for S/4HANA 1709 system. We have configured the Process Model according to the Best Practice content and with that system is creating respective BOR events, thus working as it should.

    In the Documentation you are mentioning BOR events and Non-BOR events(created via API).

    The BOR Event itself requires the mapping of “MAP BOR Events to Tasks” to able to work, right? The system is still logging the BOR events although this assignment is not in place, what is the reason for this?

    Example – O2C Process

    1. Create Order with Delivery Block
    2. Change Order and remove Delivery Block(in our system there is no assignment between the Remove Delivery Block task to Respective BO Type and Object Type in the “MAP BOR Events to Tasks Transaction. Also the POC_CHECK_MODEL indicates this issue.

    Outcome based on the example, I see following happen after creation and change in the queue tables

    • IN the table SWFREVTPOQ the entry for BUS2032 is created with events CREATED and CHANGED
    • In the table POC_D_EVTQ is see the task “Delivery Block Removed” plus all other tasks from the Facade layer(which also do not have BOR event asingment (this table contains only the NON BOR event entries based on the SAP Documentation?)

    After executing the  log program the task for “Delivery Block Removed” is display in the POC_MONITOR?

    Question

    • Although I have not asigned the task “Delivery Block Removed”, how come this BOR Event is created and displayed in the BOR MONITOR?
    • Depending on the previous answer, is this somehow considered as NON BOR event from the tecnical perspective as the assignment does not exist?(entry in the table POC_D_EVTQ)
    • What is the real meaning of the assignment from technical perspective?

    The documentation which I have been reading are your block posts and the Process Obse In-Depth  Workshop PDF.

    br

    Ilari Vaara

     

     

     

    (0) 
    1. Bernd Schmitt Post author

      HI Ilari,

      good questions, you actually look at the details!

      Basically for the O2C monitoring in S/4HANA we are currently only relying on non-BOR events (using API POC_RAISE_EVENT). You find the BAdIs to create these events in package EA-APPL_POC_APPL_O2C. This is what you find later as queue in table POC_D_EVTQ.

      BOR events for create and update are still created by default (and you find them queued SWFREVTPOQ) for processing where we filter them out using BAdI implementation POC_SFS_BINDING, not to get duplicates in the process log for create and update.

      Timestamps are not perfectly synched between BOR and non-BOR, so it is recommended not to mix up.

      Hope this helped you understand.

      Best regards,

      Bernd

       

      (0) 
      1. Former Member

        Hi Bernd,

        Thanks for the reply, it really helped to really understand how the system Process Observer is designed to work currently as I was struggling a little bit with the written information. So going towards the future, I would asume the technical solution will use only Direct Event API within applications and not BOR events?

        One additional question: In case we want to create events from external systems(non SAP or other SAP system) or from BADI implementations(within the system), do you recommend to use the Direct Event API or the Generic BOR event method?

        br

        Ilari Vaara

        (0) 
        1. Bernd Schmitt Post author

          Hi Ilari,

          in the future there are plans to integrate events into virtual data modeling, however too early for really reliable information.

          As for which remote interface to use: there is not much difference between the interfaces, parameters are almost the same. The Direct Event API is directly mass enabled and is available as RFC module. The generic BOR event isn’t.

          Generic BOR events integrates better, when your other events are also BOR events, and you let the BOR runtime create the timestamp of the events (normal BOR events are processed asynchronously and their timestamp is only added later at processing time –> this may sometimes cause confusion when BOR events and direct events are mixed).

          Regards,

          Bernd

          (0) 
    1. Former Member

      Of course, by Googling I found this article: https://blogs.sap.com/2013/11/04/comparison-of-business-process-monitoring-business-process-analytics-bpmonbpa-and-process-observer-pob/

      Is there anything more recent? E.g. perhaps a roadmap/strategy document that includes Celonis?

      (0) 
      1. Bernd Schmitt Post author

        Hi Derek,

        indeed the correct link and further information for comparing the two.

        You find here further enhancement options, like you can consume the process observer data in SAP Operational Process Intelligence. SAP Process Mining by Celonis can then be connected via SAP Operational Process Intelligence:

        https://blogs.sap.com/2013/11/27/overview-of-enhancement-options-for-process-observer-for-built-in-processes/

        Further information should be available through from Peter McNulty  or Stephan Schluchter .

        Regards, Bernd

         

        (0) 

Leave a Reply