UWL Customization to get selected Work Items

Hi,
I am trying to get only selected Work Items in my UWL. I have tried modifying the XML file as per the link below but that didnt help . I am still getting all the work items in my UWL. I am using EP7 with SP13
UWL Customization
Thanks,
-Ashwani

solved the issue my myself

Similar Messages

  • Get parent work item at runtime

    Hi all,
    Is there any function module which would return parent work item ID base on child work item ID?
    My situation is that I have a workflow W1 which starts sub workflow W2. I know the id of currently u2018In processu2019 work item of the sub workflow W2. Now I would like to get two things.
    -     Work item ID of the parent sub workflow template W2
    -     Work item ID of the top level workflow template W1
    Could you possibly help?
    Many thanks and best regards,
    Petr

    Info when you need to find Manually is as below
    Goto SWI1 tcode, enter the work item id that you have.
    Then select the workflow log(Shift + F8) from the menu.
    In the workflow log, select the "List with Technical details"(Shift+F9).
    This provides you all the details with work item IDs that you are looking for.
    However if you are looking for this info programmatically.
    A function module like SWW_WIS_HEADER_READ can help getting the info.
    Regards,
    Kartik Nayak.

  • Webpart - Get selected list items

    All,
    I have a SharePoint list and a webpart located above it. In the webpart, I have a button. Is there a way to know the selected list items when user clicks on the button?
    For example, I have a Company list which contains Company A, B, C, and D. User has selected Company A and D. When user clicks on the button of the webpart, could the webpart know that Company A and D has been selected?
    Thanks,

    check this
    http://social.msdn.microsoft.com/Forums/en-US/699166b1-9d98-44bd-b07c-2c508215a11a/how-to-get-the-selectedchecked-list-item-id-in-list-item-view-webpart-using-jquery?forum=sharepointcustomizationprevious
    http://social.msdn.microsoft.com/Forums/en-US/3d15fd44-adb1-4b51-a56e-6811220e5a60/how-to-get-the-selected-item-of-a-sharepoint-list-?forum=sharepointdevelopmentlegacy

  • UWL - direct URL needed for work items

    We have NetWeaver Portal EP7 and use the UWL for work items from the ECC6 backend system. The work items appear as expected and users can process them correctly.
    I now have a requirement for a direct portal URL for each work item that appears in the UWL so that it can be accessed directly instead of via the UWL. However, I'm struggling in my attempts to find or construct such a URL.
    I would appreciate any help to resolve this.
    Trevor

    Hi,
    Why do you need this URL? If you want the recipient to be able to display a work item from within an e-mail, this can help you : [Executing or Displaying Work Items from Within a Message|http://help.sap.com/saphelp_nw70/helpdata/en/c7/009f405660f418e10000000a1550b0/frameset.htm].
    Regards,
    Pierre

  • ITS cannot can transform %3D into = and canu00B4t get the Work Item ID

    Hi experts,
    We have an ECC 6.0 EHP3 with a EP 7 (Netweaver 2004s SP18). We use the UWL.
    The issue is when we try to open a taks in the UWL that launch a transaction in the ECC, it can´t open, show this error:
    Transaction SWK1+WI_ID=000000005 is unknown
    This is because in the parameter "DynamicParameter" it pass the value "wi_id%3D000000005004". It can´t resolve "%3D" and change it for "=" so lost the last 3 characteres, try to opens the WI_ID=000000005 instead the WI_ID=000000005004.
    The url is try to open is this:
    http://asvesap002.forcendm.es:50100/irj/servlet/prt/portal/prteventname/navigate/prtroot/pcd!3aportal_content!2fZDiseno!2fZDesktop!2fcom.sap.portal.defaultDesktop!2fframeworkPages!2fcom.sap.portal.frameworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea?NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fevery_user%2Fgeneral%2Fuwl%2Fcom.sap.netweaver.bc.uwl.uwlSapLaunch&System=Memorias&TCode=swk1&UseSPO1=false&AutoStart=true&DynamicParameter=wi_id%3D000000005004&CurrentWindowId=WID1248779358537&NavMode=1
    If i copy this url in a browser and chage %3D for = , DynamicParameter=wi_id=000000005004 , it works fine, open the workitem.
    Here is the code for the task in the uwl xml:
    In the iview "UWL - Launch SAP Transaction", com.sap.netweaver.bc.uwl.uwlSapLaunch, i put the "NO" value for the property "Transaction Supports Unicode Codepages" but the error is still throw.
    Any one can help me?
    Thanks in advance,
    Manuel

    Hello Manuel,
    Please see note 1360904.  Thanks.
    Edgar

  • ITS cannot can transform %3D into = and can´t get the Work Item ID

    Hi experts,
    We have an ECC 6.0 EHP3 with a EP 7 (Netweaver 2004s SP18). We use the UWL.
    The issue is when we try to open a taks in the UWL that launch a transaction in the ECC, it can´t open, show this error:
    Transaction SWK1+WI_ID=000000005 is unknown
    This is because in the parameter "DynamicParameter" it pass the value "wi_id%3D000000005004". It can´t resolve "%3D" and change it for "=" so lost the last 3 characteres, try to opens the WI_ID=000000005 instead the WI_ID=000000005004.
    The url is try to open is this:
    http://asvesap002.forcendm.es:50100/irj/servlet/prt/portal/prteventname/navigate/prtroot/pcd!3aportal_content!2fZDiseno!2fZDesktop!2fcom.sap.portal.defaultDesktop!2fframeworkPages!2fcom.sap.portal.frameworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea?NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fevery_user%2Fgeneral%2Fuwl%2Fcom.sap.netweaver.bc.uwl.uwlSapLaunch&System=Memorias&TCode=swk1&UseSPO1=false&AutoStart=true&DynamicParameter=wi_id%3D000000005004&CurrentWindowId=WID1248779358537&NavMode=1
    If i copy this url in a browser and chage %3D for = , DynamicParameter=wi_id=000000005004 , it works fine, open the workitem.
    Here is the code for the task in the uwl xml:
    In the iview "UWL - Launch SAP Transaction", com.sap.netweaver.bc.uwl.uwlSapLaunch, i put the "NO" value for the property "Transaction Supports Unicode Codepages" but the error is still throw.
    Any one can help me?
    Thanks in advance,
    Manuel

    The note 1360904 solves the issue.

  • API to get Work Item and Attached Information

    Dearl all,
    Is there any API to get the work items assigned to specific users and their attached information during runtime?
    Thanks, Jerome

    HI Jerome,
    This code will help you: API FM is " 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    DATA : w_name TYPE sos04-l_adr_name.
    SELECT-OPTIONS :
    Recipient address
      s_name FOR w_name DEFAULT sy-uname NO INTERVALS.
    START-OF-SELECTION.
    E-mail Abap report
      PERFORM f_send_mail.
    Form f_send_mail
    FORM f_send_mail.
    Data Declaration
      DATA:
        l_datum(10),
        ls_docdata    TYPE sodocchgi1,
        lt_objpack    TYPE TABLE OF sopcklsti1 WITH HEADER LINE,
        lt_objhead    TYPE TABLE OF solisti1   WITH HEADER LINE,
        lt_objtxt     TYPE TABLE OF solisti1   WITH HEADER LINE,
        lt_objbin     TYPE TABLE OF solisti1   WITH HEADER LINE,
        lt_reclist    TYPE TABLE OF somlreci1  WITH HEADER LINE,
        lt_listobject TYPE TABLE OF abaplist   WITH HEADER LINE,
        l_tab_lines TYPE i,
        l_att_type  LIKE soodk-objtp.
      WRITE sy-datum TO l_datum.
    List of Users According to Logon Date and Password Change
    NOTE: Create ALI/OTF Document in Spool
        MESSAGE ID 'ZWF' TYPE 'I' NUMBER '001'.
      SUBMIT ZMM_MIR_RPT_FOR_WORKFLOW VIA SELECTION-SCREEN WITH valid = 'X'
                      WITH notvalid = space
                      WITH unlocked = 'X'
                      WITH locked = space
                 EXPORTING LIST TO MEMORY AND RETURN.
                 IF sy-subrc = 0.
      ENDIF.
    MESSAGE ID 'ZWF' TYPE 'I' NUMBER '000'.
    Read list from memory into table
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          listobject = lt_listobject
        EXCEPTIONS
          not_found  = 1
          OTHERS     = 2.
      IF sy-subrc <> 0.
      Error in function module &1
        MESSAGE ID '61' TYPE 'E' NUMBER '731'
           WITH 'LIST_FROM_MEMORY'.
      ENDIF.
    IF sy-subrc = 0.
      CALL FUNCTION 'WRITE_LIST'
        TABLES
          listobject = lt_listobject.
    ENDIF.
    IF sy-subrc = 0.
    endif.
    Because listobject is of size RAW(1000)
    and objbin is of size CHAR(255) we make this table copy
      CALL FUNCTION 'TABLE_COMPRESS'
        TABLES
          in             = lt_listobject
          out            = lt_objbin
        EXCEPTIONS
          compress_error = 1
          OTHERS         = 2.
      IF sy-subrc <> 0.
      Error in function module &1
        MESSAGE ID '61' TYPE 'E' NUMBER '731'
           WITH 'TABLE_COMPRESS'.
      ENDIF.
    NOTE: Creation of attachment is finished yet.
    For your report, the attachment should be placed into table
    objtxt for plain text or
    objbin for binary content.
    Now create the message and send the document.
    Create Message Body
    Title and Description
      ls_docdata-obj_name = 'Outstanding MIR'.
      CONCATENATE 'Outstanding MI-Report sent by' sy-uname l_datum                                     "#EC *
            INTO ls_docdata-obj_descr SEPARATED BY space.
    Main Text
      lt_objtxt = 'Outstanding MIR Report' &
                  'List of Outstanding Goods Receipts under inspection 103 movement'.                       "#EC *
      APPEND lt_objtxt.
    Write Packing List (Main)
      DESCRIBE TABLE lt_objtxt LINES l_tab_lines.
      READ TABLE lt_objtxt INDEX l_tab_lines.
      ls_docdata-doc_size = ( l_tab_lines - 1 ) * 255 + STRLEN( lt_objtxt ).
      lt_objpack-transf_bin = 1. " If u want to CLEAR inbox evrytime
      lt_objpack-head_start = 1.
      lt_objpack-head_num = 0.
      lt_objpack-body_start = 1.
      lt_objpack-body_num = l_tab_lines.
      lt_objpack-doc_type = 'RAW'.
      APPEND lt_objpack.
    Create Message Attachment
    Write Packing List (Attachment)
      l_att_type = 'ALI'.
      DESCRIBE TABLE lt_objbin LINES l_tab_lines.
      READ TABLE lt_objbin INDEX l_tab_lines.
      lt_objpack-doc_size = ( l_tab_lines - 1 ) * 255 + STRLEN( lt_objbin ).
      lt_objpack-transf_bin = 'X'.
      lt_objpack-head_start = 1.
      lt_objpack-head_num = 0.
      lt_objpack-body_start = 1.
      lt_objpack-body_num = l_tab_lines.
      lt_objpack-doc_type = l_att_type.
      lt_objpack-obj_name = 'ATTACHMENT'.
      lt_objpack-obj_descr = 'Outstanding MIR'.                   "#EC *
      APPEND lt_objpack.
    Create receiver list
      LOOP AT s_name.
        lt_reclist-receiver = s_name-low.
        lt_reclist-rec_type = 'B'.
        APPEND lt_reclist.
      ENDLOOP.
    Send Message
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = ls_docdata
          put_in_outbox              = ''
        TABLES
          packing_list               = lt_objpack
          object_header              = lt_objhead
          contents_bin               = lt_objbin
          contents_txt               = lt_objtxt
          receivers                  = lt_reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      IF sy-subrc = 0.
      Document sent
        MESSAGE ID 'ZWF' TYPE 'S' NUMBER '002'.
      ELSE.
      Document <&> could not be sent
        MESSAGE ID 'SO' TYPE 'S' NUMBER '023'
           WITH ls_docdata-obj_name.
      ENDIF.
    ENDFORM.
    Thanks and Regards,
    Prabhakar Dharmala

  • SAP UWL work item error

    Dear Experts ,
               I am new to portal administration .
      In my project for an incident manager role , in his UWL when he click a work item Its giving the below error.
        "Threre is no ivew avaible for the system 'SAP_ERP_COMMON'. Object 'SWF_WIOBN'. For more information , contact your administrator ."
    Kindly help me in resolving this issue. Please find the attachment.
    Thanks in Advance
    Anusha

    Hi,
    This looks like an OBN error, Check the standard note 1386141 for this type of errors.
    Did you applied any new business packages or upgraded the portal.?
    Check these links for more information on OBN,
    Object Based Navigation - OBN Wiki - Portal - SCN Wiki
    Configuration of Object Based Navigation and custom application configuration
    http://scn.sap.com/community/enterprise-portal/blog/2013/10/21/object-based-navigation-obn-based-on-business-objects-powl--in-portal
    Though the above post refers to OBN errors in POWL, this gives an overview on how to identify the error.
    Please revert in case you need any clarification,
    Regards
    Veera

  • UWL work item error

    Dear Experts ,
               I am new to portal administration .
      In my project for an incident manager role , in his UWL when he click a work item Its giving the below error.
        "Threre is no ivew avaible for the system 'SAP_ERP_COMMON'. Object 'SWF_WIOBN'. For more information , contact your administrator ."
    Kindly help me in resolving this issue. Please find the attachment.
    Thanks in Advance
    Anusha

    Hi Anusha,
    This error is related to OBN (Object Based Navigation) but not pertains to UWL actually. Please firstly check  Note#1386141 - There is no iView available for system "XYZ", object "ABC" see if it applicable.
    In addtion, make sure the following notes from PA-PD-PM component are implemented in case they are applicable:
    Notes:
    1408243 - Configuration for object-based navigation.
    1416756 - OBN Configuration in Performance Management.
    For further investigation:
    1. What is the OBN target that the user expects to be launched as result of the OBN action ? Let me know the target iView name and its full screenshots of iView Editor in the Object-Based Navigateion view.
    2. Ensure the relevant operation appears in the table.
    3. Please refer to Note#1558903 to collect a HttpWatch trace while reproduce the issue again, save the trace as .hwl format and attach here.
    Regards,
    Herman
    SAP

  • Displaying URL (in work item description) as Hyperlink in UWL

    Hi experts,
    I have successfully configured my UWL to retrieve and display work items under "Tasks" tab.
    However some of the work items contain a URL which I would like to display as a hyperlink (i.e. clicking on the hyperlink opens a new browser window and takes the user to the specified location). Currently the UWL displays these URL as plain text.
    I tried to add HTML tags: &lt;a href="http://www.abc.com"&gt;http://www.abc.com</a> to denote the URL as a hyperlink. The URL was correctly interpreted as a hyperlink on SAP inbox (transaction code SBWP). However, when it is accessed via UWL, the HTML tags are incorrectly displayed in plain text.
    Please kindly advise whether any configuration can be done to the UWL such that it will correctly recognize and display the URL as a hyperlink. Any help is greatly appreciated.
    Regards,
    Lionel

    Hi Lionel,
    You can't directly do what you want with the workitem text, but there is perhaps a workaround.  If you make the URL available as an element in the workitem container and include it in the text that way, you will preserve the original functionality, but more importantly you will then be able to configure a custom action in the UWL which refers to this URL. The result will be visible to your users as a seperate link or button in UWL.
    See <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/3a/648b505d764efcbbcbf7fab0e3070a/frameset.htm">URL Launcher</a> in the SAP docs for details of how to do this config.
    Hope this helps,
    Darren
    <a href="http://www.fortybeans.com/">My blog</a>

  • You are not a receiver of the work item in ESS Leave

    Hi,
    We are using standard ESS leave application in our portal, where employee can raise leave and his manager can approve/reject his leave. But I want in case manager rejects the leave, the rejected leave should not come into MSS UWL of employee, we will send a mail to employee and he can again login to ESS leave application and where he will see the rejected leave and he can re apply/change/delete  the rejected leave. We do not want rejected leave to come in UWL of employee as a work item.
    As of now when manager rejects the leave rejected leave of an employee , it is coming in UWL of the employee which we do not want, so what we did, we went to standard leave work flow template WS12300111, in that we double clicked on Task (TS12300116, Process Request by Employee) and in that  we clicked on agent assignment icon and than we clicked on attribute and we selected General forwarding not allowed radio button, by default general task radio button was selected.
    After selecting General forwarding not allowed radio button, even when manager rejects employee leave, rejected leave is not coming in UWL of employee which we want exactly, but another error is coming when employee goes to ESS leave application again and change or delete this rejected leave he is getting the error You are not a receiver of the work item .
    But if we select general task radio button in agent assignment in work flow , than eveything is working fine but employee is getting rejected leave in his UWL, that we do not want  at all, so why after selecting different radio button this error is coming ?
    Why employee is getting this error, why employee can not reapply/change his rejected leave. Is this portal error OR workflow error OR HR configuration error and  what is the solution for this..

    If you need this option then you need to change the WF Task.
    General Forwarding Not Allowed
    This indicator enables you to determine that work items for this task can only be forwarded to users who are agents for the task.
    If this indicator is not set, a work item for this task can be forwarded to all users.
    The best way to take care of User
    Forwaring authorization is the Task Classification (PFTC -> Additional
    Data -> Classification). Classify tasks with General Forwarding Not
    allowed, will give you the oppotunity to let the user allow to forward
    items JUST to the Possible Agents Assigned to the task
    (Additional Data -> Agent Assingment -> Maintain)...
    Clear that everything depends on How you have developed your workflows
    definitions. In that cases  the best think to do is
    create Different Tasks definition (TSxxxxxx) and let they start
    depending on Company Code (That can be driven via Conditions steps in
    the workjflow definition, for example). This will allow you to define
    Just the responsible Agents per each task, depending on the Companny
    Code. This definitively Resolve the Forwarding frelated Question.

  • 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&…

  • HCM Processes and Forms: Work Item is not opening

    Hi,
    We are implementaing HCM processes and forms using NWBC (EHP7 - HR Renewal 2.0 FP1) and after using configuration of POWL inbox for MSS and HR Admin, We are not able to launch the Work Item.
    1) In MSS Work Book, while launching, we are getting message  -
    Failed to resolve Object Based Navigation target ".MSS_WL.NAVIGATE_FORM_WD". Use transaction PFCG to define this OBN target in a role or contact your system administrator to assign a role with the relevant OBN entries to your user.
    2) For HR Admin, we are getting message - Work Item can only be open using Portal and UWL. and it is displaying back end transaction SWNWIEX.
    Detail configuration steps are shown as below -
    Workflow Task used in configurations -
    1) Entries in IBO_C_WF_TA_P_SC  (Assign Task ID’s to POWL Types)
    2) IBO_C_WF_ACC configuration - (Define Tasks and Actions)
    3) IBO_C_WF_APC configuration (Provide Details of navigation parameters)
    4) IBO_V_WF_TTAC (Assignment of Actions to the Tasks)
    5) IBO_C_WF_TAC (Specify Default Action)
    Error -
    1) MSS -
    2)HR Admin -

    Hi Guru,
    Any input..its urgent!.
    Regards,
    Vijay

  • How to determine (sub)work-item in bpm

    Hi all,
    is there a way to determine the actual workitem in a bpm. I want to map this workitem in a xml-structure and send to a receiver just for log function.
    Best regards
    Mathias

    Hi Mathias,
    i dont know any standard way to get the work item no into the XML. But for your case should the message ID enough, coz you select the message and click on link PE to navigate to the work item.
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/b3/9a2aeb24dc4ab6b1855c99157529e4/content.htm">Special Access to Mapping Runtime Constants</a>
    Regards,
    Udo

  • Need help in dispalying work item details

    hi friends
    I am Displaying work items with some details like work flow item text ,user ,agent and all
    Her along with these i need to display responsibility object(OTYPE = RY) mapped with work item ..
    For this i have Responisbility (HRS1000-stext) and responsibility object(HRp1240-objid) on selection screen .
    So finally i need to relate these responsibility and responsibility object and  work item ..
    any one have experience on these type of situation please help me .

    Hi
       your answer is helpful to me ..
       I am getting the RY objects from HRP1001 .
      And when i go to HRP1218  No records for the OBJID from HRP1001.Is it the data problem ..
      If i have the records in HRP1218 ,if we pass the TABNR in HRT1218 ..can i get the work item  with TABNR.
    Becuase when i see in HRT1218 all  records have PLANT as re field .

Maybe you are looking for

  • I have a problem when logging on icloud, i have a problem when logging on icloud

    i have problem logging on icloud i leave in south every time i log in the they is system errow

  • Letterboxing on thumbnail images

    Hello I have the most unusual problem I have ever encounted with a mac and I am seeking help. No matter what movie file I have on my desktop (and any other folder) and whether it is .mov, wmv or downloaded off an iphone, the thumbnail is automaticall

  • Encore turning my 16:9 into 4:3

    Encore is creating a 4:3 Monitor window, Preview, and DVD from my 16:9 Premiere sequence so that there ends up being black borders on the sides.  I'm using CS6.  Any solutions?

  • Cannot run project - Cannot find config file bc4j.xcfg (9.0.5.2)

    Hi all, I've gotten myself in a situation and can't find my way out. I've got a project that does not use any business components. Just as a test, I created a business component (View Object, I think - can't remember for sure), and then deleted it an

  • Device may be monitored?

    Hello, I just recieved my brand new Sony Xperia Z3+ phone from Amazon, it is literally out of the box and brand new, however it is showing up with a message saying 'Device may be monitored' on the tiles pane where I drag the settings pane down. When