Launching transaction iview frm webdynpro iview

Dear experts,
I am launching a transaction iview from a webdynpro iview. On click of button it launches the transaction:CV02N.
The screen variables are: DRAW-DOKNR and DRAW-DOKAR.
I am using absolute navigation.
the code is as below:
WDPortalNavigation.navigateAbsolute("ROLES:"path,WDPortalNavigationMode.SHOW_HEADERLESS_PORTAL,null,null,WDPortalNavigationHistoryMode.NO_HISTORY,null,null,"DRAW-DOKNR="docnos+"&DRAW-DOKAR=DRW&OkCode=/00",null,false,false);
I can see the name value pair in the URL of the transaction iview which opens in the new window. But I just see the initial window of the transaction and I need to enter the parameters again to see the result.
Is there any way to see the result directly?
Thanks in advance for your help.
Regards,
Rahul

Dear Piyas,
Thanks for reply.
If you see attribute: "DRAW-DOKNR="docnos"&DRAW-DOKAR=DRW&OkCode=/00"
Here docnos is a string which takes value dynamically.Rest of the values are hardcoded.
When I launch the transaction iview, I can see the values being passed in the URL.
Regards,
Rahul

Similar Messages

  • Call SAPGUI-iView from WebDynpro-iView

    How can i call a SAPGUI-iView from a WebDynpro-iView?

    You can create a Transaction iview on portal and point it to a particular transaction in R/3....
    Regards,
    Shikhil

  • Pass parameter from dynamic navigation iView to WebDynpro iView

    Hi All,
    I know there are a lot of threads dealing with passing paramters from EP to WebDynpro using EPCM but actually I didn´t find a solution for my problem.
    I have in the dynamic navigation area of the SAP Portal an iView based on a JSP dynpage. In the corresponding JSP I fire an EPCM-event:
    EPCM.raiseEvent("urn:test.de:wochenb" , "passDataToWebDynpro" , evtData);
    In the content area there is a WebDynpro iView. In this WebDynpro-application I subscribe to the event in the wdDoInit-method of a view:
    WDPortalEventing.subscribe("urn:test.de:wochenb" , "passDataToWebDynpro" ,wdThis.wdGetDataFromJSPDynpageAction());
    and I have an event-handler:
    public void onActionDataFromJSPDynpage(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String dataObject )
        //@@begin onActionDataFromJSPDynpage(ServerEvent)
         IWDMessageManager manager = wdComponentAPI.getMessageManager();
         manager.reportSuccess("EPCM event testing " + dataObject);
      //@@end
    My problem is now that the event is fired correctly by the JSP Dynpage but the event-handler of the WebDynpro is never executed.
    As info: the domain of the J2EE-Server the webdynpro-application is deployed to is identical to the J2EE-Server the portal runs on.
    Can anybody help ?
    Thanks !
    Bernd

    Hi All,
    I found the solution by myself.
    For information: Click in the dynamic navigation fires the event und forces the content afterwards to refresh. During the refresh the WebDynpro subscribes to the event in the wdDoInit-Method. This is to late because the event is fired before the refresh.
    My solution is to use a setTimeout before the event-triggering in the dynamic navigation iView.
    Regards,
    Bernd

  • Calling a Report/Transaction iview from Webdynpro..

    Hi all,
              Our first issue is we have a scenareio, where we need to execute reports(ABAP Program) from webdynpro. Is it possibile to execute a standard report from webdynpro? using JCO. Also tell me how to pass the input/output parameters.I am not allowed to create RFC.I can use only standard BAPI.
              Our second issue is we created one transaction type callable object, and we want to call this transaction callable object from webdynpro, in another callable object in GP. Is this Possibile in webdynpro. We tried using portal navigation, but it is working for normal webdynpro iviews only, not for url iviews also.
              Does any body know the answer for the above issues. please let us know.
             Thanks in advance.

    hi,
    1) it is not possible in web dynpro to call abap reports, what you can do is creating wrapper of Remote enabled FM around the report. But you dont have authorisation to create BAPI, so gotta take use of standard BAPIs.
    ABAP Report in WebDynpro
    this link will help you out for that(calling standard bapi in WD)
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/f0b0e990-0201-0010-cc96-d7ecd2e51715 [original link is broken]
    2) go thru this links
    WebDynpro Application as callable object in GP?
    Webdynpro callable object - RFC model
    implenting webdynpro as a Calable Object with GP Interface
    hope it helps
    regards

  • Interaction between SAP Transaction Iview to webdynpro application

    Hi All,
    I have a requirement where in,
    I have one SAP Transaction Iview and one Webdynpro (Java) Iview,
    Now what I have to do is,
    I need to call Webdynpro app ( or iview) as a pop up from Transation Iview (e.g. click on some button on SAP screen),
    webdynpro screen will be opened,
    do some processing there (calling some web service, getting some data from an external system) and then posting response data back to some screen field in Transaction Iview.
    It is like on a standard SAP transaction, I want to open my custom webdynpro screen to do some data operation and fill response data back to SAP screen once that is done.
    any ideas would be heavily appreciated and rewarded!!!!!
    Regards
    Deepak

    I wrote the code like below:
    WDPortalNavigation.navigateAbsolute("ROLES://<IViewPath>", WDPortalNavigationMode.SHOW_EXTERNAL,
    (String)null,
    (String)null,
    WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
    (String)null,
    (String)null,
    "number=123456");
    In IView application property, I wrote:
    CRMT_SEARCH_LOC-CARD_NO=<Request.number>
    (L.H.S is the screen field name)
    then I got following exception at portal:
    An exception occurred while processing a request for :
    iView : pcd:portal_content/<Iview path>
    Component Name : com.sap.portal.appintegrator.sap.Transaction
    Exception in SAP Application Integrator occured: Unable to process template 'CRMT_SEARCH_LOC-CARD_NO=<Request.number>', because 'number' is an invalid terminal property of context 'Request.'..
    what went wrong????

  • WebDynpro iView OR Transaction iView

    Hi all,
    in EP, there are many types of iView. but I want to focusing in one type of iView only.
    So, I want to know which one is better,
    WebDynpro iView or using Transaction iView.
    is there any documentation from SAP?
    like Security, Performance, System requirements between those two.
    thank you.

    Hello Adyt,
    Answer might sound typical theoratical
    Selection of WebDynpro iView or SAP Transaction iView depends upon the client's need.
    WebDynpro Applications are used when we want to create our own reports with specific branding colors,theme, adding buttons, customised selection criteria for generating report.
    Transaction iView on the other hand is used when client wants exactly same look and feel of R3 , using Enterprise Portal.
    Sometimes SAP transactions can't be converted into application, e.g. SAP internal Mail box (Transaction SWBP).
    In such cases no other option than using Transaction iViews !
    About requirements, SAP logon pad needed to be installed on the user's terminal to see transaction iView with iView type selected as "SAP Gui" iView.
    You can bypass this need by selecting iView type " Web Gui"
    For webdynpro you need to have NWDS(Netweaver Development Studio) for application development and java skills as well.
    For transaction iView you need to have user mapping between Enterprise Portal and the backend System.
    To view WebDynpro iview one does not need user mapping.
    Thanks and Regards,
    Pradnya

  • Trying to opn SAP Transaction IView from Webdynpro

    Hi Friends,
    I need to open a SAP Trancation Iview from Webdynpro (on click of some button) and pass some values to the screen fields,
    I am using the code below(which I found in many threads):
    WDPortalNavigation.navigateAbsolute("ROLES://<Iview ID excluding pcd>",
    WDPortalNavigationMode.SHOW_INPLACE,
    (String)null,
    (String)null,
    WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
    (String)null,
    (String)null,
    (String)null);
    The problem is nothin happened on account of execution of this code,
    I mean not even a blank screen gets opened.
    I am not even getting any error/exception.
    Please advice what could be the possible cause.
    Regards
    Deepak
    Edited by: Deepak Gupta on Mar 17, 2008 12:15 PM

    I wrote the code like below:
    WDPortalNavigation.navigateAbsolute("ROLES://<IViewPath>", WDPortalNavigationMode.SHOW_EXTERNAL,
    (String)null,
    (String)null,
    WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
    (String)null,
    (String)null,
    "number=123456");
    In IView application property, I wrote:
    CRMT_SEARCH_LOC-CARD_NO=<Request.number>
    (L.H.S is the screen field name)
    then I got following exception at portal:
    An exception occurred while processing a request for :
    iView : pcd:portal_content/<Iview path>
    Component Name : com.sap.portal.appintegrator.sap.Transaction
    Exception in SAP Application Integrator occured: Unable to process template 'CRMT_SEARCH_LOC-CARD_NO=<Request.number>', because 'number' is an invalid terminal property of context 'Request.'..
    what went wrong????

  • Embedding Transaction IView into Webdynpro TabStrip

    Hi,
        My Requirement is ,I have Created Transaction IView ,I want to access the Transaction Iview into Webdynpro TabStrip. I am able to access Iview but it is overwriting existing screen i..e complete Webdynpro screen disappears only Transaction Iview displays. I want Transaction Iview to be displayed as part of the TabStrip.
    Thanks & Regards
    Madhan Mohan

    Hi Satyajit,
             I am having a similar kind of requirement , i have to navigate from webdynpro applicaiton to transaction iview ..once user is done with the transaction ( say maintained the material ) i have to come back to the previous screen ... but i think this is not possible as there will be no way to know that user is done with the transaction .. so i though of creating a Iframe and a button on a webdynpro view and link the Iframe to the transaction iview . so user will have to click on the button once he is done with the transaction .. but according to you .. the transaction will be locked if we link that to the Iframe .. please let me know how to resolve this pronblem. or is there any other solution to my problem ..

  • Visibility of SAP content (webdynpro iviews) in SAP GUI for windows

    Hi
    Is it possible to view SAP created webdynpro for ABAP content (previously only used through portal) through the standard GUI for Windows.
    Even if it is a transaction that kicks off a url, that links to this webdynpro iView, but the backend needs to be used.
    C

    Hi,
    You don't need a portal to use WD ABAP applications. The WD ABAP application will be launched in a standard browser window.
    Regards,
    Pierre

  • No WebDynpro iView Template found in content administrator menu (NW 7.1)

    Dear Sir/Madam,
    I tried to integrate a sample application in my local portal, but I did not found the webdynpro iview template to accomplish this in the content adminstrator menu.
    I found the webdynpro iview template for webdynpro ABAP, but not the on for webdynpro java.
    Is this a problem of my installation or are there some prerequisites which I miss?
    Many thanks in advance for any input on this.
    I am using Netweaver 7.1.
    Wolfgang Rothmayer.

    Thanks for the quick answer.
    My problem is, that I do have the New->iView Menu but then I miss the
    Web Dynpro Java application entry
    Find below the screen I do have:
    <<snip>>
    Please wait
    Your request is being processed
    iView Wizard
    Step 1:  Template Selection
    This wizard guides you through the steps required to create a portal iView based on an existing template. The template list reflects the contents of the cache, and may need refreshing.
    Refresh
    Choose Template: *
      BEx Web Application iView
      Crystal Enterprise Report
      JDBC Stored Procedure iView
      Proxy-to-Portlet iView (WSRP)
      Related Services iView
      SAP BSP iView
      SAP IAC iView
      SAP MiniApp iView
      SAP RFC iView
      SAP Transaction iView
      SAP Web Dynpro for ABAP iView
      Service Map iView
      URL iView
      Web Service iView
      Workset Map iView
      XML iView
    Cancel Back Next > Finish
    <<end snip>>
    What is wrong?
    Thanks again.
    Regards,
    Wolfgang.

  • How to call Java WebDynpro iViews from Portal (Portal Content Directory)

    Hello everybody,
    I am trying to call a Java WebDynpro iView, which was created within the Enterprise Portal and is stored in the portal content directory (pcd).
    I have created an HTML-iView in VC, where I have put in the pcd-link into the default-url field (pcd:portal_content/com.sap.pct/every_user/com.sap.pct.cprxrpm.ppmdc/com.sap.pct.cprxrpm.iviews/com.sap.pct.cprxrpm.iviews_cprojects/com.sap.pct.cprxrpm.cpr_projects). This iView is calling the cProjects WebDynpro Application. But after I run my model, the portal page is running and running, but nothing happens.
    I did the same with transactional iView, which was also created in the Portal before. I have also created an HTML-iView in VC, where I have put in the pcd-link into the default-url field (pcd:portal_content/IBU_content/SAP_for_Service_Provider/com.sap.pct.issp.ps.professional_services/com.sap.pct.issp.prs.iviews/com.sap.pct.issp.prs.display_sd). This is working fine!
    What I also tried is to call another VC-Model with an HTML-iView. Here I have put-in into the default-url field the pcd-location of my VC-model (pcd:portal_content/IBU_content/SAP_for_Service_Provider/com.sap.pct.issp.vcmodels/com.myComp.myProduct.1DM9.CreateEngagement/com.myComp.myProduct.iviews/com.myComp.myProduct.1G62.Cprojects_neu). This is also running fine!
    Now I do not understand the difference between this three objects. There are all iViews within the portal but the WebDynpro iView is not callable through a HTML-iView in VC.
    Could you help me in this case? Your help is very appreciated!
    Thank you in advance.
    Best regards,
    Aylin.

    Hi Marcel,
    when you mean the preview within the portal, yes, it is working fine.
    URL is not the way to solve my problem. I am working with IDES-Systems. This is our Demo System within SAP. I have to build my VC-Model in a Master IDES-System which will be transported than into the other IDES-Systems. The URL of the WD is not the same in the other systems. It is changing depending on the several Sysems. But the pcd-location is in all systems the same. Therefore I have to specify the pcd-location of the application.
    Is there a restriction with WD within VC?
    If we can do some kind of a netmeeting, I can show you my problem exactly.
    Thank you.
    Regards,
    Aylin.

  • Code to connect to database in  Webdynpro-- iviews

    Hi All-
    Could you let me know the code to connect to database
    in WebDynPro-->iviews.
    Regards,
    Cris

    Hi,
    Here are the two ways of connecting to a database through coding:
    ////1////
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
              java.sql.Connection conn= java.sql.DriverManager.getConnection("jdbc:microsoft:sqlserver://<IP>:<port>;user=<abc>;password=<xyz>;database=<DB name>");
    ////2////     
    InitialContext initialContext = new InitialContext();
    DataSource dataSource = (DataSource)initialContext.lookup("jdbc/SRI");
    java.sql.Connection conn = dataSource.getConnection();
    Regards
    Srinivasan T

  • Error when copying a webdynpro iview for one environment to an other

    I am currently setting up a training environment for test purposes.
    I have to copy some webdynpro appplication iview.
    I do the export of the i view but unfortunatly when I import my webdynpro Iview, there are many properties in the new system  that are missing such as application name which give the link to my java application.
    Of course the iview doesn't work.
    Do you have an explanation why the properties are missing? A resolution since I try many time the import.
    Regards,
    Julien

    Hi Julien,
    Please check the status of SLD and JCO in content administrator >> Web dynpro in the portal (new enviroment).
    then deploy your wd applciation.
    then create the transport package - export for webdynpro appplication iview. and import in the new enviorment
    Hope this will help you.
    BR
    Arun Jaiswal

  • Adding field in webdynpro iView

    Hi,
          I want to add some extra field and column in existing webdynpro iView.Someone can help me to achieve it?
    Thanks,
    Kundan

    Hi,
    I feel you need to have the webdynpro application source to add the extra field.
    However follow this thread and see if this helps: [7560379|Adding fields in requisition iview;
    Thanks,
    Venkat

  • Document url link on webdynpro iview

    Dear All
    We have developed  custom webdynpro ivew.
    Assigned that ivew to page and can display in ESS submenu.
    and one more km doc iview is there for document disply.
    But requirement is when enduser access webdynpro ivew  , in the same page there should be one link
    If enduser wants to download that document he has to use that link. becuse that doc is relavant to that iview.
    How can we do or organize this page.
    Please help .
    Thanks and regards
    kumar.

    Dear Raghu,
    Thanks for your response.
    How can I display link in webdynpro iview with the name of document.
    Ex : Please click here to download the form as mentioned below.
    file :  link : formdownload.pdf.
    If I click on this link it has to down load to enduser's local system.
    Please suggest.
    Regards
    Kumar.

Maybe you are looking for