WebDynpro app

We are trying to access a web dynpro application on Portal, the application has the property "sap.authentication" set to True. After logging on Portal and accessing the application through an iview the logon screen is issued again. Is there any configuration to do in iview/workset/application ?

Hi Fabio,
The users who have been successfully athenticated on the J2EE engine can actually access the Web Dynpro appilcation while defining the authentication property true for the Web Dynpro applications.
One more thing , you have to make sure that the application you are trying to access which is interacting sap backend , which means  that the perticular system should configured SSO logon ticket.
Thanks
Krishna

Similar Messages

  • How to consume a ABAP webservice in a  webdynpro app?

    Hi,
    I have a BAPI in ABAP that is exposed as a webservice. I want to use this to build a webdynpro app so that i can consume this webservice. This BAPI returns the Employee data. As soon as the person logs into the portal i am going to pass his login id to this BAPI so that it retrieves the Employee data for that user id. But i need to know the procedure of consuming this webservice in a webdynpro app. Any pointers in this regard will be greatly appreciated.
    Thanks,
    Arun E V

    Hi Arun,
    Consumption of a web service is univesal I guess so it wont matter if it is an ABAP webservice. For consumtion of webservice in Web Dynpro you can go through the following tutorials
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/using%20car%20rental%20web%20service%20with%20web%20dynpro.pdf">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/using%20car%20rental%20web%20service%20with%20web%20dynpro.pdf</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/creating%20an%20email-client%20using%20web%20dynpro%20and%20web%20services.pdf">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/creating%20an%20email-client%20using%20web%20dynpro%20and%20web%20services.pdf</a>
    Do reward points if it helps
    Regards
    Sid

  • Consuming ABAP Webservice in Webdynpro app

    Hi,
    I have wrote a webdynpro app for consuming ABAP webservice. I used the procedure in the link below
    http://wiki.sdn.sap.com/wiki/display/WDJava/ConsumingABAPWebServiceinJavaWD
    Everything seemed to be went well, I created model and Webservice destinations. I have written the code for calling the webservice, which does not return data as part of response. I mean though the RFC returns data at the backend,its not showing the returned records in the webdynpro table.
    I have also tried checking the same by setting external break point. when the webservice is executed from my webdynpro app,it goes to the ABAP debugger and i could clearly see the records in the export parameters of RFC,but the same is not returned in the reponse object.
    Could any one let me know what could be missing. Any help is greatly appreciated?
    I have used the following code in Init method of my View
    Request_ZMYRFC input=new Request_ZMYRFC (model);
    wdContext.nodeRequest_ZMYRFC ().bind(input);
    ZMYRFC  req= new ZMYRFC (model);
    req.setPUserid("EDLAS00C");
    req.setPLtc("E");
    input.setMYRFC (req);
    IWDMessageManager manager = wdComponentAPI.getMessageManager();
        try
        wdContext.currentRequest_ZMYRFCElement().modelObject().execute();
          wdContext.nodeResponse().invalidate();
          wdContext.nodeZMYRFCResponse().invalidate();
          wdContext.nodeReturn_res().invalidate();
         wdContext.nodeItem_res_ret().invalidate();
          wdContext.nodeILtcg_res().invalidate();
          wdContext.nodeItem_res_ltcg().invalidate();
        catch(Exception e)
          manager.reportException(e.getMessage(), false);
    Thanks
    Santhosh

    santosh,
    Check provider system defination in nwa for webservice.After this mapp the provider system and service group after wd app deployed.This is mandatory while consuming webservice in webdynpro for latest versions of CE7.11 or later.for reference check this article/document. http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50d70a19-45a3-2b10-bba0-807d819daf46
    Thanks,
    Murthy.
    Edited by: Murthy Karaka on Mar 22, 2010 12:59 PM

  • Passing an XML file from WebDynpro app to ABAP function module

    Hi all,
    I'm stuck with a problem, and am hoping one of you could let me know how to proceed:
    I need to pass an XML file (or at least the entire content of the XML) from my WebDynpro application to a backend ABAP function module. What I tried was this:
    In my WebDynpro app, I read the XML and convert the content into one long string (using java.io.FileReader and java.io.BufferedReader). In my ABAP function module I created an import parameter of type String. I then imported the ABAP Function module into my WebDynpro app as a model. I then tried to pass the XML string to the ABAP module. What happens is this:
    If the size of the string (XML) happens to be less than 255 characters, then it works. That is, the string is passed to the ABAP function module and I can see the contents. However, if the XML string happens to be greater than 255 characters, then it does not work. The string at the ABAP side is empty. Surprisingly, the ABAP module does not throw an error either. It just displays an empty string.
    Could you please tell me what the problem is?
    Thanks & Regards,
    Biju

    Hi Biju ,
    Welcome to SDN.
    If the import parameter is defined as type string it should work, however did you check whether your application pass it properly?
    I have applications using strings as import parameters working fine. (webapplications (BSP) to RFC)
    Regards
    Raja

  • Can I execute a function module in my  Webdynpro App ?

    Hi,
    Can I execute a function module in my Webdynpro App ?  I mean, it's not a BAPI.
    Is it possible ?   which is the procedure to follow ?  (comparing to a bapi procedure).
    Thanks for your help !
    Regards from Mexico.  =)
    Diego

    Hi Diego,
    the warning icon indicates that you're using a function module that has not been externally released. If the corresponding function module has been defined by SAP, its interface might be changed in an incompatible way within one of the next releases, e.g. removing / renaming a parameter or structure field. Stability is only guaranteed for BAPIs or external released function modules.
    From the point of view of the model import it does not make any difference. If import does not work, there seems to be some other problem. Maybe the function module has not been activated in the R/3 system. Or check the log file or the import log page which will be the last page of the import wizard.
    You might want to import some other none external released function module in order to verify that model import of these kind of function module works.
    Kind regards,
    Lothar Bender

  • ABAP session id with a webdynpro app

    Hi....
    I have a custom webdynpro app that makes JCO calls to ABAP.
    So when i open the abap debugger (debugging remotely from the java webdynpro) i can see that sy-uname
    is in fact the user that logged into the portal....
    What I am wondering is this....
    Is there a way to get a unique session id (or guid) on the abap side for that users session? when the user logs off of the portal, there session closes on the abap side as well...if they logged into the portal then they
    would have a new session on the abap side as well....
    I need to find a way to get this session id on the abap side.

    maybe this function module?
    TH_GET_SESSION_ID

  • SSO for a Webdynpro App

    Hi Everyone hope you can help.
    All i would like to know is:
    If you have created a webdynpro and would like to bypass the default way of obtaining a JCO connection i.e)
    Not using the GUI under the webdynpro admin console in the portal and defining the JCO (Meta and Model) there.
    I have looked everywere and i can not find any documentation supporting "Writing your own JCO connection" inside the webdynpro app as a pooled connection.
    I used to do it in EP5 like this:
    public class Test {
    private IPortalComponentRequest request;  //used for SSO
    public void setRequest(IPortalComponentRequest value){
          request = value;
    private void BuildConnection(){
          IJCOClientService clientService = (IJCOClientService) request.getService(IJCOClientService.KEY);
          poolEntry =
    clientService.getJCOClientPoolEntry("PROD_SYSTEM", request);
          sapConnection = poolEntry.getJCOClient();*/ }
    private void closeConnection(){
          poolEntry.release();
    } //end Juan
    The API that i used is not included in the webdynpro development lib.
    Can anyone show me how to get the SSO cookie using the webdynpro API inside the webdynpro app. I need this cookie to include it into the required parameters during the JCO connection creation.
    Thanks in advance!

    Hi Diego
    There is tons of information on this.
    Check this post
    Re: Problem accessing R/3 with SSO ticket from the EP6.0
    and also links in this post.
    For Web dynpro app to R/3 these simple points should help
    -> Go to your Security provider service in VA , select the authentication template ticket and provide options for CreateTicketLoginModule with the one given in this document
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/ac3d41a5a9ef23e10000000a155106/content.htm
    ->Go to your key storage service in VA and export out the certificate and import this into R/3
    ->Go to your Content administration for Web Dynpro and switch the security settings in your JCO destinations to use 'useSSO' instead of userid and password , this applies only for the destination that fetches application data. The meta data destination can be configured to use userid and password.
    Thats about it.
    Regards
    Pran
    P.S is this '=(' the mexican hat

  • Please guide me for user authentication and authorization in WebDynPro App

    Hi,
        I just study the WebDynPro to develop the SAP Portal. I've ever developed the Web-based App using J2EE. So when i developed the Web-based App i have to develop the control of the user authentication and authorization on each page for example ,checking the session of the user whether they can access this page or whether session is expired or not,. So i have no idea with the WebDynPro and the SAP Portal because i never had experience for both WebDynPro and Portal.
    I need to ask you some question to clarify my doubt :
    1. SAP Portal  is web page that include every enterprise application with in one page and user log-in to them just on time, isn't it?
    2. If i integrate WebDynPro with SAP Portal, which one will do the authentication and authorization?. I mean that, Do i have to develop the code to check authentication and authorization in the WebDynPro App or Let the SAP Portal manage them?
    3.Could you please suggest the best practice for authentication and authorization in webDynPro.
    Many Thanks
    Noppong J

    in most case you don't have to write code to deal with session, authentication and authorization.
    1. yes,
    2. no, no code needed. you just set an attribute to your application, which make the the authentication required. when user access this page, portal will display the logon page
    3 you can put some authorization related code in web dynpro for specific requirement, search this doc "Protecting Access to the Web Dynpro Car Rental Application Using UME Permissions"

  • Need help with validation of SSNumber in ESS US Personal Data WebDynpro app

    Hi,
       We're using ESS /SAP Netweaver 2004....
    When I make the Soc Sec#  visible (changing the Java webdynpro app ess.us.fam the dependents update form in ESS) and trying to make this field not mandatory, I get strange results...
    The Gender field that was mandatory before is now not treated as Required after I select the Review button, but this SSN Text that I made visible is treated as Mandatory with a Red box saying This field is required....
    I guess the Required (state) attribute in the InputField properties is only for showing the red asterisk, but the actual mandatory logic is done somewhere else???..Is this somewhere in the webdynpro app or in the SAP backend...
    This app uses the structure HCMT_BSP_PA_US_R0021...
    Can anyone point me to where this validation is done so I can change it to what I need,
    Thanks,
    Venkatesh

    Hello ,
    I am working on EP7.0 ERP05 NW04s . I want to make the Social Security Number field mandatory on the Family Members Detail (Edit) , ...I want to know what's the procedure to do that...
    Any help would be highly appreciated.

  • How to display different screens when starting the Webdynpro app?

    Hi All,
    When user starting up the Webdynpro app, it will first check some value in the persistent layer. If the check result is ok, it will show the normal app screen to the user; if the check failed, it will show the error screen.
    Now I write the check function in the view controller, But I think it is not a good approach, because there are some initialize code in the component controller, so before my check function reached, the server will waste some resource to execute the initialize code in the component controller.
    Would anyone give me some hints on how to move the check function to component controller and then display the different screen to the end-user?
    Thans and Best regards
    Deyang

    Deyang,
    I've opened <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro">Web Dynpro</a> section on SDN and see the featuring article:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/751d003a-0b01-0010-8996-afbaa3fd5339">cross-component Navigation, Explained</a>
    <i>New resources demonstrate <b>how to navigate to certain views from within Web Dynpro components</b>, and fill some gaps in the Sample Application and Tutorial matrix.</i>
    Should be exactly what are yuo looking for
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Passing Data Back from a WebDynpro App to a Portal App

    Hello all,
    We have an iView in the portal that has a link to a webdynpro application.  When the link is clicked, it opens the webdynpro app in a new window.  When a user selects data on this window and clicks a button, I want that data selected transferred to a specific field on calling window. 
    Prior to using webDynpro, we were able to do this by using the code below on the called page.
    <SCRIPT language='JavaScript'>
    function SelectUser() {
       var selectedUserAdmcd=document.all["EMP_ADMCD_RET"].value;
       window.opener.document.forms[0].ADMIN_HR_CODE_NEW.value=selectedUserAdmcd;     
    Any suggestions will be appreciated.
    Thanks,
    Mike

    Hi Mike,
      The SAP Enterprise Portal 6.0 supports client-side eventing. I dont thhink  you cannot write Java Script code in a Web Dynpro application, a Java wrapper enables you to implement portal eventing. You can subscribe to and unsubscribe from specific portal events. This means that the SAP Enterprise Portal can react to an event that is triggered by a Web Dynpro application.
    Sample code for the same
    In the sender application, On action of the button click event.
    String parm=wdContext.currentContextElement().getInput();
    WDPortalEventing.fire ("urn:com.sap.tc.webdynpro.example.portaleventing", "Event Name ", parm);
    In the listener application
    In the Init method subscribe the portal event
    WDPortalEventing.subscribe("urn:com.sap.tc.webdynpro.example.portaleventing","Event Name ", wdThis.wdGetReactPortalEventingAction() );
    Create an action ReactPortalEventing. Add the parameter data of  type java.lang.String.
    wdContext.currentContextElement().setOuput(dataObject);
    The value of the element Input recieved in the Sender application will mapped to the element Output  of the  listener application.
    Regards,
    Srivathsan

  • If my SLD is down will webdynpro apps fail.

    I see that the SLD manages the JCO connections to R/3.  Does the engine maintain that data locally as well or if the SLD is down then the webdynpro app utilizing the JCO connection is down as well.

    Unfortunately the answer is no the information is not cached and yes it will fail if the SLD is not running.

  • Inluding java webdynpro apps into portal transport packages

    Hi All,
    Platform: EP7 SPS13, solaris, oracle DB
    I would like to know how to include java webdynpro apps into portal transport packages.
    I was reading documentation but I was not able to accomplish this.
    I have modified Pcd.TransportApplication.Export.ExcludeSystemObjects = false
    in pcdStartup.properties file.
    Transport export includes all my java webdynpro iviews, and export property RESOLVE REFERENCES is set to true in order to setup dependences to be included.
    After importing in QA portal, I can see my java webdynpro iviews, but no webdynpro application exists and iviews won't work.
    Any idea will be appreciated.
    Regards.

    Hi Claudio Roca  ,
    You ca nmove web dynpro applications to different landscapes  in two ways
    1) In NWDS u need to set Message server Port and server port of Quality or production depending on ur requirement
    In NWDS ..In Menu you can find
    Windows->perferenece  there u need to do settings
    and u need to deploy ur webynpro application
    2) you can deploy .ear file in Visual Admingoto  Visual Admin there u can find deployment button click it and deploy ur .ear file
    Please reward points if it is helpful
    Thanks
    Srikanth

  • Need help with validation of SSNumber in ESS US Dependent WebDynpro app

    Hi,
    We're using ESS /SAP Netweaver 2004....
    When I make the Soc Sec# visible (changing the Java webdynpro app ess.us.fam the dependents update form in ESS) and trying to make this field not mandatory, I get strange results...
    The Gender field that was mandatory before is now not treated as Required after I select the Review button, but this SSN Text that I made visible is treated as Mandatory with a Red box saying This field is required....
    I guess the Required (state) attribute in the InputField properties is only for showing the red asterisk, but the actual mandatory logic is done somewhere else???..Is this somewhere in the webdynpro app or in the SAP backend...
    This app uses the structure HCMT_BSP_PA_US_R0021...
    Can anyone point me to where this validation is done so I can change it to what I need,
    Thanks,
    Venkatesh

    Thanks for the replies folks...
    I had to go to the ESS Config in the back end (transaction SM30)
    and make changes to the backend maintenance table V_T588MFPROPC
    Thanks,
    Venkatesh

  • Moving WebDynpro apps to production

    What is the best reference for defining transport procedures to move WebDynpro apps from dev to test to production?  Is there an operations guide that includes transporting WebDynpro apps?

    HI,
    For  software component versioning,build and transporting install JDI and configure it more details you can find in the following URL's
    http://help.sap.com/saphelp_nw04/helpdata/en/63/7a4d40eae76f13e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e1/b5443e02a9ab4186a6e1240a9a2455/frameset.htm
    https://websmp101.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000512226&
    https://websmp101.sap-ag.de/J2EE
    https://media.sdn.sap.com/public/eclasses/nwbcil/Java_Development_Infrastructures_files/Default.htm#nopreload=1
    https://websmp102.sap-ag.de/instguidesnw04
    Hope this helped you
    Regards,
    RK

  • Found in negative cache error while deploying webdynpro app

    Hi,
    I got the below  error when I deployed an webdynpro application.There are no build errors
    java.lang.ClassNotFoundException: com.sws.wdp.Internal_DCF_WindViewSet_DCF_AdminComp_DCF_AdminWind
    Found in negative cache -
    Loader Info -
    ClassLoader name:
    [sws.com/DCF_Admin] Parent loader name: [Frame ClassLoader]
    References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;
    service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;
    library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;
    library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;
    service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;
    service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;
    service:userstore interface:resourcecontext_api interface:webservices interface:cross
    interface:ejbserialization sap.com/tcwddispwda sap.com/tcwdcorecomp service:webdynpro service:sld
    library:tcddicddicservices library:com.sap.aii.proxy.framework library:tcgraphicsigs library:com.sap.mw.jco
    library:com.sap.lcr.api.cimclient library:sapxmltoolkit library:com.sap.aii.util.rb library:com.sap.util.monitor.jarm
    library:tcddicddicruntime library:com.sap.aii.util.xml library:com.sap.aii.util.misc
    library:tc~cmi Resources: /usr/sap/EPD/JC00/j2ee/cluster/server0/apps/sws.com/DCF_Admin/webdynpro/public/lib/app.jar
    Loading model: {parent,references,local} -
    I restarted the server but of no use.
    Please help me in resolving this.
    Thanks and  Regards,
    Rajesh.A

    Hi,
    Please have a look at this threads,
    Found in negative cache.... very strange.
    What's Negative Cache ??
    Regards
    Saravanan K

Maybe you are looking for

  • Interest calculation on GL balance

    Hi Gurus I need a help from your side to calculate interest on GL balance . I have all the configuration required for the same  ,while running the same it used to calculate the depreciation required but processing the batch input session Account 18 c

  • How can I animate scrolling pictures as in Cooliris?

    I basically want to re-create the effect of the 3-D wall used by Cooliris in my keynote animation.  Does anyone know how I would do this?

  • Automation

    I automated a couple of fades at the end of some tracks. Why have new duplicate yet empty looking tracks appeared in the arrange area underneath original tracks? (not the mixer area though)

  • Group imessage

    Hi I have a problem, they added my Apple ID to a group iMessage, and I want out of this group. Nose how. help

  • USB gone

    I use a Mac Mini with OSX 10.10.2 and 8 Gig. 2 Weeks ago my keyboard did not work as I booted my mac in the morning- worked in the evening when I shut it down. After some swearing, I found out two of the four USB port are "dead". I googled and found