Error in custom travel request form

Hi friends
  I have copied the standard Adobe form FITP_REQUEST_FORM to custom ZFITP_REQUEST_FORM and i have written a function module like this.
DATA : V_FORMNAME      TYPE FPNAME,
       V_FMNAME        TYPE FUNCNAME,
       FP_OUTPUTPARAMS TYPE SFPOUTPUTPARAMS,
       FP_DOCPARAMS    TYPE SFPDOCPARAMS,
       FP_FORMOUTPUT   TYPE FPFORMOUTPUT.
DATA : ZVAR1 TYPE WSRM_ERROR-WSRM_DIRECTION,
       IT_SOLIX_TAB TYPE SOLIX-LINE OCCURS 0.
DATA : E_RESULT TYPE SFPJOBOUTPUT.
DATA : REASON TYPE FTPS_REQ_REASON_T,
       PERSONNEL_NUMBER TYPE PERNR_D,
       TRIP_NUMBER  TYPE REINR.
V_FORMNAME = 'ZFITP_REQUEST_FORM'.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
  EXPORTING
    I_NAME                     = V_FORMNAME
IMPORTING
   E_FUNCNAME                 = V_FMNAME .
FP_OUTPUTPARAMS-NOPREVIEW   = 'X'.
FP_OUTPUTPARAMS-NODIALOG    = 'X'.
FP_OUTPUTPARAMS-DEST        = 'LP01'.
FP_OUTPUTPARAMS-CONNECTION  = 'ADS'.
CALL FUNCTION 'FP_JOB_OPEN'
  CHANGING
    IE_OUTPUTPARAMS       = FP_OUTPUTPARAMS
EXCEPTIONS
   CANCEL                = 1
   USAGE_ERROR           = 2
   SYSTEM_ERROR          = 3
   INTERNAL_ERROR        = 4
   OTHERS                = 5.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
FP_DOCPARAMS-LANGU = 'EN'.
FP_DOCPARAMS-FILLABLE = 'X'.
FP_DOCPARAMS-COUNTRY = 'IN'.
PERSONNEL_NUMBER = '01234544'.
TRIP_NUMBER = '0002700074'.
CALL FUNCTION V_FMNAME
EXPORTING
   /1BCDWB/DOCPARAMS          = FP_DOCPARAMS
*   EMPLOYEE_HEADER_DATA       = EMPLOYEE_HEADER_DATA
*   EMPLOYER_HEADER_DATA       = EMPLOYER_HEADER_DATA
*   ADDRESS_EMPLOYEE           = ADDRESS_EMPLOYEE
*   ADDRESS_EMPLOYER           =
*   PERSONNEL_NUMBER           = PERSONNEL_NUMBER
*   TRIP_NUMBER                = TRIP_NUMBER
*   PLAN                       =
*   REQ_HEAD                   =
*   ACCOUNT                    =
*   ADVANCE                    =
*   REASON                     = REASON
*   REQUEST                    =
*   STATUS                     =
*   USER                       =
IMPORTING
   /1BCDWB/FORMOUTPUT         = FP_FORMOUTPUT
EXCEPTIONS
   USAGE_ERROR                = 1-------------------------------> error here
   SYSTEM_ERROR               = 2
   INTERNAL_ERROR             = 3
   OTHERS                     = 4.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
   E_RESULT             = E_RESULT
EXCEPTIONS
   USAGE_ERROR          = 1
   SYSTEM_ERROR         = 2
   INTERNAL_ERROR       = 3
   OTHERS               = 4
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
  EXPORTING
    BUFFER                = FP_FORMOUTPUT-PDF
IMPORTING
   OUTPUT_LENGTH         = ZVAR1
  TABLES
    BINARY_TAB            = IT_SOLIX_TAB.
Its showing error as job as already started and in my FP_FORMOUTPUT nothing is getting filled. what is the error. How to rectify it. I have written this code in function moduel. No input or exprot parameter.1st i want to test wheater the form is called prporly and getting all the details from the form. Help in resolve this issue
Regards
vijay

its solved. In se37 is not working showing some error. But in se38 its working fine.
Regards
vijay

Similar Messages

  • Error while displaying Travel request form (ABAP WD :FITV_TRIP_FORM )

    Hi
    When I am trying to create a travel request form , and then trying to display form its throwing an error
    "The following error text was processed in the system ECD : Error in module RSQL of the database interface".
    The error occurred on the application server mtserpdev_ECD_00 and in the work process 0 .
    Kindly suggest as form "FITV_TRIP_FORM" is already attached via feature . Am I missing some config or
    Is it a issue of patch. (Currently we are at EHP 4 , and all the applications inlcuding FITV_TRIP_FORM are on WD ABAP).
    Thanks
    Abhay

    Have you done the TRVFE feature configuration and made sure if this form exists in the system.
    Regards,
    Divya

  • Error while Creating Travel Request ..thru TRIP

    Dear all,
    As I am suppose to creat a travel request thru TRIP but i am geting the below error and the msg no..............
    Error: Trip country IN / trip region do not exist in the system (T702O)
    Message no. PTRA_WEB_INTERFACE031
    As Mr. Paulo Vitoriano suggested me to Define Trip Areas, etc......... but my Trip Areas has already been defined and i have checked it also .... but still the error is same ....... so frnds pls tell me wat else may be the problem....
    I read thred Error while Creating Travel Request ..thru TRIP which is posted by prasanth but what they suggested i maitained already but still i am facing same problem could you pls suggest me where i missed.
    Waiting for Reply.
    Regards,
    Nagaraju

    Hi,
    Please check the following:
    1. Just check have you assigned country India to the trip provision variant you have created.
    2. Just check whether you have assigned the trip provision variant correctly to the respective country.
    Regards,
    S.Srikanth

  • Adobe Form Logo Edit(Modify) Problem in Travel Request Form of ESS

    Dear Experts
    We have the ESS working in which travel Request form has got the logo of IDES (Adobe Form) thatb come from the t-code: TRIP. My query is to remove that logo and print our company's logo on the same. After doing many effort to change that logo, I am not able to make change on that Adobe Form. Please suggest how could we achieve that?
    Regards,
    Akg
    Moderator message: wrong forum, please have a look in the forum for "Adobe Interactive Forms".
    Edited by: Thomas Zloch on May 25, 2011 11:39 AM

    Hi,
    As per your code, you are seletcing data from BSEG table as 'SELECT * FROM BSEG'.
    BSEG is a cluster table. Its better to use only selected field from this table during select query.
    Other than this run your program in SE30 and check analysis for the queries taking more time.
    Better to modify them, tune them and re transport the program in production.
    Regds,
    Anil

  • Travel request form error

    Dear friends
    while trying to clik on display/pirnt in ess travel request, showing  an errorm like 
    ERROR WHILE INITIATING THE TRAVE FORM
    even in TRIP also while trying to display a trave request showing error like   
    Error at start of form processing
    Message no. PTRA_WEB_INTERFACE162
    Any suggestions to over com this problem
    Regards
    kiran

    Have you done the TRVFE feature configuration and made sure if this form exists in the system.
    Regards,
    Divya

  • Error while creating Travel request

    Dear All,
    ESS 2005/SP6
        While creating travel request in I am getting following error
    "Errors have been discovered when checking the Expense Report. Please correct them in order to proceed."
    Regards,
    Kamal Rawal

    Hello Kamal
    Did you manage to resolve the issue in relation to "Errors have been discovered when checking the Expense Report."?
    Best Regards
    Roger Earle
    [email protected]

  • Error in Create Travel Request

    Good Morning.
    I am implementing Travel for ESS. But in the moment of give clic in the service for Create Travel Request the system display the following error:
    [Error Travel ESS|http://www.freeimagehosting.net/uploads/46ed778b99.jpg]
    What is cause of this error?
    Kind Regards

    Hi Sergio
    I check and the User is not expired.
    I found the following suggestion.
    I asume that you are using a "Basic Authentication" method, if this is your case, you should configure the SICF service with the following parametters:
    1) Go to SICF, /yourservice / double click
    2) On the "Logon Data" tab, in the "Procedure" option choose "Alternative Logon Procedure".
    3) On the same tab, at the "Logon procedure option", delete the SSO option, and change the Number of the another methods, raised the "Basic Authentication" to the first place.
    4) Go to Error pages tab, flag "System logon", and after that click over Configuration, here check "Do no display warnings"
    The question is:
    This is necessary?
    Kind Regards

  • Portal runtime error on creating Travel Request

    I have copied the standard ESS Role and created my own ESS Role. I then assigned this to my portal user.
    Then when I log into the portal as the user and click on "Create Travel Request" or "Create Expense Report" URLs, I get the following error:
    Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 04:53_02/02/10_0021_23623650
    Refer to the log file for details about this exception.
    Is there any portal/IMG setup that is missing? Or any authorization missing?

    Thanks I made changes to Resources node in IMG.
    Before making these changes I was getting the following error:
    Portal Runtime error. An exception occured while processing your request... Exception ID:.... Refer to log for details....
    I just changed the URL of PCD page in the Resources node.
    Note:
    (1) In Portal I have made my own folder structure:
    -> Portant Content
    -->My Travel Setup
    --->Employee Self-Service
    >Roles
    >MyTravelESS (role copy of the original Portal ESS role, Delta link. i.e. ESS role under End User Content-->Employee Self-Service)
    (2) I have not copied the iviews, pages worksets etc. under my new folder structure.
    But Now I am getting another error:
    500 Internal Server Error...
    Root Cause
    The initial exception that caused the request to fail, was:
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Failed in WD JNDI lookup. javax.naming.NameNotFoundException: No child found in WebDynproContext with name base

  • Error when creating Travel request

    Hi all,
        I am encountering error "Percentage is too high" when creating a travel request. When i tried to change the cost centre to split into different entries.
    Ex: 1) 10 %   cost centre1
          2) 40%    cost centre2
          3) 50%    cost centre2
    when i try to save the request i encountered error with "Percentage 90% is too high" as the first entry is reverting back to the initial entry before modification(initial entry is 100% with cost centre1) it is reverting back the first entry as 1) 100 %   cost centre1 that means now the entries are becoming
    Ex: 1) 100 %   cost centre1
          2) 40%    cost centre2
          3) 50%    cost centre2
       altogether 190% so throwing an error with "Percentage 90% is too high" as the total percentage is more than 100%.
    Can you please help in resolving this issue.

    hi,
    see this link
    Percentage Overhead Rates are not capture with Transport request
    refer this link to know how to create travel reaquest
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/46/51f0e994b85e40e10000000a11466f/content.htm
    http://help.sap.com/saphelp_45b/helpdata/en/b6/cdaab649e911d189060000e8322f96/frameset.htm
    thanks

  • Travel Request Form in SharePoint 2010

    I want to make Travel Request related site on SharePoint 2010. I have some basic plan in my mind how it will. Its like User will fill form (Travel Form) then it will go to his/Her Manager then after approval, it will go to HR department. From here onward,
    complexity starts as HR will give some preference of Hotel, Flight & rest info for selection to user. Once user select that then it will again go to HR for confirmation of such info & then HR will book flights, Hotel nd rest. So kindly let me know
    such kind of workflow can be made where multiple loop created with these users for follow up & selection, approval...
    Can anybody will guide me how to move ahead step by step..I did a lot of search n all but didnt found what i need. Also let me know from where i can open "Workflow designer" in SharePoint Designer 2010 as some video showing this tool in SPD.

    Looping in SPD workflows is tricky. To create complex workflows you can break them down into a set of simpler workflows. For looping you will typically create "workflow A" that changes a field that then triggers "workflow B". You might create a typical approval
    workflow that walks through the manager approval. It changes a field that then triggers the HR workflow(s).
    The Workflow Designer is displayed when you edit or create a new workflow. In the left navigation click Workflows and then in the ribbon click one of the new workflow options (List or Reusable (Content Type)).
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • Error in ESS Travel Request iView

    Dear All,
    I am new to HR module of SAP. I have tried to access the ESS iveiw provided by the SAP in the portal. when i access the iveiws (webdynpro/Java) it gives error. can any one tell me how to resolve this error?
    Also when i go through the sap help portal, i read that from ECC 6.0 package 2 they are going to support only ABAP/webdynpro and not JAVA/webdynpro (ESS). Is it correct?
    when i try to query the flight availability through standard SAP travel managment, my system gives error as "Connection error with external reservation system". what could be the cause for this error? can any one help to get rid of this error?
    with Regards,
    Balachander

    Hello Balachander,
    1. if you could give us more infos about the error you receive, we might could help ypu
    2. With Enhancemnet Package 2 (Ramp-Up until Dezember 2007?) the entire ESS Travelmanagement Services are available as Web Dynpro ABAP as well, although the Web Dynpro Java versions ars still there and can be used. You have to manually switch from Java to ABAP. As SAP has only enhanced the WD ABAP version, i would recommand to use those.
    3. If you want to use the Travel Planning functionality you have to connect your SAP-System to a booking system like Amadeus, Galileo etc. This will generate additional costs tho. Check this link for more infos https://websmp210.sap-ag.de/tm-downloads
    regards,
    Markus

  • Creating Travel request with TRIP Getting Error 'Infotype P0017 could not be read'

    Getting this error while creating travel request with TRIP transaction code. Please help for an alternate way to create Travel request or help to resolve this issue.
    If this error is due to 0017 maintenance, please help me to maintain infotype 0017.

    Hi
    This is done by functional Guy
    As work around
    Go to transaction PA30 to open master record of employee for whose trip need to be created type 17 at infotype ->  enter F5  and Save.
    With regards,
    Gopala Krishna

  • 'Error at the end of form processing' - Adobeforms

    Hi All,
    I am facing an issue while opening travel request form in PDF with an error showing as 'Error at the end of form processing'.
    I checked all configurations from R/3 and everything seems to be fine.
    Appreciate for your valuable inputs for solving the issue.
    Thanks & Regards,
    Srujana.

    Hi,
    You provide some more details for the problem. It seems FP_JOB_CLOSE is returning some error. Check that once.
    Thanks,
    Nitin    

  • BAPI's in Travel Request & Expenses

    Dear All,
         As per Clients requirement we are developing New Travel request Form in Web Dynpro.
    Please help me to find the BAPI's used to save data for Travel Request in Web Dynpro.
    Thank you very much in advance.
    Regards,
    Kamal Rawal
    [email protected]

    Hi,
    You can use BAPI 'BAPI_TRIP_CREATE_FROM_DATA' to create a Travel Request,
    BAPI 'BAPI_TRIP_APPROVE' to approve the trip request.
    Hope this helps,
    Shrinivas

  • Additional Transportation mode on Traval Request form

    Hi all,
    Can we add more transportation modes (in request transportation/accommodation) on travel request form on SAP R/3!
    i.e.  Employee can request for company pool car but currently flight, train, rental car options are available on travel request form.
    Awaiting for responses!

    Hi Raynard Coscolluela,
    Thanks for your response.
    but where i have to activate additional services on travel request form..
    if it is in schema (t-code FITVFELD) there which node i have to activate ?
    Thanks in advance for your time!

Maybe you are looking for