ABAP Webdynpro component for travel request - customization

Hi All,
In EHP5 ESS Travel Management - Travel expense creation - I want to prevent users from raising the travel expense only after the travel request is approved.
For this requirement  , ie to modify the FITV_POWL_TRIPS - In this component either i want to disbale the link create /change in travel expense colum  if the travel request is not approved or i want to give a error message on click of travel expense report if the corresponding travel request is not approve.
If any one has done please let me know how this can be done . If with customising the code is there any way through spro config this can be controlled.
Thanks
Thanks & Regards
Shyam

You can use P_TRAVL authorisation check for the status field
Read here
http://help.sap.com/saphelp_46c/helpdata/en/b6/cda0db49e911d189060000e8322f96/content.htm
Please kindly read the note 574467. We deliver the BADI
FITV_PERSNO_AUTH_CHK empty and we provide a documentation on how
this should work. In your case you should modify the BADI to check your
multiple structural profile but on how to do this depends on your
modification.

Similar Messages

  • ESS E-leave : which is the ABAP Webdynpro component ?

    Hi Gurus,
    I have a few questions regarding ABAP-Webdynpro.
    1. Which is the corresponding ABAP Webdynpro component for ESS E-Leave application ?
    I need to add a new report to the Leave Request page but unable to find the ABAP WD component for the same !
    2. Just by looking at the portal web-page, is it possible to find out if the page is based on Java WD or ABAP WD ? And if ABAP WD, how to find the corresponding component ?
    Any hints will be greatly appreciated and rewarded.
    Regards,
    Sandip.

    Just right click on empty space on leave application and select "more field help" then you will get technical information of the component.
    But some times, this option will be disabled by portal administrators.
    Regards
    Srinivas

  • Can we perform runtime analysis(SE30) on Abap Webdynpro component..?

    hi,
    Greetings!!!
    Can we perform runtime analysis(SE30) on Abap Webdynpro component..?
    Thanks in Advacne.
    Regards,
    Kranthi.

    for sure !
    have a look here [https://wiki.sdn.sap.com/wiki/display/WDABAP/Performance%20Tuning%20for%20SAP%20%20Web%20Dynpro%20ABAP|https://wiki.sdn.sap.com/wiki/display/WDABAP/Performance%20Tuning%20for%20SAP%20%20Web%20Dynpro%20ABAP]

  • Standard Webdynpro Component for Sales Order / Quotations  ?

    Hello Experts,
    Is there any standard ABAP Webdynpro Component available for Sales orders / Quotations etc. ?
    Else we have to create everything customized for the customers ?
    Regards,
    Ravi Sharma

    LORD_MAINTAIN - for sales order maintenance. Shipped with ERP 6.0 (no enhancement packages required - although there are improvements in the later enhancement packages).

  • IE Script error when double clicking on a view in Abap Webdynpro component

    Hello experts,
    I am running mini SAP trial version 2004 with Internet explorer 7.0 and also installed gui patch 23.
    I am making a sample application in SE80 and when double clicking on a view in Abap Webdynpro component I get following error:
    <b>Internet Explorer Script Error</b>
    An error has occured in the script on this page.
    Line: 1
    Char: 1
    Error: 'wdp_show_menu' is undefined
    Code: 0
    URL: http://satellite5200:8000/sap/bc/wdvd/painting.html?_vdrespkey=EOJ6V1JQMX0VLTQ7AP6DQM64Y&_vdframe=painting&sap-client=000
    Do you want to continue running scripts on this page?
    Thanks in advance.
    Bhupendra

    Hi Bhupendra,
       If you are seeing this error in the Se 80 editor , i guess you can ignoire that ...While running the application it will not show any error.
    Thanks
    Anzy

  • Workflow and POWL integration for Travel Request / Approval

    HI,
    We are on EHP7 and using POWL  for different kind of Approvals.
    POWL is working good for Leave Approval and we have used Workflow Task ID as : TS12300097 / TS12300116, and all leave request appearing in POWL for manager and approving them.
    Now we have to use POWL for Travel Request / Travel Expense approval and need to know what Task IDs I should use to configure this under SPRO.
    Few tabs / links created like Travel Req Approval / Expense Approval / Claim Approval in POWL and need to show entries in respective tabs.
    Thanks

    HI
    Is it required to run FPB_MAINTAIN_PERS_S / FPB_MAINTAIN_PERS_M to display Travel entries in POWL screen.
    2) Is it required to keep entries under "Assign Task IDs to POWL Types" in SPRO ???
    ex : MANAGER_MSS_INBOX    MSS_POWL_LEA_APPROVAL    TS12300097
    I don;t see any difference in terms of functionality even If i delete above entry, may i know the necessity of having those entries ?
    Thanks

  • Edit HTML FORM for Travel Request in BADI

    Hi Experts,
    I'm trying to use the BADI FITP_REQUEST_HTML_FORM_BADIDEF to edit the HTML form for travel request.
    I need to add and hide fields in tables, but I don't need to create new tables in the form.
    The example is like the following:
      CALL METHOD co_dd_document->add_table
        EXPORTING
          no_of_columns = 2
          width         = '350'
          border        = '0'
        IMPORTING
          table         = lo_estc_table.
    set estc columns
      CALL METHOD lo_estc_table->add_column
        EXPORTING
          width  = '150'
        IMPORTING
          column = lo_col1.
      MOVE text-t04 TO lv_text.
      CALL METHOD lo_col1->add_text
        EXPORTING
          text = lv_text.
    We don't need to create new tables, we need to add fields in an existing table of the form.
    Somebody knows how can I do that?
    I hope you can help me.
    Thanks in advance.
    Oscar.

    work around!

  • Overlapping trips (for Travel Request - TP04)

    Hi, Gurus
    Is there any way so that I can create 2 or more travel requests using the same period for the same employee? It would be a desirable requirement here in our company.
    I know that through 'FITVFELD' transaction I can choose, for a given travel schema, if I want to allow overlapping trips (checkbox "Overlapping Trips Allowed"). But it works only for the expense reports ("TRIP" transaction) related to the schema selected. For travel request (TP04) I can't do that.
    An example: with "Overlapping Trips Allowed" checked for schema A, I am able to create 2 or more expense reports (schema A) from 11/09/2010 to 11/16/2010. But if I try to create a new travel request (TP04) within this period, the system throws an error.
    PS: As we know, unfortunately schema "PL" (Travel Planning) doesn't have "Overlapping Trips Allowed" checkbox... It manages some travel request parameters.
    Thank you
    Roberto

    Hi robtaboaco  ,
    you can create two or more overlapping trip.
    it will just give u warning if u have overlap trip. but you can still save it.
    here's the link, hope it helps to explain..
    http://wiki.sdn.sap.com/wiki/display/ERPHCM/OverlappingTripRequest
    Regards,
    nz.

  • Functional Specification for Travel Request Workflow

    Dear All,
    EHP6 and 7.3
    The standard travel request workflow( WS20000050) is not supporting for my business process.
    So we are developing custom Workflow.
    I want write Functional specification.
    Please provide some information to write functional specification for Travel request.
    Advance thanks.............
    Regards
    Somu

    Are you kidding ?
    Do you want us to do your work ? ^^

  • How to configure Webdynpro for ABAP Launch for Travel Request workflow UWL

    Hello,
    We are on SAP ECC 6 EHP4, SAP Netweaver 7.01 SP5, for portal BP1.41. When we are running travel request in this new Webdynpro for ABAP in UWL it will lead from an attachment to PR05 trx. I would think that it would gve another screen where the manager can check a travel request. Is the standard SAP solution leading to this trx. PR05? We have tried to customize the task 20000189 in SWFVISU but it doesn't give us any results.
    I would appreciate if you can give me an advice whether SAP standard solution will lead to PR05 or is there any other options what we haven't discovered yet. Otherwise we have to start customize it.
    Regards, Paivi

    Hi,
    Please follow the below configuration steps for ABAP proxy:
    ABAP Proxy configuration:
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Thnx
    Chirag

  • How to call a RFC of a remote system from an ABAP webdynpro component

    Dear Experts,
    I am a newbie in ABAP Webdynpro.
    I am working on a requirement where I have a webdynpro component on ECC system.I need to call a RFC located on CRM system from my webdynpro component on the ECC system.
    How do I do that ?? Please help.
    Regards,
    Mamai.

    Calling RFC from some other system is same as local except the difference is that you have to give destination name while calling.
    And the regarding the method of calling it depends on your FM.
    if it is big RFC with complex structure, you can create the service call for it with destination given as RFC desitination.
    if it is simple straight forward RFC you can directly call it.
    for creating RFC service call call use this method
    1. Starting the Wizard
    To start the wizard, position the cursor on the Web Dynpro component to be edited in the object list at the left margin of the
    workbench window. Open its context menu and choose the entry Create->Service Call. The wizard is started and leads you
    through the creation process.
    Press Continue.
    2. Choice of Controller
    On the second dialog window of the wizard, you can choose whether the service call is to be embedded in an existing
    controller or whether a new controller is to be created for this purpose. Service calls can only always be embedded in
    global controllers u2013 that is, in the component controller or in additionally created custom controllers. It is not possible, to
    embed service calls in view controllers.
    a. Select radio button Use Existent Controller
    b. Do not change the default entry for component: <CC name>
    c. Enter for controller COMPONENTCONTROLLER
    d. Press Continue.
    3. Service Type and Service Selection
    a. You now select, which service type should be used for this service call. Select radio button Function Module. Fill the
    destination here. Press Continue.
    b. Select the service: for Function Module enter <RFC name>. Press Continue.
    4. The Required Methods and Context Elements
    On the two subsequent dialog windows, default values are listed for giving names to the context nodes and attributes
    required by the service call as well as to the required methods. The proposed names are based on the names of the
    embedded service, but you can change them as required. However, heed the respective notes in the corresponding dialog
    box.
    a. Adapt Context: Select from Nodes/Attributes . Press Continue.
    b. Specify Method Name: leave all entries as provided: Component:  Controller: COMPONENTCONTROLLER Method: EXCUTE_ Press Continue.
    5. Completing the Choice
    When you have confirmed the last dialog box, the generation is triggered. Afterwards you now have the required methods
    and contexts at your disposal for using them within your Web Dynpro component.
    or if you want to call directly the use the call statement with destination

  • How to edit text of UI elements in sap standard ABAP webdynpro component

    Hi All,
    I have a requirement wherein I want to change the standard text of mainly LABEL UI in travel and expenses ABAP webdynpro components. As per my knowledge we canu2019t change UI text directly by changing it in layout in enhancement. We have to do it via wdmodify view method and post and pre exits methods.
    Can you please help me with the steps that I have to follow and code?
    Regards,
    Madhvika

    Hi ,
    Please go through this document.
    [Doc|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81?quicklink=index&overridelayout=true]
    Create a Pre Exit method for WDDOMODIFY method of the view , and in that method code somthing like this.
    lo_button TYPE REF TO cl_wd_button.
    lo_button ?= view->get_element( 'ID of button' ).
    lo_button->set_text('New Text').
    Thanks,
    Aditya.

  • ABAP Dump on Approving Travel Request

    Hello,
    We are implementing MSS and when a manager is trying to open a Workitem to Approve a Travel request he gets the following ABAP Dump.
    The following error text was processed in system R3Q : Value null of URL parameter SAP_FITV_PERSNO has the wrong type
    The error occurred on application server <Hostname> and in work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call hierarchy was:
    Method: GET_REQUEST_INPLUG_PARAMETERS of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: INIT of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: IF_WDR_RUNTIME~CREATE of program CL_WDR_MAIN_TASK==============CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    Don;t know what's causing it.
    Any help would be highly appreciated.
    Edited by: SAPEPDeveloper on Mar 16, 2011 9:28 PM

    Thanks for the reply.
    According to the note : 1076144 I uploaded the valid XML Configuration file, still it gives the same error.
    The Other Note : 1239932 is valid for ESS in MSS scenario , right?
    Pls reply.
    Regards

  • How to find the ABAP Webdynpro Component Name in the Portal IView(WDA)

    Hi All
    I got one ABAP Webdynpro IView in portal , when i opened the Iview i got the Application name of ABAP Webdynpro in the properties of the Iview but i could not able to find the component name .
    Please let me know how to find the component name of WDA , as i already got the Application name of component  from Iview i.e WDA_ED_RDF ( this is applicaiton name found in the portal Iview for ABAP Webdynpro)
    Please get back to me on the same , it would be great help to me.
    Thanks,
    PortalUser100
    Edited by: PortalUser100 on Mar 24, 2011 11:51 PM

    Hi
    Right Click on any UI Element in Portal->Go to more field help->TEchical Information. You can see all the information about component, application, ui elements etc.
    Please check this... may helps more
    http://wiki.sdn.sap.com/wiki/display/WDABAP/GeneralTechnicalAspects
    Thanks,
    Venkat.

  • ABAP WebDynPro tutorials for Roadmaps and drop-down list box

    Hi Experts,
        I need some tutorials on Roadmaps and drop-down list box in ABAP WebDynPro which will show me step by step process how to create application using this. 'help.sdn' pages do show the procedures for implementing those ui elements.
    And also the previous threads refer to some expired documents.
    Thanks in advance.....
    Plz help....
    Edited by: Akashdeep Basu on Aug 9, 2008 9:30 AM

    Hi
    [SAP BLOG on ABAP-WEBDYNPRO|https://www.sdn.sap.com/irj/sdn/nw-development?rid=/webcontent/uuid/512040e1-0901-0010-769c-c238c6ca35d9]
    [Step-By-Step Approach|http://help.sap.com/saphelp_nw04s/helpdata/en/79/002c2a0d43e645a39a89dd662b5f68/content.htm]
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712
    Regards
    Pavan

Maybe you are looking for

  • Upgrade to 11g - DBUA can't retrieve the version

    Hello, I'm upgrading 10.2.0.4 version to 11.2.0.2 and I have problem at the beginning. Immediately after the start of DBUA in the I get the error, that the version of the database can' be retrieved. Somewhere in the logs I have found: connect /******

  • How can I match the colors of two different video clips?

    I have two video clips. One is in black and white and the other in color. Is there a way that I can match the volor clip to the black and white one?

  • Drawing of objects

    Hello! I am a german student and I have the following problem. I need to draw a connected directed graph onto a panel. Therefore I created a class that represents the nodes of the graph. Each object has a pair of coordinates (all coordinates are loca

  • Where does the banner info reside in the database

    When you create a page and check display banner to on, you can edit the banner by adding links etc. Does anyone know where the links are actually stored in the database ? null

  • Condition tags set up in FrameMaker don't display correctly in RoboHelp for TCS 3.5

    Hi everyone, I am using Technical Communication Suite 3.5 (which is FrameMaker 10 and RoboHelp 9). From past discussions I understand that there are two methodologies for working with conditional text. Conditionalize the text in FrameMaker and then c