Thanks. I was expecting some BPM API standard, but it doesn’t seem to exist.
From what I understand, if I need to get info about the end of some SAP job (not triggered by WM), I need to add into SAP a SAP event at the end of the job that sends an Idoc to WM.
Yes there is nothing to BPM API direct talk to SAP exist.
You need to use the flow services (that talks to SAP vice versa) as a invoke flow step type in your BPM process and integrate with SAP and this is similar to any back end interaction via BPM (Process Engine component)