BUS2012-ReleaseStepCreated
Hi!
I have a requirement to trigger an approval workflow when a purchase order is changed NOT created.
The purchase order is created using a batch job when the purchase requisition is released.
When a user changes the purchase order amount (on item level) or cost center / internal order, this should trigger a workflow.
My first thought was to create a new event using change documents, but this workflow also requires an approval path based on amount.
Ex: User A is cost center responsible for cost center 999. User A has amount limit 0-10000 EUR and his manager B 10000-20000, manager C 20000-30000 etc.
Since the release procedures is connected to the event ReleaseStepCreated, I guess this functionality cant be used?
Otherwise I was thinking of setting up a release procedure in the IMG...
How can this issue be solved?
Solved...
Thanks for all the replies...
Similar Messages
-
Problem with BUS2012 Releasestepcreated
Hi all,
when i create a new purchase order, two events Releasestepcreated from BUS2012 are published, one with ReleaseCode = 01, it's correct and an other with ReleaseCode = blank, i don't know why the system do that. Of course the workflow is in error in this last case.
Thanks for help.
CheersYou are working on a Purchase Order (or PO) scenario why didn't you search on that? I know the search doesn't always work as well as you want, but being a little creative while searching will go a long way.
But as mentioned before transaction SWEC is for change documents, in there you will find an entry for BOR BUS2012 and event RELEASESTEPCREATED. Delete it, and you are set.
Regards,
Martin -
BUS2012 RELEASESTEPCREATED don't pass ReleaseCode
Can anybody help me???
I have a Workflow which triggered with the event RELEASESTEPCREATED of BUS2012, but don't pass the field ReleaseCode.
what can be happening?.Hello,
In SWDD at header level check the bindingbetween event container and workflow container.Event Releasestep is having Releasecode as parmaeter. So at the header level there should be proper binding between event container( releasecode) and Workflow container(releasecode).
Regards.
Vikram singh -
I have to trigger BUS2012 RELEASESTEPCREATED, when a change in PO happens.
Hi,
When CHANGED event for BUS2012 happens. I need the release code to also get passed as an event parameter. Let me know, how this can be achieved.
Thanks,
Sukumar.Hi,
once changed event gets triggerd , write a background method which fetches release code
pass po no to Ekko u will get FRGGR-release group
FRGSX-Release Strategy
FRGKE-Release Indicator: Purchasing Document (Blocked Or released)
FRGZU-Release status If 1st level is released this value will be x
2nd level is released this value is xx, 3rd xxx
by using frgzu u can identify which level needs to be released
Pass FRGGR-release group
FRGSX-Release Strategy(we got From EKKO) to T16FS TAble u will get all the release codes for that PO
by Using FRGZU value u can identify which level needs to be released and get that release code and pass it.
Please revert back incase of any queries -
BOR BUS2012 problem with event RELEASESTEPCREATED
Hi every one.
I have a situation with transaction ME21N when I create a Purchase Order, the event BUS2012-RELEASESTEPCREATE is triggering but i get a error : 'Import container contains errors (are any obligatory elements missing?)'.
In my workflow (copy of standard WS20000075) i need to get the ReleaseCode (in fact the step of validation chain) ; it's a parameter of event in standard, but it don't work.
I searched on SDN and Google, but i don't understand the solution. A lot people talk about the SAP note 0000797775, i check it and all is ok.
Sometimes it is said that we must remove the following line or add it, but who to believe?
EINKBELEG -> BUS2012 -> RELEASESTEPCREATED
Thanks for your help.
Edited by: ToraTora on Apr 23, 2011 4:15 PMI add some informations.
In transaction SWEC i add the following line :
But the system give me a message :
"Some parameters of event are not assigned values during creation
Message no. W8710
Diagnosis
Parameters are defined for the event RELEASESTEPCREATED of the business object type BUS2012. These parameters defined in the Business Object Repository are not assigned values when the event is created.
System Response
These parameters are not assigned values when an event is created when a change document is written or when status changes are made.
Procedure
If the parameters defined for the event are important for event receivers (e.g. a workflow task), this event should not be linked to the writing of a change document or to status changes."
Strange, in BOR event ReleaseStepCreated there is a parameter 'ReleaseCode' and the system tell me now that it can't assign it when the event is created, so how can i get this Release Code ?
With Purchase requisition it's work fine and it's the same mecanic. -
When I activate the link between event and workflow, the same worfklow is called twice.
I create a purchase order with ME21N.
Event Trace:
First I have disabled the link and there is a RELEASESTEPCREATED event and a CREATED event, fine.
BUS2012 RELEASESTEPCREATED 10.10.2008 15:19:07 @AI@ No receiver entered
BUS2012 CREATED 10.10.2008 15:19:07 @AI@ No receiver entered
Then I have enabled the link to CREATED and now there are 2 CREATED to the same workflow, NOT fine.
BUS2012 RELEASESTEPCREATED 10.10.2008 15:26:09 @AI@ No receiver entered
BUS2012 CREATED 10.10.2008 15:26:09 WS90000019 @5B@ I_CREATE_VIA_EVENT
BUS2012 CREATED 10.10.2008 15:26:09 WS90000019 @5B@ I_CREATE_VIA_EVENT
They both have the same key, so the users of course get two identical messages in their inbox.
Any suggestions?
Regards OleHello IA,
You are absolutely correct. I deleted the entry in SWEC and the problem was solved.
I have learned something new.
Thank you very much.
Ole -
Purchase order and agreement problem
Hi gurus,
I have a problem that i've come up with going though event trace on my DEV test system.
Although, simulation of WF's are fine and all bindings and syntax checks are without error or warnings,
trace is the only place i've found that something was wrong, appart from that my WF 'WS90200003'
stopped functioning because of automatic linkage deactivation.
I had to manually disable automatic linkage deactivation upon error in SWETYPL to keep the WF alive.
When i did this, all was fine, queing of events started.
Upon creating purchase order i got following trace:
BUS2012 RELEASESTEPCREATED 12.05.2008 11:22:07 WS90200003 @5B@ SWW_WI_CREATE_VIA_EVENT_IBF
QCYBUS2012 CREATED 12.05.2008 11:22:08 @AI@ No receiver entered
BUS2011 QUOTATIONCREATED 12.05.2008 11:22:08 @AI@ No receiver entered
BUS2012 RELEASESTEPCREATED 12.05.2008 11:22:08 WS90200003 @5B@ SWW_WI_CREATE_VIA_EVENT_IBF
BUS2012 RELEASESTEPCREATED 12.05.2008 11:22:10 WS90200003 @AI@ Event put in queue
BUS2012 RELEASESTEPCREATED 12.05.2008 11:22:10 WS90200003 @5C\QFeedback after error@ Feedback after error
FREBUS2012 CREATED 12.05.2008 11:22:08 @AI@ No receiver entered
Upon creating contract i got following trace, quite similar to one before:
BUS2014 RELEASESTEPCREATED 12.05.2008 11:34:31 WS90200004 @5B@ SWW_WI_CREATE_VIA_EVENT_IBF
QCYBUS2012 CREATED 12.05.2008 11:34:31 @AI@ No receiver entered
BUS2011 QUOTATIONCREATED 12.05.2008 11:34:31 @AI@ No receiver entered
BUS2012 RELEASESTEPCREATED 12.05.2008 11:34:31 WS90200003 @5B@ SWW_WI_CREATE_VIA_EVENT_IBF
BUS2012 RELEASESTEPCREATED 12.05.2008 11:34:31 WS90200003 @AI@ Event put in queue
BUS2012 RELEASESTEPCREATED 12.05.2008 11:34:31 WS90200003 @5C\QFeedback after error@ Feedback after error
FREBUS2012 CREATED 12.05.2008 11:34:31 @AI@ No receiver entered
There are no duplicate entries in 'SWETYPL', agent assignments seem fine, WF customizing is OK.
Somehow it is not clear for me why or how my 'WS90200003' with BUS2012 keeps triggering.
When i look in 'Feedback after error' message i see that release code is missing for BUS2012, but weird thing is
that in contract creation it tries to pass contract document number in event BUS2012...
I don't know why BUS2012 is constantly double-triggering.
Not to forget, i'm working on ECC 6.0.
Thank you for the contribution and tips.
Greets,
TomHi,
I am using multi-step release strategies, but i'm not sure what you mean...
Aren't release codes determined from customizing upon saving the document?
I've checked the customizing and there is only 1 release code that can be
used by the agent who gets workitem.
In "Feeback afrer error" log in second calling of BUS2012 there is no release code at all...
Regards, Tom -
Hi Experts ,
I have a issue in PO release workflow .
When ever PO is created with release strategy , in SWEL the below Object types and events are visible .
Object name Event date time receiver
BUS2012 CHANGED 05.01.2009 19:44:14 SUBSCRIBE
BUS2012 RELEASESTEPCREATED 05.01.2009 20:25:38 WS9300080
This is the currect entry which was comming in SWEL and my workflow ( WS9300080 ) was running fine based on the event " RELEASE STEP CREATED " .
Now the below entry comes and workflow is not gettng triggered .
Object name Event date time receiver
BUS2012 CHANGED 09.02.2009 19:44:14 SUBSCRIBE
The entry for event " RELEASE STEP CREATED" is missing now .
Can any body please tell me where i am doing the mistake so that the entry is missing in SWEL .
This is a issue in PRD client so hope to get some quick responce from you guys .
Regards
SarmisthaHi,
unless there's a new release strategy found and unless a release code is set, which is a prerequesite to another release code, there will be no further events for BUS2012.ReleaseStepCreated.
From another point of view:
For each release code that is open, there is exactly once an event .ReleaseStepCreated.
Depending on the customizing, changes to the object may reset all given release codes. The common understanding is a "within 2% value change" doesn't reset the release.
If you need to have your workflow triggered on changes, as well, you'd be off with linking it to the .Changed event. To keep compatibility with the standard's event, I won't recommend to create a .ReleaseStepCreated by another linkage (such as the .Changed-event).
Best wishes,
Florin -
Regarding Purchase Order Release Strategy
Dear SDNers,
I want to create a worfklow for PO release strategy.
For this to take events for BO, I swich on the evnet trace at swels.
After creation of PO, BUS2012 - RELEASESTEPCREATED even triggered.
For release the PO, BUS2012- RELEASESTEPCREATED,RELEASED two events were triggered.
But when I change PO, BUS2011 - CREATED_VIA_SPEC2000_MESSAGE event triggered.
No change event for BUS2012. I checked at SWEC. Radio button On change is selected for BUS2012-CHAGE event
Even though its not triggered. What might be the problem?
Thanks in advance,
Regards,
Amarnath SHello Venkat,
Did you checked SWE2 entry. If not, please check if for BUS2012 SIGNIFICANtLYCHANGED event is maintained for your WF template and is active or not.
Also check in SWE3, for event SIGNIFICANtLYCHANGED and object type BUS2012, please check if receiver type is WORKITEM.
Note - Whenevr you changed any PO there will be event related to chnaged document maintained in swec and SWE3.
Rewards will be appreciated. -
Which method is used for event creation
Dear All,
My client has more then one Purchase Organization. Workflow for Purchase order release very from pur org to pur org. For example - workflow WS92000030 is trigger when PO is created for India pur org where as workflow WS92000021 is trigger when PO is created for US pur org.
I checked and found that same Object Type - BUS2012 & event - RELEASESTEPCREATED is used in all Pur. Org PO release workflow. Also I found in Transaction code - SWETYP that Type linkage activate for BUS2012, RELEASESTEPCREATED in all the PO workflow - WS92000030 & WS92000021.
As per my knowledge, event can be created in various way such as Function module, Change document, General status management, Business Transaction Events etc.
Can some one guide me, how can I found that which method is used for event creation in different pur org?
How can I fould what is the fuctional module used for event creation if Fuctional module used for event creation.
For your information, I can see in T. Code - SWUO that 'Result dependent on a check function module' for all the workflow - WS92000030, WS92000021 etc.
Thanks inHi Sahu,
I dont think they have used the Function module or change document or any other kind of methods to trigger the workflow. This is because RELEASESTEPCREATED method is a standard method and it will be triggered by standard SAP. They can not make changes in standard sap saying RELEASESTEPCREATED should be triggered for this Purchase Org .
Istead what i think is, they might have given the Event Condition for each workflow.
In SWDD>> basic settings>> Start Events, we can give condition on triggering the workflow.
Please check this.
Regards,
Gautham -
Purchase Order Release Strategy Workflow
Dear SDNers,
I created a custom workflow to trigger workflow when PO created. This workflow send mails to portal for approval to approve the release stratagies of purchase order.
From portal side its working fine. Once the approval approves, user decision step going to next level. every thing is fine from portal side.
But if they go for R3 side to release PO at ME29N, here facing probelm
Suppose, Workitem is waiting at level1. Approver1 recieves used decission step at portal. But by logging into R3 system and release PO, the workitem which is at approver1's inbox has to vanish from his inbox. Its not happening now.
What I hav to do. Kindly let me knwo.
Thanks in advance,
Regards,
VenkatHi Venkat,
Two things you should change here:
1. The Event that triggers your workflow should be BUS2012(RELEASESTEPCREATED). This event occurs when a release strategy is activated for a PO due to various reasons.
2. You workflow should have a 1 : 2 fork . One path (fork path) should follow the User Decision path using a portal and the other should be a asynchronous workitem with the following 3 as terminating events:
BUS2012 RELEASED
BUS2012 RESET
BUS2012 SIGNIFICANTLYCHANGED
The workitem can be with or without agent.
This should help you.
Regards
Gautam
Edited by: gautam maini on Jun 28, 2011 5:13 PM
Edited by: gautam maini on Jun 28, 2011 5:14 PM -
Hi all,
I am using demantra 7.3.1 version,In that how exactly the * conditional step * works real time
for ex:if I query in sql space as select 1 from table where approve=0 here my logic is that table should not contain any record as 0 if it is found it should execute false else true( so my question is that above query is more than enough for this conditional step to work or is that we need to pass any parameters???Hi,
unless there's a new release strategy found and unless a release code is set, which is a prerequesite to another release code, there will be no further events for BUS2012.ReleaseStepCreated.
From another point of view:
For each release code that is open, there is exactly once an event .ReleaseStepCreated.
Depending on the customizing, changes to the object may reset all given release codes. The common understanding is a "within 2% value change" doesn't reset the release.
If you need to have your workflow triggered on changes, as well, you'd be off with linking it to the .Changed event. To keep compatibility with the standard's event, I won't recommend to create a .ReleaseStepCreated by another linkage (such as the .Changed-event).
Best wishes,
Florin -
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!
AndreaThank 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 -
Workflow for P.O release process.
Hi Guys,
As per the one of the thread I have done setting as per the below. Ref last 10 line for the details of the problem.
Hi,
1) Work flow: - Work flow is standard functionality of SAP.
I give one example to u.
In the case of purchase order creation, First purchase person create purchase order, then first purchase order approved by purchase head and then auditor approved purchase order on print of purchase order.
With work flow you can send soft copy of purchase order to both person purchase head and auditor to approve your purchase order.
Due to this your process for purchase material is faster then manual process.
2) You can implement work flow in purchase order release strategy with below mention detail.
For mail facility, you need to activate workflow for PO release procedure;
*Go to SPRO > MM > Purchasing > Purchase Order > Release Procedure for Purchase Orders *
Define Release Procedure for Purchase Orders > Release Codes >
here assign Workflow indicator as "1" against each Release Code
Now come to SPRO > MM > Purchasing > Purchase Order > Release Procedure for Purchase Orders >
Define Release Procedure for Purchase Orders > Workflow >
Here against each release code assign OT as US and respective User ID's for Release Codes.
Now Go to OOCU > here under MM, go to MM-PUR,
Now click on "activate event linking"
Here open "WS 20000075" and for BUS2012 RELEASESTEPCREATED, click on Detailed view button
Here activate "Event linkage activated" and also activate "Enable usage of event queue" and Save data.
Same way and click on "Assign agents" and proceed all above steps.
Now create a PO and check the SBWP for SAP Mail of respective Users
This was the details given by the thread but now I have completed till
OOCU > here under MM, go to MM-PUR,
Now click on "activate event linking"
Here open "WS 20000075" and for BUS2012 RELEASESTEPCREATED, click on Detailed view button
Here activate "Event linkage activated" and also activate "Enable usage of event queue" and Save data.
For proceeding futher as said in the above procedure. I am getting User ID inside WS20000075 when I click on Assign Agents but I am not getting the details button to repeate the step as said.
Please let me know whatever I have done is enough to get the mail or is there any thing else need to be done.
Thanks
DhanuHi,
release code and release group should be assigned in the authorization object for the approving authorities.
apart from this the settings looks ok and it will work -
Email Alert for Purchase Order Release
Hi,
When a PO is subject to release I would like an external email to be sent to the relevant user as per assignments in config.
I have used standard workflow for PO release and this is working with no problems, alerts successfully going to the workflow inbox.
But does anyone know the steps to configure the standard workflow so that an external email is sent?
Thankshi
WORKFLOW FOR PO RELEASE PROCEDURE
Steps involved are :
1) SPRO > MM > Purchasing > Purchase Order > Release Procedure for Purchase Orders > Define Release Procedure for Purchase Orders > Release Codes > here assign Workflow indicator as "1" against each Release Code
2) SPRO > MM > Purchasing > Purchase Order > Release Procedure for Purchase Orders > Define Release Procedure for Purchase Orders > Workflow > Here against each release code assign OT as US and respective User ID's for Release Codes.
3) Go to OOCU > here under MM, go to MM-PUR,
4) Click on "activate event linking"
5) Go for "WS 20000075" and for BUS2012 RELEASESTEPCREATED, click on Detailed view button. Activate "Event linkage activated" and also activate "Enable usage of event queue"
and Save.
6) Click on "Assign agents" and proceed all above steps.
BUS2012 is the relevant business object and Releasestep created is the event for the same.
7) Check SWETYPV transaction for the WF you have activated for BUS2012 and confirm.
Test the same by creating a PO and check the SBWP for SAP Mail of respective Users
regards
KI
Maybe you are looking for
-
Is it possible to import a .idea file into Illustrator CS3?
I have sketches and files on Adobe Idea on the iPad. How to I bring them into Illustrator and preserve the layers, etc? .png, .pdf and .jpg don't seem to do this. I'm sorry if this is a "no duh" question, but I am just starting out with these program
-
TopLink 11g Cache Coordination failure in WebSphere 6.1
Hello, I've recently upgraded to TopLink 11g and I am trying to make cache coordination feature work in WebSphere 6.1 using JMS. Once configured I am getting the following errors on the server side: [4/14/09 17:22:25:321 PDT] 00000032 SibMessage E [:
-
Can't connect to Wi-Fi after Lollipop upgrade
Since updating my D6503 to Lollipop 5.0.2 (Build 23.1.A.0.726) yesterday, I can't connect to my workplace's Wi-Fi anymore. I'm still able to connect to my home and public Wi-Fi networks. My workplace network settings: WPA2 Enterprise EAP method: PEAP
-
Leading zeros in report.
Hi, I have got a char Tracking number of type numc . I have loaded the data using alpha conv routine. So when i look at cube content my char is showing leading zeroes for the values. but in reports I am not able to see leading zeroes. what setting ne
-
Tools are stuck cannot change tool in adobe illustrator cs6
tools are stuck cannot change tool in adobe illustrator cs6. when i click on the arrow icons on any of the tools it does not work, I can only use the default tool on the tool bar. Shutting down does not fix the issue. Program has never worked. anyone