FORMABSENC BOR Object(SWO1) has a corresponding SAP demo workflow, which is for SAPGUI, meaning it has dialog steps. I am trying to create a similar scenerio from .Net application, without visiting SAP Inbox. I can start workflow on CREATED event of the FORMABSENC object and then I call the VOID_APPROVE method in a task, because the other two approve throw a dialog, so can not be used outside of SAPGUI.
These are the 3 methods for Approve:(SWO1)
(Approve form with terminating event)
(Approve form without dialog)
1. Void_approve does not seem to update the Table SWXFORMABS Column PROCSTATE(I don't see code to do that in this method)
2. Void_approve has code to update the container element "result" but does not seem to do that
Pl advise. Should I use UserDecision Step to approve/reject?
If that throws a dialog, then I can not use it, so what should be the best way to create a similar process from external .Net application?