ESS TRIP Workitem Attachment

Hi experts,
I am currently working on a Travel expenses workflow .The workflow when tested from r3 side it all works fine. My problem is that i could not open the workitem attachment from ESS portal. My requirement is, When i click on the workitem attachment from ESS , It should open a adobe form showing travel expense details.
From my research i figured out it a has something to with transaction SWFVISU. If yes, can anyone provide me with detail steps of what needs to be configured.
Is it the workflow configuration side or the portal configuration that needs to be done.
Please help.

hi NK_ABAPER
   I have done Travel management in ESS. I am getting every thing fine in portal. No need of task registration on swfvisu since ur using only decision step not any task has its decribed in standard workflow. To get the attachment you need to tell the EP person to do the setting for the display. The solution to display the adobe form search in ESS. Even i had the same problem from that search i found one solution i solved that.
Regards
vijay

Similar Messages

  • Migration from WD Java to WD ABAP in ESS Trips and Expenses

    Hello Experts,
    We are migrated ESS Trips and expenses from WD Java to WD ABAP.
    Following steps I have performed
    1.     Activated FIN_TRAVEL_1 and FIN_TRAVEL_2 business functions.
    2.     checked FITV_TRIP_FORM service in SICF /sap/bc/webdynpro/sap its active .
    3.     Currently we are SAP ESS 6.0 EHP 4 , and accordingly we have down loaded
    uwl_com.sap.pct.erp.mss.tra.14.zip , (for SAP ECC 6.0, Enhancement Package 4) [Note 1076144 - ESS trips and   expenses: Migration from WD Java to WD ABAP]
    file as suggested in Migration from WD Java to WD ABAP in ESS Trips and Expenses user guide
    4.     after uploading uwl_com.sap.pct.erp.mss.tra.14.zip file in SAP NetWeaver Portal -> System Administration  -> System Configuration -> Universal Worklist->& Workflow -> Universal Worklist Administration.-> Object Types and View Definitions ->  com.sap.pct.erp.mss.tra.
    5.     after uploading file, when manager click up on u201Ccheck trip of ABCu201D workitem in his uwl , he is getting following error.
    404   Not Found
    SAP J2EE Engine/7.01 
    The requested resource does not exist.
    Details:   Go to main page of this application!
    Any idea for fixing this issue.

    hi
    in the java system , the portal will launch the approval frm the same system , for the abap component , the task type in uwl you might have to define a dynamic property as "System" and give the name of your r/3 system in there.
    Try it
    Regards
    sameer

  • Migrate from WD Java to WD ABAP in ESS Trips and Expenses

    Hi
    I got request to migrate from from Java to ABAP fof ESS trips and expenses. Could someone please give me a link to the documentation or any existing blogs?
    thanks

    bump...

  • Workitem attachment to be done

    Hi ,
    I have a workitem waiting with approver 2 .Now approver 1 calls and tell he forgot to add an attachement before approval .
    how can we do this so that approver 1 is given an option( Transaction )  so that he can upload another
    attachment and approver 2 also sees it before his approval .
    I dont't want approver2 to add the attachment of approver1 .
    Regards
    Abhilash

    Thanks for the quick reply I will try it out soon .
    I have completed the workitem attachment deletion program . it is working fine now . I will try the addtion .
    REPORT  ZWF_ATTACH_DELETE.
    INCLUDE <CNTN01>.
    TYPE-POOLS: SWLC.
    include <symbol>.
    DATA :
        lv_header        TYPE swr_att_header,
        lv_objsofm       TYPE swotobjid-objtype,
        lv_objtkey       TYPE swotobjid-objkey.
       ls_fitment       TYPE   r_fitment_mstr,
    data :     lv_xstring TYPE xstring,
        att_id type  SWR_ATT_ID,
        lv_return  TYPE sy-subrc.
    data :  bo_sofm TYPE SWC_OBJECT .
    data : att type SWR_ATT_ID.
    data : w_msg type SWR_MSTRUC occurs 0 .
    data : wa_msg type SWR_MSTRUC.
    selection-screen begin of block b1 with frame.
    parameters: WRK_ID  like SWR_STRUCT-WORKITEMID obligatory ,
                zATT_ID like SWR_ATT_ID-DOC_ID obligatory.
    selection-screen end of block b1.
    start-of-selection .
      att-DOC_CAT ='AT'.
      att-DOC_ID = zATT_ID .
      CALL FUNCTION 'SAP_WAPI_ATTACHMENT_DELETE'
        EXPORTING
          WORKITEM_ID          = WRK_ID
          ATT_ID               =  att
         LANGUAGE             = SY-LANGU
         DO_COMMIT            = 'X'
       IMPORTING
         RETURN_CODE          = lv_return
       TABLES
         MESSAGE_LINES        =
        MESSAGE_STRUCT       = w_msg
      write : ' Return code : ' ,  lv_return.
      loop at w_msg into wa_msg.
      write : /5 wa_msg-MSGID,
              15  wa_msg-MSGTY,
              25   wa_msg-MSGNO.
      skip 2 .
       write :/5 'Message details : '.
      write : /5  wa_msg-MSGV1,
              30  wa_msg-MSGV2,
              50  wa_msg-MSGV3,
              60  wa_msg-MSGV4.
      endloop.

  • ESS Travel Document attachment functionality

    Dear Forumites,
    We are planning to Implement Travel application in ESS,
    client's requirement is to upload scanned document in travel expense and report application which should be available
    for the manager to approve\Reject.
    As per my understanding, we can upload documents in two ways.
    1) directly attach scanned copy which would be available in content server and through POWL Approver can approv
    2) save documents in DMS and attach links in the application.
    Can anyone give more clarity on this please?
    Regards
    Hari Sankar M

    Yes we already allow scanned receipts or Credit card clearing or use KPRO
    refer note 530792
    Starting Enhancement Package 2 for ABAP WebDynpro, the functionality "add attachment" has been added in ESS for Travel Management
    Generic Object Service. Please the SAP Note 904711 and 530792 for further information.
    You can also use OPEN TEXT as a vendor for a repository!
    Document types for attachments to a trip are shown due to the use
    of BUS2089. Document types as archived business documents are shown
    due to the use of TRAVEL. So you must customize this accordingy.
    Attachments   > BUS2089, Business documents   > TRAVEL.
    Dependency on the TRVPA feature: when OAA is 0, you will only see
    attachments to a trip (BUS2089), if it is 1, you will see both
    attachments to a trip and also stored business documents (TRAVEL).

  • Workitem attachment missing in mail Outlook/Lotus

    When an email is generated from a particular workflow. I get the following message in my
    outlook inbox
    Subject :Please release purchase requisition 0013001141
    Body : Work item in R/3 System: DEV
    Please log on to the R/3 System and look in your inbox
    Please execute the work item by opening the attachment
    however the attachment(link) to the workitem is not present.
    Please guide me as I am new to this.

    Am I correct in thinking that your e-mail is the result of a SendMail step in a workflow?
    If so, the standard solution doesn't have any support for attachments as far as I know. Attachments, e.g. to enter SAP Business Workplace or display the work item, is something that the work item notification report adds to the mail messages.
    If your e-mail is the result of work item notification, make sure you have selected the attachment options if you are using RSWUWFML2, or that your customizing specifies inclusion of attachments if you are using the extended work item notification solution in more recent releases.

  • Dipslay Workflow (workitem) attachment

    Hello gurus,
    ive got a requirement in dipsplaying WF attachment. What i mean is that we added a PDF document to WF.
    Now we are able to get the attachment using FM: SAP_WAPI_GET_ATTACHMENT.
    We can see the SOFM object, but whats next? How to display the document in normal format (PDF)?
    Regards
    Laurynas Prikockis

    HI
    May be you can try the below steps to create a custom report
    1. First by making use of SWWWIHEAD table get the workitems which fall under the user specified Date range.
    2. Check for the fecthed workitems is the  field NOTE_COUNT which gives you a number of how many attachments are availbale for the workitem. if this field is not initial then proceed to step 3.
    3. The by making use of the standard sap provided function module SAP_WAPI_GET_ATTACHMENTS , by passing the workitem ID.
    Regards
    Pavan

  • WorkItem Attachment: URL attachment from Intranet portal (authorization)

    Hello Guru's
    Ive got a requirement to create an attachment as an URL.
    The URL points to Sharepoint 2010 server. I am able to attach local or server URL, *.doc, *.pdf etc. file into WorkItem.
    But when i attach intranet file SAP doesnt open it. It seems like user authorization, and SAP doesnt transfer user credits to Sharepoint portal.
    Could some one help?
    Best regards
    Laurynas Prikockis

    Hello Laurynas Prikockis !
                       If there is an URL for your intranet file, then you can access it by its URL by using the function module CALL_INTERNET_ADRESS.
                       Create a method within which call this function module.On execution, it will call the URL on the system's default browser.
    Regards,
    S.Suresh

  • Receipt in trip is attached or not

    Hi Guys,
    Could you please let us know of any report where we can see the  reciepts are attached to trips or not or any table from where we can extract this information.
    Regards,
    A.R

    Hi,
    Check in table PTRV_SREC field PAPER_RECEIPT if value is 'X' it implies that paper receipt exists if it is balnk parer receipt does not exist.
    Thanks and Regards,
    Shilpa

  • Smartform(Spool) to Workflow Workitem attachment

    Hi Friends,
                    I have a requirement related to workflow attachment.
    I have a invoice no and i can generate spool related to this .
    Withh using CONVERT_OTFSPOOLJOB_2_PDF , I am able to create TLINE format.
    Can you help me to convert to BINARY Format and folder .
    So that i can attach that folder to Workflow task.
    Thanks.
    Balaji.T.

    Hi-
    If you have the data in TLINE format, then you can pass it to import parameter- ATT_BIN in FM-SAP_WAPI_ATTACHMENT_ADD along with wi id, header data  (file type...).
    From this FM, get the doc id and create SOFM instance with this doc id and bind this SOFM to ATTACH_OBJECTS in workflow
    Vinoth

  • Not able to view WorkItem attachment

    Hi ,
    I am attaching the TIFF file from application server .But when I am trying to see the attachment I am getting an errror" THIS OPERATION COULD NOT BE PERFORMED"
    any idea how to come out of this?
    Thanks

    Hi,
    Based on your description, only the first recipient can view the attachment in Outlook.
    Please check if this issue appears in OWA.
    Please check if you can download the attachment in Outlook and see it.
    Please use an internal user to send a jpeg file attachment to others internally and check if users can view the attachment.
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Remove Workitem Attachment from Outlook Inbox

    Hi, Workflowers,
    I would like to know, if possible can I remove 2 of the attachments. I think normally you have 3 attachments in the user's outlook inbox: for going to the SAP inbox, for displaying the work item, and for executing the work item. I would like to remove the attachment for displaying the work item and the one for the SAP inbox.
    Is it possible to also customise the Missed Deadline mail subject so that it doesn't have the 'Missed Deadline...' part?
    Thanks in advance.
    Darlington

    The text I am talking about is not the text in the Description tab of the PFTC transaction. I am fine with that. What I am concerned about is the standard text that appears in the outlook e-mail after the Description as follows:
    "Open the SAP shortcut attachment in order to process the work item.
    If you have any problems logging on, contact your system administrator."
    And the message subject saying for example "Missed Deadline:...."
    I know that when you run the report RSWUWFML2 under the block "Standard Text for Notification", there is a message class for the mail Subject "SWU_NOTIF" Message Number 2, which has &1: &2 in transaction SE91. How can I determine the text in these variables during runtime (In fact, I would like to Hard-code this text)
    After I select "Collective Message" in the "Send granularity" block I have removed SWU_NOTIF_PROLOG1 for "Before Work Item Description" so that the standard text:
    "Your Workflow inbox in the SAP system DEV, client 100, contains the following work item:"
    does not appear in the outlook mail since I don't need it.
    But I have not removed the SWU_NOTIF_EPILOG1. I would like to know how I can edit the text:
    "Open the SAP shortcut attachment in order to process the work item.
    If you have any problems logging on, contact your system administrator."
    which I believe is the one involved with SWU_NOTIF_EPILOG1.
    Regards,
    Darlington

  • WorkItem attachment default type

    Hi,
    during adding an attachment to work item in business workflow the default type of attachment is RAW. I want to change this default type to a BIN or BMP. Is there a configuration to change this default value ?

    Hi,
    If you just want to import a file (Which is not type RAW) then apply note 1563023 and it adds an import button.
    If you want to actuallly create an attachment there is no way to change the default from RAW.
    Regards,
    Eddie

  • Want to attach smartform as workitem but it doesn't work.

    Dear Experts,
    I want attach 'SMARTFROMS' or PWB Forms as workitem attachment but i couild not able to do .My method code is as follows...
    function zbi_bill_revision_v1.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(WID) TYPE  SWW_WIID
    *"     REFERENCE(L_DOCNO) TYPE  E_PRINTDOC
    *"  EXPORTING
    *"     REFERENCE(L_WID) TYPE  SWW_WIID
    data: l_wid type SWW_WIID.
      include <cntn01>.
      types : begin of ty_i_tline,
               i_tline  type tline,
              end of ty_i_tline.
      data: ls_control_parameters type ssfctrlop,
            w_compop         type ssfcompop,
            w_return         type ssfcrescl,
            v_len_in         type so_obj_len,
            it_i_otf         type itcoo occurs 0 with header line,
            it_i_tline       type table of ty_i_tline,
         it_zbillasses    TYPE zbill_assessment,
            out_opt          type ssfctrlop,
            fm_name          like rs38l-name,
            test_flag        type sysubrc,
            message_lines    type standard table of  swr_messag,
            message_struct   type standard table of swr_mstruc,
            att_head         type swr_att_header,
            it_solix_tab     type tsfixml,
           wid              TYPE sww_wiid,
            att_id           type swr_att_id,
            l_c              type efg_strn_printdata,
           wa_assesment     type zbill_assessment,
            wa_bill_ht       type zbill_invoice_ht.
         w_compop         type ssfcompop.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
       EXPORTING
         formname                 = 'ZFORMBI_HIGH_TENSION_EMAIL'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
      IMPORTING
        fm_name                   = fm_name
      EXCEPTIONS
        no_form                   = 1
        no_function_module        = 2
        OTHERS                    = 3
    IF sy-subrc <> 0.
    ENDIF.
    CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
       EXPORTING
         i_language             = sy-langu
       IMPORTING
         e_devtype              = w_compop-tdprinter
       EXCEPTIONS
         no_language            = 1
         language_not_installed = 2
         no_devtype_found       = 3
         system_error           = 4
         OTHERS                 = 5.
    IF sy-subrc <> 0.
    ENDIF.
    w_compop-tdnoprev               = 'X'.
    ls_control_parameters-getotf    = 'X'.
    ls_control_parameters-no_dialog = 'X'.
    DATA: it_isu_bi_bill_s_doc_header TYPE isu_bi_bill_s_doc_header.
    CALL FUNCTION '/1BCDWB/SF00000426'
       EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
        control_parameters         = ls_control_parameters
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
        output_options             = w_compop
        user_settings              = 'X'
         pwb_data                   = it_isu_bi_bill_s_doc_header
         c                          = l_c
         wa_bill_ht                 = wa_bill_ht
      IMPORTING
      DOCUMENT_OUTPUT_INFO       =
        job_output_info            = w_return
      JOB_OUTPUT_OPTIONS         =
      EXCEPTIONS
        formatting_error           = 1
        internal_error             = 2
        send_error                 = 3
        user_canceled              = 4
        OTHERS                     = 5
    IF sy-subrc <> 0.
    ENDIF.
    it_i_otf[] = w_return-otfdata[].
    CLEAR w_return-otfdata[].
      data: x_printparams   type eprintparams,
              it_ranges     type standard table of efg_ranges,
              wa_ranges     type efg_ranges,
              c_fclass(12)  type c value 'IS_U_BI_BILL',
              lt_itcoo      type standard table of itcoo,
              g_docno       type erdk-opbel.
    clear: wa_erdk.
      select single *
        from erdk
          into wa_erdk
            where opbel = l_docno.
      x_printparams-formkey   = wa_erdk-formkey.
      x_printparams-tdnoprev  = 'X'.
      x_printparams-tdnoprint  = 'X'.
    x_printparams-NO_OPEN_FORM = 'X'.
    x_printparams-NO_CLOSE_FORM = 'X'.
      x_printparams-tdgetotf = 'X'.
      x_printparams-formclass = c_fclass.
      wa_ranges-low           = wa_erdk-opbel.
      append wa_ranges to it_ranges.
    data : x_header  type  rfgen-header.
      call function 'EFG_PRINT'
        exporting
        X_HEADER                    = X_HEADER
          x_printparams               = x_printparams
        X_ARCHIVE_INDEX             =
        X_ARCHIVE_PARAMS            =
         x_dialog                    = ' '
        X_RECIPIENT                 =
        X_SENDER                    =
        X_STRN_COLLINFO             =
        X_TABN_SEL_PER_FCLASS       =
        REF_LOG                     = CL_EFG_LOG_NULL=>S
        I_FLG_EMSG                  = '+'
      IMPORTING
        Y_ITCPP                     =
        Y_RDI_RESULT                =
        Y_PRINTPARAMS               =
        Y_SF_RESULT                 =
        Y_TAB_GENDATA               =
        Y_TABN_SEL_PER_FCLASS       =
        Y_PDF_RESULT                =
        tables
          xt_ranges                   = it_ranges
        XT_RANGES1                  =
        XT_RANGES2                  =
        XT_RANGES3                  =
        XT_RANGES4                  =
        XT_RANGES5                  =
        XT_RANGES6                  =
        XT_RANGES7                  =
        XT_RANGES8                  =
        XT_RANGES9                  =
         yt_otf_data                  = lt_itcoo
       exceptions
         not_qualified               = 1
         formclass_not_found         = 2
         form_not_found              = 3
         formclass_invalid           = 4
         print_failed                = 5
         form_invalid                = 6
         cancelled                   = 7
         func_invalid                = 8
         not_authorized              = 9
         others                      = 10
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
      data: pdf_bin type xstring,
            l_size type i.
      call function 'CONVERT_OTF'
        exporting
          format                = 'PDF'
          max_linewidth         = 132
        importing
          bin_filesize          = l_size
          bin_file              = pdf_bin
        tables
          otf                   = lt_itcoo[]
          lines                 = it_i_tline
        exceptions
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 4.
      call function 'SCMS_XSTRING_TO_BINARY'
        exporting
          buffer                = pdf_bin
      APPEND_TO_TABLE       = ' '
       importing
         output_length          = l_size
        tables
          binary_tab            = it_solix_tab
      att_head-file_type = 'B'.
      att_head-file_name = 'Billing Revision'.
      att_head-file_extension = 'PDF'.
      att_head-language = 'EN'.
    l_wid = wid + 2.
      call function 'SAP_WAPI_ATTACHMENT_ADD'
      exporting
        workitem_id          = wid
        att_header           = att_head
        att_txt              = 'Bill Assessment'
        att_bin              = pdf_bin
       document_owner       = sy-uname
       language             = sy-langu
      DO_COMMIT            = 'X'
    importing
       return_code          = test_flag
       att_id               = att_id
    tables
       message_lines        = message_lines
       message_struct       = message_struct.
    endfunction.
    when execute code it shows attachment successfully created but it does'nt show in attachment.
    Edited by: GURPRIT BHATIA on Jun 18, 2010 8:46 AM

    Hi,
    Pls explain it.
    I am also facing problem.
    Thanks
    Ragaven

  • ESS - My Trips and expenses (Processing Status)

    Hello,
    In the ESS portal for Travel Management, the iView 'My Trips and Expenses' has a column called 'Processing Status'.  The description of the trip status in the portal is not the same as in the backend (ECC).
    For example:
        Backend: Trip status shows:    'Trip Completed / To Te Settled'
        ESS:       Trip status shows:    'Trip Completed / Released for approval'
    Does anyone know where the portal is extract this text 'Released for approval'?
    Thank you,
    Robert Cvetas

    Hi Jack
    The texts themselves come from the program SAPLPTRA_UTIL_TRIPS in the text elements but for the actual status, you can look to the AEND part of the cluster transaction PRTE and if you "F4" on the status in the respective column, then you will see the actual status reason.
    Hope it helps
    Sally

Maybe you are looking for

  • RC-00118: Error occurred during creation of database

    adcrdb.sh started at Mon Nov 14 16:16:13 EAT 2011 The environment settings are as follows ... ORACLE_HOME : /u04/d01/tech_st/11.2.0 ORACLE_SID : JCLONE TWO_TASK : PATH : /usr/bin:/u04/d01/tech_st/11.2.0/bin:/usr/bin:/usr/sbin:/u0 4/d01/tech_st/11.2.0

  • Email links won't open in Safari - keeps resetting to Mail

    OS X Mavericks Safari 7.0 Mail 7.0 My email links in Safari were opening in Chrome. I opened Mail, went to Mail > Preferences > General and changed 'Default email reader' to Safari. Then my email links opened in Mail! Went back to Mail > Preferences

  • Can I use a stylus to write on an iPad

    I am a mathematics teacher in a school. Currently, I use my digital pad which is connected to my laptop, to deliver my lesson, then I email my students the lesson written down on the computer, in pdf file format. Can I use a stylus to write on the iP

  • How to changes  standard sap label description

    Hi ! I heard that there is a way ton change standard sap label description.  Please tell me how to do this ? Thanks moshe

  • 32-Bit Windows 7 IE8/9 Flash Player Size issue.

    I have a 24inch 1920x1080 monitor. I want to read the text on the screen but at the IE defualt of 100% it gets very tideous trying to read the wrighting and its the same with Adobe Flash player it becomes ridiculously small. I like to have my browser