Refreshing the Data from a embed view in a view container

Hi everybody
I would like to know how can I do to refresh all data from a View with a view container the problem is:
that I have a window that has a view at the same time this has a view container.  The Main view brings the data of editable elements when I select one element of the main view the view container brings a list for that element (dependencies) but only the first time a choose an element loads the correct data, when I choose another one it brings the same old data and doesn't make the call for the wdDoInit() method.
The question is:
How do I force the view to refresh all the data or call again the wdDoInit() method?
Thank you for your help

Aida,
Lets say you have two components C1 and C2 and you want method from C1 to be available in C2 then follow these steps:-
1) Goto the Interface Controller of C1 and create a method there lets say doSomething
2) Then goto C2. There you can see Used Web Dynpro Components --> Right click Add Used Component --> Give some name say C1Comp --> Click browse and select C1 --> Click Finish.
3) Next goto Component Controller of C2 --> Properties --> Click Add and check if C1 is added. If not then select the checkbox and select OK.
4) Now goto Implementation tab of C2 and lets say wdDoInit you can write following code:-
wdThis.wdGetC1CompInterface().doSomething();
Chintan

Similar Messages

  • Visio Diagram is not refreshing the data from list

    Hi,
    I made a pivot diagram in visio 2013 and linked it with SharePoint 2013 list. I configured the Visio services, uploaded it document library. I can view the diagram in browser but it is not automatically refreshing not even by pressing the "Refresh"
    button.
    Instead i have to open it in visio, refresh the diagram manually and the save it in SP document library to refresh the diagram.
    I am using visio web access to view the diagram and also the auto-refresh is enable. 

    Hi Rizwan,
    Following url's might help you.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/79476e70-51cf-412a-aac9-ebb10e82572f/2010-visio-services-data-refresh-issue
    http://social.technet.microsoft.com/Forums/en-US/06d53cb3-2593-4dd0-a524-356bd9720231/visio-service-data-refresh-help
    Regards  Roy Joyson
    Please remember to mark your question as "answered"/"Vote helpful" if this solves/helps your problem.
    Roy Joyson

  • Problem in refreshing the data in Xcelsius

    Hi,
    I have added a refresh button in my dashboard  to refresh the data from the BOE , but ones i click that button it ask for user authentication and ones i enter that and click ok nothing happens , the data is not getting refreshed.
    In second case i made my data connection as refresh on load  so as soon i launch my dashboard it ask for user authentication and after entering that details nothing happens and i am not able to see the data and even if i enter wrong details in the pop up window it does not gives any error message for wrong credentials.
    Earlier i was getting the error like #2032 , #2017 so i maintained the crossdomail.xml file in web server it was resolved.
    But i am not able to refresh the data nor i am getting any error message kindly suggest !!
    Regards,
    Mishra,Vibhav

    Dear Ingo,
    Thanks for replying.
    Step 1 : I have used a excel sheet using the live office connection and using the existing CR report from the BOE.
    Step 2 : Then i have published that excel sheet in BOE
    Step 3 : I have imported that spreadsheet in the Xcelsius and created a dashboard on top of that.
    Step 4 : I have added a refresh button on the dashboard which is used to refresh the live office connection and the session URL   that i have maintained is  http://XXXC043A:8080/dswsbobje/services/session . i am not using the refresh on load option.
    Step 4 : When i preview the dashboard with the preview button  available in the Xcelsius i can see the dashboard with the existing data but ones i click the Connection refresh button a user authentication window pop up which ask for the system name user id and pwd and Authentication type . I used the Enterprise authentication for that but ones i submit the credential nothing happens even if i enter the wrong information no error  message is prompted.
    Thanks in advance .
    Regards,
    Mishra,Vibhav

  • THE DATA FROM THE ORACLE DATABASE VIEW DATA IS NOT REFERESHED AUTOMATICALLY

    THE DATA FROM THE ORACLE DATABASE VIEW DATA IS NOT REFERESHED AUTOMATICALLY IN OBIEE DASHBOARD(ANSWERS)
    UNLESS AND UNTILL I OPEN THE ORACLE BI ADMINISTRATOR TOOL AND DO UPDATE ALL ROWCOUNT AND THEN SAVE THE RPD.
    WHERE AS ORACLE DATABASE TABLE DATA IS AUTOMATICALLY REFRESHED.
    PLS SOMEONE HELP OUT IN THIS ISSUE.

    Check whether you have enable cache on that view?

  • Refreshing the Data Source View in Analysis Services

    I have added columns to the SQL Database table that is used as a dimension in an Analysis Services Cube.  The new columns will be used as additional Property Fields for the dimension.  When I attempted to refresh the Data Source view so that the additional columns are present, I am given the following error:
    System.Data
    Property not accessible because 'Parent Columns and Child Columns don't have type-matching columns'
    I have done nothing to the columns used for the parent of child and the error message provides nothing to gon on. Does anyone have any ideas on this?
    Gary

    Olga,
    Thanks for your response.  I will try and answer your questions
    1) I have not tried removing the columns yet.  I will try that this afternoon but have limited hope.  The two columns I added are simple text columns that will be used as attributes in the dimension.  I have made no change to the parent or child columns.
    2) The table I modified is the source table for a parent-child dimension.
    3) The reference to the "check list" does not take me to any kind of check list.
    4) The parent-child dimensions I am trying to modify have been in use for months and the parent and child columns do have the dame data types.
    5) I have also check the data types between the dimension table and the fact table.  they use the same data types (small int).
    6) I have not made a collection for the parent key, it is a single column. The remainder of your last paragraph is not clear to me. Can you give me an example.
    I am fairly inexperienced with Analysis Services, please talk slow and use small words  :-)
    Thanks again for your help!
    Gary

  • Why do we get the data from a view to a report.

    hi
    why do we get the data from a view to a report. is it possible to get the data from a view in all the cases?

    hi Jyotssna,
      Suppose you are planning to get the data from multiple tables then you got to specify seveal condtions and make use of joins which results in poor performance in fetching the data . In order to improve the performance we make use of views where the conditions of different tables are defined and the data is fetched accordingly.
    Regards,
    Santosh

  • How to select the data from a Maintainance View into an internal table

    Hi All,
    Can anybody tell me how to select the data from a Maintainance View into an internal table.
    Thanks,
    srinivas.

    HI,
    You can not retrieve data from A mentenance view.
    For detail check this link,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
    Regards,
    Anirban

  • Reading the data from one component view into another component view

    Hi All,
    I have requirement to read the data from one component into another component while creating the service order. Here are the details.
    Main View for Service order: BT116H_SRVO in that we have two assignment blocks like Organizational data(BTORGSET) and amount allocation(BTAMNTALL).This two blocks are two different component which are associated with main component(BT116H_SRVO).
    I need to read the sales org data from component/View(BTORGSET/Orgsetdata) into Component/View(BTAMNTALL(HdrBillPlanDet) method DO_VALIDATE_INPUT.
    I searched in SDN but all the posts are related to the data exchange between two views in same component. But My scenario is different as explained above.
    Refer the attachments for the component link..
    Please let me know how we can achieve this one..
    Thanks,
    Sapsar.

    Finally I was able to fix my code...My Mistakes were need to read the parent node above three levels and need to use the relation entity name while reading the data..
    Below is the correction code
    IF iv_index IS NOT INITIAL.
         lr_iterator ?= collection_wrapper->get_iterator( ).
         lr_current ?= lr_iterator->get_by_index( iv_index ).
         lr_entity ?= lr_iterator->get_by_index( iv_index ).
       ELSE.
         lr_current = collection_wrapper->get_current( ).
       ENDIF.
    *loop back to root entity
             WHILE lr_entity->get_name( ) NE 'BTAdminH'.
               lr_entity = lr_entity->get_parent( ).
             ENDWHILE.
    *Get the related entity
             IF lr_entity IS BOUND.
               lr_collection ?= lr_entity->get_related_entities( iv_relation_name = 'BTHeaderOrgmanSet' ) .
               IF lr_collection IS BOUND.
                 lr_orgset_m = lr_collection->get_current( ).
    *            lr_orgset = lr_orgset_m->get_related_entity( iv_relation_name = 'BTOrgSet' ).
                 lr_orgset = lr_orgset_m->get_property_as_string( 'SALES_ORG' ).
               ENDIF.
             ENDIF.
    Thanks,
    Sapsar.

  • Is it possible to retrieve the data from maintainance view?

    Hi experts,
    Am facing one problem.
    Is it possible to retrieve the data from Maintainance View ,If yes how?
    IF it is not possible then Y?
    While am trying to retrieve data from maintainance view it's showing message like
    "it is not a database view or table".
    Can u pls give me ans.
    Thanks&Regards,
    Arun.

    Hi Arun,
    It is not possible to retrieve the data from Maintenance view. Maintenance View is different and Database View is different.
    Maintenance view : Maintenance view permits you to maintain the data of an application object together.The data is automatically distributed in the underlying database tables.
    A standardized table maintenance transaction is provided (SM30), permitting you to maintain the data from the base tables of a maintenance view together.
    In other words, Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
    Database View: Data about an application object is often distributed on several database tables. A database view provides an application-specific view on such distributed data.A database view is automatically created in the underlying database when it is activated.Database views implement an inner join.If the database view only contains a single table, the maintenance status can be used to determine if data records can also be inserted with the view. If the database view contains more than one table, you can only read the data.
    Database views should be created if want to select logically connected data from different tables simultaneously. Selection with a database view is generally faster than access to individual tables. When selecting with views, you should also ensure that there are suitable indexes on the tables contained in the view.
    Hope this helps.
    Please reward if useful.
    Thanks,
    Srinivasa

  • Error occurred when view the data from physical layer

    Hi ,
    I have created system  DSN like "demo1" for excel file. After that i import the excel file into administration tool.
    after that i want to view the data from physical layer. At that time ,I am getting following error .
    Please resolve this issue.
    Thanks in advance,

    hi ashok,
    u can push data from  psa to ods, for this goto the psa in rsa1>psa>goto that request>rightclick>select " schedule update Immediately ", then data will moved from psa to ods.
                                                 or
    In ods > delete the failed request>goto the processing tab-->select 3rd option   " psa and then subsequentially to data targets ", --> schedule the infopackage.
    bye
    sunil

  • Can we retrive the data from Maintainence view

    Hi Guys,
    Can we retrive the data from Maintainence view...
    Thanks,
    Gourisankar.

    Hi,
    Data can be retrived only from following type of views:
    Projection view
    Database View

  • Want to pull the Data from  ECC(Functionmodule/view/BAPI)  to Crystal repor

    HI Expert
    Want to pull the Data from  ECC(Functionmodule/view/BAPI)  to Crystal report
    Need Step by Step Procedure whatl all we come across while Generating report from SAPBI (ECC(Functionmodule/view/BAPI)
    to Crystal report what all integration and setting we need to do
    Thanks and Regards
    AhmedPasha

    Hello,
    Ingo Hilgefort has documented this step by step in this SCN article:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/403ddef9-52ca-2d10-9193-9ffd190219fe?QuickLink=index&overridelayout=true
    Starting on page 13, you can use the same steps - he selects data from a table join, you select FN instead for function module.
    You can also get to it via this link:
    http://www.sdn.sap.com/irj/sdn/business-objects-bi-for-sap?rid=/library/uuid/403ddef9-52ca-2d10-9193-9ffd190219fe
    Regards,
    Tammy

  • How to view the datas from one schema  to another

    Hi,
    I am working in Oracle9i and solaris 5.8.
    I create a new schema but no datas.
    i need to read the datas from another schema having datas through the newly created schema.
    pls explain me with query

    OK use following procedure to grant select access on all tables of another schema.
    CREATE OR REPLACE PROCEDURE GRANT_SELECT AS
    CURSOR ut_cur IS
    SELECT table_name
    FROM user_tables;
    RetVal NUMBER;
    sCursor INT;
    sqlstr VARCHAR2(250);
    BEGIN
    FOR ut_rec IN user_tabs_cur;
    LOOP
    sqlstr := 'GRANT SELECT ON '|| ut_rec.table_name
    || ' TO jwc7675';
    sCursor := dbms_sql.open_cursor;
    dbms_sql.parse(sCursor,sqlstr, dbms_sql.native);
    RetVal := dbms_sql.execute(sCursor);
    dbms_sql.close_cursor(sCursor);
    END LOOP;
    END grant_select;
    Regards,
    Sandy

  • How to refresh the data in published HTML?

    Hi All,
    I have created a Process Engineering diagram, whcih represents flow of material from Equipment to another equipment.
    I have binded the diagram to data from the data base and saved/published as HTML to view it in browser. So far it is fine.
    But the next step is: What happens when the data changes in the data base? The generated HTML became just a static diagram which is of not much use. If i want to refresh the data, then I need to publish again !!
    Is there a way to make service calls from HTML and update the data dynamically in HTML display?
    Note: I am using VISIO 2013 Professional edition
    Venkat

    Hi,
    If we had saved/published Visiso drawing as HTML file, we could not refresh the data source to control the HTML data directly. We need to re-publish, I think you do not want to do it.
    Thus, I recommend you use JavaScript or coding to invoke and refresh the background database when you modified it.
    The following artile may also help you:
    http://www.mathworks.com/help/matlab/ref/refreshdata.html
    If you have any question related to Programming/Code, post in HTML forums for further assistance.
    Regards,
    George Zhao
    TechNet Community Support

  • Unable to access the data from Data Management Gateway: Query timeout expired

    Hi,
    Since 2-3 days the data refresh is failing on our PowerBI site. I checked below:
    1. The gateway is in running status.
    2. Data source is also in ready status and test connection worked fine too.
    3. Below is the error in System Health -
    Failed to refresh the data source. An internal service error has occurred. Retry the operation at a later time. If the problem persists, contact Microsoft support for further assistance.        
    Error code: 4025
    4. Below is the error in Event Viewer.
    Unable to access the data from Data Management Gateway: Query timeout expired. Please check 1) whether the data source is available 2) whether the gateway on-premises service is running using Windows Event Logs.
    5. This is the correlational id for latest refresh failure
    is
    f9030dd8-af4c-4225-8674-50ce85a770d0
    6.
    Refresh History error is –
    Errors in the high-level relational engine. The following exception occurred while the managed IDataReader interface was being used: The operation has timed out. Errors in the high-level relational engine. The following exception occurred while the
    managed IDataReader interface was being used: Query timeout expired. 
    Any idea what could have went wrong suddenly, everything was working fine from last 1 month.
    Thanks,
    Richa

    Never mind, figured out there was a lock on SQL table which caused all the problems. Once I released the lock it PowerPivot refresh started working fine.
    Thanks.

Maybe you are looking for

  • UK Payroll implementation

    Hi friends, People who worked on UK/Any country payroll ,plz advice. I have not worked on any payroll..but got an implmt Project of UK payroll. Though i hav worked on OM,PA,Time implmet is it Possible to do this job? regards Soumya

  • BLACKBERRY APP WORLD FAILURE

    i cannot access the blackberry app world since 3 weeks ago it say (a blackberry update is available , when i click yes it say contacting blackberry server  and then it say it failed , i went to the vodacom shop ,they couldnt assist me , i phoned voda

  • AvMapsLoader: a Maps Loader alternative for Window...

    I've just finished the new version 2.00 of AvMapsLoader, a program which is written in .NET and runs on Windows (.NET 2.0) and Linux (with MONO). AvMapsLoader can download and install maps version 2 and version 3 files. For map installation a card re

  • So how come no updates after August 2013 ver: 10.1.0.4181

    just wondering , how come no updates post this Version  10.1.0.4181 Solved! Go to Solution.

  • FMS license key

    Hi Can we use same license key for more than one FMS server? If we use one key for other server then what will be the effect on the FMS. Also one more think can we use one license key of one version to other version? For example can we use license ke