on 04-22-2011 2:13 AM
Hi experts,
I'm facing the following problem:
When i create a document in transaction FB60, an event "CREATED" of BOR BSEG is triggered correctly and a workitem is generated and sent to my business workplace. When i click in this workitem, the system opens the transaction FB13 with the options to "Release" or "Reject" the document. My problem is, when i click on Release ou Reject no event is generated.
I would like to know if there is any way to catch this operation?
Thanks.
Fabio
Hello Fabio !
Your problem is "Rejected" and "Released" event is not raised when "Reject" and "Release" is clicked respectively.
The solution is to maintain triggering events namely "Rejected" and "Released" in "Triggering events" tab of the task that generates the FB13 transaction.
In the business object BSEG, "REJECTED" event is already available.This event can be readily can be used.But there is no event for "RELEASED".So, you have to create this event by delegating the BSEG.
Regards,
S.Suresh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi S.Suresh,
Thanks for your answer.
But i'm already listening the event "REJECTED" in my custom workflow and still the event is not triggered when i click on the button "Reject" in transaction FB13.
Sorry, but i didn't understand what you said about:
"The solution is to maintain triggering events namely "Rejected" and "Released" in "Triggering events" tab of the task that generates the FB13 transaction"
Can you give more details about it?
Thanks and regards,
Fabio
Hello Fabio !
In your workflow there is a task that displays FB13 transaction where you reject or release.
Go to that task and maintain the events "REJECTED" and "RELEASED" under "Triggering events" tab.Once you are done, on release or reject, respective event should raise.If not , configuring change document "BSEG_MMIV" in SWEC should raise the respective event.
You have stated "I'm already listening the event "REJECTED""So, what about "RELEASED" event ? Is it gets raised ?
Regards,
S.Suresh
Hello S.Suresh,
Thanks again for your suggestions.
I've configured the task as you said, but the event is still not being triggered.
I've tried SWEC too, i created an entry with the following information but the event was not triggered.
Change Doc. Obj: BSEG_MMIV
Business Obj. Type: BSEG
Event: REJECTED
On Change: Marked
Does this configuration is correct?
Let me explain better my situation:
I have two workflows running
- one standard that calls a subworkflow with 3 levels of approval strategy. This WF only listen to the event CREATED
- one custom workflow that listen the events CREATED and REJECTED
When the user approve or reject a document, i need that this operation raises an event that my custom workflow is able to capture the event.
PS.: I didn't create the event RELEASED yet, but i will do it.
Thanks and regards,
Fabio
Hello Fabio !
Do you want to trigger the workflow when the document is rejected ?
Create the event "REJECTED" in delegated BSEG and create the change document object in SWEC as BELEG or BELEGMASS.
If the workflow doesn't triggers, having rejected the document, check in CDHDR and CDPOS table for different change document object against the document number and the time at when rejection was carried out.
Still nothing works out, should find and configure BTE or BAdI to trigger the workflow.
Regards,
S.Suresh
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.