Workflow item update status problem

Hi,
we are having 2 level approval process (SRM 5.0 classic scenario). we are having below mentioned problem.
User creates a SC and it goes for approval.once he approves the SC.system shows the node id state  as COMPLETED in bbp_pd but the workflow item status will be STARTED and status text will be IN Process.
could any one suggest me how to overcome this problem.do i need to execute any reports or any config is missing?
regards
subbu

Hi Masa,
i have checked the way you have sugggested.
1) before approval the status is STARTED and status text as IN Process and node id status is READY
2) After approval the status is STARTED and status text is IN PROCESS and node id status is COMPLETED
workitem id remains same. approver is not changing anything he is just clicking on approve button.i am not able to see any information in RZ20. i tried to update the cart status through program BBP_ALERT_SB_NOTTRANSFERED but i found no changes in RZ20
any suggestions please
regards
subbu

Similar Messages

  • Sharepoint2010 Reusable workflow Out come status problem

    Hi ,
    I have one reusable workflow which is associated to library. it having more conditions and statements. this is
    main workflow in my project. at a time more than 10 users are working on this workflow.
    All the tasks are storing in task library.
    based on Outcome status (Workflow column)field my workflow going next level.
    if Outcome status is submit or complete it's going to next level.
    some items Outcome status been updating as a "cancelled". In workflow i have not given this condition. But it updating like this.
    even i am unable to found any error/exception in log file.
    so once status has updated as a "Cancelled" workflow not going to next level. in that case i am simple terminating the workflow running from first step.
    so please give so suggestion to overcome this issue.

    Hi,
    Is this SPD workflow? The workflow task status changes to Cancelled if the task is no longer required to be responded by the individual. Do you have any condition in the workflow where it is assigning task to multiple people but only one response is requred?
    In this case, workflow will update one task as completed and other tasks as Cancelled. Check the completion condition of your workflow. Hope it helps.
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

  • Timebased workflow to update Status field

    Hi,
    Our requirement is to set status to 'Closed' after 15 days of opening an SR. Please let me know if any of you addressed similar requirement.
    Thanks in advance!
    m

    A new feature in R18 allows you to update a field through Workflow after waiting for a certain period I guess that should help you
    Regards,
    Deepak

  • Problem in workflow process when update status of CC32 via workflow

    Hi,
    i am working on workflow support issue which is relating to CC31/CC32, here we create change number in CC31, but we won't change status of CC31 in CC32. it is possible thru workflow item only. but when 3 rd person updating status from 2 to 3, he is geting error, because the previous statuses are not updated. it's happening sometimes only not all the times. why.
    venkey

    Hello,
    What's the error? What's CC31?
    regards
    Rick Bakker
    hanabi technology

  • How to set Changed_by field with User ID not by Workflow ID, when Status Update from Workflow

    Hi Frds,
    I am updating the Order Status from Workflow. So the Status update (or Order Changed) is save with Workflow ID. I need to insert UserID instead of workflow ID. Please help me out of this.
    Thanks
    Imran

    Hi Imran
    With the very few details available on your process, the workflow design and the "Order", all I can suggest is that:
    1) In your workflow definition, go to the step which sends the user decision, in the binding FROM the TASK TO the Workflow, set _ACTUAL_AGENT to a workflow container element , say DECISION_AGENT (of type SWHACTOR)
    2) Assuming that the next step in APPROVAL branch is setting of the status, go the task ID of that Step -> make it a dialog step (remove the Background Processing check) -> set it's agent assignment to general task
    3) Back in the workflow, set that STATUS SETTING step to Advance With Dialog under the details tab
    4) In the control tab of the same step, in the agents section, set agent as EXPRESSION and the value as &DECISION_AGENT&
    When a user approves the decision item, his ID will be stored in DECISION_AGENT
    The status set will execute immediately (because of "Advance with Dialog")  in the same session of approving as the user who approved is the same running this step now
    The status will be set by the ID of the Approver
    The above is hypothetical considering
    1) You do not have dynamic parallel processing
    2) Status setting happens immediately after the approval; as a first step in the approval branch
    3) The Decision Task does not has "Confirm End of Processing" checked.
    Regards,
    Modak

  • Having a problem using Workflow to update a field based on ZIP code

    I created a Workflow to update a Yes/No picklist called eligibility based on a Text (Short) field called Applicant ZIP code.
    It's set to update on the Opportunity page:
    Before modified record saved
    And the value function is:
    IIf(InStr("60601_60602",[<stApplicant_Zip_Code_ITAG>|http://forums.oracle.com/forums/]+)>0,"Yes","No")+
    That was a guess of how to try it while relying on my limited MS SQL & Access knowledge.
    It does work correctly using what I did. The problem I have is that I actually need to choose from over 600 ZIP codes. The function window only allows for 256 characters. (And I suspect my way is fairly inelegant for search a multi-thousand character string.)
    Any suggestions?

    I created a Workflow to update a Yes/No picklist called eligibility based on a Text (Short) field called Applicant ZIP code.
    It's set to update on the Opportunity page:
    Before modified record saved
    And the value function is:
    IIf(InStr("60601_60602",[<stApplicant_Zip_Code_ITAG>|http://forums.oracle.com/forums/]+)>0,"Yes","No")+
    That was a guess of how to try it while relying on my limited MS SQL & Access knowledge.
    It does work correctly using what I did. The problem I have is that I actually need to choose from over 600 ZIP codes. The function window only allows for 256 characters. (And I suspect my way is fairly inelegant for search a multi-thousand character string.)
    Any suggestions?

  • Problem in displaying workflow Items in UWL

    Hi all,
    I am facing the following problems in displaying the workflow Items in UWL
    I am able to see the work flow items in SAP inbox but not in UWL.
    The following are my issues and questions
    1. what is the type of system to be created in portal.
    BI JDBC System
    BI ODBO-Compliant OLAP System
    KM Windows System
    Portal Tenant System
    SAP system using connection string
    SAP system using dedicated application server
    SAP system with load balancing
    Web Service System using WSDL URL
    2. what is the configuration need to be done in Universal Worklist & Workflow
    3. Any other configurations need to be done in WAS server and SAP server.
    Please anyone give me the solutions and it is urgent.
    Thanks in advance
    Thanks
    Ponnusamy P

    Hi,
    <b>1. What is the type of system to be created in portal ?</b>
    This depends on what type of a system are you trying to connect to. If it's an ECC system or R3 system, you may use SAP system using dedicated application server. Give an alias to it and check the permissions of that system.
    <b>2. What is the configuration need to be done in Universal Worklist & Workflow ?</b>
    You have register this system now. Go to System Administration -> System Configuration -> Universal Worklist Administration -> UWL Configuration -> Chose New -> Enter the Name, System Alias and select WebFlowConnector.
    In the System Administration -> System Configuration -> Universal Worklist Administration -> Registration for all types of Universal Worklist WebFlow, register item types by clicking "Register Item types for all systems". Alternatively, you can also click on "Register items types for new systems".
    <b>3. Any other configurations need to be done in WAS server and SAP server ?</b>
    The portal user should have corresponding user on the ECC or R3 system or whichever backend system you are trying to connect to. This user should be authorized to have RFC access to function group SWK1 and transaction SWK1.
    Please refer to this document which lists out all the steps. Please refer to minimal configuration section. https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a3461636-0301-0010-3787-978f5ac8bd45
    Regards,
    Sunil

  • Item level status not updated

    Hi gurus,
    My problem is in the search result screen from Check Status Transaction. When it is create da SC (from Describe requirement or Internal Goods) and the PO is also created, item level status should be Purchase Order Created. However, the status is Approved. The PO is correctly created and it has already been sent to the vendor. Even the lorry icon and invoice icon are able.
    If the SC comes from a catalog item, then it is working ok.
    Do you know how to solved my issue?
    I am working with SRM 5.0 and Extended classic scenario.
    Many thanks!
    Patrícia

    HI,
    Try this link
    How Incoterms gets defaulted for STO
    Regards
    KK

  • ,i want to update the item system status of the CONTRACT (va42) to TECO

    Hi,
    here my requirement is that ,i want to update the item system status of the CONTRACT (va42) to TECO
    Which function module i have to use for this.
    I have checked the bapi BAPI_CUSTOMERCONTRACT_CHANGE .
    But i cant find any field related to system status update.
    can any one advice me how i can i solve this
    thanks in advance.

    I got one function module for this.

  • Event firing at item added and item updated in event receiver?

    Hi All,
    I have created event receiver on item added & item updated on document library.
    1) On Item Added i am updating document library Title column with document Name and i have metadata for the file.
    2) On Item Updated i am move that file with metadata to another document library.
    Now the issue is the event is triggering is twice when an item is added it automatically calls the item updated event
    Need to help please...
    Thanks
    Balaji More

    Hi Thanks for reply.
    I have also write Workflow on Source doc library for document approval.
    In Source doc library i have choice column fields[Status]. Pending,Approved Default is Pending
    when approvers approve the task then i want to update Status: pending to Approved in source doc library using workflow it worked but that time i also want to update destination doc library Status column using Item updated Event receiver but not successed.
    Following is code on Item Added.
    try
    using (SPWeb oWeb = properties.OpenWeb())
    oWeb.AllowUnsafeUpdates = true;
    string UpdateStatus= string.Empty;
    UpdateStatus= properties.ListItem["Status"].ToString();
    SPFile File = properties.ListItem.File;
    SPDocumentLibrary destLib = (SPDocumentLibrary)properties.ListItem.Web.Lists["documents"];
    SPFolder mylibrary = oWeb.GetFolder("Temp");
    SPFile spfile = mylibrary.Files.Add(File, streamWriter, true);
    SPFile newfile = spfile;
    SPListItem item = file.Item;
    item["Status"] = UpdateStatus;
    item.Update();
    oWeb.AllowUnsafeUpdates = true;
    Catch()
    Item Updated when workflow is approved status is changed Pending to Approved
    then i have write a following code but status is not updated when workflow is completed
    try
    using (SPWeb oWeb = properties.OpenWeb())
    oWeb.AllowUnsafeUpdates = true;
    string UpdateStatus= string.Empty;
    SPFile File = properties.ListItem.File;
    if (properties.ListItem["Status"] != null)
    UpdateStatus = properties.ListItem["Status"].ToString();
    SPDocumentLibrary destLib = (SPDocumentLibrary)properties.ListItem.Web.Lists["documents"];
    SPFolder mylibrary = oWeb.GetFolder("Temp");
    SPFile spfile = mylibrary.Files.Add(File, streamWriter, true);
    SPFile newfile = spfile;
    SPListItem item = file.Item;
    item["Status"] = UpdateStatus;
    item.Update();
    oWeb.AllowUnsafeUpdates = true;
    Catch()
    Thanks
    Balaji More

  • Workflow changing the status based some columns value

    OOB workflow SP  designer 2013
    The workflow purpose is change the status columns from
    COMPLETE to IN PROGRESS or from
    IN PROGRESS to COMPLETE according some columns value.. And if the change is from
    IN PROGRESS to COMPLETE
    there will be change in some columns like
    If alertSOP Date <= today then change the status (Columns value) from Complete to In Progress and send email to the manager (the manager email address is a column (Manager Email)
    Else pause until the alert date=Today()
    If the status (columns) = in progress send Remainder email every 10 days
    If the status change from in progress to
    Complete (BY MANAGER MANUALLY) then
     last renewed Date =TODAY()
    Valid to Review=TODAY() + 4 MONTH
     Alert  Date=today() + 5 month
    and  Due Date=today() + 6 months
    AND START THE WORKFLOW AFTER UPDATING THIS COLUMNS FOR NEXT cycle
    SharePoint List(http://server/site/..) LIST ITEMS
    Department
    Contractor
    Division
    Manager Email
    Contractor last renewed Date
    Contractor Valid to Review
    Alert SOPReview
    DueDate Review
    Status
    Workflow Status
    ABC
    JONAH
    10
    [email protected]
    01/01/2014
    05/06/2014
    5/07/2014
    5/08/2014
    COMPLETE
    paused 
    DEF
    SMITH
    20
    [email protected]
    01/01/2014
    02/03/2014
    2/28/2014
    3/20/2014
    INPROGRESS
    INPROGRESS
    Note:
    The status is changed manually by manager from IN PROGRESS TO COMPLETE
    The status from COMPLETE to IN PROGRESS is changed by event or Triggers  (based the alert date) 

    The First Part are coded as follow
    (The workflow purpose is change the status columns from COMPLETE to IN
    PROGRESS or fromIN PROGRESS to COMPLETE according
    some columns value.. And if the change is from IN
    PROGRESSto COMPLETE there
    will be change in some columns like
    If alertSOP Date <= today then change the status (Columns value) from Complete to In Progress and send email to the manager (the manager email address is a column (Manager Email)
    Else pause until the alert date=Today()
    If the status (columns) = in progress send
    Reminder email every 10 days)
    Note:
    The first if Block work as expected
    the second if block generate error.. Internal States Canceled
    RequestorId: 3b262286-66e8-5f9f-09f8-3b09c5be0ebc. Details: System.ApplicationException: HTTP 400 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["1"],"SPClientServiceRequestDuration":["1997"],"SPRequestGuid":["3b262286-66e8-5f9f-09f8-3b09c5be0ebc"],"request-id":["3b262286-66e8-5f9f-09f8-3b09c5be0ebc"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"Cache-Control":["max-age=0, private"],"Date":["Tue, 25 Mar 2014 21:25:35 GMT"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext
    context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager
    bookmarkManager, Location resultLocation)

  • SWO1 approval in background does not clear manager workflow item

    Hi,
    I am trying to approve the shopping cart from a managers UWL in background through SWO1.
    But when I do the shopping cart is getting approved whereas the approval item is still pending with the manager of the shopping cart.
    How to  delete the workitem from the manager inbox once I push the shopping cart for approved status in SWO1 ?
    Regards
    harish

    Hi,
    Awaiting approval is document status. You can find workflow status and workflow item number in BBP_PD.
    Please check workflow item detail in SWI1 transaction.
    I think debug the setReleased method is good way for finding the root cause. It might change only document status and does not change workitem side.
    If the SWO1 method does not fit your requirement, please check the class /SAPSRM/CL_OFFLINEAPP_INBOUND.
    (b) Check whether workitem is still in status 'READY'
    (d) Check procurement document
    (e) Lock procurement document
    (f) Append approval note as a long text of type NOTM to the
        procurement document => Update document
    (g) Execute the workitem
    (h) Unlock the document
    Export the processing results and errors out of the method
    Regards,
    Masa

  • SC in Awating Approval satus but No workflow item found

    Hi Experts.
    We are using SRM 5.0 and have found this strange problem where a SC is awaiting approval status but there is no workflow item generated when we check for the sc in bbp_pd.
    We tried to check in swi1 for workflow item id for that particular but are not able to see this SC.
    What could be the reason where the workflow is not started since in our case once the sc is created workflow gets started automtically in this case that has not happend.
    we ran the clean_req_req_up job and bbp_get_status_2 for this sc but no help
    Any help in this regards will be highly appreciated
    Regards
    Vidya

    Hi Ricardo,
    Thanks for your response As suggested we did check for the SC in SWI6 but we get a messge " there are No workflows that have already worked with this object type"
    Since our SC have approvals in line will restart of workflow trigger the approval or will t get auto=approved,since in a few cases when we retriggered the workflow teh approvals were never called and the SC were auto-approved.
    There are more than 10sc which have stuck in thsi kind of situtation
    we also had a SP patch upgradtion,cld this have been caused  because of SP upgradation?
    Regards
    Vidya

  • Workflow Item not created while processing draft PO from SOCO

    Dear SAP SRM Experts,
    In SRM 7.0, I've a scenario where I create a PO draft in sourcing.
    In the 3step of the GAF, I've the option to
    1. Edit the PO and order it.
    2. Directly process the PO draft to create a PO..
    While in case one the WF item is created with status awaiting approval, in the second case (when I directly process the draft) the workflow item is not created but the status is still 'Awaiting Approval' !!.
    Use of PC workflow is done and the PO is not auto approved.
    Any pointer regarding this would be very helpful.
    The call stack is way different between the first step and second.
    My understanding is if there is some error in the follow on PO, the work item would not be created. But the SC in soco is similar and while in first case it does create the workitem in second case it doesn't.
    When does the decision to create workflow item is decided in second case?
    Thanks.
    Shushant

    Hi Guys,
    Thanks for your inputs.
    The problem has been identified. The error is because  the vendors are deleted completly from the system. And those were  earlier used in shopping cart as preffered vendor. Thats why the system is throwing the error message. 
    As we can not process this SC further we want to delete this SC (line item).  But again while deleting the SC the system is throwing the error message . "Business partner xxxxxxxxxxxxxxxxxxxxxxxx not found."  Thus its not allowing us to delete the SC.
    Do you have any ideas how we can delete the SC line items, or  SC ?  Any FM ?
    Thank you,

  • Reprocess - Workflow in process status

    Hi All,
    I am working with Workflow support,
    I don't know How to reprocess Workflow with the status is IN process.
    I know TC SWPR is a reprocess with error status.
    Thanks & regards
    Subramani.

    Hello Tom,
    I've had quite a similar problem with the terminating event in a dialog while the workitem is locked.
    I came across the same SAPNote 831443, but it doesn't seem to tell the whole story there. As I found out, the status change (from "in work" to "complete") is just skipped over, while the workflow continues with processing, leaving a last workitem "in work" hanging out to dry when the whole process has already finished.
    Basically the problem is, or was, that a popup dialog was shown to the user after the processed the transaction, which held the lock open. I have found no logs, saying that there was a problem with a locked workitem, anyhow.
    At last I have found out, that basically there shouldn't be much coding between the <b>COMMIT WORK</b> statement and the coding that just ends the method with <b>END METHOD</b>. This kind of procedure does definitly apply to the newer Versions, as I didn't have any problems like this before. Mayhaps and only a guess is, that the unlock-operation was previously registered with a perform like PERFORM unlock_workitem ON COMMIT. or something similar. This defenitly has changed under the new releases.
    In your specific case I would recommend to register the event processing in the update task and end the workitem's method as soon, as possible. For example:
    CALL FUNCTION 'SWE_EVENT_CREATE' IN UPDATE TASK   ...
    If this still does not help, you could further disjoin the transaction processing from the event creation by adding
    STARTING NEW TASK
    IN BACKGROUND MODE
    or whatever the correct syntax was here. This will schedule another tRFC on the database commit, which then is defenitly be picked up by another work process of the application server, just right -- hopefully -- after the object's method has completed.
    If you're feeling good with this answers, or it least it gave you new ideas to look upon, please assign points as appropriate.
    Best wishes,
    Florin

Maybe you are looking for

  • Error 4280 - burning failed?

    Hi, I bought a new PC last week, running on Vista now - unfortunately... Every time I try to burn a CD, a message pops up telling me that an unknown error occured - error 4280 (it's unknown but it has got a number??) I've installed itunes again, chec

  • Different File Types to Import - To Conver or not to convert?

    I have a project that I am dealing with which is requiring several different file types. Mainly .avi exported from VEGAS and footage ripped from a DVD. I have heard that it is best to use MPEG Streamclip to convert everything to a DVPro format (I am

  • Septre 15 xt ssd question

    I've just purchased a Septre 15xt touchsmart. I ordered the 128 ssd drive because no larger was available but the salesman assured me I could upgrade later. In further research I've discovered that the standard sized ssd aren't being used. The machin

  • Doesn't crop as size indicated...crops as larger ratio

    I just went through and cropped a bunch of images as a 5x7. When I re-opened the images to put our studio logo on them (using an action) the images are a similiar ratio to the 5x7 size that I cropped the image, but they are not actually a 5x7 so my a

  • Help!(not regarding 4.0)

    so, my 2nd gen ipod touchis having problems with the earphone jack, i have to wiggle around the conector of the earphones in order to get the sound to play out of both speakers, otherwise it only plays out of the right one):