Access portal system details in Web Dynpro ???

Hello All,
I have a requirement such that in my Web Dynpro application, I need to figure out that the backend R/3 it is trying to connect to, is it a unicode or a non unicode system.
For this purpose, we maintain an additional alias name for the portal system starting with UNI_ if its a unicode box or NONUNI_ if its a non-unicode box.
Is there any other better way of storing this information.
<b>I need to know, how can we fetch all the alias names maintained for a sytem in portal using Web Dynpro APIs.</b>
Please help.
Thanks in advance,
Samta

Hi,
please take a look at the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d">tutorial section</a> here at SDN. This is a good starting point to learn WebDynpro.
Regards
Sebastian

Similar Messages

  • Need info on Accessing portal services within a Web Dynpro application

    Hi,
    I need information on Accessing portal services within a Web Dynpro application.I want to explore this topic.Can anyone give useful links?
    Thanks in advance.
    Rajani N

    Hi
    how to reference  a portal service with web dyn pro ?
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/how%20to/how%20to%20access%20a%20portal%20service%20within%20a%20web%20dynpro%20java%20application.pdf
    http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/portal/WDPortalUtils.html
    Best Regards
    Jakub Krecicki

  • Accessing portal dictionary tables from Web Dynpro project

    Hi
    Am a new to whole portal and webdynpro thing, and I hope that you can help here
    I created a new dictionary project through NWDS and created a table with columns and I successfully deployed it
    I also created a web dynpro project and I added a TABEL UI to the layout
    how can I connect or access the table I created in the dictionary project from the Web dynpro project so I can query all data to fill the TABEL UI  in the web dynpro ?
    is there a driver that I can use like JDBC where I can just write regular SQL queries ?
    regards

    Hi swathi
    See the persistence API--Adv and Disadvantages what ever you mentioned come under the persistence API
    Relational Persistence
    =================
    SQL-based coding: expressive!
    SQLJ: for static SQL, checked at design time,
    recommended
    JDBC: for dynamic SQL, can be combined with SQLJ
    =======================
    Object-relational Persistence
    ======================
    SQL-free! Portable!
    JDO: light-weight object persistence, Java-like dynamic
    query language
    EJB CMP: part of J2EE standard, relatively heavy-weight,SQL-like static query language
    Regards,
    Venkata Kalyan Karanam

  • Set Portal Page URL in Web Dynpro IFrame

    Hi All,
    I've a Web Dynpro application that runs in the portal.
    The application creates iframes dynamically.
    I want to set in the iframes portal pages.
    In order to get the page's url, I go to content admin, navigate to the page and then press the 'preview' button then I copy the url from the browser's address bar.
    I copy the url from the '/irj....' to the src property of the IFrame UI element.
    So the source property looks something like this:
    /irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.mycomp.Omri!2fcom.mycomp.TestPage
    When I run the project I get:
    <i>Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    Access denied (Object: portal_content/.../...).
    Exception id: 06:01_17/10/06_0015_4401150
    See the details for the exception ID in the log file</i>
    The page's permissions are set to everyone so I don't know why do I get this error.
    So, how do I set portal page url in Web Dynpro IFrame?
    p.s
    I tried to use NavigatinTarget in the URL and it works. The problem is that the TLN is included. I want to display only the page.
    Thanks,
    Omri

    Hi Valery,
    I have only one domain...
    I searched SDN and I found this post:
    /message/1259616#1259616 [original link is broken]
    Daniel Wroblewski from SAP says:
    <i>This, naturally, sounds like a permission issue. Two steps:
    You must give the Everyone group end-user permission to the iView. This will eliminate the error and cause a login screen to display.
    If you want to eliminate the login screen, you must set the iView property Authentication Scheme to anonymous.</i>
    I will try it tomorrow in the Office.
    Omri

  • How to get Portal User Context  in Web Dynpro application

    I have successfully integrate a web dynpro app into SAP Netweaver Portal.
    Within my web dynpro app, how can I get portal user context information such as first name, last name, job title or some newly created ume attibutes.
    Is there any programmatical approach to get portal user context in my web dynpro. I not sure whether I can use the following codes in web dynpro?
    IUserContext userContext = request.getUser();
    String firstName = userContext.getFirstName();
    String lastName = userContext.getLastName();
    If yes, can someone point me the name of the jar file I have to import.
    Note : The SAP Netweaver installation that runs my web dynpro app is same with the SAP Portal.

    Hi ,
    you can use the below code to get User details and  add com.sap.security_2.0.0 > lib > com.sap.security.api.jar
    try
              IWDClientUser clientUser = WDClientUser.getCurrentUser();
    String firstName = clientUser.getFirstName();
    String lastname = clientUser.getLastName();
    catch (WDUMException e) {
                wdComponentAPI.getMessageManager().reportException("Error Retrieving User"+e.toString(),true);
    Regards,
    Sunitha Hari

  • Using Portal Theme for a Web Dynpro ABAP Application

    Hello everyone,
    I've created a web-dynpro abap application that I display on one of my portal pages using a Web-dynpro iView.
    Somehow, the WDA app never reads the portal theme properties and has the default SAP roadshow theme colors. I've tried almost everything including passing the theme as an application parameter using WDTHEMEROOT and WDFORCEEXTERNALSTYLESHEET params.
    Documentation states that the application should automatically read the portal's theme, but it never does.
    Interestingly, I have one more web-dynpro java application that works fine and uses the portal theme correctly.
    Am I missing anything? Are there special considerations for WDA apps to adapt to the current portal theme?
    Any ideas, suggestions, solutions would be greatly appreciated.

    >Am I missing anything? Are there special considerations for WDA apps to adapt to the current portal theme?
    What are the release and support package levels of both your ABAP system and your portal?  If the ABAP AS has a later release or SP level than the portal, the Web Dynpro framework will always fall back to using the theme of the backend ABAP system.  This is to protect the application rendering.  Running with a theme (CSS and JavaScript) from an older release or support package level could cause the application to render incorrectly.

  • How to call legacy system screen in web dynpro for java?

    Now I'm using Netweaver CE for building BPM (Business Process Management).
    In BPM system, I wana call legacy system screen(ERP, C/S , Web, etc..) in web dynpro.
    I'v already known how to call legacy system method and data.( using RMI, SOAP and RFC )
    But I don't konw how to call legacy system screen.
    If there is no way calling legacy system screen, I will have to build every screen using web dynpro.
    It's so terrible.
    So I think there is a way calling legacy system screen.
    It's just my opinion.
    If It can call legacy system screen in web dynpro, please let me know how to call it.
    Or, If there is no way calling legacy system, how solve I this problem?
    Thank you reading my question.

    I assume that with "legacy system screen" you mean ABAP Dynp sceens. Of cause it would be attractive to integrate into new BPM processes. However there is a conceptional issue: You could easily integrate them e.g. into a WebDypro using a URL to to the so-called WebGUI (the ITS that makes Dynp screens Web enabled).
    However the Dynp screen store all there state in the ABAP backend. This information is not available to to the process engine, e.g. to set the Task to completed or to use the data in Output Mapping.
    In fact you need a way to wrap the how UI transaction into a WebDynpro screen including data flow.

  • Access Key for Trial Version Web Dynpro ABAP 7.01 and  7.02

    Hi Guys,
               Can someone tell me, what is the Access Key for Trial Version Web Dynpro ABAP 7.01 and 7.02
    Regards
    Sankar

    >
    sankar.cgsl wrote:
    > Hi Guys,
    >
    >
    >            Can someone tell me, what is the Access Key for Trial Version Web Dynpro ABAP 7.01 and 7.02
    >
    >
    >
    > Regards
    > Sankar
    HI Sankar,
    I think it is not to get from this forum. You have to download the trail version and follow the instructions for installation.
    Once you installed the software, you can request for the License key with your SCN credentials.
    Follow this link for 7.02 Trial [/people/horst.keller/blog/2010/12/09/abap-trial-version-702-available-in-scn|/people/horst.keller/blog/2010/12/09/abap-trial-version-702-available-in-scn]

  • Connecting to R/3 System through Java Web Dynpro forms.

    Hi,
    I have a requirement in which I have to send data to R/3
    from Java Web Dynpro screens.
    I will design the Java Web Dynpro screens and write a RFC Model.
    I will write a RFC in se37 which will connect to the RFC Model.
    Before creating the RFC in se37, I will create ztables in se11.
    I will write a ABAP Report to see that all data enters the ztables.
    I need some guidance with regard to this.
    Do, the RFC Model have the access of the ECC(R/3) System.
    What are tasks to be told the Basis guy so, that RFC being called from through Java Web Dynpro?
    Please provide me some documents with regards to this scenario.
    Regards
    Neha Singh

    Hi Neha,
    The steps you provided is clear enough to connect to a R/3 system through the WD forms.
    On creating the model you need to give two inputs such as
    logical system name for model instance
    logical system name for RFC metadata
    there will be 2 default values, also you can create your own JCOs in the <servername>:<port>/devinf of the server or u can ask your basis team also.
    Before creating the JCO , the SLD (System Landscape Directory) needs to be configures, that your basis team will know.
    other than that once you create the functional module in se37 make it RFC enabled , and once you import the RFC model , you can give your ECC system user name and password and search for RFC you have created from the list of RFC.
    Regards,
    Sam Charles J.

  • System Alias in Web Dynpro ?

    Hello All,
    I have a requirement such that in my Web Dynpro application, I need to figure out that the backend R/3 it is trying to connect to, is it a unicode or a non unicode system.
    For this purpose, we maintain an additional alias name for the portal system starting with UNI_ if its a unicode box or NONUNI_ if its a non-unicode box.
    Is there any other better way of storing this information.
    <b>I need to know, how can we fetch all the alias names maintained for a sytem in portal using Web Dynpro APIs.</b>
    Please help.
    Thanks in advance,
    Samta

    Hi,
    import com.sap.portal.pcm.system.ISystem;
    import com.sap.portal.pcm.system.ISystems;
    import com.sap.security.api.umap.system.DummySystemLandscapeWrapperImpl;
    import com.sap.tc.webdynpro.clientserver.portal.impl.PortalUtils;
    DummySystemLandscapeWrapperImpl sysLandscapeImpl = null;
    PortalUtils portalUtils = null;
    ISystems sys = null;
    ISystem system = null;
    String[] allSystems;
    Enumeration allAliases = null;
    String systemName = null;
    String systemAlias = null;
    portalUtils = new PortalUtils();
    sys = (ISystems)portalUtils.getServiceReference(ISystems.KEY);
    allSystems = sys.getAliases();
    for (i = 0; i < allSystems.length; i++)
    sysLandscapeImpl = new DummySystemLandscapeWrapperImpl
    (allSystems<i>.toString());
    allAliases = sysLandscapeImpl.getAllAliases();
    while (allAliases.hasMoreElements())
    systemAlias = allAliases.nextElement().toString();
    Regards
    Ayyapparaj

  • How to make use of Portal service in the web dynpro application

    hi
    I have some portal service and how to use that in the web dynpro application.
    and also what is the main diff between Portal Component and web dynpro application.
    do we required portal to run web dynpro application.
    thanks
    mmukesh

    Hi,
    >> I have some portal service and how to use that in the web dynpro application.
    Yes. U can use Portal service in webdynpro. Check the link given by subathra.
    >> and also what is the main diff between Portal Component and web dynpro application
    Portal Components are components designed to run in portal server while webdynpro application can run in J2EE WebAS.
    >> do we required portal to run web dynpro application.
    No for general cases. Just WebAS is sufficient to run webdynpro appl. But if u use portal service in ur webdynpro appl, then make sure both (portal service and webdynpro appl) run on same J2EE engine. That is mandatory.
    Regards,
    Vijai

  • Integrating a non-Portal system via a web service SSO

    Hi all,
    Hope you could help with this scenario.  There is a request from a client to integrate a non-Portal website into their Portal system via a single-sign on web service.  In particular,
    1.  Portal user will see an iView in the Portal with the following form elements:
         --username field
         --employee ID field
         --submit button
         *there will be no password field because it is already fixed (can be fixed/hardcoded in the web service call)
    2.  Upon clicking the Submit button, the web service call is executed
         --the web service response contains a URL (which is the non-Portal website)
    3.  The Portal automatically displays the contents of the URL in the iView
    Is this a feasible scenario?  What is the best way to implement this?
    Thanks in advance

    Hi Charisse,
    You are going in the right direction. I can give some technical input like you need to create the wsdl and need to create a stub after that using this wsdl and inside this stub all the informations will need to be mentioned.
    Regards,
    Sen

  • Storing Current Logged on User Details in Web Dynpro Java

    Hi Experts,
    My GP Process containd 2 steps:
       - Create Activity
       - Evaluate and Approve
    The user creates the Activity and the manager approves it.
    I have to make sure the User Details are avaialble for the Manager to see.
    How do i store the user details logged on.
    I need the "Name", "Date" and "Time" of the user when he creates the Activity.
    Can somebody guide me how to do it using Web Dynpro java.????
    Thanks a lot.
    Cheers
    Gaurav Raghav

    Hi Gaurav,
    Make use of background callable object which retrieves the logged in user details. If you are using WD and you need the logged in user infomation use the IWDClient . Code for getting this is there in sap help.
    Thanks,Uma.A

  • How configurate a SAP System Registry in Web Dynpro ?

    Hi everybody,
    When i deploy a web dynpro application,
    i obtain the following error:
    "No default system is configured in SAP System Registry"
    In menu Window->Preferences->SAP AS Java,
    i need to register SAP instance.
    However, i don't know how to retrieve the following information of my SAP system:
    - Instance Host ?
    - Instance Number ?
    Need your help!
    Thanks
    Rodolphe

    localhost
    0

  • How to get the Portal System details?

    Hi,
    I have a webdynpro application which has links that the user can click and point to various systems. For instance, there is a link for SAP Transaction,. if the user clicks this link, the SAP transaction is opened as a URL.
    Among, these: There is a SAP transaction for BEX Analyzer (RRMXP).A transaction iview has been configured for this BEX ANALyser. I have a <b>link to URL</b> UI element defined in my application. All i need now is the <b>system and host</b> details of the Portal system (EP), where this transaction iview has been configured. Which is the best way to get the system/host/port details of Portal System (EP). Im not talking about backend, nor of the WAS, but the system where Iviews are configured?

    Hi Christian,
    When i tried this, i got <b>2 errors</b>
    cannot resolve symbol
    symbol  : method getProtocolAdapter ()
    location: interface com.sap.tc.webdynpro.services.task.ITask
    String hostName = TaskBinder.<i>getCurrentTask().</i>getProtocolAdapter ().getServerName();
    cannot resolve symbol
    symbol  : method getProtocolAdapter ()
    location: interface com.sap.tc.webdynpro.services.task.ITask
              int port      = TaskBinder.g<i>etCurrentTask</i>().getProtocolAdapter().getServerPort();
    <b>Questions:
    1. Are we missing any jar files?
    2. Does this work for https?</b>

Maybe you are looking for

  • Can't get 2 exchange accounts, even when push is off?

    Is there no way to have 2 exchange accounts set up at the same time, even when push is off and I just check them manually? Why can't the phone simply check whichever account I choose when I open the mail app instead of limiting it to one account when

  • Configure Network Settings. DHCP is used unless otherwise specified

    Hello I have created a task sequence that is used in multiple domains. In one domain DHCP is not configured and we need to use the "Bootable media that uses the Configmr infrastructure". This bootable media is running fine when DHCP is enabled.  Howe

  • Using Aperture Library from Multiple Computers

    My Aperture library is on an external drive and I have used multiple computers to add files to the library. Unfortunately when I use a different computer than the origin it tells me that the masters are unavailable and I cannot use the image. It tell

  • Want to know top 3 salaries from emp_table

    hello every body....I've a simple table managing the records of employees in an office, its columns r as given: Emp_Id     //Employeed ID Emp_name          //Employee Name Dept_name     //Department Name salary Thep problem I'm facing is that I wanna

  • Infospoke data problem

    Hi All, I am new to BI. I am asked to download data form info cube to flat file. I created a infosopke and provided (infocube) and selected all the infoObjects. After running it it is created a .CSV file on my desktop but, it is only downloading the