on 06-11-2007 2:43 PM
Hi all!
Do workflow messages have a way to identify them such as it happens with the work items which are identified with the work item ID?
Where are workflow messages generated?
I am asking this since I am receiving some of them with error messages and I can not find where they are generated.
Thank you!
Andrea
HI Andrea,
Please check in Tcode SWI2_DIAG.
Check the error overview
Thanks and Regards,
Prabhakar Dharmala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
according to Mike, check your message get your WF object ID and go to SWI6. Here you can look for all WF instances that refer to your BO (active, in error, finished,...).
Regards,
Gianluca
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Andrea,
If you are talking about messages informing you that a workflow is in error then there is no direct link.
This is because the message can be generated in various ways outside of WF. The most common is the error monitoring job RSWERRE which runs every 20 mins and will send these. Also, there could be a problem creating the workflow itself (i.e. there is no workflow, thus no ID)
In both cases you should refer to the contents of the message. In the second scenario for e.g. it may give you a Sales Order number for which a WF failed to start. You will need to work from the document and find the error.
Hope that helps,
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Mike. Just to clarify you, the message I am talking about is one which arrives to my inbox everyday in the documents folder not in workflow folder.
The message says:
Error processing following event linkage:
BUS2012 RELEASESTEPCREATED WS20000075
Following error occurred:
OL 365
ReleaseCode
Message text:
Mandatory import element 'ReleaseCode' missing
Event container contains following data:
CD_CHANGENR 000000010C0257574647
CD_OBJECTCLAS 000000015CEINKBELEG
CD_OBJECTID 000000090C4300312700
EVTCREATION_DATE 000000008D20070517
EVTCREATION_TIME 000000006T195248
EVTCREATOR 000000014CUSC059220
EVTLANGUAGE 000000001CE
EVTNAME 000000032CRELEASESTEPCREATED
EVTOBJECT 000000090oPRDCLNT100BUS2012 4300312700
EVTOBJKEY 000000070C4300312700
EVTOBJTYPE 000000010CBUS2012
EVTRECEIVER_ID 000000090C
Event linkage not changed.
Event stored temporarily.
Events can be redelivered via event queue
administration (transaction SWEQADM).
Thanks again!
Andrea
Hi Andrea,
then in this case
Purchase Order
SPRO-> MM>Purchasing->Pur ord-->Release procedure> Procedure with classification -
Check in ME22N any PO number with the status release code and Users within the SPRO..
I think... Not configured with Release Strategy in SPRO.
Please check with your MM functional Consult.
Thanks and Regards,
Prabhakar Dharmala
Hello Andrea,
This is an instance of the second scenario I described. In your example, an event RELEASESTEPCREATED is raised for PO 4300312700, but there is no release code, which is a mandatory parameter. You will not see a Workflow in error because it didn't start.
Either there is a problem with the event (is this being raised in custom code?) and there is no release code, or the RC is not being bound to the WF (goto the WF builder -> Header -> Triggering events -> binding).
Cheers,
Mike
Hello Andrea,
If the binding includes Release Code then your WF is correct and the problem is in the application.
To understand how the release code is send, have a look at the object BUS2012 (Txn SWO1). Under events, click on releasestepcreated, click the "Parameters" button in the toolbar. These event parameters in addition to the system ones (ReleaseCode in this case) must be populated by whatever raises the event. So if your event is raised by custom developments then your problem is there, else if it's customizing then I'd suggest asking an MM person to look at the release config.
Hope that helps,
Mike
Check your release strategies. Are you using overall release? Then remember that SAP will only use information that is common when determining release strategies. You may have overlapping strategies, and that may be the cause of your problem.
See OSS Note 493900 (FAQ: Release strategy) - just in case there is something relevant there.
Hi Andrea,
That was in reply to your question "how is the release code sent to the workflow task?". I tried to show you where the event parameter is <i>defined</i>, the email you received contains the actual <i>contents</i> of the event container. RELEASECODE is missing so I would guess that your MM config is wrong.
I can see where the "40A" confusion came from.... it's labelled "First Release". However it refers to the SAP Release (Version) in which this parameter was first used and has nothing to do with PO releases.
Hope that clears it up...
Mike
Mike has mentioned twice that the release code must be set by whoever raises the event and asked you if that is custom code or standard code. I can't see an answer to that question. It would be a good place to start since nothing else has helped so far..... Set a break-point in the code and check if there is a problem when filling the container (and that they indeed fill the container).
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.