Simple workflow with single approval
Hi Experts,
Is there any configuration guide/steps available for a simple process like salary change in MSS ?
Any help is appreciated.
-Victor
Hi,
Did you check in help.sap.com ?
Kind regards, Rob Dielemans
Similar Messages
-
I've set of operations , which can run with depecdency between ( for example ,
when a new message come -several subscribers can process it), BUT an ending
operation must be performed after all those operations finished (for example ,
releasing some resource -clean stage areas).
can I defined a subscriber which will get the message , after others subscribers
has process the message ?
or instead define another queue , which get the message after all subscribers
has process the message ?Hi,
Did you check in help.sap.com ?
Kind regards, Rob Dielemans -
Approval WorkFlow with custom steps
Hi guys,
I need to create, using SPD, a simple workflows with this Outcome step
Accepted e Approved so, for example If I have these users in My WF
UserA, UserB
I want that UserA change the WF step to Accepted and then UserB close the WF with Approved.... is it possible?
thanks!
SergioHi Brampurnot,
I have created supplier via create Supplier via workflow from a custom supplier type which has workflow attached to a custom phase. After creating the Supplier and when it was in Created phase I found supplier in My supplier workflow Activities
under For manual Phase change. Then when I changed phase to the Approval attached phase, I found the supplier in the channel for the approver attached at that phase.Then after when the Approver approved the supplier , the supplier was visible in the "search supplier" to me!.. Hope it helps regarding the Supplier workflow..
And coming to registering through Form I thought you might be mentioning Supplier registration at Buy Side! .
Supplier Self registration seems not to be enabled yet on my application , so I dint have idea that it exists. Would let you know if I can try that scenario.
Regards,
Uday -
Starting workflow with HTTP-Post
Hello,
like I wrote in Starting workflow with HTTP-Post I have a problem with starting a workflow with a http-post:
I have an installation of SAP ERP 2005 SR2 IDES on Win2003 SR2 SP2 and want to start a simple workflow with an external application. Therefor I created an elementary test-workflow and set the general task flag so everybody is allowed to start it. So far everything work fine as I start it manually.
Now I want to start the workflow by an external application over a HTTP-Post as described in
http://help.sap.com/saphelp_47x200/helpdata/EN/54/de9e3887d6174fe10000009b38f842/content.htm
I configured the webserver (Customizing Web-Server) as follows:
Service: WebFlow (Intranet)
Address: http://192.168.0.216:8000/
Path: SAP/BC/WORKFLOW_XML/?
and sent a post via perl to http://192.168.0.216:8000/SAP/BC/WORKFLOW_XML/?protocol=01&localkey=WS99900004
<?xml version="1.0" ?>
<WfMessage Version="1.0" xmlns="http://www.wfmc.org/standards/doc/WF-XML">
<WfMessageHeader>
<Request ResponseRequired="No">
<Key>http://192.168.0.216:8000/SAP/BC/WORKFLOW_XML/?protocol=01&localkey=WS99900004</Key>
</WfMessageHeader>
<WfMessageBody>
<CreateProcessInstance.Request StartImmediately="true">
<ObserverKey>http://192.168.0.224</ObserverKey>
</CreateProcessInstance.Request>
</WfMessageBody>
</WfMessage>
The Web-Server returns
C:\FH\SAP\perl-scripte>perl http-post.pl
HTTP/1.1 200 OK
Server: SAP Web Application Server (1.0;700)
Content-Length: 0
Content-Type: text/plain
Client-Date: Sun, 01 Jun 2008 11:00:24 GMT
Client-Peer: 192.168.0.216:8000
Client-Response-Num: 1
but it seems that nothing happens.
I also tried to post the XML via html-form-field with the same result.
Did I forgot something essential?Hello Daniel
It's 6 years after you posted your question, but I found your post very useful and thought it would be worth updating for future reference.
I've just managed to trigger a workflow via http.
URL :
http://server.domain:8000/sap/bc/workflow_xml?sap-client=110
Java :
URL obj = new URL(url);
URLConnection con = (URLConnection) obj.openConnection();
String userpass = "username:password";
String basicAuth = "Basic " + javax.xml.bind.DatatypeConverter.printBase64Binary(userpass.getBytes());
con.setRequestProperty ("Authorization", basicAuth);
con.setRequestProperty("Content-type", "text/xml");
con.setDoOutput(true);
DataOutputStream wr = new DataOutputStream(con.getOutputStream());
wr.write( xml.getBytes("UTF-8") );
wr.flush();
wr.close();
You can then read the response.
I found that until I added the sap_client parameter I couldn't debug in CL_HTTP_WORKFLOW_XML->IF_HTTP_EXTENSION~HANDLE_REQUEST. Then I found that the content type has to be "text/xml".
I set the xml variable (the data sent to ECC) to :
<?xml version="1.0" ?>
<WfMessage Version="SAP.1.0" xmlns="http://www.wfmc.org/standards/doc/WF-XML">
<WfMessageHeader>
<Request>
<ResponseRequired>Yes</ResponseRequired>
</Request>
<Key>HTTP://server.domain:8000/SAP/BC/WORKFLOW_XML/?~localkey=WS90000074</Key>
<Operation>CreateProcessInstance</Operation>
</WfMessageHeader>
<WfMessageBody>
<CreateProcessInstance>
<Key>HTTP://server.domain:8000/SAP/BC/WORKFLOW_XML/?~localkey=WS90000074</Key>
<ContextData>
<YOUR_CONTEXT_VARIABLE>x</YOUR_CONTEXT_VARIABLE>
</ContextData>
<StartImmediately>Yes</StartImmediately>
</CreateProcessInstance>
</WfMessageBody>
</WfMessage>
regards
Steve -
Single step workflow with multiple approvers (without using a group)
Hi,
is it possible to have a single step workflow with multiple approvers without using a group? This is for a contract document.
i want to add a number of users based on particular logic. The approvers are random and do not belong to any particular group.
DO let me know if it is possible or if any of you have done that.
thanks in advance.
regards,
rubioHi Rubio,
I believe the behavior would be, if individual users are added as approvers then the system would require each approver to approve the document. However, if you use the user group, you could set the role so that it would be either ALL or ANY.
Regards,
Vikram -
User change attribute workflow with approval problem
Hello,
I have a requirement to add account numbers to user entry through workflow with approval process. and also same user can have multiple account numbers. when approver approves the User request then it's account number will be added into the user entity in ldap.
So, i have created a Change Attribute workflow for that account number with these steps as : initiate, Approval, Commit, Error_report
this workflow i am able to invoke through IdentityXML call and from OIM interfaces approvers able to approve and that account number is persisting under the User entity.
Problem is: Actually above request is staging system. when user requests, it is in initiate step, when approver approves the request then only commits the info. so, there are 2 stages here.
When i am requesting two consecutive account number requests then both requests are in initial stage. Then approver approves the 1st request then it is persisting into User entity. after that approver approves the 2nd request then this account number is overwriting the previous one. so, here is the problem i am finding. worflow is not adding the new account number.. instead its replacing the last value in the list of account numbers for an User entity.
I hope the above problem make understandable..
Really its a very much helpful to find the solution on this.
Thanks in advance,
Srini.Thanks for the help. Having reinstalled OID/OAM a bunch of times to properly add our custom user object, nothing seems absurd. I tried running through your steps, but I'm still not getting the workflow button. I've customized create and delete workflows properly, but the change attribute is a mystery.
I did the following:
1) Selected a custom attribute in Attribute Access Control
2) Changed its read access to Anyone
3) Saved
4) Changed its modify access to Anyone
5) Saved
6) Added a new Change Attribute workflow for the custom attribute
7) Action #1: Request, added Anyone as participant and saved
8) Action #2: External Action, selected attribute is the custom one
9) Action #3: Commit
10) Saved and enabled the workflow
11) Restarted the Identity server
12) Picked a user
13) Opened his user profile
14) Clicked Modify
The custom attribute is still editable and has no Request a Change button. -
Approval Workflows with Browser-Based InfoPath Forms Not Opening In Browser
Hello,
I have an InfoPath forms document library with browser-based forms. Once a user submits a form, I have them utilize the built-in Approval workflow. The approval workflow emails the approver and provides a link to the document. When they click the link in the email, it trys to download the InfoPath XML form instead of opening in the browser.
How do I get it to open the form in the browser when I user clicks the link to it from the email or the approval task in the tasks list?
ThanksHi chapman85,
Could you please let me know if Clayton’s suggestion is helpful for your issue?
If you need further assistance, please feel free to let me know.
Have a nice day!
Lambert Qin
TechNet Subscriber Support in forum
If you have any feedback on our support, please contact [email protected]
Sincerely,
Lambert Qin
Posting is provided "AS IS" with no warranties, and confers no rights. -
Issue with Inactive Approver Role in Workflow definition
Hi Experts,
we are having issue with Inactive Approver Role in workflow definitions.
we have created workflow for Master agreements and Projects. Phases and workflow are working fine.
But the issue is when a programmatically added approver has completed the approval activity, collaborator role is not changing from approver role to Inactive Approver Role mentioned in workflow definition. For example, you might select Reviewer in Inactive Approver Role, Then Selected collaborator role to be given to programmatically added approvers when the approval activity is completed.
This is functionality not happening when project or contract document approved and workflow completed in project and MA. we have followed all the standard functionality when we have created workflow. Please see screen shot for the same.
Can anyone please tell me is there any functionality we missed it or do we need to write any script in xpdl or do we need to check anything with collaborator role or with security profiles.
we have checked with other roles also same issue coming.
This Reviewer is in active state and have Readonly profile. We don't have Pre script in this workflow because we are using standard approval.
Thanks in advance!
LavaThanks gary for your helpful answer.
As per your answer We have added the approver role in the prescript so that it gets added programmatically , still no luck.
here is the script we wrote in prescript.
import com.sap.eso.api.common.*;
import com.sap.eso.api.projects.*;
import com.sap.odp.api.workflow.*;
import com.sap.odp.api.usermgmt.masterdata.*;
import com.sap.eso.api.doc.collaboration.*;
import com.sap.eso.api.doccommon.masterdata.*;
import com.sap.eso.api.ibean.*;
import com.sap.odp.api.ibean.*;
import com.sap.eso.api.contracts.*;
import com.sap.odp.api.doc.collaboration.*;
collaboratorsCollection = doc.getCollectionMetadata("COLLABORATORS").get(doc);
if (collaboratorsCollection.size() > 0)
for (int i = collaboratorsCollection.size() - 1; i >= 0; --i)
collaboratorsCollection_member = collaboratorsCollection.get(i);
if (hasValue(collaboratorsCollection_member))
collaboratorRole = collaboratorsCollection_member.getCollaboratorRole().getDisplayName();
// Get approver of Role "Approver".
if(collaboratorRole.equals("Approver"))
principal = collaboratorsCollection_member.getPrincipal();
if (hasValue(principal))
addApprover(principal);
Do you have any other suggestions? or if you have any related code snippet please share with us. -
Single approval workflow to apply on multiple selected item in Sharepoint 2010
Hi All,
I have the following work flow requirement:
1. Select multiple list items/ documents from a library
2. Start a single approval work flow for all the selected items
3. Which creates single approval task for all the approvers (Hence Multiple approvers)
4. rejection by single approver rejects all the approval process
(step 4 i know)
How can i go ahead with this?
Met vriendelijke groet / Best Regards,
ir. Poojith Jain | SharePoint Developer
LinkedInHi All,
I have the following work flow requirement:
1. Select multiple list items/ documents from a library
2. Start a single approval work flow for all the selected items
3. Which creates single approval task for all the approvers (Hence Multiple approvers)
4. rejection by single approver rejects all the approval process
(step 4 i know)
How can i go ahead with this?
Met vriendelijke groet / Best Regards,
ir. Poojith Jain | SharePoint Developer
LinkedIn
Hi, which solution did you follow to accomplish that? -
Workflow for Document Approval
Hi all,
I'm a newbie to SolMan and is trying to figure out how to implement a workflow for document approval. A similar question has probably been posted in the past, but I can't find a definite solution, only some hints.
Basically, what we're trying to achieve is the following:
When a document is uploaded using SOLAR02, and the creator of the document changes the status to ready for sign-off, we would like to trigger a workflow which will send an email to a couple of persons who are responsible to approve the document. We already implement the digital signature, we just want to add an automatic email notification to be sent to the approvers.
Based on my research, it seems that this is not supported by SolMan and hence we have to do a custom development.
There's an object key called SOLMANDOC and we should raise an event (something like SIGNATURE_PROCESS_START) to send an email notification to the approvers. Can somebody confirm whether my understanding is right ? Does anybody know the name of the BADI that we can modify to achieve our goal ?
FYI, we're using SolMan Rel 7.01 SP 19.
Thanks in advance
LaraHi Phil,
I'm facing with problems with creating a simple 2 steps release strategy.
the problem is I cant approve the last step of the release.
This is what I did:
In spro Digital Signature->Signature strategy:
in "Define Authorization groups" I create this entries:
1. EING
2. VERIF
in "Define Individual Signatures" I create this entries:
1. S1 EING
2. S2 VERIF
in "Define Individual Strategies: I create this entries:
SigStrat: ZSIGSTR
Signature Method: R
Display comment: X Required
Display Remark: X
Display document: X
Verification: not checked
in "Assign individual signatures"
CtrIn Indiv.SIG. AGrpDIG
1 S1 EING
2 S2 VERIF
Display Predecessor for Ctrln is 2 is 1
for "Display release statuses" an entry with one line with the value 1
and in "Display individual signatures there 2 entries 1 and 2.
in spro "Define Document status schemes"
stat scheme "ZSIGSTR"
4 status:
Status init status Sequence Low High lock Signature schma End status Cancel status
COPY_EDITING X 10 10 20 -
REVIEW 20 10 40 X ZSIGSTR RELEASED DECLINED
RELEASED 30 10 40 X
DECLINED 40 10 20
I created two roles with object c_sign_bpr one with the value "EING" and the other with the value "VERIF"
I assign this status scheme to a document type in my project.
I tried to release a document the first step was the author of the document move the status to "REVIEW" and I got a window that i need to enter my password and it worked ok.
The problem is in the second step that I need to release the document (now is in a REVIEW status) When I press on the icon in order to release I didn't get the option to release only to cancel there is no "V" option in the small window.
Can you please tell me if I did a correct customization? also can you tell me if my problem is maybe missing authorization? Can you direct me to reading material or to an example?
Best regards
Lior Grinberg
Edited by: Lior Grinberg on Nov 28, 2011 6:22 PM -
Set up Workflow with Lotus Notes
Does anybody know a procedure or a guide to configure the Sap Workflow with Lotus Notes?
I would like to do a scenario looks like follow:
- a user create a purchase order on Sap;
- the workflow system sends a email to an approver (to Lotus Notes);
- the approver reads the email and can approve or reject. This step is done inside Lotus Notes.
Thanks in advance for any help.
Renato.Hi ,
You can achieve it in following simplest
1. Create a simple BSP page for approval and Rejection.
Send the link of this page in the mail to the lotus notes server . Lotus notes user will open the mail and he will click on the link to get the BSP page .
Handle the process that should happen after the user makes an action in the "OnInputProcessing" event of the BSP page.
Pls reward if useful.
Regards,
Laxman Nayak. -
I am trying to create a simple workflow process; using OW4J it starts calls a java class and then ends. The log tells me that is executing the item type however the class method is not being executed(nothing happens); no errors are being displayed. Has anyone tried to do this and if yes can you please post a quick sample or offer some guidance.
Thanks.Hello,
We are working on an integration project using interconnect 4.1 and workflow.
In interconnect we use content based routing, for workflow we defined routing rules.
When using the workflow integration we succeeded in receiving an event FROM
interconnect TO workflow (WF_IN agent), when we complete the workflow proces (simple approve)
we want to send an event back FROM workflow TO interconnect : but we don't know
how to do this!
- To which Agent do we have to send our event using the workflow builder (to agent, out agent?) ?
- How do we have to define that agent (adress, Queue Handler, Queue Name, direction)?
- Is there any documentation about this?
Greetings,
Jan Marckx Hi,
I remember feeling your pain. Hope I'm not too late, or that you got it already.
You sound like you already have two routing rules for your event
APP1 -> WORKFLOW, WORKFLOW -> APP2.
You need to create a process bundle in iStudio in Design mode with some Publish and Subscribe
activities under it.
In the Deploy tab, right click on Workflow and Deploy Event definitions to Workflow Bus. System
and create the .wft file.
Go into WF and check if the events show up in the Events page.
Go into WF Builder and open the .wft file.
Look for your Publish and Subscribe events in Processes and open the diagram.
Click on the processes in the diagram to see the Event Name, Agent, Action etc. They should all
be correctly generated) You need to look at the properties in the instance of the event (in the diagram) and not in the navigator. -
How to concatenate a string with single quotes
Hi all,
how to concatenate a string with single quotes to a variable.
SathyaHi sathyabama,
1. simple
2. use TILDE character <b>(`)</b>
(just left to the '1' key)
<b> `'mystring'`</b>
3. just copy paste
report abc.
data : m(100) type c.
concatenate `'amit mittal'` 'hello' into m separated by space.
write m.
regards,
amit m. -
Workflow : WS90000005 - No approver name
Hi,
SRM 5.0
Workflow WS90000005 .
I have tested this workflow with custom code and it works well (technically ! ).
When the approver approved the shopping cart, it doesn't show the approver name on the "approval overview" screen. It shows "approved" (no name). But when the approver reject the shopping cart, name appears
I have searched the forum....someone mentioned that if the workflow is NOT set as general, it might happen. I am not sure where can I find out whether the WF is set as "general" or not.
Please help.
If you think the problem could be somewhere else, please let me know as well
Thanks
-PranavHi Pranav,
Is your workflow is a copy of SAP standard workflow. Are you using BAdI for n-step workflow, please let me know. I will help you out with this issue.
If you are using n-step BAdI then please check APPROVAL_TABLE and fill it properly with all details ( userids / username etc).
Thanks and Regards
Pras -
Hi,
I started implementing a simple workflow and now I have a problem and I don'z know how to solve it using the technology of SAP-workflow.
I created two workflows in SWDD (WS...). The first workflow calls the othe workflow in a special case. This is done by using a standard link with a activity (linked to WS instead of TS).
Now I want to have that all the activities implemented in the second workflow should be done by one user of a group of user.
The problem I now have is that in every step of the second workflow (e.g. user decisions) I have to set the agents. In my case this is a group of users. So the problem occurs if agent A1 makes the first descision, another person B2 can do the following steps of this workflow.
What I want to have is something like "a workitem with several steps included", that means when agent A1 selects the workitem, the following steps should only go to this agent and not to every agent that is in the group of persons for that task.
Hard to describe I think. I hope you understand what I tried to mention here...
Thank you for your support!
MarkusHi.
I am not sure if I understod correctly, but maybe I did.
First step: I assume that you have several agents for this step, and anyone can execute it? Well, you can bind the container element actual_agent from this step back to the workflow. The actual agent will be the user who completed the work item (or step). You can bind the element to for example an element called LastAgent (that you need to create to your workflow container).
Following steps: Instand of using the same rule (or agent finding logic) as you did in the first steps, you can now use an expression in the agent determination. And the expression should be now the LastAgent. Easy.
Now all the following steps will be seen only by the agent who completed the first step.
Regards,
Karri
Maybe you are looking for
-
Battlefield 3 on a Imac 27" possible?
Hello everyone, I think i gonna buy an Imac 27" 1 ghz gpu 3.1 ghz i5. But is it possible to play battlefield 3 on it, with boot camp and windows 7? Greet, Henk-Jan Leusink
-
problem with photobucket..When i get ready to send out comments to myspace from my customized albums..it freezes and im not able to send. They say it works for them and gave me a long line of things to do..I have attempted that..it still doesnt work.
-
Im having sooo many problems. First I recorded 2 tracks and now they cant be found in the mix. I didnt get the chance to save.. I looked in the undo history.. I dont know what happen I just know it has a space in the mix where the track was at... Sec
-
User function code not substituted
Hi I have a user function (getCode(...)) of the form case when exists (select * from ...) then '!Ok!' else '!None!' end When I use this function in a interface mapping (getCode(a,b,c)), the code is not substituted in the generated query (as seen in t
-
ACL-list syntax error in PIX after upgrade, need urgent help!
Hello everyone We have a setup including Cisco ACS + a VPN 3005 Concentrator and a PIX 515E (7.2.4) We upgraded the PIX version from 7.0 to 7.2.4 and suddenly our downloadable access-list was getting refused when users authenticated against the ACS.