Dynamic column in Workflow inbox

HI All ,
     I would like to add a dynamic column in the SBWP layout which reflects the Last reserved by user...
    Any suggestion will surely be rewarded...
Thank you
Srinivas

Hi Srinivas,
the value will be updated each time the work item is <i>reserved</i>. When it is put back again, this value just stay as it was before.
The virtual attributes gets refreshed when the inbox is refreshed (by refresh-button or by re-entering the Workplace).
The algorithm to determine the last user, who has reserved, is the following:
DATA: user_id_last_reserved    TYPE SWWLOGHIST-meth_user.
CLEAR user_id_last_reserved.
SELECT SINGLE meth_user
              FROM SWWLOGHIST
              INTO user_id_last_reserved
              WHERE wi_id  = object-key-workitemID
                and method = 'SWW_WI_SELECT'
                and timestamp IN (
                    SELECT MAX( timestamp )
                           FROM SWWLOGHIST
                           WHERE wi_id = object-key-workitemID
                            and method = 'SWW_WI_SELECT'.
IF sy-subrc <> 0.
   "There's no such user
ENDIF.
Have fun,
Florin

Similar Messages

  • How to add an extra dynamic columns in workflow inbox?

    Hi Every Expert,
    Transaction SWL1 only provides Six columns as dynamic columns for workflow inbox. But we need to use 7 to 8 dynamic columns. How to add these two extra columns into workflow inbox?
    Thanks,
    Shirley

    Thank you very much for all you responses.
    Due to SAP only provides 6 columns, I can't add anohter extra dynamic column. I may consider to change task to show the contents in preview pane.
    Thanks again to everyone.
    Shirley,

  • Dynamic Columns in Workflow Inbox

    Hi,
    We are seeing some eratic behaviour with regards to the Dynamic Columns assignment in the Layout Variant of SAP INBOX.
    We have assigned the Dynamic Columns, but altough the Customisation in SWL1 has the assignment they are still not visble in the INBOX of the Users. They still appear as DYNAMIC COLUMNs instead of the Names (Material, Ship Date, etc) .
    Any inputs on why this eratic behavior or what is missing that prevents it from appearing.
    Thanks in advance,
    Arunava

    Hi Amandeep,
    We have also asssigned it Task wise. Just to let you know some erratic behaviour.
    1.   Some user can see the new assignments while Other dont.
    2.   Also when we go to Group By in the Workflow. For the Old Workitems we dont see them but can see them in New Workitems.
    3.  We had the same problem when we transported it to our Test System. But it automatically corrected itself after a days time.
    Can you give me an information. If we have more old  Workitems( that used a different task which we have changed ) than the new ones ( created with the new task assigned in the SWL1) does the dynamic columsn behave eratically. As I read an OSS note 394090 that talks something on this.
    Please inform if you have more information.
    Thanks and Regards,
    Arunava

  • Define Dynamic column for integrated inbox

    hi ,
    can any one explain me what is the puprose of this setting.
    SPRO>SRM>Cross application basic settings>sap business workflow>define Dynamic columns for integarted inbox.
    what we maintain here and how it is helpful
    regards
    subhash

    Hi Subhash,
    Please check if the following link helps you:
    How to add an extra dynamic columns in workflow inbox?
    Regards,
    Saumya

  • How can i make custom column added to inbox sortable

    I had a requirement to add custom column to workflow inbox, i was able to achieve this without much difficulty.
    But i have noticed this custom column is not sortable, against the OOTB columns.
    Not sure what i am missing, Thanks in Advance
    in the json, i dont see any different between OOTB column values and custom column values
    startTime: 1359678539512,
    lifestage: "Approve",
    duedate: 1368769500000,
    Environment CQ 5.5

    Hi efish,
              I followed steps specified at below post. The column is sortable.
              http://forums.adobe.com/message/5032804#5032804
    Thanks,
    Sham

  • "Dynamic column" in the workplace

    Hi experts.
    Do somebody know the possible uses of the "Dynamic column" field in the task registers of the Workflow inbox? You can add some dynamic columns via the "select layout" menu of the workplace but they seem to be empty.
    I'm wondering if I can put some custom dynamic information on them via workflow definition (information such like users names or maybe some filter criteria) in order to help the user to show and order the active tasks easily.
    Any help on this topic will be interesting for me.
    Thank you all!!
    Ismael

    Hi Ismael,
    Dynamic columns are specific to each task, you can define them using tx SWL1.
    Once defined, the dynamic column fields should now be available. However they do take a performance hit and obviously the fields are not applicable to all tasks. For this reason it is not a good idea to have a dynamic column as a default layout, but to use them in the in the task-based inbox views:
    In the workplace view Inbox -> Workflow -> Grouped by task -> the task you just defined (you must have a workitem of that task already in your inbox). Define a layout and save it as a default, teach your users to navigate to a task if they want to use the columns.
    Of course some users can still create their own workflow inbox view with dynamic columns if e.g. the majority of their work is a particular task.
    Cheers,
    Mike

  • Alignment in dynamic table in workflow mail

    I have a workflow with a task of sending mail to SAP inbox. The body of the mail should display a table with a structure that is dynamically determined at run time. The workflow is triggered from a report in which a dynamic table is first created, filled with data. Then, before the event is raised, each line of the table is converted to ABAPTXT255 and then the table of string is passed to the workflow. The content of the original table is then shown as a table of strings.
    The problem is that, because I convert the content to string before passing the table to workflow, I’ve lost control over the alignment of columns I originally had before the conversion, and the font used in SAP inbox doesn’t help either. Hence, the table appears in the mail as having no alignment at all.
    My dilemma is that, I cannot think of another way of passing a table with dynamic structure to workflow, except to convert everything to string first. But, then I lost control over the alignment.
    Has anyone come across anything similar to this before? Any comments or suggestions?
    Thanks in advance.

    Can u send the code how u r doing this?
    Also let me know that when u see the contents in the inbox, from menu path Settings-> text in non-proportional font.
    Are your contents aligned when u do the above setting?
    Regds
    Samant

  • Is it possible to send user id inplace of Author column in SAP inbox..

    Hi Xperts,
    Is it possible to send user id in the column of 'Author' of SAP Inbox.
    For example:
    Whenever the PR/PO is created Workflow is getting triggered. Now agent gets the workitem in to his/her inbox.
    In general,  Author column of SAP inbox is empty.
    Now my requirement is to appear the PR/PO creator's user id in place of Author's column.
    ThanX in Advance.
    Krishna.

    Hi,
    I think it  is possible via 'Dynamic Columns' in Business Workplace.
    See this [article|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80583929-f6ed-2b10-e7ac-b77872c42dba] check the page no. 16 and further.
    Regards,
    Surjith

  • Showing Dynamic Columns in UWL

    Hello guys
    I m building a customized UWL using WDJ and the UWL API... Everything is working fine, except for one detail: I need to show a dynamic column created into swl1.
    There is any way to do this? I looked for something into  UWL APIs javadoc and didn't found nothing.....
    Thanks

    Hello guys
    Thanks for you replies. I think that I was not clear in my question.....
    I have already configured the UWL and created a simple application in WD....
    The problem is that I need to bring an dynamic column created into swl1 transaction.... This column could be showed when you enter into R/3 inbox and select the "Change Layout" option, but this option is not avaliable into standard UWL. I tried to create an new application using the UWL API, but I couldnt access this column to....
    The steps are showed at the follow prints: http://img33.imageshack.us/gal.php?g=swl1.jpg
    Maybe this limitation is caused because the UWL is created to work with N types of workflows, so it could not be so specific ( Am I telling bullshit ?? ) .
    Did you got my problem now... My English is poor, so maybe I cant expose my problems clearly.
    Thanks

  • Special characters in SBWP dynamic columns are not showing for some users

    Hi experts,
    We have set up a dynamic columns for business workplace. One of the field displays the comments entered by the user. Some users are able to see the values entered perfectly. But for some users, if we enter special characters like @gopal, it is not displaying the value in dynamic column.
    Are there any workflow/user settings need to be changed.
    Thanks
    Gopal

    I had the same issue, you should check the link between AD and CRM, so you could make a new user in AD and connect your CRM account with it, then you should return the old AD account back. It worked for me, try it :)

  • Some of the error idocs are not falling into Workflow Inbox

    The extract of IDOC list with status 51 from WE02 transaction is not matching with Workflow inbox column "object", some of the idocs which are errored are not showing in the workflow inbox. Here we are in need to get all the errored idocs into the inbox. Please suggest me to proceed further.

    Hi Smita,
    Thanks for your reply.
    I have maintained the suggested role SAP_GRC_SPC_SCHEDULER in backend for an user id and i can able to see a job is getting completed in SM37.
    However, the task in the inbox hasnt come yet.Any idea you may have as to how much time it will take for task to come into inbox.Or is that i need to do any more extra task.
    Please advice.
    Thanks
    Ashok S

  • Dynamic columns in SBWP

    Hi.
    can any one explain stepby step process of adding dynamic columns in SBWP.
    thanks & regards,
    arul.

    hi
    Inside SBWP u2013 inboxu2014Right click on u201Ctitle u201D Tab   of INBOX  It will list down all the  possibilities  to handle columns or add columns.
    (below Inbox is writen , RIGHT CLICK ON any column name .) you will get options like Show , this will help you to add more columns
    thanks
    kakoli
    Edited by: kakoli debroy on Jul 28, 2009 1:58 PM

  • Dynamic columns in Business Workplace

    Hi All ,
       We have an issue with Dynamic columns in Business Workplace ....We have changed the standard layout of the inbox with additional Dynamic Column with displays the Last Reserved By user of the Workitem...
    Issue is that - the value is not refreshed in the Dynamic column whenever user chooses the Refresh button in the inbox..
    Please let me know how to update the Dynamic column on choosing refresh in the inbox..
    Thanks for your help in advance...
    Thank you
    Srinivas

    Are you sure it is not refreshing, i.e. sure it is not a problem in your customer part of the solution? Try changing your attribute so the dynamic column displays the (current) time, retrieved as a virtual attribute on the business object. Then see if it is updated when you refresh.

  • How can we get Dynamic columns and data with RTF Templates in BI Publisher

    How can we get Dynamic columns and data with RTf Templates.
    My requirement is :
    create table xxinv_item_pei_taginfo(item_id number,
    Organization_id number,
    item varchar2(4000),
    record_type varchar2(4000),
    record_value CLOB,
    State varchar2(4000));
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'USES','fever','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'HOW TO USE','one tablet daily','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'SIDE EFFECTS','XYZ','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'DRUG INTERACTION','ABC','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'OVERDOSE','Go and see doctor','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'NOTES','Take after meal','TX');
    select * from xxinv_item_pei_taginfo;
    Item id Org Id Item Record_type Record_value State
    493991     224     1265-D30     USES     fever     TX
    493991     224     1265-D30     HOW TO USE     one tablet daily     TX
    493991     224     1265-D30     SIDE EFFECTS     XYZ     TX
    493991     224     1265-D30     DRUG INTERACTION     ABC     TX
    493991     224     1265-D30     OVERDOSE      Go and see doctor     TX
    493991     224     1265-D30     NOTES     Take after meal     TX
    Above is my data
    I have to fetch the record_type from a lookup where I can have any of the record type, sometime USES, HOW TO USE, SIDE EFFECTS and sometimes some other set of record types
    In my report I have to get these record typpes as field name dynamically whichever is available in that lookup and record values against them.
    its a BI Publisher report.
    please suggest

    if you have data in db then you can create xml with needed structure
    and so you can create bip report
    do you have errors or .... ?

  • In att yahoo mail my left column with the inbox ,etc extends the width of page and I can't bring it back to the left.

    in the new version of att yahoo mail that I have been using for weeks for some reason the left column which shows inbox etc extends the width of a page and I am not able to see the emails. I cannot pull the column back to the left. If I switch to ATT yahoo classic it is fine, but not in the newer ATT yahoo mail.

    [[Font size and zoom - increase the size of web pages|try Font size and zoom - increase the size of web pages]]

Maybe you are looking for

  • Report Output with Key Date

    Dear All, I have the following fields in DSO. Key Part: EmployeeID, DateTo, DateFrom. Data Part: Designation, AnnualSalary. I have data in the DSO as follows: EmployeeID DateTo        DateFrom      Designation AnnualSalary 1                 12.11.200

  • ICal on Mac will not sync changes made in Mobileme or my phone via Mobileme

    I cannot get iCal to accept any calendar changes from Mobile to my laptop. Only events created, deleted or edited on my laptop with iCal are syncing correctly. I've tried creating/deleting from my iphone. The events show up on my mobileme calendar on

  • SQL strange behavior after 11g upgrade

    Hi all, After upgrading from 10.2.0.3 to 11.2.0.1 (64-bit RedHat), one of my SQLs behaves very strangely. These are the facts: - This is upgrade evaluation phase in 'lab' environment - First run (after db restart) returns results very quickly (accept

  • How to import a war file using JB_x

    Hi I need to move a few of *.war files from other IDE to JB_x, and further implement them (they are struts web-apps). I'm wondering how to import each of them (each war is a small project). I've tried extracting war, then creating new project to impo

  • Evaluation path to get personnel number all the org unit and subordinates

    Dear all, I have OM issue to ask.This is the scenario: Staff A  belong to  org 1. Under Org  1, I  have org unit 1-A, 1-B and org unit 1-C. Issue 1 : I want to run report(RHSTRU00) to  to generate all the staff number in org 1 (Include 1-A, 1-B, and