Submit a webdynpro IView from a non-Portal application

Hi,
i have create a WebDynpro application. This application shows in a table a list of '. This reports are IView for Bex Web Application in a SAP portal. For navigation to this BW IView the WebDynpro application must be also embedded in a WD iView.
The problem is:
This WD IView will be requested by a non-sap/portal application with dynamic parameters and also with the POST method.
In the WD application i have implemented the parameter request with following code:
int i = 1;
String name = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("var_name_" + i);
If the non-portal application submit the WD application directly -> the parameters are available.
But when the non-portal application submit the WD IView, then the Parameters are 'null'.
Thank you for quick response
Anne

Hi,
yes I'm use the statement to submit the iView:
<form action="http://server:50000/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea?NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fcom.kwl.kwl-01.KWL-01%2Fcom.kwl.kwl-01-iviews.KWL-01-Iviews%2Fcom.kwl.WEB_DP%2Fcom.kwl.IW_GISBW&DynamicParameter="
method="post">
var_name_1<input name="var_name_1" type="text" value="ZHAMFSB"><br>
var_value_ext_1<input name="var_value_ext_1" type="text" value="129191"><br>
var_name_2<input name="var_name_2" type="text" value="ZHAMFSB"><br>
var_value_ext_2<input name="var_value_ext_2" type="text" value="129761">
<input type="submit" value=" Senden ">
In this case the DynamicParameter will be send by GET.
But i want use the POST Method.
I get the parameters in both cases not in my WD application.
What is the problem?
Thank you
Anne

Similar Messages

  • Calling an Portal Webdynpro iView from another Webdynpro iView - Error

    Hi,
    I have modified the DefaultFramework Page by adding an Alert iView (based on WebDynpro) and assigned this modified framework page to all users. It works fine.
    The Alert iView on the Left hand side (right above the Detailed Navigation) consists of links to different WebDynpro iViews in the same Portal.
    I have used LinkToAction UI element, on event of click
    i am executing this piece of code.
    onActionClick (com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent)
    WDPortalNavigation.navigateAbsolute("ROLES://portal_content/folders/X.Iview", WDPortalNavigationMode.SHOW_INPLACE, (String)null, (String)null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS, "Called iView Name", (String)null, (String)null);
    I have picked up the iView name from the Portal(exact PCD location).
    It is not working. Once in a while it worked. But now it is not loading at all.
    Please let me know your thoughts on the same.
    Thanks
    Senthil

    Hi,
    Got it solved. User has authorization to execute the page.Their roles were not added in Permission list of that Page.
    Added the roles. Now it works fine.
    Thanks
    Senthil

  • Accessing a portlet from Non-portal Application

    Hi,
    Is there a way to access a portlet in a non-portal application using javascript. The non-portal application may be a PHP one.
    Also, is it possible to send some parameters through javascript so that the portlet can use it and render different content.

    If by domain you mean the accessed url (and not the weblogic domain) , then yes any ajax based solution needs the files to be located in the same domain (as the browser sees it).
    If that isnt the case you
    a. Either use some sort of frames
    b. use a server side proxy
    c. Other loading javascipt based techniques
    Of this b. is the most common , because its pretty simple to do as most modern webservers directly allow you to reverse proxy to any site by simple configuration.
    E.g. if you have PHP on apache as www.youweb.com and your weblogic runs on yourapp.com , you can create a rule on the apache which states that /xyz goes to weblogic (by using the weblogic plugin or mod_proxy). Once you do this , you are running on the same domain as the browser ses and ajax will work

  • Retrieve data from a non-peoplesoft application using HTTP Get

    I need to retrieve data from a non-peoplesoft application. They want us to submit a HTTP GET request to their URL with a series of parameters. I am thinking about using HTTP Targert connector to accomplish this. Does anyone have sample peoplecode?
    Currently we are on 8.51.10 Tools...
    If there is any better way .. please let me know ..

    I have used HTTP Get to get XML file from a government sanction list by hitting URL http://www.treasury.gov/ofac/downloads/sdn.xml
    There is a delivered PS program that does that for vendor sanctions. I had to get the online setup correctly by creating a new custom Node with HTTP Target Connector. The program name is BSP_IMPORT. The below code is responsible for the calling the node and retrieving the data. Play around with the code below see if you can get it to meet your needs.
    BSP_IMPORT_AET.BANKNODE.Value is just the custom external code that I created.
    PMT_FLAT_FILE_INBOUND message is just a none rowset based message to use the web service call.
    Local TR:FileUtilities:FTP &oFTPUtil = create TR:FileUtilities:FTP();
    +/* HTTP */+
    +/*******************************************************************************/+
    Local Message &msgHTTP;
    Local Message &msgResult;
    +&msgHTTP = CreateMessage(Message.PMT_FLAT_FILE_INBOUND);+
    +&oFTPUtil.PopulateFTPGetIBInfo(&msgHTTP, BSP_IMPORT_AET.BANKNODE.Value);+
    +&msgResult = %IntBroker.ConnectorRequest(&msgHTTP);+
    +/* check to see if the file is wrapped */+
    +&strAllLines = &msgResult.GenXMLString();+
    +&strAllLines = Substitute(&strAllLines, Char(26), " "); /* Added this line to remove invalid characters */+
    +/*******************************************************************************/+
    Edited by: Maher on Mar 20, 2012 3:28 PM

  • Re: [iPlanet-JATO] from a non jato application to jato application

    Without getting into the details, the session id is passed around in a
    cookie, but once you leave your JATO app "sandbox", you no longer have
    access to the same session. This is not a JATO limitation, but a J2EE
    spec constraint. The war file creates a Servlet Context. Other servlet
    contexts have separate session sandboxes. If you deployed all your apps
    within the same war file, your sessions would be mutually accessible.
    or
    You could do something like use a Session EJB and pass its reference
    between apps I suppose.
    Also, see JATO Tip #0011 for forwarding to a "non-JATO" target.
    Hopefully, my reply will open up a conversation for more solutions,
    ideas, if what I have proposed is insufficient.
    craig
    raju_jato wrote:
    how can we forward a request from a non jato application(build using
    jsp and servlet) to a jato application and back and have only one
    session for both the applications.
    thanks
    For more information about JATO, including download information, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

    Without getting into the details, the session id is passed around in a
    cookie, but once you leave your JATO app "sandbox", you no longer have
    access to the same session. This is not a JATO limitation, but a J2EE
    spec constraint. The war file creates a Servlet Context. Other servlet
    contexts have separate session sandboxes. If you deployed all your apps
    within the same war file, your sessions would be mutually accessible.
    or
    You could do something like use a Session EJB and pass its reference
    between apps I suppose.
    Also, see JATO Tip #0011 for forwarding to a "non-JATO" target.
    Hopefully, my reply will open up a conversation for more solutions,
    ideas, if what I have proposed is insufficient.
    craig
    raju_jato wrote:
    how can we forward a request from a non jato application(build using
    jsp and servlet) to a jato application and back and have only one
    session for both the applications.
    thanks
    For more information about JATO, including download information, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

  • Invoking SOLMAN WS from a NON-SAP application

    Hello All,
    Has any one accessed the SAP SolMan web services from a non-sap application ? For my project, I need to talk to solman through its exposed operations as defined in the WSDL file
    http://mycompany.com:8003/sap/bc/srt/rfc/sap/ict_service_desk_api?wsdl
    When I invoke this WS through eclipse, after taking in the UID & PWD, it is returning appropriate values for:
    RequestSystemGuid
    RequestGuid
    Getpossiblevalues
    It fails for all other operations. For e.g. ListUnclosedIncidents returns and error called :
    ErrorCode (unsignedByte):  13 
    Similary for the operation 'ReadCompleteIncident'
    What is it that needs to be done to surmount this error ? Any pointers, suggestions ?
    Thanks
    Karthik

    Hi, did you accomplish to solve your problem using the list unclosed incidents operation?
    Best Regards
    Nasoft

  • Open Apex page from a non-apex application

    Hello,
    I'm calling an Apex page from another (non Apex) application. The way it works is that you click on a map and a browser window is opened with a Apex data entry form. This way you can edit information about the object you clicked on in the map.
    I got this working but what I'm trying to avoid is that you have to enter your logon credentials every time. I can't provide a session ID in the URL from the other application.
    Is this possible at all?
    Rene

    Hi Scott,
    I tried following your example here:
    http://apex.oracle.com/pls/otn/f?p=9947:1
    Page 1 and 2 are normal, but rather empty, pages. Page 3 is the public page with the redirect proces.
    First login (demo/demo_12) and notice the session ID.
    Then try to redirect to page 2 through page 3
    http://apex.oracle.com/pls/otn/f?p=9947:3::2
    You get the login page again with a new Session ID.
    Once you logon you get redirected to page 2 and have joined the previous session.
    Is this the expected behaviour of your example? I was trying to get rid of the login screen the second time. Maybe I'm doing something wrong?
    thanks Rene

  • 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.

  • Calling a Webdynpro Iview from a Web Page

    Hi guys we are trying to display a custom webdynpro iview in a web page.
    when the user clicks on a link on the left side navigation in the webpage it is supposed to open the webdynpro iview in an Iframe in the same window beside the left navigation area. but we are getting  a warning message before the iview is opened.
    an error occured while starting the iview Application/webdynpro/dispatcher/sap.com/pb/PageBuilder:jsessionid=(J2EE3062800)ID484538950DB11873745832264248987END will run with a wrong client window ID!
    and when we click on ok the iview is displayed in the IFrame
    to open the iview we are using an URL of the format
    http://<Server>:<Port>/irj/portal?NavigationTarget=navurl://8bc08160d466f592c481da5639ca31e9&NavMode=3
    can any one tell me why we are getting this message and how to remove it.

    Hi Praveen
    The iview is assigned to a portal role and we even have some authorisation objects assigned in R3, so only the users who have access to the role should be able to see the iview and the content they see in the iview is limited depending on the assigned authorisation objects.
    if we use the link
    http://<server_name>/webdynpro/dispatcher/local/myWebDynProProject/Helloapplication
    every one will be able to access the iview and they will be able to see all the content.
    when the user  clicks on the link he should login with his id and password  so that the authorisation objects are checked agaist his id. If we use the above link the user will be logged in with a test ID and the authorisation objects will not work.

  • Calling Oracle Ebusiness Forms from a Webcenter Portal application

    Hello All,
    Would there be any known/standard procedure of calling Oracle EBusiness Forms from a Custom WebCenter Portal Application. The issue we are facing currently is that we are successfully able to call an Oracle EBS Forms as a GO Link from the application. The problem is when there are multiple links to open different EBS Forms. Multiple instances of the Forms sessions are created. We would like to have only one. We are trying to mimic the Oracle EBusiness Home Page / Landing Page.
    Any pointers are much appreciated.
    Thanks,
    Nachi

    Hi.
    Are you using Portal or Framework Portal?.
    In case of <noscript> is generated by JAVA internal classes and the unique way to change the message is with a Non supported workaround overriding a CoreBundle class.
    About the af:skipLinkTarget usually is in the Page Template. The default templates has it in next snippet:
    <f:facet name="center">
        <af:skipLinkTarget>
        <af:facetref facetname="content">
        </af:facetref>
      </af:skipLinkTarget>
    </f:facet>
    If you're using default Templates then copy them and remove the af:skipLinkTarget tag from the copied one and assign it to the Portal.
    I hope it helps.
    Regards.

  • Error while accessing a BI iView from the federated portal to the BI portal

    Hi,
    We got an issue when we execute BI report from our federated SAP Portal.
    The user can navigate into the portal, but when he executes an BI iView, sometime he gets the following error message:
    "500 Internal Server Error
    blabla...
    Root Cause
    The initial exception that caused the request to fail was:
    BEx Web application "xxxxx" does not exist. The application was either ended by a timeout or an error occurred, which was entered into the trace log. See SAP Notes 937697 and 948490"
    He can then refresh the page and execute the report again, and it will works.
    Here is our lanscape :
    Federated Portal EP6 SP18
    BI Portal SP20
    Iview are created on the Federated Portal and consume BI web template.
    I don't think about a timeout issue, since sometime we got the selection screen and once we click on a button (after some seconds) we got the error.
    Any ideas ?
    rgds,
    Sebastien

    Hello,
    Please could you remove the proxy setting and check whether it will give you same error or not.
    Even we have faced the similar similar issue and once we have removed the proxy setting and cross checked it , it worked fine and later we came to know that the problem is in network proxy setting application.Check with the net working team for the same.
    Thanks
    Geeta

  • ABAP Webdynpro Iview gives error in Portal 7.3

    Dear Experts,
    I have created iview by using ABAP wedynpro applicartion.it's through's below error.
    Please suggest me how resolve this. Cureetly we are running EP 7.3.
    404   Not Found
      SAP NetWeaver Application Server 
      Error: Requested resource does not exist.
      SAP Technology Troubleshooting Guide
    Details: Go to main page of this application.
    Thanks in advance.
    Regards,
    Mahee.

    Hi Mahee,
    while creating an Web Dynpro ABAP ivew.
    we have to give the System , Namesapace , Application Name and Web Dynpro Client.
    you have to check the System( Connection Test) and also check the ABAP application is activated or not in R/3.
    you have to select Web Dynpro Client  as Plain HTML.
    Hope it helps....
    Thanks,
    cbr

  • Can I remove the skip links piece from a WebCenter Portal Application?

    We have a better skip links implementation we would like to use. How can I turn off the default? Not simply hide it, but rather not render it at all period.  This goes the same for the noscript piece that says JavaScript is required to run the Application.  I also have a better solution I would like to use so I would also ask how do I disable the noscript piece. Do I need to edit some xml file or something? I search my application for "noscript" and "af:skipLinkTarget" and I can't find either one. How can I remove/disable these features. They are just not appropriate for this particular application. Any help would be greatly appreciated.

    Hi.
    Are you using Portal or Framework Portal?.
    In case of <noscript> is generated by JAVA internal classes and the unique way to change the message is with a Non supported workaround overriding a CoreBundle class.
    About the af:skipLinkTarget usually is in the Page Template. The default templates has it in next snippet:
    <f:facet name="center">
        <af:skipLinkTarget>
        <af:facetref facetname="content">
        </af:facetref>
      </af:skipLinkTarget>
    </f:facet>
    If you're using default Templates then copy them and remove the af:skipLinkTarget tag from the copied one and assign it to the Portal.
    I hope it helps.
    Regards.

  • Using NI controls in a DLL running from a non-MFC application

    Hello,
    I am developing a DLL library for use with a non-MFC third party application. The DLL I am currently working on displays a MFC dialog, and works fine from the third party app, as long as I don't add any NI Measurement Studio controls. When I add in a CNiGraph control, the dialog window can't be created.
    Does anyone have any suggestoins about this?
    Thanks,
    -Robert

    Hello Robert,
    The setup that you have here sounds perfectly valid and should have no errors. The firts thing to check is that you have enabled support for ActiveX in your MFC DLL. When you run the new project wizard one of the options is to enable ActiveX this adds some initialization code to enable the ActiveX container.
    You can test this by adding any other ActiveX control to your dll and give it a try. If you get the same error then most likely the ActiveX container is not properly initilized.
    Let me know how this goes.
    Regards,
    Juan Carlos
    N.I.

  • Database Access from Web Center Portal Application

    Hi,
    I have a requirement to store user preferences in database. These preferences will be fetched at the time of user login and page will be rendered accordingly.
    I was just wondering should I use Entity objects/view object for DB interaction or should I go for eclipselink.
    Please guide which will be the best way keeping performance, maintenance stuff in mind.
    Thanks,
    VN

    I am sorry I missed the environment details.
    I am building oracle webcenter application using ADF framework.
    I cannot use MDS as my user preferences requirements are as follows
    1.Save a certain tab as preferred on a certain page.
    2.Bookmark a product as favorite (Product list will be displayed as dynamic content fetched from UCM)
    3.Make a certain page as home page
    I did some R&D and concluded that these features cannot be implemented without customization (please correct and guide if I am wrong)
    Now I have a custom solution where we will save user prefs in custom DB.
    Coming back to the original question - I need to do some light DB interactions and I am wondering if I can use entity /view object to fetch and update date in DB. Or this is not recommended for such a small degree of DB interaction and I should go for Eclipse link.
    Hope it gives more clarity.
    Please help.
    Thanks,
    VN

Maybe you are looking for

  • Objects missing

    This is a very strange problem with 8.1.7 on Sun Solaris. I had imported two tables into a schema. One table is having a CLOB column. Now I renamed both tables to a different name. After some time when I checked using command SQL> select * from tab;

  • Office Web Apps Integration in a Test Environment

    I am trying to test Office Web Apps in an Exchange 2013 test environment and therefore have setup my farm for HTTP only.  I have set the WAC Discovery End Point on the Exchange server and I can browse to the XML successfully however when I preview fi

  • Writing characters 0x80 through 0x9F to a text file

    I'm trying to write the full range of characters 0 to 255 to a file. I used the code below to do this. It works fine except for the range 0x80 to 0x9F. Is there a way to do this without Java converting these characters on its own? import java.io.*; p

  • Apex 5 Page Designer Suggestion and Bug

    Hi Apex Team, I would like to make a suggestion and report a bug related to the Page Designer. 1. When editing the properties of an item on the Page Designer, there are two "CSS Classes" options, one under Appearance and another under Advanced (Show

  • Sort values of structure with arrays

    Hi For a shopping cart I'm using a structure with arrays to store the items in the cart. I tried to use StructSort but did not work... This is how I store the items in the cart: <cfscript>             if (not(isdefined("session.cart"))) {