Reporting on user decisions

I have an ABAP program that creates multiple reports that are individually sent to various supervisors as an attachment to a workflow (one supervisor/agent per report/workitem).  The supervisors (wf agents) will open their work item and choose to either accept or reject their report (or cancel the work item).
The "initiator" needs to periodically run a report that will monitor which decision the supervisors have made - i.e. how many supervisors have accepted, how many have rejected, how many have not answered their work item yet.
Is any such reporting already available?  Or can you suggest how I can find the information that the initiator requires?
Thanks
Ron

Ron,
Even though there is no standard functionality available for your problem, it should not be too difficult to implement .
In your workflow, create a dummy container element of type syst-input(anything that is a single character).
Now update this variable using a container operation step with value 'Y' for accepted and 'N' for rejected in respective branches of the workflow.
Thats the first part. The second part is to create a report which retrieves the workitems created by the initiator and then get the containers. To get the workitems, use SAP_WAPI_Workitems_By_task.
Once you have the workitems, use the function module SAP_WAPI_ READ_CONTAINER and check the value for the container element that you created in the first part.
Hope this helps,
Amit

Similar Messages

  • User decision history report, workflow summary log

    Hello SAP Workflow community,
    In our project there is a task to implement User Decision history/log management. I want to get programmatically (via ABAP, in order to be able to store this data in DB too) the history all user decisions (statuses of all User Decision work items) inside of specific workflow and send the summary report to the workflow initiator/workflow administrator upon the workflow completion.
    After some search I found the complete set of relevant function modules under SAP_WAPI_WORKITEM_*, where you can get detailed information per work item, including their statuses, but I'm not sure, that this is the best practice to implement such task.
    Of course, we can go «brute force» and built such log manually: to log each user decision and store it in multiline container and after that find some way to send it to the desired person. But I'm pretty sure, that there must be another way, should be some standard, SAP-provided way to build such summary report. Could you, please, point me to the relevant directions.
    The Bottom line is at the end of each workflow execution I want to send to workflow initiator the report with list of all User Decisions, their statuses (approved/declined) and username, who took the decision.
    Thanks.

    GOS->workflow->workflow overview should show the workflow log showing the status of the workflow until now (workitem name/start data & time/end date &time/decision/status/user name).
    Table swwwihead has the fields wi_cd (creation date) wi_aed (end date) and wi_aagent (actual agent)
    Table sww_wi2obj has the link to the object.
    Table swwloghist has the workitem history.
    You could use the way suggested by Karri, since the decision is hard to read directly. But for workflow reports,I usually use BW see Workflow reporting in BW – extractor improvements

  • Work flow in error when executed with a user decision.

    Hi,
    I am executing a workflow for notification of absence. It has a user decision step to Revise the request or to withdraw it when the absence request is rejected by the approver. When I am executing this the workflow is going into error state. User decision step is not starting at all. The first two steps create notification of absence and check notification are getting completed successfully.
    Please let me know where I am going wrong.
    Thanks & Regards,
    Soumya.

    Hi,
    I believe the orginal poster is following the workflow tutorial in the sap help.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/fb/135962457311d189440000e829fbbd/frameset.htm
    I'm following the instructions and pretty sure it's been followed exactly on each step but am hitting the same issue - see 'Unit 10 - third step'.
    The log is reporting two errors
    Work item 000000014093: Object FLOWITEM method EXECUTE cannot be executed
    and
    Error when processing node '0000000039' (ParForEach index 000000)
    You reject the notification and then the work flow errors.
    Can anyone help?

  • Display attachments in SAP work list (at user decision) from portal.

    Hi Experts,
    How can we get the uploaded attachment form portal to SAP UWl .
    We have requirement like user wants to upload the travel expenses related documents (.PDF,.Txt or .doc files) in portal that attachments needs to available in approver inbox as link at user decision level.
    We have done the binding part and we are getting the attachment from first level to next level but unable to get the attachments uploaded in portal.
    I found one link but itu2019s not working.
    How to store Multiple Attachments in Workflow.
    SAP_WAPI_GET_ATTACHMENTS by using this function module I am getting only OBJECT_ID                                SOFM
    DESCRIPT                       Office Document
    SHORTTEXT                      Office Document
    Please help....good Rewards for useful answers ....
    Edited by: RameshG on Jan 12, 2011 7:04 PM

    Dear Ramesh,
    Need your help!
    While creating travel expense request from Enterprise Portal, travelers create few attachments [pdf/doc/xms/txt] and then save the travel expense reports.
    A workflow then gets triggered and this travel expense report reached the SAP Inboxes of the checkers [in the finance department].
    The issue here is that these checkers do not have access to enterprise portal and they expect to see the attachments [that the traveler has created via the portal] via corresponding work items in their SAP Inboxes u2013 which currently is not happening!
    I checked the trip transaction that got created [in the backend / in SAP] and found the u2018attachment listu2019 menu option in GOS being disabled [may be because there is not even one attachment that has come to the backend!]
    What needs to be done so that the attachments can even be viewed from the backend / from SAP Inbox?  Does this involve coding?
    Please suggest!
    Br,
    Hari

  • Creating attachment in User decision activity.

    I am running a background ABAP report and the output of report is to be attached to the WI for user. The user will receive the decision step with attachment which includes report output as excel.
    please suggest how can I achieve it. How can I attach report output to WF that will be going for user approval.

    Hi Verma,
                      To show Output in Excel Format use document form Template step type and immediately followed by User decision so that when the user executes he will first see the excel sheet then he can take a decision on it.
    If u want a display on the same user decision step type then make that method as default methos and bind it to the USER Decision container.
    Regards,
    Dheepak

  • Inspection lot for recurring inspection was created without user decision

    A manual inspection lot was created for recurring inspection. When reporting results QE51, the user decision option is disable, therefore I can not move the batch from Quality Inspection to Unrestricted.

    I still don't see how you are manually creating the lots.  From the way you described it, the qty. is already in QI and you are then manually creating an 09 using QA01.  If this is what you are doing, the manually created 09's will NOT be linked to the inventory in QI and they will not be able to be used to move the stock out of QI.  NO MANUALLY CREATED inspection lots, (i.e transaction QA01), EVER control stock.  To control stock, the inspection lot must have been triggerred by another event or transaction that caused the lot to be created., (QA07, GR, stock transfer, delivery creation, etc...)
    What I don't know, is how you got the material into QI in the first place.  How was the material moved into QI?  When stock is moved into QI that should trigger an inspection lot.  If QM is active for a material you shouldn't be able to use standard stock movements to place the material into QI.  If you moved it and then activated QM you should get errors when activating an inspectoin type unless you have followed specific procedures for creating 08 lots for exisitng QI inventory.
    So  I think we are still missing some informaiton.
    FF

  • In ALV report.The user wants to hide specfic fields

    Hi
    In ALV report.The user wants to hide specfic fields  but the user must be able to add these fields to the report:
    can any one give the suggestions

    in reuse alv list display or grid
    i_save  = 'A'.
    now user can choose the layout.
    for hiding
    in fieldcat
    wfieldcat-No_out = 'X'.
    regards
    shiba dutta

  • Can we display custom error message in user decision step screen.

    Hi,
    My requirement is to display error message when approver selects reject button in user decision step.
    based on some condition i need to display error message in user decision screen when approver tries to
    reject .
    Please help
    Thanks,
    Phani

    Hi ibrahim,
    Thanks for your Replay.
    steps
    1. cretae global class with interface  IF_SWF_IFS_WORKITEM_EXIT.
    2. cretae Event with importing parameter.
    where i need to call EVENT_RAISED method ,do inned to call that method in
    IF_SWF_IFS_WORKITEM_EXIT ?
    how  SWRCO_EVENT_AFTER_EXECUTION value is passed to method EVENT_RAISED ?
    Thanks,
    phani

  • Daily report for user sessions in oracle10g database

    I would like to genarate the daily report for user sessions in oracle10g database
    daily report of how many of sessions present in oracle database for each user

    Thanks for link ( I know you always post the oracle document link here)
    But I am expecting scripts( someting like logon trigger and logg off trigger) to genarate the user session report.

  • The report of user activity

    The report of user activity
    Can anyone show how the sample report of user activity?
    Is there information that the website opened and how much time was running applications? Is used in an active way of running applications?
    I will be grateful for your help.
    Jerry

    Finding a program of monitoring user activity MAC OS X okazauje be very difficult.
    The program aims to monitor sites visited, but:
    - Can not save passwords
    - It can not sending data to an external server
    I can not find such software
    I found: http://www.net-monitoring-software.com/secure-order.html
    but it turns out that the manufacturer no longer supports MAC platform.
    Help! Is anyone familiar with this type of software?
    Pls. Help me.

  • In the report level user wants two persons against each work center.

    Hi Experts,
    Please let me know the solution, I have provided scenario below.
    check the query which the user is referring to report:
    Example
    Work center     Person
    KNE33102     44003850
    According to the user, the names for the Work centers should be as follows:
    Work center          Person
    KNE33102         44003850,
    KNE33102        44003603
    I have check the data in T-code-CR03, each work center getting two persons, as can be shown below.
    Work center        Person
    KNE33102           44003850,
    KNE33102           44003603
    In RSA3 it can be seen that both the records are being extracted
    Work center     Start date     End date     Person
    KNE33102     09.02.2009     31.12.2009     44003850
    KNE33102     09.02.2009     31.12.2009     44003603
    In BI , when checking in PSA, it can be seen that the data is also being loaded to BI (Two persons loaded against Work center-KNE33102)
    Work center     Start date     End date     Person
    KNE33102     09.02.2009     31.12.2009     44003850
    KNE33102     09.02.2009     31.12.2009     44003603
    But when loading to the Info Object, one person has deleted. Because of this, in the report level displaying one person.
    Note:-Please let me know what is the procedure, in the report level user wants two persons against each work center.

    Hi,
    As you said in your post the data has mentioned up to 2009. can you try execute the query till to date .
    Regards
    sivaraju

  • How to control number of rows displayed in a report  by user?

    Hi All!
    I have provided a select list called 'Number of rows' in my report page.User can choose any number in the list, and accordingly he should be able to see so many number of rows in that report page.
    For example: if user selects 50 from the list, he will be able to see 50 records at a time out of say 2000 records retrieved. I want to control number of rows displayed per page dynamically. And if he selects 25 in the select list, he should be able to see 25 records at a time out of 2000.
    How to do it? Please give me ideas.
    Thanking in advance.
    Regards,
    Deepika.

    Hi Deepika,
    If you have a Select List with Submit called, say "P1_ROWS", you just enter P1_ROWS into the Report Attribute's "Number of Rows (Item)" setting.
    Regards
    Andy

  • How do I report a user or violation of the Agreement?

    User hakinianzfromhakinianz is posting multiple spam threads and I want to know how I can report this user/their posts.
    Do I have to be a certain level to have this privelege?
    Here is the profile: https://discussions.apple.com/people/hakinianzfromhakinianz?view=overview

    d6d24r94 wrote:
    User hakinianzfromhakinianz is posting multiple spam threads and I want to know how I can report this user/their posts.
    Do I have to be a certain level to have this privelege?
    Here is the profile: https://discussions.apple.com/people/hakinianzfromhakinianz?view=overview
    Is reported to host.
    You may also report by yourself. Right hand up "report abuse" near "email notification"

  • I would like to report a user.

    Hello, as I said in the title I would like to report a user for ddosing my friends and threatening to shut down my friends and my routers. Here is his name and some quotes.
    [4:18:57 AM] ∆яɪsᴛ: Don't say those words little boy.
    [4:19:01 AM] ∆яɪsᴛ: Something bad might happen.
    [4:19:24 AM] Brian wyatt: why do it to them ones not even in the same country
    [4:19:38 AM] ∆яɪsᴛ: Why should that matter.
    [4:19:45 AM] Brian wyatt: he doesnt even know you
    [4:19:48 AM] ∆яɪsᴛ: What does country have to affect?
    [4:20:04 AM] ∆яɪsᴛ: How about this
    [4:20:15 AM] ∆яɪsᴛ: Give me your Minecraft account.
    [4:20:27 AM] Brian wyatt: no
    [4:20:39 AM] ∆яɪsᴛ: 97.121.170.250
    [4:20:45 AM] ∆яɪsᴛ: 58.96.36.4
    [4:20:48 AM] ∆яɪsᴛ: 70.59.210.199
    [4:20:53 AM] ∆яɪsᴛ: All three of your IP's
    [4:20:58 AM] Brian wyatt: do somthing to my router and i will ccall the police
    [4:20:59 AM] ∆яɪsᴛ: I'm only hitting you guys with 8gb/s
    [4:21:05 AM] ∆яɪsᴛ: Go ahead.
    [4:23:30 AM] ∆яɪsᴛ: I will be on tomorrow. I want that Minecraft account.
    [4:23:38 AM] Brian wyatt: im going to call the police
    [4:23:45 AM] ∆яɪsᴛ: Go ahead, I'm using a VPN.
    [4:23:52 AM] Brian wyatt: do somthing i swear to god
    [4:24:11 AM] ∆яɪsᴛ: See, heres the thing.
    [4:24:17 AM] ∆яɪsᴛ: I was going to go to sleep.
    [4:24:22 AM] ∆яɪsᴛ: But now you've got an attitude.
    [4:24:38 AM] Brian wyatt: ...
    [4:25:03 AM] ∆яɪsᴛ: Maybe you should learn to respect high authorities.
    [4:25:06 AM] Brian wyatt: do it and im calling the police
    [4:25:11 AM] Brian wyatt: hackers?
    [4:25:11 AM] ∆яɪsᴛ: K. have fun
    [4:25:16 AM] ∆яɪsᴛ: I'm untracable.
    [4:25:20 AM] Brian wyatt: not high authority
    [4:25:53 AM] ∆яɪsᴛ: So, hows life been to ya?
    [4:26:21 AM] ∆яɪsᴛ: Keep this **bleep** up, and I'll dox you.
    [4:27:18 AM] ∆яɪsᴛ: I can already hear the anger in you voice.
    [4:31:20 AM] ∆яɪsᴛ: Tootloo.
    I hope you're crying.
    I think this is completely unacceptable and he should be banned, because as far as I know, a ddos attack is illeagel, and I would like to get the police involved. Thank you, and I hope something can be done.

    dear Xibi,
    you can use web item 'navigation block'.
    user then can choose which keyfigure(s) to be show in the report, also capability to drilldown etc.
    hope this helps.

  • Sending Mail with attachment like User Decision

    Hi,
    Is there any way to send the document attached with the send mail step ? In User Decision, we can use binding between the workflow and task and document is attached. Like wise, is there any method ??
    I know we can send the attachment using the FM SO_****. So don give that answers. I want to know without using the FM, is it possible or not ?
    And i don want to use BO SOFM.
    For example, in Project Definition, one person creates a milestone. WF is triggered and goes for attachment of concorrence note. One attaches the concorrence note and mail is send to initiator. In that mail, can he able to see the attachment ??

    As far as I know the answer is "probably". You aren't saying how the mail is sent to initiator, you just say you don't want to use the FM or the BOR object type SOFM. I assume you are using the standard sendmail step type, i.e. BOR object type SELFITEM with method SendTaskDescription.
    As I am sure you can imagine, an attachment doesn't magically appear. If you send a workflow step (task) to someone, you can bind attachments to make them available in work item display. If you send a message you can construct it with attachments, but that doesn't happen without any effort. If you look at the parameters for SendTaskDescription you will see that there is a parameter for attachments. Try passing (binding) a value to it. If your SendMail task doesn't include that parameter as importing parameter you will of course have to fix your task (TS object) first.

Maybe you are looking for

  • Automatic clearing of GR/IR account

    Hi, We have maintained XXXXX as GR/IR account. There are many old open items which we need to clear.most of the open items in this account are intercompany transactions for which GR has been made for X quantity and IR is made for full quantity. EG- G

  • TS1702 an unknown error has occurred when trying to update PicStitch and turn on Genius for Apps on iPad

    When trying to update iPad I keep getting a message "an unknown error has occurred. Also get this message when I tried to turn on Genius for Apps. And App Store is asking me for my password 3 - 4 times in a row and I am typing it correctly! This is a

  • Javascript alert wiping page clean - HELP

    Hi - I am using the javascript alert function in order to tell a user that information entered on a form is incorrect - however, the alert makes the page go away when all I want is to return to that page so the user can correct just that piece of inf

  • Connecting iMac with Nintendo Wii

    Anyone tried to connect the wii with the iMac. I failed using eyetv hybrid

  • Run Time Error - Timeout (QA32)

    Hi Gurus, Iam getting Run time error when i execute QA32 transaction. it is throwing a short dump while saving the document after entering the details in Usage decision. Please let me know how to go about it. thanking you all advance for your kind he