on 04-12-2017 12:57 PM
When calling MPLAN_MANUAL_CALL, it seems to create a notification for that call.
But there is a delay. If I try to search for the notification associated with a given call number it is coming back empty.
If I add a call:
CALL FUNCTION 'ENQUE_SLEEP'
EXPORTING
seconds = 5.
Then it seems to work.
But I obviously would rather not hard code a delay and hope for the best.
Looping and waiting for a result might work, but also seems clumsy.
My idea is to expose a bapi that support creating a manual call, and returning the notification number or maintenance order number that gets created from the manual call.
You could try reading table QMIH using the plan and call numbers until you get a value.
PeteA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.