Travel Expense (Portal) - Adobe Form

Hi:
We recently implemented Adobe Forms for travel expense booking via portal. For that the necessary ADS configuration and other development changes were made. It is working fine except one issue. When we display/print an existing expense report on portal, it opens in pdf form with ides logo and other standard wording on it. How can we modify that print form to match our template? Where exactly that print form is assigned so that we can customize it?
Please advise.
Thanks.
RG

Upload your custom form via SFP.. and you can copy the standard travel expense form PTRV_EXPENSE_FORM which I think you already did (check the 2nd and also note 944221 if you have any problems with initiating the travel form)
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=233410928
http://wiki.sdn.sap.com/wiki/display/ERPHCM/CustomizingTravelExpenseforms%28SFP%29
These wiki links may help
Edited by: Sally Redmond on Jun 2, 2011 9:23 PM

Similar Messages

  • Adobe Interactive Forms - for Travel Expense Booking

    Hi:
    We are implementing Adobe Interactive Forms for Travel Expense Booking integrated with Portal (where user would download the form from portal locally to work offline and then upload it later when connected).
    For the form to function properly, our consultants has asked to make following changes in the Adobe Reader settings on user machine:
    1. Under Edit -> Preferences -> Internet -> Check "Display PDF in browser"
    2. Under Edit -> Preferences -> JavaScript -> Check "Enable Acrobat JavaScript"
    3. Under Edit -> Prefenences -> Security (enhanced) -> Uncheck "Enable Enhanced Security"
    All the above three changes are opposite to our current settings. And our IT group is seeing a major secutity threat to company network on making the above changes.
    I wanted to check how other companies with Adobe implementation are handling the above changes? Is there any work around to these changes?
    Any ideas?
    Thanks,
    Rahul

    you have to get really creative when trying to dynamically control the form without javascript / formcalc.
    One of my little secrets (you owe me big points here) is that I prepare my output in a series of tables when possible.
    For instance, in SAP i'll fill an internal table with
    Customer | Sales Order Number
    12345      |  80002038
    Date         | 09/15/2011
    Special Instructions | Deliver around back
    something like this... then I drop this table where I need it.  However, if there are no special instructions, I simply do not fill that info out in my internal table. This has the effect of "hiding" the field.

  • Error initiating travel expense form

    Dear Guru's,
    We have an issue displaying the Travel Expense form in ESS. We are not using the PDF forms but the HTML , no ADS has been set up and followed the exact steps mentioned in SAP Note 1032311. So we deleted the URL parameter in the URL parameter from the resource and set the PDC path as a non-static URL to the tripform. We deleted also the Iview property ....UsePDF=true.
    Next we changed the setting in the Travel Management Expert View refering to Adobe Forms from 0 into 1, and we modified feature TRVFE using the SAP form PTRV_EXPENSE_FORM .
    We tested the forms in trx TRIP, PR05 and PR_WEB_1200 and all results were positive since the form is displayed. However using the Iview create travel expenses the ' Error intiating trip forms' remains. The Iview My trips and expenses gives the same negative result trying to display/print the form. However the Iview display trip form seems to do something and is only given the error that the trip parameter for the pernr is missing while previewing it, which is clear since no trip has been selected.
    Help needed.
    Kind regards.

    Please check you have the correct roles assigned for the URL in PCD path as this is a common cause of this type of error
    As per the note..it needs to be;
    ROLES://portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_fol
    der/com.sap.pct.erp.ess.roles/com.sap.pct.erp.ess.employee_self_service/
    com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.area_trave
    l_expenses/com.sap.pct.erp.ess.tripform
    Can you open it from portal in administrator mode?
    Also check note 944221 to check the ADS config.

  • ESS-Travel and Expenses-Display Trip Form

    Hi, All
    We have ECC 6.0 SP11;SAP-HR SP9;EA-HR SP9.
    Portal 7.0 SP10;ESS 600 SP10.
    I have an issue regarding the display of Travel and Expenses Form (Trip Form) in the Portal. The expense report creation is working fine and whenever i tried to open the trip , i get the error" Error while initiating travel form". other functionalities like change report works without any issues. We have not configured the ECC for PDF creation and hence the display is supposed to show a screen report. (Anyway, I have chceked the ADS coniguration also and it is working fine.)
    If i goto the Content administrator-webdynpro-applications and click the AllMytrips application and run it from there, then the display trip works fine.
    Any suggestions/hints to resolve this issue is very much appreciated.
    Thanks and Regards
    velu

    Hi, Shyam
    Thanks for your input. I feel the First link is not applicable to my setup as we are not using the Adobe Forms for the output( as another Dev Portal is working fine and displays the output as a Screen). Also, I am able to display the data in the current portal setup,  if i run the webdynpro application separately and the output is displayed in a  Screen.
    May be either i have to downgrade my ESS Version to ESS600 SP6 ( current version is ESS600 SP10 ) or I have to upgrade my Portal to SP12 ( current version is SP10).
    Suggestions are very much appreciated.
    Regards
    velu

  • 'Error while initiating form' in Travel Expense URGENT (Max points assured)

    I received the error 'Error while initiating form' in Travel Expense. It is linked to Message no. 56568. Does anyone know how I can fix this? I currently do not have access to OSS Note.
    Thanks.
    Rao

    Hello Raghav,
    Thank you for your reply it helped me to solve the problem in R/3. But I am still getting the same error in ESS portal? Do I have to set the ADS settings for the form to display portal, then will the same error come back in R/3?
    I want to reward points for your reply but I dont know how to reward points, could you please tell me how to do that?
    Thanks & Regards,
    Latha

  • Displaying Travel Expense form as attachment to UWL workitem

    Hi experts,
    We have customized the travel expense workflow that is WS20000040.
    When the requestor raises a travel expense request it goes to the manager for approval in his UWL.
    There by default, according to the standard functionality, when approver clicks the particular work item, he can see an attachment attached to the work item, which on clicking, leads to transaction PR05.
    Within that transaction when he clicks 'Travel Details' only then he can see the PDF for travel expense form.
    Our requirement is, instead of opening the transaction, the PDF should open directly as soon as the approver clicks the link.
    Please help.
    Regards,
    Pranita

    Dear Pranita
    I hope you are well and many thanks for using the SAP Discussion Forums .
    In relation to the scenario that you have described you mentioned the following:
    You have customized the travel expense workflow that is WS20000040.
    When the requestor raises a travel expense request it goes to the manager for approval in his UWL.
    Your requirement is, instead of opening the transaction, the PDF should open directly as soon as the approver clicks the link.
    Ok firstly a point to highlight here is have you attempted to reproduce this issue in more than one browser type? Also is compability mode currently enabled on the web browser platform that you are utlizing.
    Ok in terms of background functionality and the underlying operations of this scenario the predefined actions which occurs once a workitem is clicked in the UWL depends on XML configuration or via the SWFVISU transaction.  By default, the item type configuration for the corresponding work items is set to launch the expense report form.
    If you analyze the UWL configuration file and the travel expense XML e.g. com.sap.pct.erp.ESS/MSS - from UWL administration page, you should be presented with the following:
    ** SAMPLE **
    WS20000040
    <ItemType name="uwl.task.webflow.decision.TS20000131.ECCCLNT100" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.tra.view.TripApprovalView" defaultAction="com.sap.pct.erp.mss.tra.action.DisplayExpenseForm" executionMode="default">
    <ItemTypeCriteria systemId="ECTCLNT140" externalType="TS20000131" connector="WebFlowConnector"/> <CustomAttributes>
    You should be able to set the predefined open action here.
    Also there are two key points to remember when you are working with XML files.
    XML files and the UWL follow the notion of precedence. Therefore once you make a change in the UWL XML the file needs to be reuploaded with a new priority of high in order for changes to come into effect and the UWL Cache needs to be cleared.
    XML files should be backed up and copied so changes can be reverted easily if required.
    Kindly update me as per your findings.
    Kind Regards & All The Best
    Troy Cronin - Enteprise Portal Support Engineer

  • Travel Expense Form attachment in decision workitem

    Hi all,
    I have converted travel expense report to pdf file format. I used the following logic to attach the pdf file to attachment object container in the workflow
    When i run the workflow attachment is there in decision workitem when i open that it is giving error that 'There was an error opening this document. The file is damaged and colud not be repaired'. Please help me
    call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
    exporting
    src_spoolid = mi_rqident
    no_dialog = space
    dst_device = mstr_print_parms-pdest
    importing
    pdf_bytecount = mi_bytecount
    tables
    pdf = mtab_pdf
    exceptions
    err_no_abap_spooljob = 1
    err_no_spooljob = 2
    err_no_permission = 3
    err_conv_not_possible = 4
    err_bad_destdevice = 5
    user_cancelled = 6
    err_spoolerror = 7
    err_temseerror = 8
    err_btcjob_open_failed = 9
    err_btcjob_submit_failed = 10
    err_btcjob_close_failed = 11
    others = 12.
    DATA: office_object TYPE swc_object.
    DATA: BEGIN OF SOFM_KEY,
             FolderType LIKE SOFM-FOLTP,
             FolderYear LIKE SOFM-FOLYR,
             FolderNumber LIKE SOFM-FOLNO,
             Type LIKE SOFM-DOCTP,
             Year LIKE SOFM-DOCYR,
             Number LIKE SOFM-DOCNO,
             ForwarderName LIKE SOUB-USRNAM,
           END OF SOFM_KEY.
      DATA: REGION LIKE SOFD-FOLRG.
      DATA: FOLDER_ID LIKE SOODK.
      DATA: L_FOLDER_ID LIKE SOOBJINFI1-OBJECT_ID.
      DATA: DOCUMENT_DATA LIKE SODOCCHGI1.
      DATA: DOCUMENT_INFO LIKE SOFOLENTI1.
      DATA: OBJECT_CONTENT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
      DATA: OBJECT_CONTENT_HEX LIKE SOLIX OCCURS 0 WITH HEADER LINE.
      DATA: LINES LIKE SY-TABIX, DOCUMENT_TYPE LIKE SOODK-OBJTP.
    *- set default
      IF DOCUMENT_TYPE IS INITIAL.
        DOCUMENT_TYPE = 'PDF'.
      ENDIF.
    *- create office object
    *-- get dark folder
      REGION = 'B'.
      CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
           EXPORTING
                REGION                = REGION
           IMPORTING
                FOLDER_ID             = FOLDER_ID
           EXCEPTIONS
                COMMUNICATION_FAILURE = 1
                OWNER_NOT_EXIST       = 2
                SYSTEM_FAILURE        = 3
                X_ERROR               = 4
                OTHERS                = 5.
      IF SY-SUBRC NE 0.
       MESSAGE E696
               RAISING ERROR_SOFM_CREATION.
      ENDIF.
    *-- create office document
      DOCUMENT_DATA-OBJ_NAME = 'ATTACHMENT'.
      DOCUMENT_DATA-OBJ_DESCR = 'Travel Expense Form'
      DOCUMENT_DATA-OBJ_LANGU = SY-LANGU.
      OBJECT_CONTENT[] = mtab_pdf[].  "NOTE_TEXT[].
    object_content_hex[] = IT_SIMULATION_DATA[].
      DESCRIBE TABLE OBJECT_CONTENT LINES LINES.
    DOCUMENT_DATA-DOC_SIZE = ( LINES - 1 ) * 255 + STRLEN( OBJECT_CONTENT ).
      L_FOLDER_ID = FOLDER_ID.
      if object_content[] is initial.                    
        describe table object_content_hex lines lines.   
        document_data-doc_size = lines * 255.            
      endif.
      call function 'SO_DOCUMENT_INSERT_API1'
        exporting
          folder_id                  = l_folder_id
          document_data              = document_data
          document_type              = document_type
        importing
          document_info              = document_info
        tables
          object_content             = object_content
          contents_hex               = object_content_hex 
        exceptions
          folder_not_exist           = 1
          document_type_not_exist    = 2
          operation_no_authorization = 3
          parameter_error            = 4
          x_error                    = 5
          enqueue_error              = 6
          others                     = 7.
      if sy-subrc ne 0.
    message e696(wl)                             
               raising error_sofm_creation.
      endif.
    *- set export parameter
      SOFM_KEY = DOCUMENT_INFO-DOC_ID.
      swc_set_element CONTAINER 'ATTACH' office_object.

    adobe reader verson 8 only but still I am getting the same error.
    I am trying to pass the pdf tabel data to contents_hex to the FM SO_DOCUMENT_INSERT_API1 but both are having different sturctures. How can sove this problem. I download the pdf table data to pdf file in the pc and again uploaded the pdf file into contents_hex table structure and called the FM SO_DOCUMENT_INSERT_API1, But the work item step in backgroup process download and upload are not working out.
    Please help me out

  • Adobe Form not getting displayed on the portal

    Hi,
    From the MSS portal when I run the process, the associated adobe form(using HCM) doesn't get displayed on the portal. Initially the problem was with higher version of acrobat reader but now it is solved. Now I am not getting any error or warning but adobe form still not getting displayed.
    Please help.

    Later

  • Problem with the Travel Expenses PDF Form

    Hi Experts,
    We are facing a strange issue in our production system that the Travel Expenses PDF form is coming as a blank pop up when users raise a Travel Expenses request or try to see the form in 'My trips and Expenses'.
    The strange thing is that it is happning for only 3 users in Production system only.We have confirmed that it is not a Desktop issue. We did not come across this earlier while 3500 users are using it for 9 months now.
    The same problem is not repeated in Dev, Qua or even in Production for any other user.
    The SAP Security team has also confirmed that all relevent authorisations have been given to effected users like other users for whom the same is working
    Kindly help me with the same if you have encountered the same problem or can suggest something that may rectify the problem.
    Help will be appreciated << Please do not offer points >>
    Regards,
    -Amol Gupta
    Edited by: Rob Burbank on Sep 21, 2010 2:38 PM

    Hi Siddharth,
    Thanks for the reply.
    We have checked that it is not a Desktop issue.
    Also SAP Security team says that the effected users have been given the regular authorisations as given to other users using the same functionality.
    As i mentioned it is not a problem with ADS as the same functionality is working fine for 3500 users for 9 months.
    Regards,
    -Amol Gupta

  • SAP Travel & Expense Management (TRIP) in the Enterprise Portal environment

    HI All
    I am Viki. In our organization they are planning to implement the SAP Travel & Expense Management (TRIP) in the Enterprise Portal environment. Can any one help me how to start this process other details like
    What is the business package for Travel and Expense Managment
    How many Iviews are there
    How to show the Travel data in portal
    How to configure the UWL for TRIP
    What are all roles?
    Please help me in this regard
    Thanks
    Viki

    Hi Viki,
    SAP Travel & Expense Management  comes under ESS Package,
    to use these service we need to take license and all So first
    you gather your requirement ,then check for license n with SAP.
    Check Below links for details
    [Link 1|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/a0b47200-9c6d-2910-afa6-810c12eb7eb3 [original link is broken]]
    [Link 2|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/21eb036a-0a01-0010-25a3-b2224432640a]
    [Link 3|http://www.sap-img.com/human/what-is-ess-mss.htm]
    Regards,
    Piyush

  • Adobe Form called from SAP Portal, not executing interface global init code

    Hello!
    I have an adobe form called from both R/3 and SAP Portal and I need to show long text dinamically calculated.
    The deal is at the SAP Portal execution, as scenario characteristics don't allow string definitions, I'm using 255 characters tables (QISR_TAB_TYPE), that I'm trying to convert inside form interface (Global init code).
    The problem is that the interface global init code is being executed when the form is called from R/3, but it is not at SAP Portal.
    Does anybody know how to manage this? It's kind of a problem that the BAdi method int_service_request_init doesn't allow types over 255 characters... and if it is not possible to access the form interface code section (maybe there's any way)... i need to find some code section where i can convert tables before the form context is filled!!
    Thanks a lot!!
    Regards,
    Diana.

    Hi,
    have you searched on SCN? There are some threads with same problem such as [this one|/message/9270216#9270216 [original link is broken];. There is more threads. They may help you to solve your issue.
    Cheers

  • Integrating Offline adobe form in Portal

    Hi All,
    I created offline adobe form using SFP tcode.
    This form needs to be integrated in Portal. When user logs in, he/she should be able to open this form.
    Can offline adobe form can be integrate to portal directly? or do we need to create the Webdynpro applications only for poral?
    Please let me know whether we can integarate offline adobe form to portal directly. If not why?.. I don't know about portal.
    Thank you!
    Prasad

    Hi Deepika,
    This discussion thread is all about integrating a WebDynpro application which contains adobe form into portal.
    I assume your requirement is different which needs to upload an offline adobe form into portal.
    There are documents available to explain this functionality in detail. Please note down the following.
    1) For uploading adobe form should be XML schema based.
    2) There should be a webdynpro application with uploader UI element which has been integrated into the portal.
    3) On form upload, you will get all the data associated with the form within webdynpro
    Thanks & Regards,
    Sanoosh

  • Adobe form MSS PCR senarios  not working with Portal SSL

    Hi All,
    we have implemented MSS PCR  senarios Nw04 with ERP2004 system.
    every thing is working fine when use http protocal for portal acess.
    Now we try to implement ssl for portal. so started implemnation and done in portal side, after that when try access any senario forms , The adobe form is not opening for editing, its throwing  error
    <b>The initial exception that caused the request to fail, was:
       java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:461)
        ... 47 more</b>
    its very urgent anybody can help out this, what settings ot be done on R/3 server and Portal and ADS server
    Thanks in advance
    Gopal

    Hello Gopal,
    You would only need an https connecion between the browser and the portal server if you are only concerned with the MSS applications. You need to have SSL configured from the portal to ADS server had you implemented some custom scenarios like certification, digital signature etc. But, considering your MSS issue, you do not need to worry about it untill and otherwise your landscape demands you to do so for any security reason.
    Well, you might have already gone through the following link, incase not, please go through the link to find out more on how to confugre SSL on the j2ee engine:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm<a href="http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm</a>

  • Problem in opening Travel expense form

    Hi All,
    We are using standard workflow (task ID : TS20000118 )for Approve Trip,Approve Travel Request and
    Approve Travel Expense.
    User (Manager) get all the task related to travel request and travel expense in MSS through work flow.
    When user click on Travel request task, the travel request PDF form is open correctly, but when user click on travel expense task , the travel expense PDF form have to open but here also travel request PDF form is open.
    How can i open the Travel expense PDF form when user click on travel expense task.
    can anyone help...?
    Regards,
    Priya.

    Hi,
    Did you get solution for this problem? I am facing same problem.
    Regards,
    Amit

  • Using the Adobe Forms for printing through portal

    Hi All,
    I've got a problem with the fact that I do not know exactly how to use the Adobe Forms from the portal.
    I've got the Form Objects done (Interface & Form using SE80) and they work OK when testing the form. The Interface gathers all the datas etc. and the form displays this correctly.
    My problem now is that I need to have this form available from the portal, and this I presume needs some WebDynPro stuff or something else? I'm totally lost on this part ...
    The customer wants to have a button or link in the portal that opens a new window with the produced PDF opened in the new window, much like opening a static PDF file. The user then has the option to print the PDF him/herself using Adobe Readers own print mechanism.
    My interface has only one Import parameter (PERNR number) and one EXPORT parameter (default). The PERNR number must be supplied to the interface so that it can gather all the needed data based on this number.
    Any help on this will be greatly appreciated and rewarded accordingly.
    Thankyou in advance,
    Kim

    Hi Arnab,
    from a forms point of view:
    (I assume you have the ADS up and running on the Java stack. Without it, the form generation doesn't work.)
    If you create your form in transaction SFP and execute the corresponding program that calls the form for testing in SE38, you get to the print dialogue. Here you may choose either locl or lp01 (or any other printer accessible through your network) and then select Print Preview. This should then display the PDF in SAP GUI.
    If you are asking about general printer setup within SAP, check the corresponding documentation: http://help.sap.com/saphelp_nw04s/helpdata/en/d9/4a8eb751ea11d189570000e829fbbd/frameset.htm
    Hope this helps,
    Markus

Maybe you are looking for

  • Right-click on Magic Mouse and Volume Controls on Wireless keyboard suddenly stopped working

    I am running Mavericks 10.9.2 on an Late 2012 iMac. One morning the right click on my Magic Mouse and the volume controls on the wireless keyboard stopped working. These mouse and keyboard themselves seem fine; they work okay ehn used on a MacBook. E

  • Can't make ATI radeon use 1680x1050 resolution

    I can't get my ati card to display 1680x1050 resolution in xorg. I'm running xorg 7.1 and the newest ati drivers. but I only get 1600x854 (or something) when trying to set it to 1680x1050. My video card is ATI Radeon Mobility 9700. Do  I need to upda

  • How do I connect 2 Cinema Displays to my PowerMac G4?

    I heard I can do this and was wondering what the setup is. I have a 23" display right now and would consider getting a second if it's possible. Thanks.

  • [SOLVED] Shuttle in PL SQL region (Apex 3.2)

    Hi OTN, Is there an option of creating shuttle element in PL SQL region? I need to have a dynamic number of those elements on my page. I have copied HTML code of a static apex shuttle (with Never condition) on this page, but no double clicks or butto

  • Xml tool tip on the stage

    I have a map which has a number of movieclips placed on stage (not in root) inside various mcs . on mouseover on the movieclips, I want the tooltip to generate via xml. plus the movieclip changes its color highlighting it.