Workflow Step stays "In Process"
Hi Experts,
I have a workflow step which refers to a standard task. The step type indicates "Processing completion by event"
The related standard BO event is already completed, but this step is still 'In Process'. Probably the terminating event is not captured in the WF step.
Please suggest how to set this workflow step to completed status so that it moves on. (Is it advisable to re-create the BO event manually through SWUE)
Thanks in advance!
Ali
Thanks Paul.
-Checked in SWEL, the terminating event is not issued
- No dump found in ST22
Please suggest how to set this workflow step to completed status so that it moves on. (Is it advisable to re-create the BO event manually through SWUE)
Thanks in advance!
~Ali~
Similar Messages
-
Workflow Step 'In Process'- Send mail with PDF attachment
Hi,
have to send mail with PDF attachment.
I have written a function module with following steps,
1. Convert SPOOL number to PDF using Function Module 'CONVERT_OTFSPOOLJOB_2_PDF'.
2. Send mail with PDF attachment using Function Module 'SO_DOCUMENT_SEND_API1'.
The Function Module is giving required output when tested and called in the report(Background Job).
When I call this Function Module from Method-> Workflow Task the Workflow steps status is 'In Process' and not ending.
Could you please help me on this??Hi shafath,
When you try to send mail, You need to call the function FP_JOB_OPEN before calling the function module to generate the pdf. ( /1B****) . Is it missing in your code? -
WS20000075: work item of 1st release step stays in status In process
Hi All,
I have activated and set up standard flow WS20000075 but the work item of 1st release (PO release strategy with 3 levels) step stays in status In process. The work item for the 2nd and 3rd release step are completed as expected.
What could cause only the work item of the 1st release step to stay In process?
Thanks a lot in advanceHi,
I cannot see in what field the release code is filled in EKKO.
See here SWEL after 1st release:
And SWEL after 2nd release:
EKKO after 1st release
EKKO after 2nd release
release strat
Release strategy -
Url link in User Decision workflow step
Hi Experts,
I had created a workflow for "Employee transfer" process using SWDD tcode.
I had a created a workflow step with type as "User Decision".I had included "Approve" & "Reject" decision options.
Now i want to include URL link along with "Approve" & "Reject" in the user decision workflow step (i.e) The manager needs to see the URL link along with "Approve" & "Reject" in his SAP workflow inbox.
Can anyone guide me...
Regards,
Krishna Balaji THi Krishna,
I understand your issue. I have faced a similar issue in my project.
Here is the solution!
To add link of a URL you need to have the binding with the BO of the transaction your are refering to. To do this, you need to bind your BO event (triggering event) to the workflow container and then the workflow container to task container. This BO value should flow from event-> workflow -> task container to get the link in the User Decision.
To do the binding you need to follow the following steps:
1. Go to t-code SWDD and open your workflow template.
2. Go to Basic Data (cap sign button at the top of the screen) or click Ctrl + F8
3. Go to Start Events tab.
4. In the Object type enter your BO name (BO for the transaction you need to add as link), in Event of object enter the BO event. This would serve as the triggering event for your workflow.
5. Click on 'B' i.e. Binding Defined, click on generate automatic binding. It would automatically generate the appropriate binding for the workflow. You can also alter the binding as per requirement. This binding would ensure that the URL comes under 'objects and attachments' section.
6. Click on 'C' i.e. Start Condition. A dialog would open, select the appropriate start condition for the workflow. Check the condition before saving (recommended).
6. Click on 'A' to Activate the binding and start condition. All 'A', 'B' and 'C' would get green.
7. Save the changes made and activate your workflow.
8. Do the binding between the workflow and the user decision step. Select automatic binding (recommended).
You can also refer to the similar thread that I had provided solution to. This would help you resolve the issue!
Re: URL of site has to be attached along with the mail
Hope this helps!
Regards,
Saumya -
MDG SLA time for each workflow step
Hi Experts,
As I know MDG calculates and report the SLA times for an entire process, It will show as violated if the number of days/half day is exceeded since the creation, but it does not show in which step took more time to process.
My requirement is to have SLA control in each step of a workflow. Please check the following example:
Material creation that has 2 approval steps since it submission.
Example: Submission (Requestor) -> Approval 1 (Business Area) -> Approval 2 (Master Data Specialist) -> Activation / Replication
I need to know through a report how much time the Approval 1 took to process the Change request, How much time Approval 2 took to process the Change Request based on the priority set by the requestor.
With this report the responsible from the Master Data department can check the time spent by the processors for each step of the process.
Does anyone had a similiar requirement?
What is the best approach to achieve this? Through standard SLA queries it is possible to have more information? Or only having an enhancement?
I appreciate any help.
Kind Regards,
FabianoHello Fabiano ,
We have also same requirement like .
Submission (Requestor) -> Approval 1 -> Approval 2 ---------- ->Approval- N (Master Data Specialist) -> Activation.
Can you plz share how to achieve this with : Any document for that plz share.
As you mention :
It uses the object type for example BUS2250 and the object key that is a concatenation with the CR number + an index, after that it obtain the "parent" workitem with the SAP_WAPI_WORKITEMS_TO_OBJECT function module. After that it uses the SAP_WAPI_GET_DEPENDENT_WIS and SAP_WAPI_GET_WORKITEM_DETAIL functions.
Thanks
Nikhilesh -
When are Workflows generated from Integration Processes?
Hi Friends
When are Workflows generated from Integration Processes?
regards
SamHello Samuel,
Workflows are build in ABAP engine when you implement your Integration Scenario. So with each Int. Szen. saved in Int. Repository you will get your ABAP workflow in the ABAP stack.
When starting the Integration scenario the workflow history/log in ABAP stack is filled with the first step within your Integration Scenario which is placed after your Start step and using an internal workflow process step.
So you won´t find here explicitly documented send and receive steps in the workflow log (SXMB_MONI_BPE) but transform steps, decision steps etc.... .
Send and receive steps are displayed in SXMB_MONI connected to PI partner (process engine).
So when starting with using BPM it is a little bit confusing to understand how to read both logs and put their information together.
regards
Dirk -
Invoce. N-step dynamic approval process
Hello,
I have a question.
According documentation we have BADI ONLY for SC workflow
and PO workflow.(BBP_WFL_APPROV_BADI)
I need N-step dynamic approval process for Invoice.
The question is : do i need to develop my own workflow or is there other functionality or BADI which i can use for INVOICE?
Thank you.
TaniaHi Hari,
The total value of the shopping cart changes because Manager 1 deletes an item from the shopping cart. So the new value of the shopping cart is 10.000,- euro. In this example all managers must approve up to and including the first one who has an limit higher than the shopping cart value.
Regards,
Martin -
Can I create an HCM Form without involving any workflow steps?
Hi Experts,
Can I create an HCM Form without the involvement of any Workflow steps ? I tried to create a simple form to save the User id( IT0105) of a person. I tried to simulate the process through program RPASR_TEST_PROCESS_EXECUTION. But, finally it failed saying "No workflow assingned. Process not successfully completed" . How should I proceed if I dont want any workflow steps to be included?
I just want the form to update the infotypes directly when I save.
Pls advice,
Thanks in advance!
MaheshYes. This is undocumented for some reason (I learned it from SAP folks! haha). Set the workflow to:
NO_WORKFLOW
You're welcome. haha -
Workflow Steps send automatic emails, but this is not required..??
Hello,
we have a strange problem we got recently with our workflows steps we are using.
The Workflow Steps and Workitems works all just fine, the Issue is that some times the trigerred Workflow Steps automaticly send an an external email to the User outlook with the Wokitem Text & Description, i dont remember that i have activated any thing to send email in the Workflow steps we are using...Please help and advice why this emails is sent out and how we can deactivate it.
We are using the standard SAP Performance Management Workflows, Example WF-Step: TS12300110.
Thanks and Kind Regards,
NazihAgain, i would like to clarify some thing here:
1. The Workflow Tasks we are using in out Process are working just fine.
TS12300110
TS12300111
TS12300115
TS12300112
TS12300096
2. In this SAP Workflow Tasks, there is no step which send an email to the WF-User.
3. To send an Email to user we can use the Reports RSWUWFML mor RSWUWFML2 as you mentioned, i know this well and yes they are planned in the System with a Variant, but which does not include our Workflow Tasks in it. and also the Report RSWUWFML is planned to run once a day in the evening, but we are getting the Emails directly after triggerring the WF-Tasks...strange?
4. I have checked the Tcode SWE2 and found one entry to the WF we are using:
BOR-Objekttyp APPR_DOC INFO_APPRAISER_CHANGE_APPROVE WS12300115
If i deactivate here i will shut down the Workflow ..right?
Thanks & Regards,
Nazih -
Hi ,
Can someone pls tell the steps ( preferably detailed) to create a workflow in MDM .Here is the simple scenario :
1. User A adds a record say Product name .
2. User B approves the records and then only this record should be available in the repository .
How do I achieve the above and what settings i need to perform .
I have MS Visio installedHi Amit Jha,
Kindly follow the steps the achive your scenario.
1. Select workflow table in the Data Manager and create a new workflow.
2. Give workflow name (Ex: Create record approval) and other details set the Trigger action to "manual".
3. Click on the browse button in the property named Workflow. It will open the MS Visio prespective.
4. Create a work flow as defined below
Start -> Process -> Approve->stop
5. Change the property of the steps Approve and Stop as follows to make the workflow meaningful.
Approve
Name - "Send for Approval"
Assignee user - say "MDUser" (User who send the added record for approval) remove other users to avoid confusion.
Stop
Name - "Add record in the MDM"
Assignee user - say "MD_Manager" (User who approves) remove other users.
6. Save the workflow.
7. Execute the add record and approve scenario as follows
a. Login as "MDUser" in the datamanager. Add a record, right click on the record, select workflows -> Add to job-> Create record approval (Workflow name) from the context menu.
b. select Workflow tab in the properties. Select the workflow (Status is Unlaunched) and launch the workflow using the launch option from the context menu.
c. The status will now change to received. Using context menu select "Next Step" -> "Send for approval".
d. Now Login as "MD_manager". Go to workflow tad in the properties. You can find a workflow job with status "received". Click on the workflow job, you can see the record(s) assigned to the workflow in the record pane.
e. Select "Next step" -> "Add record to MDM" from the context menu of the workflo job.
You can add one or more records to a workflow job. Also try adding some validation in the workflow steps. Refer Data manager refernce guide for more details.
Now I am done with the process of creating and executing the workflow for your scenario. Hope this helps.
Regards,
Arun prabhu S -
Step is getting processed automatically.
Guys,
I am sending material number to different agents for editing like ( Purchasing agent, quality agent, sales agent etc).
Hv setup the workflow for the same.
while doing this, i hv setup 2 activity steps for each agent,
1)first step is to display the material to agent in display mode.
so that, he can hv a look at current updates till now.
Task Properties(Agent assignment, Task complete, confirm end of processing activiated).
2) Second Activity step is to Edit his views, for example purchasing views.
Task Properties(Agent assignment, Task complete, confirm end of processing activiated).
Now, the issue is,
As soon as user processes/displays the material & completes the first step.
second step is automatically processed & takes him to MM02 for editing.
we want the step to wait till user goes to SAP Inbox & process the workitem manually.
is it how it behaves normally OR am i missing any config as such............
Regards.
santosh.
Edited by: santosh koraddi on Jul 1, 2010 8:37 PMYou have to deactivate the Advance With Immediate Dialog in the details tab of Activity step of Edit Material and this will not happen.
By default this is checked.
Thnaks
Arghadip -
Pass values between two workflow steps.
Hi,
I have requirement to pass values from one workflow step to another workflow step .
1. In workflow step 1 , we have created dynamic user group.
2. I need to get user group name in another workflow step.
Thanks
RavindraFirst of all if you want to pass custom property to next step then you have to customize the current and next step (if you can it as process step). As of now i can think of one approach by setting up value in meatdata of next route as below in your execute method (if there is only one next step not with "and" or "or" condition otherwise you have to use id or name to find out next step).
first step
List<Route> routes = session.getRoutes(item)
Route route=routes.get(0);
route.getDestinations().get(0).getMetaDataMap().put("key", value)
session.complete(item,route);
destination step
MetaDataMap map=item.getWorkflowData().getMetaDataMap();
map.get("key");
You can try once to check if it works else check through session. Let me know if it doesnt' work for you. -
I am trying to upgrade EPM 8.9(8.49.23) to EPM 9.1 (8.53.08). During dataconversion step the AE process finished succssfully in few seconds. When i see the log it says "There are no conversions to run for upgrade path PF89 (18028,10003)". Please let me know why it didnt do any conversion. Am i missing something?
yes, that app engine didnt inserted any rows. So now when i tried to drill down i found that there was no data in the "new demo" database on table UPG_DATACONV. That is the reason for all this.
When i applied required for upgrade patch in demo it said couple of patch already exists so those update i skipped. Now when i check upd877654 has a step which imports the data in this table. my change assistant told that the update is already available in my demo so i skipped. Now i am not sure what to do.
I tried reimporting the data and running the analyzer again. But worried that there can be any issues due to this. -
Workflow step not executed...
Hi,
In my workflow requirement (for VA01), I want to record the status in a custom table as follows;
Approver id date time status
ABC Submitted for approval
ABC Approved (or) Rejected
So I have created a step called 'update custom status' after the step that sends email to the approver agent whose details stored in another custom table. Then I associated a task with this step which is bound to a custom class / method which has the logic to write the status to the custom table.
The issue is I do not see this step excuted. I checked in the log.
What can be wrong ?
Workflow steps are as follows;
1. Read the document's net value and store in a variable.
2. Read the custom table for agents list to whom the doc has to be sent for approval.
3. Send email for approval.
4. update custom status.
In the graphical view, I can see the update custom status step being called (Green link from previous step to this step) but after that no progress.
Am I missing passing some values ? Or is this step not giving any results ? Whats happening ?
Details on this update custom status step are as follows;
A custom task with terminating event set as _WORKITEM defined. (not synchronous)
A step of type activity defined and bound to the above task with binding done.. (what values should I pass to record the above needed details.)
In other words, how can I record the status in my custom table ?
thnksHi
I think its a background step. If yes, then make it foreground and debug and see what is the problem. Also check for short dumps and turn on the event trace and see the terminating event is getting triggered.
Vinoth -
Ucm: displaying some fields on a profile based on a workflow step
Hi,
Is it possible to hide/display some standard/custom metadata fields on a profile based on a workflow step/
e.g. I am having a workflow with 3 steps
1. manager step
2. specialist step
3. reviewer step
On the 3 step, a reviewer can decide calling an adhoc workflow if he updates some custom metadata fields(adhoc rev1, adhoc rev2). My requirement: Is it possible to show the custom metadata fields only to reviewer on updating the content item. It should not get displayed while checkin the content item or any other step users update the content item.
thanksI had a similar question some times ago - see this thread: Value of dpAction
Yes, you can do it, but you will have to define rule activation conditions properly - using dpAction and dWfCurrentStepID.
Maybe you are looking for
-
How to reinstall 64 bit over 32 bit iTunes installation
Best as I can tell, Apple Software Update installed the wrong iTunes update on my system. I've been running the 64 bit version of iTunes since I got this system up and running (Win7 x64, Intel Core2Quad, etc). Today, I elected to go ahead and let iTu
-
Toshiba printer B-852 using Smartforms
Hi Anybody have tried to install a Toshiba Tec Label printer (mine is B-852) into SAP without the SAPLpd ? I would like to create my printer into SPAD using a specific drivers for TEC like I have already done with Zebra. But I'm unable to find any to
-
Want to install MY copy of Final Cut Studio & change Name & Serials
I want to install my personal copy of FCP onto an iMac I just purchased, but every time I restart it still says old name and old registration number. Tried deleting Library/Application Support/ProApps/Final Cut System ID....but still won't let me cha
-
I need some help with a few questions on the CLAD.. 1) Why make a task in Daqmx? Is it to group things that have similar timing or similar scales? 2) If you disable auto indexing in a for loop will it still yield a 1D array? 3) Can you tell me a few
-
I have a serious network accouting problem arisen from content engine: Our routers are connected to internal backbone router with enabling Netflow to bill the usage (from domestic to backbone) of each users. However, the CE will affect the network ac