VIEW Name in webdynpro

Hi all,
How can i get the current VIEW name in a webdynpro application ?
Best regards

try something like this:
  DATA lo_controller TYPE REF TO if_wd_view_controller.
  DATA lo_view_info TYPE REF TO if_wd_rr_view.
  lo_controller = wd_this->wd_get_api( ).
*   get view name from controller api via view info
  lo_view_info = lo_controller_api->get_view_info( ).
  IF lo_view_info IS BOUND.
    rv_view_name = lo_view_info->get_name( ).
  ENDIF.

Similar Messages

  • 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

  • Query View name not saved in "Analysis Grid Properties" under Data Provider

    Hi BW World;)
    We are on BI 7.0
    I have created a BI workbook which contains a query view.
    However when we go into design mode and then "analysis grid properties" for this query view then "change data provider" it does not show the query view name but the query name. (we have saved the workbook)
    Is this the normal scenario?
    Surely should show the "query view name " and not the "query name" as confuses what data provider is being used?
    Is this a bug?
    Best
    Stevo.... Points of course... Thanks in advance.;)
    Edited by: bw4eva999 on Sep 10, 2009 4:40 PM     spelling

    Hi,
    You have created a workbook on top of a Query View which is again depends on a Query.Now the base for Query View is a Query.So the underlying Data Provider for a workbook is a Query.
    Hence when you go to Properties of grid->Change Data Provider,it shows the Query and the InfoCube,but not the Query View.
    So this is not a bug and this how its been designed.
    If you click for the Information of that workbook,it will show the Query and Info Provider,but not the query View.
    Though it looks like wierd,it is not a bug.
    Rgds,
    Murali

  • Finding  View name in screenflow jsp in obpm 10g

    Hi,
    We have a following requirement
    We are displaying a alert box in screenflow jsp upon certain conditions if the user is opening the instance from Inbox or any otehr custom views except History View. If the user is opening instance jsp from history view, the alert box should not come.
    basically, my question is how can i get the view name from which the user opened screenflow jsp?
    in 5.7 we used to do by manipulating the url generated while viewing an instance (windows.location). Since the url remains same for all pages in 10g, how can i acheive this.
    Thanks,
    Sana

    Can anyone please share your ideas on this?

  • How to get the view name by passing the window name from table

    Hi All,
    would like to knew about the standard table from which we want to "retrieve the VIEW name by passing WINDOW name"
    as we have standard tables like WDY_WINDOW, WDY_VIEW,WDY_APPLICATION but our ZComponent details
    are not updated in this WDY_WINDOW table.
    Is there any other table exists on the above condition
    Regards
    Jaipal.E

    Hello friend,
    There are many structure names started with WDY_WB_VC*where the details of the windows and views are stored just search those structures and see where its getting the tables in run time so that you can get the source tables.
    I think this will be useful for you.
    Thanks,
    Sri Hari

  • How to find out the Target Component name and Target view name

    Hi All Expert,
                      I want to know ,how to find out the target component and target view in WEB UI,when i click on a field which shows as a hyper link in WEB UI .At GUI level ,i know the how it will work.Any way to find out the component name and view name which is show the details of that field at GUI level .IF you go to transaction CRMD_ORDER then open the service contract id .then goto the item level value .there is 1 service data tab is available at item level.there is two button is available.first one is available time and second one is response time .if i click on any button then one popup is open which is shows the details of that button.I dont know how to find out the component name and view name from GUI level.
    Thanks in Advance....
    Vishwas Sahu

    Hi Vishwa,
                 The control would be something like this for navigation in Get_p_xxx method u mention as link and u mention a event name which gets triggered on the click of this hyperlink. So your GET_P_XXX method would have the following code:
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.
        WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
          rv_value = 'EXAMPLE'.
    Now you have to create a method as EH_ONEXAMPLE at your IMPL class and within which you would give an outbound plug method. Within the outbound plug the target data would be filled in the collection and window outbound plug would be triggered.
    This is a huge topic and  i have just mentioned you basic things.
    Regards,
    Bharathy.

  • How to retrieve information from a database View name

    For a given database View name, is there any way to retrieve what are the columns (also the corresponding table name) associated with that View?
    I am getting the view names by using DatabaseMetaData APIs.
    Now I want to retrieve the info associated with that view.
    Any help will be highly appreciated.

    If all else fails then since you have the view name then "select * from viewname where 1=0" should work.

  • Eventing in Portal page between Team Viewer and Custom Webdynpro for ABAP

    We are trying to implement a new Portal page that contains a Team Viewer Iview and a custom Webdynpro for ABAP iview.
    The idea is that the when a manager select one of his direct report in the Team Viewer, the custom Webdynpro for ABAP would pick up the selection_changed event and retrieve the data for the selected employee.
    We followed the instruction provided by SAP in note 1112733 and it worked in our development environment. When we moved the iviews to our testing environment it stopped working.
    I also used the Diagnostic Iviews provided by SAP and I get the same result: Works in Dev, does not work in QA or in Prod.
    We also followed the troubleshooting steps of note 945516 and it still did not help us. We can not find a difference in our system set up.
    We are therefore looking for pointers as to what could be our problem.
    Thanks!
    Edited by: Benoit Fortin on Feb 20, 2009 2:28 PM

    Problem was solved internally:
    The reasons the eventing worked in Dev and not in QA or Prod, was that we had a different level of patch for ESS/MSS between instances, which I was not aware of.
    Dev was on ESS/MSS version 600 SP14 and QA and Prod was on a different level. Once we implemented ESS/MSS SP 14 accross the board, everything was good.
    Edited by: Benoit Fortin on Nov 13, 2009 11:57 AM

  • Changed View Still Shows Original View Name

    I'm using Crystal XI
    I built a report (MyReport_v1.rpt) using a view (vwMyView_v1) created in SQL Server.  Now I have to modify the view enough that it would affect the report.  So I made a copy of the report (MyReport_v2.rpt) and a copy of the view (vwMyView_v2).  Using "Set Database Location", I selected the old view in Current Data Source and the new view in Replace with and clicked "Update".  Nothing seemed to happen.
    In the Field Explorer, the original View Name still shows, but it has the new fields that were added to vwMyView_v2 (and are not part of vwMyView_v1).  So I know the update worked, but the original view name still shows up in the Field Explorer and Database Expert (as well as everywhere else).
    How do I get Crystal to display the correct view name so I (or my successors) don't get confused when/if modifications need to be made?

    One would think they'd figure out a way to automate that. 
    Thanks

  • Find the folder name based on the View Name

    Hi ,
    I need to find out a Folder name based on a View Name . Basically i know the view Name and want to find out the Folder that is created in Discovrer based out of that view.
    Does any one know of any EUL table that stores this relationship.
    Thanks in advance for your help
    Sunny

    Hi,
    Your requirement can be fulfilled using the following script:
    SELECT bas.ba_name,
    bas.ba_id,
    obj.obj_name folder,
    decode(obj.obj_type,
    'COBJ',
    'Complex',
    'SOBJ',
    'Simple',
    'CUO',
    'Custom',
    'Unknown') AS obj_type,
    decode(obj.obj_hidden,0,'Bare','Hidden') IS_HIDDEN,
    obj.sobj_ext_table folder_source_object
    FROM eul10g_us.eul5_ba_obj_links bol,
    eul10g_us.eul5_objs ; obj,
    eul10g_us.eul5_bas ; bas
    WHERE obj.obj_id = bol.bol_obj_id
    AND bas.ba_id = bol.bol_ba_id
    BUT
    As you can see from the SQL, only simple folders are mapped to objects.
    This means that if the object is used inside a custom folder or complex folder you will not see it.
    Tamir

  • View name in the catalog database which shows the target bkp status

    Hi
    Can any one tell me the view name in the catalog database
    which describes the target database status( succesfull or not)
    Thank you

    You need to have a little patience. Anyways, if you are taking backup by backup sets, than this view may help.
    [RC_BACKUP_SET_DETAILS|http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcviews019.htm]
    See if this helps you.
    Better option is to configure RMAN backup with the v$session_longops and check it to see whether backup is complete or not.
    HTH
    Aman....

  • Displaying query view name in web template.

    Hi all,
    In the standard web template (0ANALYSIS_PATTERN) there is a text box which displays the query title.  I need to change this so it displays the name of the query view instead of the query.  Does anyone know how to do this?
    Many thanks,
    Nick.

    Hi Nick,
    In the template you need not to do any special setting for Query View Name display.
    When You use a query view in template that becomes as a data provider, so for every data provider whether that's a query or query view it works same.
    You can select to display query technical name or description.
    Hope i understood your requirement correctly. If not than please correct me.
    Thanks
    Dipika Tyagi

  • Sql developer not showing table/view names

    I just set up a new machine, the database settings are same as in the old machine. But I cannot see the table/view names when expending the "+" sign before Tables or Views. When using "select * from tab", the result of all tables/views returns correctly. Is there any other settings I missed?
    I'm using Oracle Database 10g Express Edition, and Oracle SQL Developer 1.5.5.

    The same issue exists in 2.1.1.64.39
    All of a sudden: list of tables empty, views still viewable,tables are still there though.
    In the logging window I get ora-904 messages on sys.o.name
    Sybrand Bakker
    Senior Oracle DBA

  • Dynamic view names in view objects (adf faces bc 10g)...

    I have written an application in adf faces and business components, but would like to be able to add sections to it by simply creating a database view, say with standard names and a suffix, and probably static number of columns (just a read only view). i can handle the front end and logic, but can't see a way to parametise the view names & columns in business component's view objects. I can do things like create a load of dummy views with 10 cols in say selecting 0 from dual then chuck them in the model, which is messy, but would work... Just wondering if there is a cleaner way i can achieve this through the model or any other method, so any ideas that could point me in the right direction would be useful.
    Thanks in advance...
    Tim.

    Hi,
    you may want to investigate into dynamic ViewObjects or dynamicaly adding attributes like example 9 and 29 of http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
    See also
    http://www.bloggingaboutjava.org/2006/04/binding-dynamic-view-object/
    Frank

  • Component and view name

    Hi
      Can any body tell me component and view name of interaction center home page...
       top of the screen some frame with blue color is present na..i want the component and view name of that one..

    Hi,
    Well, it actually depends on your configuration. The Interaction Center does not have a "home page" per se. Rather you can configure which screen shows up first. Normally though it is the Identify Account (customer search screen). Depending on your CRM release you can press the F2 button to get the technical details for any screen or field. Just a tip.
    Regards,
    John

Maybe you are looking for

  • Why can't I fax from My HP Officejet Pro L7780 ? ?

    I recently updated to Mavericks and for some reason I can't send a fax through my "HP Officejet Pro L7780 All-in One." I used to be able to send faxes from "Word" or other Apps When I look at the configuration: "System Preferences" -> "Printer & Scan

  • TS1702 My app store is not working

    My app store will not work. It keeps telling me to sign in and when i do it says to vertify my account details. Then tells me that my card has been declined. I have tried 3 different cards, A new account, ive reset and restored and still nothing!! I

  • Tooltip for each series of Business Graph in webdynpro

    Hi Experts,     Here In the Business Graph of webdynpro, on x-axis am taking sales order&corresponding purchase orders on each day and in the y-axis am taking Prices...Iam able to display successfully,Here the requirement is whenever the user place o

  • Urgent : PO deletion in saved status

    Hi, We have a PO X which has been copied in from PO Y. X has been copied and saved and not ordered. How do i delete the PO from both portal and SRM. Kindly advise. A

  • DMS-Search via object Links

    Hi Experts, I am new to the DMS Module and have some queries- I have attached a DIR to a PR and PO and in CV04N, while I am doing search with object links,either when one value is correct , the DIR is showing,(like an OR Gate). i.e when PR is correct