Workitem completed automatically based on condition

Hi All,
I have a question :
If I set a completion condition for a work item task (standard) I am not getting the workitem in the Business Workplace.
The condition is getting fulfilled and the Workitem is also getting status Completed.
So, in this case, do we not get the work item in the Business workplace?
P.S. If I remove the completion condition from the workitem , I do receive the work item in the Business Workplace for Manual completion.
Can we have both ? i.e. automatic completion along with the work item available in the Business workplace (for information purpose for the user ).
Many thanks in advance!
Regards,
Ameya Kulkarni

Hello,
The users will see the work items they are supposed to work on.The purpose of the work item is to be used as an indicator,which provides the Order number to be worked upon.
The workitem also takes the user to KO02 upon execution.
My question is if I write a completion condition for the workitem which will be fulfilled everytime,can that workitem also stay in the Business workplace with the completion condition.Because currently it is not appearing in the Business Workplace,since its getting completed automatically.
Thanks and Regards,
Ameya Kulkarni

Similar Messages

  • How to make use Modifier automatically based on Condition

    Hello all,
    I need help in using Advance Pricing modifier to adjust the sub total value of the sales order.
    AM populating a value in sales order header DFF Attribute5 with value.Then i Compare the this value with Sub total value based on Pre book order event using plsql
    If there is difference then modifier needs to be applied automatically.
    Ex:
    Sales Order Sub total value :1000
    Value in Attribute5 = 1400
    Diff amount = 1400-1000 = 400.
    Now i need to make use of modifier to adjust the sub total value to 1400.
    This should be done automatically..is that feasible..
    if yes please advise.
    else please provide best approach for the solution.
    Please let me know if you need more clarity on requirement.
    Thanks,Sarath.

    Dear,
    The scheduling is based on your MRP parameters. If you select the basic dates scheduling while running MRP, the system will consider the material master in house production time. It will not consider the routing standard values. In lead time it consider the routing value means timing form routing and component are assign to the operation so it calculated the component reqt date. And do the scheduling of order.
    In OPU5 there is setting for scheduling Adjust dates to order start will work for you.
    Regards,
    R.Brahmankar

  • How to stop workitem complete or how to keep work item in inbox based on conditions even if it completed

    Hi,
    my requirement is to call webdyn pro screen from workflow..
    i am calling webdynpro screen by using FM :CALL_BROWSER from workflow.
    when webdyn pro screen is called user will enter some values . if user closed webdyn pro screen with out entering any values we need show this workitem in his inbox. so that user can again open it and enter values in the webdyn pro screen.
    Please help how to stop work item complete based on conditions.
    Thanks,
    phani

    Hi,
    As per my understanding, this is not a proper approach toy call web dynpro using FM CALL_BROWSER. is the web dynpro screen being called when user clicks on the work item from portal UWL OR from SAP SBWP ?
    if you are calling web dynpro screen from portal UWL when user clicks on work item link, better you achieve it using SWFVISU tcode. in SWFVISU tcode you can maintain which web dynpro. application to call when particualr work item task come in user's inbox. in your web dynpro code, then you can write your buisiness logic when user clicks for example SUBMIT/SAVE button. on action submit/save button you can use FM SAP_WAPI_WORKITEM_COMPLETE to complete the worktiem once the user clicks on final submit/save button. in this way the workitem will get removed from user inbox only upon clicking on submit/save button.
    You can refer below link for web dynpro for workitem:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70648e99-4cc1-2c10-879d-9c61003c69d6?QuickLink=index&…

  • Update data automatically in sql server 2005 based on condition proplem

    Hi guys i have problem I have two table
    First one is
    Second One is Vacation
    as relation one to many (vacation has foreign key of Contract No OF Table Contract) 
    what i need is to update Contract table with field status =Finish where start vacation date >end contract Date
    How i do that in sql server 2005 to make update automatically
    Ex
    contract table
    status             nvarchar(20)
    end contract    date time
    vacation table
    start vacation date time
    end vacation date time
    start vacation date is 23/10/2014
    and End
    is 26/10/2014
    Now not update status in contract table to finish because vacation date start is less from end contract
    but when date today is 27/10/2014 update contract table field status to finish
    automatically with sql server 2005 
    How i do that condition to make update to data automatically based on changing on date
    Update statement i need is 
    update Contract set status = finish where start vacation>end contract
    but problem how i write this statement to update data automatically based on date today

    Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules. Temporal data should
    use ISO-8601 formats. You failed again. Code should be in Standard SQL as much as possible and not local dialect. 
    This is minimal polite behavior on SQL forums. Now we have to write the DDL that you did not bother with! What you did post was wrong! There is no key or constraints. There is no generic “status” in RDBMS; a "<something in particular>_status"
    is a state of being, so it needs a temporal duration. The correct idiom for this data model is: 
    CREATE TABLE Vacations
    (vacation_contract CHAR(15) NOT NULL PRIMARY KEY,
     vacation_start_date DATE NOT NULL,
     vacation_end_date DATE,
     CHECK(vacation_start_date < vacation_end_date),
    Oh, a field is nothing like a column. You need to read a basic SQL or RDBMS book; you do not know the basics. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Workitem not to be completed automatic

    Hello!
    I have that problem:
    User receive workitem in business work place. Then he open it. Then when he press "back", leave object and get to business work place again, workitem completing and disappearing from list.
    But I want, that workitem not to be completed automatic.
    How can I do that?
    Edited by: Paul Klimashkin on Jun 27, 2008 5:27 PM

    >
    Paul Klimashkin wrote:
    > Imthiaz Ahmed, yes, it is right.
    > But I don't want to see this standard confirmation window on exit, because I have my own buttons in object (scase).
    > I have button "Put off the final decision". When user click it, he must turn back to business work place and see workitem in status 'started' (without any standard confirmation window) .
    > Instead of it, now he turn back and workitem become in status 'completed' and disappear.
    Hi Paul,
    Why do you want the workitem to remain in status Started? Why did you choose to build the logic in the Case and not in the workflow?
    I have build something similar but used a decision task and used a secondary method to call the display method of SCASE. This way the user has the case available and you can control the decision made from the user decision. So depending on the choice you can continue the workflow or loop back and replace the task. Or if you want the task to be reserved in the inbox you can use the standard cancel option of the user decision.
    If you want to stick to your logic, you will need to extend the logic behind your buttons. When the button "Put off the final decision" is pressed you will need to find the workitem the case is called from (probably by using a SAP_WAPI FM) and then find a way to cancel the task in such a way it stays reserved in the inbox. But for me that is way too complicated way of getting to something which can be achieved easily from the workflow.
    Regards,
    Martin

  • How to cause a "Completed with errors" map condition?

    Our application testers asked me how to replicate a "Completed with errors" map condition, so they can verify that our application reports and handles this correctly. I've been able to generate "Completed with warnings" (create records with duplicate keys) and "Failed" conditions (drop a source table), but not "Completed with errors". Anyone know of a way to produce this condition?
    Thanks!
    Steve Locke

    Hi Steve
    It depends on your 'Maximum Number of Errors' configuration property. By default this value is 50, so its highly likely you are running set based and you have used the default number of errors (50) and the error count after the run is 1 so you have the status completed with warnings. If you change the maximum number of errors to 0, you will complete with errors if there are any errors at all.
    Cheers
    David

  • How to blink TreeView Nodes based on condition c#

    suppose i am populating my tree view with data from database and i want to blink those nodes which has a specific data. now guide me with code how can i efficiently blink multiple tree view nodes  based on condition in winform application.

    Hi Mou_kolkata,
    >> anyone can give me small working code for tree node blinking
    Thank Armin for the details about blinking TreeView Nodes.
    For a simple demo to blink TreeView nodes, you could refer the link below:
    # Treeview control - How to make a node blink?
    https://social.msdn.microsoft.com/Forums/en-US/64e7a4d7-3098-4370-990f-390cb3a640a1/treeview-control-how-to-make-a-node-blink
    If you have issues when you blink Treeview nodes, please feel free to post a new thread in this forum, then you would get more help.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to create additional Line in file based on condition available as part of ZINVOIC02 Idoc segment

    Scenario Details:
    Receiving Zinvoic02 Idoc in PI. Idoc to file translation creates comma separated file with .csv extn
    The logic was kept in such a way that how many E1EDP01 (items) are available in IDoc that many no of records will be created in csv file.
    The file logic for some the fields is as below:
    No of records
    InvNumber
    InvDate
    CusNumber
    LineitemDesc
    Tax1Type
    Tax1%
    for 1st E1EDP01
    E1EDK01-BELNR
    E1EDK03-DATUM
    E1EDK01-PARTN
    Populate when E1EDP04/MSKWZ=O2 or O4 with E1EDP19/KTEXT
    Hardcode when E1EDP04/MSKWZ=O2 or O4
    Sum all E1EDP04 /MSATZ when E1EDP04/MSKWZ=O2 or O4
    for 2nd E1EDP01
    E1EDK01-BELNR
    E1EDK01-DATUM
    E1EDK01-PARTN
    same as above
    same as above
    same as above
    for 3rd E1EDP01
    E1EDK01-BELNR
    E1EDK03-DATUM
    E1EDK01-PARTN
    same as above
    same as above
    same as above
    Additional Line to be created when one or more of E1EDP01 is having E1EDP04/MSKWZ = O3
    same as above
    same as above
    same as above
    Hardcode "REIM for USE TAX"
    Hardcode ""
    Hardcode ""
    Now we have got addition requirement to add a new lineitem when tax code is equal to O3 for any of the E1EDP01.
    Is it possible to create additional lineitem based on condition. If yes, please share what should be the approach.
    How we can create the additional lineitem?
    Currently we are using E1EDP01 to do context handling.
    The target structure is :
    MT_FILE
         INVOICE     0..unbounded
              InvNumber     0..1
              InvDate          0..1
              CusNumber     0..1
              LineitemDesc     0..1
              Tax1Type          0..1
              Tax1%               0..1

    Hello,
    Please add one extra field in the data structure of the target mapping and let its occurrence be 0..unbounded under the root node 'MT_ADP_Invoice'.
    Apply the condition, if tax code MSKWZ (with its context changed to E1EDP01) equalsS to '03', then map it to the newly created target field whose occurrence is 0..unbounded.
    This will then create an additional field which is your requirement.
    The above is one way.
    But if you want to have the same target field name as ADP_File appended for tax field being '03'.
    Then in that case you can you two message mapping for one common operational mapping / interface.
    In the first message mapping you need to have one target data structure created with the source data structure remaining the same as the one shown by you in scrn shot. Now this target data structure will be similar to the source, except that you need to add one more field at the end(name different from other fields) in target (whose occurrence should be 0..unbounded), and it needs to be mapped to E1EDP01 provided the tax code field MSKWZ(its context changed to E1EDP01) equalsS to constant '03'.
    In the second message mapping you need to map the target structure of previous message mapping to the actual required structure. The newly added field should be mapped to ADP_File of your final target structure.
    This will then create the same structure as required.
    Note : Please change the occurence of ADP_File to 0..unbounded.
    Regards,
    Souvik

  • How to give color to the display of keyfigure based on condition using exception.

    Dear Friends.
       I am trying to color "BAD3" in exception based on condition but my problem is in exception I can have only formula variable to compare the value, How to assign a value to formula variable in BEx Query designer.
    What I am trying to do is :
       in Query designer :
       I have PO Quantity and Delivered Quantity. 
      if PO Qnantity > Delivered Quantity
        then Delivered Quantity field should be colored as "BAD3" in exception.
    but here proble is in exception
      I have alert level , operator, and  value fields for Delivered Quantity keyfigure ( Under definition tab - Exception is defined on = Delivered Quantity ).
    but for value field I dont have PO Quantity for that I have to supply one formula variable,
    When I created a forumula  and did this way
    FV_PO_QUANTITY = PO_QUANTITY formula editor throws errors. I dont understand How to assign a value of key figure to formula variable and use it in EXceptions.
    Please help me How I can solve my problem
    I will greatly appreciate your any help.
    Thanking you
    Regards
    Naim

    Thank you so much for your replies,
      I did following way and it helped me to solve my issues.
      I created one formula and under formula I use boolean < funtion to compare the values.
    like following way.
    ( 'PO Quantity' > 'Delivered Quantity' ) * ( FV_PO_QNT + PO_QUANTITY')
    here fv_po_qnt is formula variable I supply that variable to exception and since I have the value in it.. it compares with Delievered Quantity value and colored the perticular cell.
    Thanks again for your replies
    Regards
    Naim

  • Post GR automatic based on TO confirmation

    Guys,
    Current scenario..
    Create purchase order
    Create Inboun delivery
    Create Transfer Order with reference to inbound delivery
    Confirm Transfer order
    Post goods receipt
    Now I want to automize PGR for confirmed TO qty so we can avoid one more transaction for goods receipt. When user confirm the transfer order system should post GR automatically based on TO confirmation.
    Any thoughts?
    Regards
    Arif Mansuri

    Hello Jurgen,
    It seems that you have used this functionality, I need one more clarification. How I can default this parameter for my all Transfer Order created for Inbound delivery? Is it based on mvt type or there is other option?
    The reason is I need to do transfer order confirmation using RF program ( trying to use standard RF transaction) so will not have chance to input this indicator on RF device. any inputs?
    Let me keep this thead open so other experts can also give their innovative inputs
    Regards
    Arif Mansuri

  • Table Control - Input Enabling/Diabling of Rows based on Condition.

    Hi,
    In the TC, I want to Input Enable/Disable the rows based on Conditions. The First row is input enabled always. But the other rows, (2nd onwards) need to be Input Enabled/Disabled based on some conditions. It is possible to make this working. Can you please provide me a suitable solution for this?
    Appreciate Your Help.
    Thanks,
    Kannan

    Hi Kannan...
    If we are talking about "Rows"...
    then identify based on some conditions the row numbers and in PBO...loop at screen with screen name..set thier input properties and modify screen (make them input only)
    If we are taking into consideration "columns"
    There is an internal structure COLS where we can identify column number of screen name ...or we can take except for one particular column..
    if some condition satisfied....
    loop at screen where screen-name <> "Column which is input'.
    Loop at screen...and make other columns display only.
    modify screen
    endif.
    Regards
    Byju

  • Need to send notification to a specific person based on condition

    Please help.
    I need to send notification to a specific person based on condition. When a specific hold is placed on an invoice, send a notification to the Buyer who is referenced on the Purchase Order that is associated with that invoice. It will be an FYI notification.
    I'm looking at APINVHDN AP Hold Maiin Process. I thought possibly adding a notification into the "No" condition after the GET_APPROVER function since there would not be an approver on the invoice since it's on hold.
    Any ideas would be very much appreciated.

    Try the LiveCycle Designer forum.

  • Calling different pages in a single sap script based on conditions?

    Hi All,
             Can anyone please give me an example of how to call different pages in a single sap script based on condition. Eg., i need to call 5 differnet pages from a single sap script based on 5 company codes.
    Please help
    Regards
    Priya

    This approach to make call from SAPscript. Its concept is similar to make call to a subroutine in another program. I would presume you understand how to use USING and CHANGING parameter. =)
    SAPscript -
    /: Perform get_date in program z_at_date
    /:    using &p_year&
    /:    changing &new_date&
    /: endperform.
    program z_at_date -
    form get_date TABLES rec_in  STRUCTURE itcsy
                                    rec_out STRUCTURE itcsy..
    DATA:
       v_year type char10.
    sap script and subroutine uses itcsy structure to transmit parameters
    first parameter is incoming while second parameter is out going
    their function is like an internal table with header line
    all data types between SAPscript and subroutine are string.
    so, you might need additional conversion.
    read incoming parameter with exact name from SAPscript
      READ TABLE rec_in WITH KEY name = 'P_YEAR'.
      IF sy-subrc EQ 0.
        v_year = rec_in-value.
      ENDIF.
    to return value, use the exact name on the second structure
        CONCATENATE v_year v_year INTO v_year.
        READ TABLE rec_out WITH KEY name = 'NEW_DATE'.
        IF sy-subrc EQ 0.
          rec_out-value = v_year.
          MODIFY rec_out TRANSPORTING value WHERE name = 'NEW_DATE'.
        ENDIF.
    endform.
    Hope this helps =)

  • Suppress Target structure based on condition

    Hi
    How to suppress target structure based on condition
    Example:
    Source is like:
    <Details>
    <Name>abdc</Name>
    <ID>234</ID>
    <Address>US</Address>
    </Details>
    I have two target structures
    1:
    <Details>
    <Name>abdc</Name>
    <ID>234</ID>
    <Address>US</Address>
    </Details>
    2:
    <Error>
        <ErrorID>
    </Error>
    if Any of the source filed is null then i dont want to map it to source structure. instead I want to assign an error id to ErrrorID node of the target.
    example
    abc,123,US
    abc
    in above case second record has two null values
    so my target structure should be
    <Details>
    <Name>abc</Name>
    <ID>123</ID>
    <Address>US</Address>
    </Details>
    <Error>
        <ErrorID>2nd record has erro</ErrorID>
    </Error>
    How to acheive this..
    Please help us
    Regards
    Sowmya

    hi ,
    plz try the following mapping
    Name-->exist-->if than else-> tuue----->Name
                                                        false---(constant)--
    error
    ID-->exist-->if than else-> tuue----->ID
                                                     false---(constant)--
    error
    adress-->exist-->if than else-> tuue----->address
                                                          false---(constant)--
    error
    regards,
    navneet

  • How to send a mail automatically based on a date from ORACLE database

    Hi,
    I want to send a mail automatically based on a date from ORACLE database.
    Please help me.
    thanks
    --Sara                                                                                                                                                                                                                                   

    programs are available on net to send mail directly from oracle ie procedure s in oracle sending mails

Maybe you are looking for

  • In BDC using background job scheduling

    Hello Experts, I have taken one input field if i enter some number in that field according to that it will run the bdc for that please help . If any thing possible please send the sample code. Regards

  • How to restrict service purchase orders in MEIS report

    We create service PO (Doc type NB)with acct assignment u201CKu201D and with material description (No Item category and without service master) , GR with MIGO and invoice with MIRO. While executing MEIS report (INTRASAT Arrivals-EU countries) it shoul

  • Trouble Compiling mysql-query-browser

    After building all of the necesary prerequsites I am trying to compile mysql-query-browser on Solaris 10 (x86). I am getting some errors (shown below) when I run the configure script for the mysql-gui-common components. Can anyone tell me how I might

  • What is the latest Mac running 10.8

    I am planning to buy a new iMac. I understand that the iMacs Apple is selling now will not run 10.8. While I can afford to buy a new iMac I can't affordto buy and relearn all the key software which will not run on Maverics. I recently went through th

  • I had to do a restore on my 3gs and lost my photos and contacts, is there any way to get them back ?

    I had to do a restore on my 3gs and lost my photos and contacts, is there any way to get them back ?