Changing task status in code

Hi Experts,
I saw in a thread that different functions were advised to be used whenever changing WBS status programmatically:
System status change of WBS element
I was wondering if a similar list also exists for task status. I need functions that perform the same checks when changing status than the standard for:
releasing tasks
confirming partially / completely tasks
teco tasks
Thanks in advance
Kind regards,
Neil

Not aware regardging Program availability. But the same if you are amuaaly able to set up and to avoid ling time in data upload / Migration.. You can develop BDC and use the same for the changing status of task. I believe  by task, you  are referrring  network activity.
Regards
Nitin P.

Similar Messages

  • Change task status in notification

    is it possible to change the task status like the notification status (in process again). A completed task -> in process again. I can't find this function and also it isn't possible to delete a completed task.
    Best Regards
    Bernd

    Hi,
          you can delete the tasks in database table which has  generated through action box item that means you can mark it as deleted. Take you notification number go to table qmsm and give that notification number and execute you will get the tasks select the task which you are going to delete and go to command bar type /H press enter and then press display then press F7 it will guide you to a line in code
    if code = 'SHOW'. double click on that and in field contents type CAPS EDIT and press change button and then press F8 it will guide you to next screen i.e. QMSM table in change mode. In this set X for field KZLOESCH and delete the indicator in KZACTIONBOX field and save it. Again go to that notification in change mode and see the task.it will get deleted.
    pls reward me with points if it is useful to you
    regards
    satish

  • Change payment status for COD order only

    Hi,
    I know that if I click on the edit button within any order, I can click a button to the right of the Status and a window pops up listing the status types. If I click on "Purchase - Awaiting Payment", I can make that the default status type however this would make it the default for all payments, not just COD payments which is what I'm after.
    I wondered if anyone knows if there is a workaround so that "Purchase - Awaiting Payment" is the status type only for COD payments and "Purchase - Payment Received" is for all other payments?
    Thanks

    Ok thanks. It would be good if it was more specific because then you could create a report to see who has paid and who hasn't but maybe this is something for the future.

  • Sharepoint Designer - Two step List Workflow task item is not changing the status from not started to Complete

    Hi 
    Using SPD i am creating list workflow.
    Scenario: Employee submits a request . Task assign to manager. Manager can either approve/ reject. If approve then change the state column to "done". If rejected the state column to "Rejected".
    Problem is "Assign a to do item" is assigning the task to manager. But after manager approves the status in the task list not changed to "Completed". Still it is showing "Not started". I dont want to manually complete the task.
    Please help me for automatic process. 
    What i should do to change the status to "Complete" automatically after manager approval
    Regards
    Jhanani
    Janani.R

    Hi Janani,
    From your description, you would like to create an approval workflow for a list. When an employee submit a request to the list, an approval task should be assigned to manager, then manager could approve or reject the request. From the request list,
    we should be able to see the Approval task’s status.
    Not understand the reason of designing the workflow to two steps, an approval action should be enough from my understanding. For producing, I create a list named Request list, then customize it in InfoPath form to add a Request field for stating request
    content. Then add a workflow to list named Approval task, add the action of Start an approval process with administrator and make the workflow automatically start when item is added.
    The image below shows the status of Adding items, Approving and Rejecting. Please check if it could meet your requirement.
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Task status is not changed in UWL

    Task status is not changing when it is executed in UWL. the tasks comes from R/3 when a workflow is executed . SAP says realtime refresh not supportinng in current version of UWL. please let me know any workaround to solve this issue.
    Thanks ,
    Sarath

    Hi,
    Unfortuntely, there does not seem to be a 'working' workaround for the issue.
    This is resolved however in SAP Netweaver 7.0 EhP2 or 7.20 versions.
    Please see /thread/1564782 [original link is broken]
    Regards,
    Srikishan

  • Task status not changing in UWL

    Task status is not changed in UWL when the task is executed from UWL . workitems transfered from R/3 by executing a workflow .SAP says real time refresh not supports in this UWL version.
    please let me know any workaround to solve this issue.
    Thanks
    Sarath

    thats right.
    UWL does not refresh immediately. You need to refresh the UWL again.
    As I saw over internet, the Real-time Refresh feature for Universal Worklist is available in SAP NetWeaver 702 SP02 and above, and SAP NetWeaver CE 7.20 SP01 and above.
    Thanks
    Krishna

  • Change User status of Task of Follow up function

    Hi All,
    Does any one of you know how to change the User status of Task through customizing or programming.
    Basically I want to change User status from 'TINI' to 'TSNT' once the email is triggered. I could send the email but I am unable to change the status.
    Thanks in advance,
    Jagadish

    Hey Thomas,
    This should solve your problem..
    CALL FUNCTION 'CRM_STATUS_CHANGE_EXTERN'
          EXPORTING
            client              = sy-mandt
            objnr               = wa_new_user_status-guid
            user_status         = wa_new_user_status-status
            no_check            = 'X'
      SET_INACT                 = ' '
      SET_CHGKZ                 =
      XNOAUTO                   =
          EXCEPTIONS
            object_not_found    = 1
            status_inconsistent = 2
            status_not_allowed  = 3
            OTHERS              = 4.
    In this FM NO_CHECK parmeter must be set to True, else u wil not be able to set the Status.....
    Sample is given above...
    Reward points for usefull answer...
    Regards,
    Anand...

  • Notification task status code

    how do i get the status codes of notification task statuses. for example, if we have notification 2000050 with 2 tasks, first task has TSRL, second status TSOS. i want to write these statuses

    Hi
    You can pass the OBJNR field of the QMELtable  to JEST table for Notification status.
    JEST-OBJNR  = QMEL-OBJNR
    STAT field gives the status of the object
    Similarly you can pass the OBJNR field of any object and take the status from this table
    you can also use the STATUS_READ fun module
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Apps 11i change product status code from "Installed" to "Shared"

    Hi All,
    is it possible to change product status code from "Installed" to "Shared"?
    Reg
    chirag Patel

    Why would you need to do this?
    Generally, it is not possible (not supported). However, you can do that for certain modules (like HR/Payroll). Refer to the following note for more details:
    Note: 461063.1 - HR and Financials Applications Installed as Full Instead of Shared
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=461063.1
    Note: 461063.1 - Changing Oracle Human Resources Installation from FULL HR/FULL Payroll Install to SHARED HR/SHARED Payroll Install
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=461063.1

  • What are the attributes available on Task Status Notification?

    Hi,
    I need to send the information below when a task is completed or rejected. So I would like to know if they are available. I think so because I've got them from Task Status Notification (OIM standard email definition). If not, what are the attributes available on Task Notification?
    <Tasks.Task Name> is <Task Details.Status>.
    <Task Details.Status>
    <Resource.Resource Name>
    Target User: <Users.First Name> <Users.Last Name> [<Users.User ID>]
    Assigned to: <Task Information.Assignee First Name> <Task Information.Assignee Last Name> [<Task Information.Assignee User ID>]
    Response Code : <Responses.Response>
    Response Description : <Responses.Description>
    Error Details : <Task Details.Reason>
    Thanks,
    Renato.
    Hi,
    I have implemented some java code to workaround the problem below... But I don't believe this does'n work in OIM :-):-):-):-) Please, tell me if you are using task status notification in OIM and if your email defintion has the variables below.
    Thanks,
    Hi,
    One of OIM email templates is Task Status Email Notification. I am trying to notify the user (Notification tab) using this template but it didn't work. Even when I set the Object Name and Process Name values for an email definition, it does not work.
    How have you implemented task status notification in your workflows? I think if this template exists in OIM, by default, so it is posible to have the information below during notifications.
    I think I'll have to call Oracle's Support.
    =======================================================
    Subject: Process task <Tasks.Task Name> is <Task Details.Status>.
    Body:
    The Process task <Tasks.Task Name> is <Task Details.Status>.
    The details of this process task are as follows:
    Process Task Name: <Tasks.Task Name>
    Process Task Status: <Task Details.Status>
    Resource Name: <Resource.Resource Name>
    Target User: <Users.First Name> <Users.Last Name> [<Users.User ID>]
    Assigned to: <Task Information.Assignee First Name> <Task Information.Assignee Last Name> [<Task Information.Assignee User ID>]
    Response Code : <Responses.Response>
    Response Description : <Responses.Description>
    Error Details : <Task Details.Reason>
    =======================================================
    As I've said, the e-mail was sent but in blank:
    The Process task is .
    The details of this process task are as follows:
    Process Task Name:
    Process Task Status:
    Resource Name:
    Target User: []
    Assigned to: []
    Response Code :
    Response Description :
    Error Details :
    Is it possible to have those fields available on notifications?
    Thanks,
    Edited by: Renato.Guimaraes on 23/10/2009 08:05
    Edited by: Renato.Guimaraes on 24/10/2009 15:57
    Edited by: Renato.Guimaraes on 26/10/2009 13:31
    I didn't get any answer until now.. Below it is what I've done.
    a) Create an entity adapter that is assigned to the post-update of the Specific Task Info data object.
    b) Select the task information searching by SCH_KEY, for example (I have to do more tests)
    SELECT
    sch.sch_key, sch.sch_status, sch.sch_note, mil.mil_key, rsc.rsc_data, rsc.rsc_desc
    FROM
    osi, sch, mil, rsc
    WHERE
    mil.mil_key = osi.mil_key and
    osi.sch_key = sch.sch_key and
    sch.sch_key = ? and
    rsc.rsc_key = osi.rsc_key
    c) Load the e-mail definition template and replaces the fields
    d) Sends the e-mail
    With that I solved another problem: I have to send an e-mail always the assignee adds a note to the task.
    Edited by: Renato.Guimaraes on 28/10/2009 08:51. How I did that
    Edited by: Renato.Guimaraes on 12/11/2009 12:19
    Edited by: Renato.Guimaraes on 13/11/2009 07:22 Changed the Thread Subject

    Hi Experts,
    I want to extend my doubt a little more.
    I have a requirment  as below.
    User will enter a range of Date say 01.06.2011 to 25.06.2011.
    I need to show him data in two columns one cloumn for the entered day range and second column for prevoius month date rangei.e(01.05.2011 to 25.05.2011)
    can i achive this without  using Customer Exit.
    Regards
    Laxman

  • How to change the status value?

    Hi Experts
    We landed in the starnge situation. We defined a multi task EE Monitor activity to change the status attribute to past due when particular internal event code is overdue. We forgot to assign the correct EE monitor Activity to EE Profile and the report /SAPTRX/EE_MONITOR converted the internal event code to overdue but did not change the status to past due for lakhs of records.
    Now we assigned the correct EE Monitor activity to the EE profile. How do we change the status to past due for already processed records? Is there any standard program available for this purpose or shall we need to write any custom program for it?
    Your quick response is much appreciated.
    Thanks
    Ravi

    Hi Ravi,
    the coding in the EE Mon activity SET_STATUS can be used as template. The method is unfortunately protected.
    It depends if you use EE History (Setting in EH Type Customizing). If yes it is importatnt to update also EE History table and the counter in the EH header for the History.
    Maybe the easiest way would be to send with a report messages to the EH and do the update in the rule set with the standard activity.
    You could use a new event code and react on it in the rule set.
    Best regards,
    Steffen

  • How to change the Status CRTD of the Inspection Lot?

    Dear all.
    I want to Complete an Inspection Lot 10000000005 In the T-CODE qvm2.When I select the Inspection Lot 10000000005 and press F8 to Complete the Inspection,the SAP show an error message "Status check error".
    And the detail info show that the error was cause by the Status CRTD of the Inspection Lot.I check the Status of the Inspection Lot 10000000005 and found that it's Status was CRTD CHCR SPRQ.My question was how to change the Status CRTD of the Inspection Lot?
    Regard
    Yoda

    Hi
    CRTD means ...
    In material master QM vew-inspection setup->Inspect with task list tick is there.
    Now to change status,
    Go to Qp01>create a task list for material(If not exists)>remember date of creation of task list must be prior to date to creation of inspec lot
    If task list is created/exists>go to QA02.<inspection specification -->click on Inspec Spec
    and attach task list
    go to sample tab....click on sample.
    Now save it.
    Status will change to REL
    Regards
    Sujit

  • Change the status of inspection Lot from 'Created' to 'Released'.

    Hi,
    I am having the below scenario.
    We have QM active in our plant. In the material master records we assign two inspection types '01' - Goods receipt insp. for purchase order &  '08'- Stock transfer inspection. I didn't make any inspection plan (QP01).
    We make a Purchase order ( say Qty=10)with excisable tax code. While doing GR (MIGO) for the purchase order, we capture and post Excise Invoice. Later, Usage Decision is done using QA11(7 qty to unrestricted stock type & 3 Qty to Blocked Stock). Later, i want to send the blocked stock to the vendor, I am transferrring the material from Blocked stock to QI stock type using MT349. But, system is showing the below warning message : 'Preparation for the quality inspection could not be comleted. -Message no. QA187'.
    Please let me know how we can change the status of the inspection lot from 'Created' to 'Released' so that I can proceed further making the Return delivery to vendor using T.Code: MIGO.
    Thanx in advance.
    Regards,
    Phani

    Hi
    Check the Usage of the Task list.
    Check the date of creation of task list must be prior to creation of lot.
      Go to QA02
    Inspection specification > Assign task list by click on Task/ specification
    Go to Sample, do the SAmple calculation
    Save
    Check whether lot status is Rel
    Regards
    Sujit

  • Absence workflow - Changing Req. status

    Hello, I'm using workflow for absence requests in ESS.
    I created a FM with the following code, which is used in a BOR method and included in a workflow task:
    get request from guid
        CALL METHOD ca_pt_req_header=>agent->get_request
          EXPORTING
            im_request_id = request_id
          IMPORTING
            ex_request    = request.
      Change state only for existing request object
        IF request IS BOUND.
    execute state transition
          CALL METHOD request->initiate_state_transition
            EXPORTING
              im_transfer_event = event
            IMPORTING
              ex_new_status     = new_status.
        ENDIF.
        COMMIT WORK AND WAIT.
    When I test the workflow, it doesn't change the status of the request, but if I have tested the FM and the method and I can change the status request. I have checked the bindings and it seems ok.
    Any help?

    Hi
    Make use of the below code to change the status of a leave/absence request.
    METHOD approve.
      DATA: request TYPE REF TO if_pt_req_request,
            event   TYPE tim_req_xfer_event VALUE cl_pt_req_const=>c_reqtrans_approve.
      CALL METHOD cl_pt_req_badi=>get_request
        EXPORTING
          im_req_id  = me->req_id
        IMPORTING
          ex_request = request.
      CALL METHOD cl_pt_req_badi=>initiate_state_transition
        EXPORTING
          im_request    = request
          im_event      = event
    *    IM_RET_VALUE  = 0
        IMPORTING
          ex_new_status = me->status.
    ENDMETHOD.
    Never use any commit work after you chnage the status of the leave request from a workflow task.
    Regards
    Pavan

  • Change of Status is not working in WebUI

    Hello All,
    Iam facing a problem in changing the status of the item in web UI requirement as follows.
    We need to set the item status from the To be Closed to Close.The status To be closed is set by an contract processor and schedules the Action .i.e Close item Once the contract approver execuets the action.It need to be change to Closed and the item end date need to be set to the date when the Action is execueted
    I have done my coding in the Execute method for the action Close item by using the FM CRM_ORDER_MAINTAIN
    to change the item enddate and CRM_STATUS_CHANGE_EXTERN to change the Status to Closed and the Commit Work .My code is working fine in GUI but this is not working in WebUI . I can only see it when i execute the action go to the edit mode.
    Can any one help me out in this regards.
    Thanks in Advance.
    Regards,
    Kiran Posanapalli.
    Edited by: posanapalli kiran on Feb 15, 2010 7:16 PM

    Hi Kiran,
    we're having the same issue that an opportunity is updated in the normal Gui but not in the WebUI when using FM CRM_ORDER_MAINTAIN.
    What coding did you use for fixing this?
    Kind regards,
    Roy Willems

Maybe you are looking for