Question:
Hi everyone,
To brief you about the current scenario : We have a PR release workflow.
Step 1. User gets a workitem in the outlook
Step 2. Executing the workitem he sees a Decision step
Step 3. User Approves the PR
Step 4. PR released in the background (using std BO2105)
Now there are cases coming, wherein, the user approves the PR but it does not reach the subsequent level because of an error while releasing. Errors are returned in the return table.
Requirement : When the user approves, if theres an error, he should get a warning/ error message. Now is there a way, i can achieve the same. There being a background step in-between, how do i pop a message for the user while he is in the same dialog. User does not want to go back to Outlook inbox to check for confirmation or error mails.
Kindly help !!
thanks,
Abiel
Answer:
Hi,
If you use FM: TH_POPUP in a method, you can send messages in background to the user.
Another way is sending an express document to the user, this way he/she will also be notified that someting happened.
Regards, Rob Dielemans
Answer:
Thanks Rob,
I'll check it and let you know, otherwise i was thinking may be i could also do it by creating a Z-Screen.
Regards,
Ameekar
Answer:
I have been using TH_POPUP (via a background job) in my old release R/3 (4.6c) and it works fine. However, we've upgraded to 4.7 and now, TH_POPUP in background is no longer working. Error "Terminal type 002: Incorrect output destination/message type TERM" is logged in SM21 and the job is cancelled. ABAP Experts, any idea ?
regards,
Diana.
Answer:
One more input, TH_POPUP is still working fine in 4.7 if I triggered it directly (instead of background job).
Diana.
Answer:
@Diana Yuen
Why don't you ask SAP, how this is possible?
Regards, Rob Dielemans
Answer:
One more input, TH_POPUP is still working fine in 4.7 if I triggered it directly (instead of background job).
Diana.
TH_POPUP also doesn't work in background in SAP ECC 5.0.
Diana, did you ever get a solution for this?
Answer:
I have been using TH_POPUP (via a background job) in my old release R/3 (4.6c) and it works fine. However, we've upgraded to 4.7 and now, TH_POPUP in background is no longer working. Error "Terminal type 002: Incorrect output destination/message type TERM" is logged in SM21 and the job is cancelled. ABAP Experts, any idea ?
regards,
Diana.
in releases > 4.6 you have to use the CALL FUNCTION with the DESTINATION parameter.
example: if system called SAPprd
CALL FUNCTION 'TH_POPUP' DESTINATION 'sapprd_PRD_00'
This will work in background mode.
--
SAPanswer