MM Workflow - Purchase Req Release
Hi,
I have set-up MM Workflow to notify a user to release outstanding reqs. I used BUS2105/TS20000159 This works as expected. However the business want a summary of the req details to appear in the message. The standard message has no description. It just shows the Purchase Req No in the Subject Line.
I was hoping to call BUS2105 ->Method->PurchaseRequisition.GetDetail1. This calls BAPI: BAPI_PR_GETDETAIL and would give me the details I require. I would then populate this data in the body of the message.
I am pretty new to Work Flow and was hoping you could guide me in the steps required to achieve this please?
Any help would be greatly appreciated.
Many Thanks,
Phil
Hi,
Firstly create a workflow container element of type as key parameter in the business object
1 .Create a step in the workflow
2. Create a task in the workflow
3. Assign the businees object in the task..
4. Create a container element in the task
5. Create binding between the TASK and METHOD of business object
6. Create binding between Workflow container element and Task Container element.
7. Then in Basic data of workflow ( HAT ICON) go to start events and assign the business object
and the event which has to trigger the workflow.
8. Create a step called mail so as to know whether it has triggered the workflow when the Business
object had triggered.
or
Switch on the event trace (SWELS) and check the event trace SWEL... if the workflow is triggered you would find reciever as workflow..
If you still have to view graphically the goto
Tutorials> Business Workflow> and see the topic how to create activity step in the workflow.
Hope this would help you.
Regards
Narin
Similar Messages
-
Purchase req release through workflow
Hi all,
i am under the process of releasing purchase req in workflow its a overall release there are two business objects for that one is bus2009 and the other is 2105 actually 2105 is for overall release but there are no attributes for that particular object if i need to add any value as expression in my mail do i need to create my own attribute or is there any other way to handle this.....
ThanksThe required value that is required for Release is Release Code. If you are using Standard Wflow then this is passed along with event only you have to make sure you have proper configuration in SPRO. The PR number gets passed automatically thu event. You can make use of Workflow Template WS00000038.
Any custom stuff you can code in Attribute but in that case you have to create a subtype of standard Business object and then code in it and then delegate it. You can delegate by
SWO1->Give Business Object Name->Settings->Delegate
Check this link for programming related to attributes
http://help.sap.com/saphelp_47x200/helpdata/en/8c/1923d1932b11d2a5ea0060087a79ea/frameset.htm
<b>Reward points only if useful</b>
Message was edited by:
Arghadip Kar
Message was edited by:
Arghadip Kar -
Workflow Purchase order release
Hi,
I want to activate workflow for purchase order released.
Requirement is when first level releasaed the purchae order, it should mail to second level.
I have done following settings in the system.
In the SPRO - Release Procedure PO - Workflow, I have assigend Object type - US, User against release code.
Done settings in t code SWDD - Workflow builder.
Now when first level is releasing the PO, system is not triggering the event.
I do not know weather i have done it correctly or not, But as per my above requirement, what settings should I do in the system in release strategy config and workflow settings.
Waiting for your reply.
Thanks,
Samir Bhatthttp://www.sap-img.com/workflow/workflow-of-purchase-requisition-release-strategy.htm
Also Look into saptechnical dot com youll get detailed procedure for Workflow Scenarios.
Regards,
Ashok
Edited by: Ashok Kumar Telikula on Aug 4, 2008 8:28 PM -
Creating Roles for Purchase Req. release strategy with classification
Hi friends,
Since I have created Purchase req rel strategy where I have four release strategy
1. For Plant 1 When value <= 5000 (Officer) will release , release code 01 release release strategy r1 and rel code L1
2 For Plant 1 When value >= 5000 (Manager) will release , release code 01 release release strategy r2and rel code L2
Now the manager will have 2 release code,if officer is absent he could release the requisition.
Same has to be done for plant 2
The release Group and code needs to be assigned to the Roles , could anybody tell me where i could know about roles and will be able to create roles and assign authorisation objects to the Roles , and release group and code to the enduser.
though its a basis job , since I have no idea , I mean I have never worked with Roles ,as now I have created the Release strategy with classification I need to assign authorisation objects to the Roles as I have four release strategy
1. For Plant 1 lower value of requisition 1 codeL1(Officer)
2 For higher value of requisition 2 code say Li and L2(Manager)
Manager should have 2 codes if officer is absent he could release
Same has to be done for Plant 2
Thanks N Regards
SiddharthaHii,
Steps:
1) Create a Role
2) Add the authorization Object M_EINK_FRG by taking the manual option
3) Assign Release Code and Release Grp
4) Assign the Role to the User ID which has the authorization of the Release Code and Grp.
Regards,
Kumar -
Purchase Req Release Reset After Addition of New Component in Service Order
Hello,
We have a scenario where we create a service order, add some operations, and then some components to the operations. Note that we are set up to use the same purchase req for all components so all components, regardless of operation, are on the same req.
We then release all lines on the purchase req and continue on to convert to purchase orders. In some cases, the PO's are then received.
Now, it is discovered that we need to add addtional components to the same service order so we do that. These new components are added to the original purchase req. Upon saving the service order, all of the previously released lines have reverted back to unreleased. Very frustrating since some of the req lines are already converted to purchase orders.
Note that the changability flag is set to 4 for our release indicator.
We are at a loss as to how to fix this. Anyt insights are appreciated.
Regards,
GregHello All,
Thank you for your replies.
@Sebastien: We are using collective PR's. If we cannot solve, we will entertain individual PR's
@Maheswaran: It's MM from the PR perspective but since it is only happening when the PR's are tied to the service order, I asked here. We are releasing at the line level of the PR.
@Linganna: Are you talking about an enhancement to create individual PR's? That is taken care of in configuration, no?
Thanks again and regards,
Greg -
Workflow - Purchase order Release strategy
Hi All,
Good Morning
I had created workflow for Purchase order release strategy with steps(To Determine Agents, Release of Purchase order, Release of PO effected) and in Me21N I created PO and PO came to my SAP inbox(SBWP) and I released that PO and saved it.
but My problem is after releasing PO when I checked my Inbox again still that PO is sitting there, it is supposed to disappear from there
Can anyone please assist me to resolve this issue .
Thanks in advance.Hi,
In standard SAP workflow, SAP is sending a mail item (notification) to SAP mail inbox. There is no action is required from there. So mail will remain their as mark as read. If you want to remove it than one needs to delete it from respective mail box.
Best Regards,
Bhagat -
Purchase Req release strategy help
PR's generated from MRP are being blocked, however when I convert a planned order from MRP into a PR it is automatically released. I want MRP generated Reqs to be also released. I tried creating a new class, characteristic and strategy group but ran into problems when assigning the class to the group. Basically we just want all reqs created from MRP to be released and not go through workflow. Any ideas? My inital thought was to use the creation indicator EBAN-ESTKZ with the value of B (MRP) and U (converted planned orders)
hi Ryan
U can use only one release class in PR release strategy
error is because ur trying to use another class add the charactaristics ib existing class and configure release strategy
Vishal... -
Purchase Req Release strategy - Requestor /Approver
We want to skip the Approver to release his own purchase requisition without workflow set up.Is it possible in ECC6.0 ?. Any help will be highly appreciated
Thanks
NickHi Nick
While configurating add P group as one of charactaristic.Then maintain values of all P. Group in this charactaristic
While defining Release strategy Do not tick against Approvers P group which means release strategy will be skiped for him
( Release strategy--classification here u difine value for P Group skip P group here)
Cheers!!!
Vishal... -
Need Table/T-code to find purchase req release date
Hi Experts,
I work on different kind of req's like
1) MRP req's
2) Work Order req's
3) Project req's
4) Manually approved req's
As per my observation every req gets released in a different way(Iam an SAP MM enduser iam not an expert in SAP)
I need your help to find out the way to know the release date for all type of req's instead of manually tracking.Thanks for your help.
By using CDHDR & CDPOS iam getting the required result howevere the problem iam facing is identifying the req line items.
The way iam following in CDPOS is first iam filtering the Filed name EKGRP then iam checking the table key & then identifying the particular req line item.But the problem is when iam downloading the report to excel the line item value is becoming Zero.Please advise.
For Example req# 25613998 Line item 10
Table key value in the system report is 510002561399800010 & the field name is EKGRP
when I download the report in to excel the table key value in the excel is 510002561399800000 in excel iam unable to identify the particular req line item #.
Please help. -
I understand PR can be released if release strategy is applicable. Can I reject if I don't want to approve PR ?
Hi,
In your case u need to activate / use workflow for carrying out the required PR rejection scenario.
For that, pls. use standard PR workflow template WS00000038, make copy and modify the same according to your requirement.
Assign release codes on this and run the cycle it will send message to the requester inbox once the particular PR get rejected.
Award points, if found useful.
Thanks
Rifaie.M -
Purchase req. release - who is authorized
I have a purchase requisition with 3 release code. How can i see who is athorized to make the release?
I don't know if this is Profiling or not.
Thnak you.Use Tx SUIM and the option below it to search for Users by complex selection criteria.
In the Authorisation Object field put M_BANF_FRG and then in the revealed field the specific values for Release Group(s) and Release Code(s) you wish to search for Users by.
Execute and list of Users returned.
Cheers,
Nick -
Request Approved, Requires Purchase Req Release
Hi All,
There is a PR wherein releases is done by the Approver.
Even after they have been released in SAP, but continue to appear in Approver's email asking for approval.
Please guide....
Thanks in advance.Hi,
Using workflow you can solve your query.
To have a better understanding on workflow Please refer the below link .
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0bbdb3c-d640-2a10-d3b2-e4d9b90536a6
Hope it helps you.
Thanks. -
Release Stratergy User in Purchase Req.
Hi Friends,
We are using user exit to determine the Purchase Req. Approvers. In ME52N/ME53N under the Release Strategy Tab there is a table which shows the Approver name and description against each Release code. In our case we have multiple approvers against each release code, but the system show only one against release code, Is there any way to show all the approvers there(i.e.multiple rows against each release code).
To be precise all I want is that my Purchase Req. Release Strategy tab should show all the approvers along with release codes .Please advise.
Regards
SapientHi ,
I think what you are looking for has little to do with the worlflow. All you want is that your Purchase Req. Release tab should show all the approvers along with release codes .
The idea is good but is not possible using user exit or workflow . You can go in for implicit enhancement for displaying all the possible approvers in the ME54N transcation.
How workflow can help here is by passing the relevant Work item to all the approvers.
Regards
Gautam
Edited by: gautam maini on Mar 21, 2011 10:26 AM -
Workflow error in release Purchase requisition
Hi All,
I configured the settings for workflow in Purchase Requisition.(both purchsing & task specific )
Now, my workflow is started but its status is Error.
actually it is not able to find the recepient in role 20000026.As i already mark relevent release code as 1 & also assign US user id in the PR release settings & also put the User ID in task specific customization.
Still i am facing this error.One thing i want to mention is i am not aware of the settings required in the Edit Qrganizational Plan tab in SPRO.
If some more clarification is required ,i will prode the same..
Plz suggest some solution in this regard with T codes & bit detail.
Thanks & Regards,
Sandeep SharmaSandeep,
Okay here's some details which will help you out. I presume that you have done customizing for PR release strategy.
If not then follow this procedure:
http://help.sap.com/saphelp_47x200/helpdata/en/04/92761846f311d189470000e829fbbd/frameset.htm
Once you establish release strategy , event releasestepcreated will automatically created by system based on release codes.
so say for a standard pr type you have defined two release codes I1 and I2 (based on certain amount- you can see this in class characterisitic using tcode CL02) and class type -032 and class PR_RELEASE most probably, check Char. tab).
Once you define char. in CL02, you gotta run tcode CT04, give the name of char. and fill all tab.
inside tab Addl data, you have to define CEKKO table and field too
this is where we have referenced the event releasestepcreated implicitly.
FOR all customizing of release strategy check this link , this is really great blog
http://www.sap123.com/forumdisplay.php?s=cced678eca43fe7a7e3bb9b83dc94022&f=2
then search for "setting up simple release procedure" thread in it.
It is for PR.
So if I1 release take place event will triggered, say A has approved I1 level and for whole PO release I2 is also required then one more time event releasestepcreated event would be triggered.
You can create workflow for PO release. Approver are determined based on rule AC20000026 (check in PFAC) based on FM which has user exit EXIT_SAPLEBNF_001 where you can write down your own code for approver determination.
I think that you gotta put 9 (in release code settting in SPRO). If you are inserting 1 then you have to define US and user name (which I think you have done).
Hope it will clear your doubts
Cheers
Jai -
Problem in Purchase Order Release Workflow
Hello Experts,
I am working in a workflow for releasing PO.In this workflow I have created just one activity step type to release a purchase order.Here I have taken PO(BUS2012) object as input parameter.In the activity step type I am using a custom task(TS99900011).In this task I have used BUS2012 as Business Object and SINGLERELEASE as method.Here I have used 3 terminating events of BUS2012 object.They are Released, Reset and significantly changed. I have just copied the standard task (TS20000166).
Now my activity step has four outcomes.We can see them in Outcomes tab.
1.Purchase Order Released(Cgy:External Events)
2.Not Used(Cgy:External Events)
3.Purchase Order Changed Significantly(Cgy:External Events)
4.Processing obsolete(Cgy:Internal Events).
I have set agent assignment as user Manas.
Now, when I am testing the workflow with a valid PO number as input the work item goes to my inbox for release the PO as expected.There I can release or reject the PO.But while saving after releasing or rejecting the PO the work item still remains in Workspace Inbox.Any of the four outcomes is not appropriate for the activity.
Can anybody suggest any solution to overcome the situation.
Are the external events are really helpful in developing workflow activity?Please suggest.Hi Manas,
There is one option, where you can stop the workitem and even entire workflow.
Use Fork for parllel processing
Have a Wait step with BUS2105-Significantlychanged event and outcome to the end of workflow.
Thanks,
Sudhir.
Maybe you are looking for
-
F110 payments documents data modification
Hi Gurus: I need your help, cause I have a solve a client requeriment quickly. When I use F110 Tx (automatic mass payment), for pays via bank account, I need to copy some data from "invoices to pay" to payment documents asociated, because this data l
-
Could i show the dashed-line of Tree Control in Flex 1.5
For example, there is dashed-lines between folder and folder in the Windows Explorer.I wonder whether i can set a property to let the tree control show its dashed-line. Thanks in advance.
-
I installed firefox 4 and now none of my media players work in my e-mail account - only giving me a blank screen and a "done."
-
ITunes won't open after downloading version 8.0.2
I downloaded the 8.0.2 version of iTunes on Nov 25 and ever since I have not been able to open iTunes. Every time I try I get "The application iTunes quit unexpectedly". If I click relaunch the same message pops up. Reporting it to Apple does nothing
-
Tired of getting On-Screen Message about aligning new print cartridges​.
Hello, I have an hp Deskjet 5440 Printer. Every few minutes I'm getting the message (on the monitor screen): "If you have just installed a new print cartridge it is recommended that you align it. Click on "Align" to align your new print cartridge."