Refresh of VC iview

Hi,
I have created a Visual Composer application, where I read data from a BAPI and display it in table.
Via radio button it is possible to transfer a single entry to a form, and from the form a delete button can be pressed, which again calls a BAPI that deletes the entry from the table in SAP backend.
My problem is that when I the delete button has been pressed and the delete BAPI has been called, I want the iview to be refreshed, in order to read the data again and update the table display in the iview.
Is this possible? And how?
Thanks in advance,
David

Hi,
Basically, you'll need to run the "Get Data" BAPI again.
You can do with:
1. Having another button (e.g. "Refresh") that will trigger an event to activate the "Get Data" BAPI.
2. Connecting the "Delete" BAPI directly to the input of the "Get Data" BAPI. This way, the "Get data" BAPI will be automatically triggered. Note that in this case, the "Delete" BAPI will need to provide with the appropriate input data for the first BAPI, and I'm not sure this is the case.
Hope this helps,
   Lior

Similar Messages

  • Refreshing of WebDynpro iView when application is Expired

    Hi All,
    I am hosting a webDynpro application on Portal using WebDynpro iView.
    In the Application, I am passing the portal user who has currently logged in, using an iView property Application Parameter property as follows
    pUser =<Login.UserId>
    In the pUser variable i am getting the value of currently logged in portal user, which is used beigned used in Application .
    When WebDynpro application is getting expire as specified by Expiation property of Application, and when we again click on the link specified at the expiration Link,  application gets refreshed but the iView is not getting refreshed and the logged in user is not passed agian.Only when we click on the iView again the portal user is passed to application.
    Is there any way by which the we can refresh the iView when application is expire.
    Or is there any way by which we can pass the portal Role again WebDynpro application is expire
    Thanks in advance.
    Regards,
    Shruti.
    Edited by: Shruti Shah on Jan 7, 2008 5:40 PM

    Hi Shruti,
    You can use the UME APIs to get the logged in user.
    something like the below
    IWDClientUser user=null;
        IUser iuser=null;
         try
                 user=WDClientUser.getCurrentUser();
                 iuser=user.getSAPUser();
                 if(iuser==null)
                 msgMgr.reportException("null  SAP user",false);
                 else
                 msgMgr.reportSuccess(iuser.getUid());
            catch(Exception ex)
    Award points if helpful.
    Thanks
    Prashant

  • Dynamic Nav iView refreshes all visible iViews???

    EP6 SP2 Patch 4...
    I have an JAVA/JSP iView in the dynamic nav area.
    This iView has a number of dropdown lists.
    When the user selects a value in a dropdown list, ALL of the iViews (everything below the masthead, breadcrumbs) refresh.
    Does this behavior make sense?
    I can't think of any of the code that we have written would do this. We are not doing anything any EPCF stuff. Just setting session variable values based on dropdown selections.

    As I understand it, this is because the DynamicNav area contains the content area as an iframe. If you want to have a not-reload behaviour, you'll need  to add an iframe to your iView that is invisible and send the requests to the server from within this iframe, steering the iframe with javascript.
    Regards,
    Armin

  • Issue with Refresh of Transaction Iview (urg)

    Hi All,
    Have a urg requirement in which there is a transactional iview EX (S_ALR_87013532). Now  the customer wants that this iview has to get refreshed every 3 seconds or any other predefined interval of time.
    Have already gone through the blog
    The specified item was not found.
    As it is just a TRANSACTION IVIEW is there any other approach. Please throw some light how to approach it, will be helpfull.
    Regards,
    *RAJ*

    Hi Rajesh ,
    you can implement using java script also
    check below thread
    Implementing iView auto-refresh in JSP DynPages
    Koti Reddy

  • Browser REFRESH button does not return to the same iView/Page

    Hi,
    In SDN site I have seen that in whichever menu i am in, if i use the browser refresh button i return to the same page. But this does not happen on my enterprise portal.
    Can you please let me know, how to set / configure the enterprise portal EP7 such that, if am in any iview and use the browser refresh, then i am returned to the same iview / page and not to the first page of the menu. Currently in my portal, when i hit the browser REFRESH button, it takes me to the first page/iview.
    Thanks,
    Anirban

    Dear Romano,
    Thanks for your reply. With the help of the document link that you have provided, i have been able to achieve my target partially. Currently i am able to refer to the iView and Role directly using the QuickLink and when i access that particular iView & Role using the QuickLink and then do a refresh, the same screen appears. This part is working fine. But i have one issue.
    But generally a iView/Role is accessed not via the QuickLink on the browser but by clicking on the Role on Navigation Level 1. Even though this Role has a QuickLink, it is not visible in the address bar since the QuickLink URL was not used for reaching the Role. In such a situation, when we press the REFRESH button, the iView / Role is vanished and the browser returns to the first default page of the portal.
    Can we somehow make it such that whenever the Role is accessed in the Navigation Levels, it can be accessed via QuickLinks and the QuickLink URL is displayed on the address bar ? If this can be achieved, then i guess the problem will be solved.
    I hope i have been able to get across my point. Hoping to hear a positive reply from your side.
    Thanks in advance.
    Regards,
    Anirban Kundu.

  • Refreshing iViews

    hi all,
    i am having a scenario like this.
    i have two iViews both having tableViews.
    i am selecting multiple rows in the first iView and clicking the button. the selected rows has to be displayed in the second iview which has tableView.
    i dont want the second iView to get refreshed at the same time  that of first one....
    it has to be refreshed after few mins....since i am using portal service to set and get the data...
    please do suggest some ideas...
    regards,
    purushothaman.

    Hi Darrell,
    first, I act on the assumption that both iViews are URL isolated. I totally agree that the scenario sounds like being better implemented in one iView, and all trouble would have been gone. But given the case of two iViews, let's look at the details:
    > If you were to use EPCF eventing, the client side
    > event would be called before the server side event,
    > therefore refreshing the second iview before the first
    > iview had saved the information.
    Maybe, maybe not   It is correct that the client side event would be fired (and retrieved) first, before the first server roundtrip starts. But both iView server roundtrips would happen more or less in parallel, it's a race condition which is "faster" in updating / accessing a model (both requests with high probability will be served "in parallel" by two threads).
    With the special situation when both models of the iViews get changed, one would have to implement some sync mechanism. This is more or less in deep discussed here: How to suspend thread of iView?
    One alternative: Always have two models in memory of iV1, the actual and the last one, with some counter attached to it. And iV2 has a counter which model it expects at rendering time being the actual model (just increasing with every refresh). That way it would be regardless which iView wins the race: If models 7 & 8 are in memory and iV2 knows 8 is the actual one, on the scenario described it takes the values from model_8, independent if iV1 meanwhile has updated to model_9; iV2 anyhow knows that the next actual model will be model_9 -
    Definitely, these techniques are all workarounds, and I'm already getting confused thinking of the JS part (but my hate for JS is a different topic). And if with POM eventing (I've never used it; is it documented? Does it work for URL isolation (don't expect that)?) this could be done easier - go that way.
    OK, so far for today I think,
    best regards
    Detlev
    PS: Points rewarded would be welcome

  • Java Iview Refresh EPCM???

    Iam New on SDN,greatest community ever!!
    I hope somebody would solve my problem.
    How could I programatically refresh a java Iview in the Portal?
    Is it though EPCM??
    Sample code?Any directions to existing threads??
    Thanks for every Input!

    Thank you so much.
    Iam getting runtime error if i insert your code.
    even one line like:
    <% String iviewurl = componetRequest.getComponentContext().getContextName().toString();%>
    is giving me that error.
    I have code from Page Builder API
    <b><i>EPCM.raiseEvent("urn:com.sapportals:pagebuilder", "reload",
       )</i></b>Did u notice getContextName() from your code and from the API??
    So is it not the EPCM we have to use?
    Ofcourse your code seems perfect but it's not liking the line:<b><% String iviewurl = componetRequest.getComponentContext().getContextName().toString();%</b>
    Thank you again for responding so quickly

  • Refresh WebDynpro IViews

    HI All
    We have a WebDynpro  Iview which is getting data from BW. For every 1hour data is extracted from R3 and sent to BW.I would like to refresh my webdynpro iview when ever there is data from R3 to BW.  My iview should refresh if there is any data extract from R3 to BW.
    Can we use UWL for this??
    Any suggestions will be appreciated.

    Hi,
    It is impossible to refresh webdynpro view from the outside. The refresh can be done only after some action in your webdynpro application (button click, lead selection change and so forth).
    I think the only way for you is to put TimedTrigger on you view. It generates an action and in action handler you can check whether the data from R3 to BW were extracted and refresh your application data if needed.
    Regards
    Pavel

  • RefreshUWLBackend : not working in a dummy - hidden iView on UWL page

    Experts,
    We are stuck with the recurring outstanding issue of "Uwl passive refresh post approval or rejection of task item" , the requirement is to auto refresh the UWL iView post approval of a task item.
    1. User selects a task item from UWL, a BSP application opens up ,
    2. Post approval in the child window, we use javascript to close the child window and
    3. Refresh the parent window to the UWL page..
    4. On the Custom UWL page, we have put in a custom jspdynpage iView which calls
         EPCM.raiseEvent("urn:com.sap.netweaver.bc.uwl.ui", "refreshUwlBackend");    i.e. in the onLoad javascript function
         of the JSP, this is to achieve the refresh of UWL from the backend on every UWL page refresh
    But it seems that call to "refreshUwlBackend" is not getting executed or is not functional ??
    Request inputs on what all could be missing or incorrect ..........
    Regards,
    Paras

    Hi Thomas,
    KM has an authentication stack.  Perhaps you need to change the configuration of the KM stack?  In one case, we had to set our KM stack to accept cert instead of prompting for basic authentication.
    Here is some help on it:
    Changing the authschemes.xml File
    [http://help.sap.com/erp2005_ehp_03/helpdata/EN/1a/3afd4e641b8f42ac07bb77fe30375b/frameset.htm|http://help.sap.com/erp2005_ehp_03/helpdata/EN/1a/3afd4e641b8f42ac07bb77fe30375b/frameset.htm]
    Assigning an Authentication Scheme to an iView
    [http://help.sap.com/erp2005_ehp_03/helpdata/EN/54/a334ed5bbfd5488b8cdd67b2c594a9/frameset.htm|http://help.sap.com/erp2005_ehp_03/helpdata/EN/54/a334ed5bbfd5488b8cdd67b2c594a9/frameset.htm]
    jwise

  • UWL refresh on page load

    Hi
    It seems this question has been asked a number of times in a number of ways in the past but to my knowlege has not had a response that denies it's possible or provides a solution.
    The biggest source of frustration for our ESS/MSS users in our implementation is that UWL does not get rid of worklist items that have been processed. Our user community do not find it acceptable to click refresh to force a reload of the cache from the back end when the uwl is returned to after processing a leave request approval. What they would like is for the page to do that when loading. We are aware of delta pull and cache refresh settings but neither of these options are considered a solution by the users.
    We have seen a UWL FAQ that states: Refreshing with Hidden iView
    Add a hidden iView on the page that raises the refreshUwlBackend event. This is the same event that is triggered when users manually choose the Refresh function. If the user returns to the task list after a task has been completed, approved, or rejected in another window, the refresh is automatically done by the iView.
    Our interpretation of this is that we create an iview on a par file that contains the code:
       EPCM.raiseEvent("urn:com.sap.netweaver.bc.uwl.ui", "refreshUwlBackend");
    This is added to the same  Page that contains the UWL iview.
    This seems to be the holy grail we are looking for but alas, our efforts to date have been in vain. It seems like the iviews load together and the refreshUwlBackend event fires before the event itself is available.
    Any suggestions as to where we are going wrong or practical alternatives to the problem?

    Hi Beth / Mark,
    I am also facing same problem.
    Problem1:
    We are integrating MDM iviews.
    Approver has 2 steps:
    1) Mark as approve / disapprove
    2) Click on DONE
    Between these steps we are stucked with 2 mins refresh time (min time which is confirmed with SAP).
    Could not raise any event from MDM Result set Iview and still trying to find any workaround.
    Problem2:
    Apart from this, we have MDM Item detail iview, where record is saved after entering data.
    This iview provides "Custom Event Button"
    But we are not able to trigger custom event. We want to call UWL iview once record is saved.
    We have to specify following parameters in Custom Event Tab:
    Custom Event Name: ______
    Event Type: EPCF POST SAVE EVENT   (Cannot change, this is bydefault)
    Target (URL or Event Name): http:/<portalURL>:<port>/irj/portal?NavigationTarget=PCD path of UWL iview)
    Namespace: urn:com.sap.netweaver.bc.uwl.ui
    Parameter Format: Standard
    Last column is parameters but don't know what are the parameters to be specified.
    Supporting Link used: Configuring Events on an Item Details iView
    [http://help.sap.com/saphelp_mdm71/helpdata/en/45/c89e544c52570be10000000a114a6b/content.htm|http://help.sap.com/saphelp_mdm71/helpdata/en/45/c89e544c52570be10000000a114a6b/content.htm]
    Could you pl guide me on resolving above 2 problems.
    Regards,
    Purav
    Edited by: Purav Mehta on Dec 3, 2010 10:02 AM

  • Can't navigate Web Dynpro iViews in SAP Portal Environment

    We are facing a strange problem. When we try to Navigate other Tabs after refreshing Web Dynpro iView in Sap Portal Enviroment from Tray or Mouse right click or by external Popu window we are getting "can't execute code from a freed script" Error. Currently we have EP6 SP16.
    Any help ?
    Thanks
    Satyam
    Message was edited by: Satyanarayana Mandapati

    Hi Sathya,
    We have a similar Javascript error 'can't execute code from a freed script'.
    How did you solved this problem.
    Regards,
    Sekar

  • Webdynpro iview page

    How to refresh the webdynpro iview page in portal

    HI,
    Do you want to refresh web dynpro java iview through code or refresh the portal iview automatically.
    For refreshing through web dynpro java use ui element : TimedTrigger in NWDS
    [TimedTrigger  |http://help.sap.com/saphelp_nw04/helpdata/en/03/7c6b40dde0980ae10000000a155106/frameset.htm]
    Automatic refreshing portal iview though [caching mechanisms |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/71d7b8dc-0701-0010-dfba-881dba1b5b95?QuickLink=index&overridelayout=true].
    regards,
    Mahesh.

  • DoInit and Portal refresh

    Hi Experts,
    I have notices a strange thing in portal and web dynpro.
    On refresh of WDA iView the WDA application is not being refreshed from Portal and doInit methord is not called, can you please help understanding if i have missed any portal or wda config or setting.
    But while i execute the application frm ECC Box and refresh doinit mtd is executed.
    Thanks
    SJ
    PS : As i am not aware this is Portal or wda issues, firstly starting with WDA forum.

    Hi Sushil,
    One suggestion :
    I have a tool  HTTP watch which when switched on gives the details of all the content being called from portal.
    You can use something like that.
    Also try putting a breakpoint in the HANDLEDEFAULT method of Windows.
    Regards,
    Sumit

  • WebDypro Page refresh problem

    Hi Friends,
    I have a Layout viewset WebDynpro iView .
    When this iView is integrated and tested in Portal environment, one problem is faced.
    User clicks on Role> Workset>WebDynpro Page
    user tests the functionality and again clicks on Page link in order to see the pintail page screen, then this screen is not refreshed, the screen with previously entered values is displayed.
    How to refresh the WebDynpro iView Page screen on click of Page?

    Hai
    I have faced lot of problems for refreshing the page .
    but i solved it,use the following Code
    public static void wdDoModifyView(IPrivateTestView wdThis, IPrivateTestView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        when you enter in this area
        declare firstTime=true;
        if(firstTime) {
         "if you use the Container first you destroy all     children like below syntax"
    container.destroyAllChildren();        
    view.resetView();"
    Regards
    Dhinakar

  • Refresh TLN using EPCM

    Hello Experts,
    I am trying to refresh the TLN iview from my custom iview using the javascript EPCM functions. I can find the following link
    http://help.sap.com/saphelp_nw73/helpdata/en/49/cd18e431f22221e10000000a42189d/content.htm . How do I get the iview id of TLN to call from my custom iview? so that I can use it as below
    var myId = parent.pageSupport.getIvuId(self);  
    parent.pageSupport.ivuRefresh(myId);  
    Thanks,
    Rao

    Hello Raghu,
    I think you can use the preview URL of your TNL iView. If that does not work assign the iView to a page and use the page's previwe URL.
    That should work!!
    Varun

Maybe you are looking for

  • Div to bottom of content to browser bottom

    I want to have a div at the bottom (footer) of my content area on the page that will stretch to the bottom of the browser window when there is very little content in the content divs above it, and if there is a lot of content, it gets pushed down and

  • Combo box visible and loaded but cant interact with it

    I have two swf files onSiteSearch and onSiteReg. Both work as expected when used alone but when onSiteReg is loaded from onSite Search the comboBox on onSiteReg cannot be interacted with. It is visible and has the correct data in it but there is no a

  • How to make a draggable object snap into place?

    I'm new to Flash (sort of - I used it a bit back in 1999-2000, but it's changed a LOT since then). I'm making an educational game for my company that involves dragging labels from a word-bank to their correct position on a diagram. I want the kids to

  • Upgrading from Oblix 6.0 to Orcl 10g

    I was trying to check if I can upgrade from Oblix 6.0 to Oracle 10g. How can I use the configuration manger tool to import all the details and policies stored in Oblix 6 to Oracle 10g? Is it compatible?

  • BAdI's and filters

    Hi all, I have implemented a BAdI with filters (with complex values) and I want to get "inside" of implementing which values make that the BAdI execute it. Is there any class o FM that give me this information?? thanks