Gain access to portal application code in portal 7.3

Hello,
I'm particularly interested in a code of tclmitsamuimain~wd floorApp, this is a web dynpro (probably) application that displays the current active sessions of the users in portal.
since the previous API's to get such information are deprecated, i tried to look for the WAR of the application, perhaps it wont be encoded, but unfortunately it is.
Is there another standard way of getting access to such a code? or should i go to the idea of decompiling the classes ?
thanks!

Hi Eli,
In general, decompiling SAP classes often brings you further, even if in WD cases this is less straight forward than in classical cases, as the model-driven approach does not always produce easy-to-follow implementations. Nevertheless, at least to get the insight, it makes sense.
SAP (normally) does not deliver the source code of the core Java implementation of the WAS / the portal / ...
Hope it helps
Detlev

Similar Messages

  • Could not find portal application com.sap.portal.umeregistration

    Hi friends,
    We have migrated the portal from EP6 SP2 to NW'04 SPS 18. KMC and the portal migration has been done successfully. Now i can login with my ID in the new portal. But after migration some of the iviews stopped working and I am getting the error
    "Page could not create the iView."
    on the screen. In the log file the root cause is
    "Caused by: com.sapportals.portal.prt.core.broker.PortalApplicationNotFoundException: Could not find portal application com.sap.portal.umeregistration"
    Do you have any idea?
    Regards,
    Nilesh Patil

    Bhupesh,
    In EP7.0, you can access the log files in a different way.
    1) Directly accessing the log file on the server. location is <drive>:\usr\sap\<SID>\<instance_number>\j2ee\cluster\server0\log\defaultTrace.<n>.trc
    2) Accessing it through Visual Administrator. Go to the Server -> Services -> Logviewer
    3) Accessing the log file through Netweaver Administrator from Portal. URL for Netweaver Administrator is http://<Portal Server>:50xxx/nwa -> Login with Portal user/pass -> Monitoring -> Logs and Traces -> select predefined view -> Default trace.
    I hope this helps.
    Regards,
    Gowri

  • POrtal application object - Abstract Portal Component, Location dropdown.

    Hi
    I am creating a Portal application project in NWDS.
    Inside this project I am creating a POrtal application object -> Abstract Portal Component.
    Now, there is a dialigue box which appears, prompting for object name and package.
    In the same dialogue box there is an additional dropdown box for Location.
    It has two values "api" and "core".
    What does these mean.
    Thanks

    The location of the new Java class file determines whether other applications can reference the classes. Generally, the choice is only meaningful when defining services and the interfaces to make available to those applications the reference the service.
    You can specify one of the following:
    ■      Core (default): Places the file in the src.core project directory, and makes it private.
    ■      API: Places the file in the src.api, and makes it public.
    Regards,
    Khushboo

  • IView from portal application in SAP Portal 7.3

    Hi,
    I´m starting with SAP Portal 7.3 and I have developed a hello word JSPDynpage with NWDI 7.3.
    I have successfully deployed it to the server and I can see my application under Portal applications, and do a success preview.
    But I´m not able to create an iView from this portal component.
    How do you create an iView from a deployed custom portal component?
    In other words, what is the alternative way of u201Cnew iView from paru201D in the new portal version?
    Thanks a lot.

    Dear Alberto,
    Check this post.
    Might help.
    PCD content of Netweaver 7.0 available in Netweaver 7.3
    Kind Regards
    /Ricardo Quintas

  • Portal application sync using Portal APIs

    Hi All,
    I am trying automate the EBCC sync process using Portal APIs. I think it's very
    common since it avoids the manual sync process & helpful in creating batch process
    using Ant. Is anybody did this before??, please let me know if you have any suggestions
    etc.
    Many thanks
    Zulfi

    Many thanks Deepak, It works now...
    Cheers
    Zulfi
    "Deepak Shetty" <[email protected]> wrote:
    >
    should not url be
    http://localhost:7501/portalAppDataSync/DataSyncServlet ?
    also what does the server side log show? are you able to connect to your
    datasync
    servlet
    i am not sure whether this is a weblogic error caused due to some other
    reason
    i have only done this with 4.0 not 7.0 so im not sure if this works
    bye
    deepak
    "Zulfiqar" <[email protected]> wrote:
    I am posting the Ant script since it has been deleted by the system..don't
    know
    why.
         <property name="basedir1" value="C:/bea/user_projects/sourceDomain/beaApps"/>
         <property name="deploy.system.username" value="system"/>
         <property name="deploy.system.password" value="password"/>
         <property name="deploy.syncmode" value="refresh-from-client"/>
         <property name="url" value="http://localhost:7501/portalAppDataSync"/>
         <property name="basedir" value="C:/bea/user_projects/sourceDomain/beaApps"/>
         <property name="ebcc.lib.dir" value="C:/bea/weblogic700/ebcc/lib"/>
         <property name="weblogic.lib.dir" value="C:/bea/weblogic700/server/lib"/>
         <target name="Sync">
              <java fork="true" classname="com.bea.p13n.management.data.DirectoryDataSync">
                   <arg value="-root"/>
                   <arg value="${basedir1}/portalApp-project"/>
                   <arg value="-user"/> <arg value="${deploy.system.username}"/>
                   <arg value="-password"/> <arg value="${deploy.system.password}"/>
                   <arg value="-mode"/> <arg value="${deploy.syncmode}"/>
                   <arg value="-url"/> <arg value="${url}"/>
                   <classpath>
                        <pathelement location="${weblogic.lib.dir}/weblogic.jar"/>
                        <pathelement location="${ebcc.lib.dir}/ext/jdom.jar"/>
                        <pathelement location="${ebcc.lib.dir}/ext/HTTPClient.jar"/>
                        <pathelement location="${ebcc.lib.dir}/ext/p13n_system.jar"/>
                        <pathelement location="${ebcc.lib.dir}/ext/p13n_util.jar"/>
                   </classpath>
              </java>
         </target>
    Cheers
    Syed
    "Zulfi" <[email protected]> wrote:
    Thanks Deepak, i tried on this in Portal server 7.0 by writing the
    Ant
    script which
    is attached here. It gave some errors related to XMLMarshalling. The
    Ant script
    is,
         <property name="basedir1" value="C:/bea/user_projects/sourceDomain/beaApps"/>
         <property name="deploy.system.username" value="system"/>
         <property name="deploy.system.password" value="password"/>
         <property name="deploy.syncmode" value="refresh-from-client"/>
         <property name="url" value="http://localhost:7501/portalAppDataSync"/>
         <property name="basedir" value="C:/bea/user_projects/sourceDomain/beaApps"/>
         <property name="ebcc.lib.dir" value="C:/bea/weblogic700/ebcc/lib"/>
         <property name="weblogic.lib.dir" value="C:/bea/weblogic700/server/lib"/>
         <target name="Sync">
              <java fork="true" classname="com.bea.p13n.management.data.DirectoryDataSync">
                   <arg value="-root"/>
                   <arg value="${basedir1}/portalApp-project"/>
                   <arg value="-user"/> <arg value="${deploy.system.username}"/>
                   <arg value="-password"/> <arg value="${deploy.system.password}"/>
                   <arg value="-mode"/> <arg value="${deploy.syncmode}"/>
                   <arg value="-url"/> <arg value="${url}"/>
                   <classpath>
                        <pathelement location="${weblogic.lib.dir}/weblogic.jar"/>
                        <pathelement location="${ebcc.lib.dir}/ext/jdom.jar"/>
                        <pathelement location="${ebcc.lib.dir}/ext/HTTPClient.jar"/>
                        <pathelement location="${ebcc.lib.dir}/ext/p13n_system.jar"/>
                        <pathelement location="${ebcc.lib.dir}/ext/p13n_util.jar"/>
                   </classpath>
              </java>
         </target>
    You can also see the detailed information on the attached doc. Please
    let me know
    if anybody has any clue.
    Thanks
    Zulfi
    "Deepak Shetty" <[email protected]> wrote:
    For portal 4.0 i think
    <java fork="true" classname="com.bea.p13n.management.data.DirectoryDataSync">
    <arg value="-root"/>
    <arg value="${basedir}/ebcc/portal-project/application-sync"/>
    <arg value="-user"/>
    <arg value="system"/>
    <arg value="-password"/>
    <arg value="${deploy.system.password}"/>
    <arg value="-mode"/>
    <arg value="${deploy.syncmode}"/>
    <arg value="-url"/>
    <arg value="http://${deploy.bindaddress}:${deploy.port}/portalDataSync/DataSyncServlet"/>
    <sysproperty key="bea.home" value="${deploy.bea.home}"/>
    <classpath>
    <pathelement location="${deploy.wls6.home}/lib/weblogic.jar"/>
    <pathelement location="${deploy.wlp4.home}/lib/ext/jdom.jar"/>
    <pathelement location="${deploy.wlp4.home}/lib/ext/HTTPClient.jar"/>
    <pathelement location="${deploy.wlp4.home}/lib/p13n_system.jar"/>
    <pathelement location="${deploy.wlp4.home}/lib/p13n/ejb/p13n_util.jar"/>
    </classpath>
    </java>
    inside an ant target should be what you would want to do
    HTH
    deepak
    "Zulfiqar" <[email protected]> wrote:
    Hi All,
    I am trying automate the EBCC sync process using Portal APIs. I think
    it's very
    common since it avoids the manual sync process & helpful in creating
    batch process
    using Ant. Is anybody did this before??, please let me know if you
    have
    any suggestions
    etc.
    Many thanks
    Zulfi

  • SSO to J2EE application from SAP Portal

    Hi
    I am trying to do SSO from SAP Portal to a J2EE engine which runs on SAP Web AS.
    Here are my queries
    1. When I deploy a J2EE application on Web AS , I dont get any login screen. How can I make sure that if a user wants to access this J2EE application he should get a login screen and provide his login credentials first, only then would he be able to access the J2EE application.
    2.When I am done with Part 1. If a user tries to access this J2EE application from the Portal (asuming the user Id's in Portal and J2EE application are same and both are in the same domain) , I should not get any login screen and should be able to view the J2EE application.
    3.I want to use SAP Logon tickets generated by the Portal to enable SSO.
    I have done all the necessary configurations in the J2EE server.
    1. Imported the Portal's verify.der certificate.
    2. Adjusted the login modules stack for the application accordingly.
    Can anyone please help me out with this or throw some light.
    Please help.
    Thanks in advance,
    Vivek
    PS - Points will be definitely rewarded

    Hi Vivek,
    Let me give you the solution for both questions differently.
    <b>Ques 1. When I deploy a J2EE application on Web AS , I dont get any login screen. How can I make sure that if a user wants to access this J2EE application he should get a login screen and provide his login credentials first, only then would he be able to access the J2EE application.</b>
    <b>Ans:</b> For doing this in the code of your J2EE application you have to write a if statement which will check if the user ID is coming from the backend or not. If yes then you display that logon page else you just pass that username which is coming from backend and displ;ay the page accordingly.
    <b>Ques 2.When I am done with Part 1. If a user tries to access this J2EE application from the Portal (asuming the user Id's in Portal and J2EE application are same and both are in the same domain) , I should not get any login screen and should be able to view the J2EE application.</b>
    <b>Ans:</b> Yes, this is what I am explaining you. Even I had also made same kind of J2EE application in which if the user is coming from the backend then he/she will look the J2EE screen else if the username is not coming then he will se the Login screen. Exactly same as what are looking for.
    <b>3.I want to use SAP Logon tickets generated by the Portal to enable SSO.</b>
    <b>Ans:</b> I have used User Mapping instead of SAP Logon ticket. Well that is also the option for SSO but personally I think User Mapping is easy and better way for implementing SSO.
    I dont know whether this will help you or not. Please let me know. I can definately help if you want to implement SSO using User Maping.
    Regards
    Pravesh
    PS: Please dont forget to reward points.

  • Portal application can't read request info

    hi all,
    i use  portal application for change portal user's infos.but when i sent request info,
    request.getServletRequest().getInputStream() method is cutting my sending line after 90. character.
    in R3 side i use HTTP_POST function and fill request info (table paramater).
    i tried to send 2 line(less than 90 character) in request info, but i can't read second line in java code.
    Is IPortalComponentRequest accept only 90 character ?
    how can i solve this problem , any idea ?
    my code is below, variable "str" is filling only first 90 character;
         protected void doOnNodeReady(
                   IPortalComponentRequest request,
                   IEvent event) {
         String str = "";
         try {
              InputStream is = request.getServletRequest().getInputStream();
              InputStreamReader isr = new InputStreamReader(is);
              int c;
              while ((c = isr.read()) > -1) {
              str = str + (char) c;
                } catch (java.io.IOException ex) {
                 str = "Error accessing input stream";
    thanks

    New discovery...If I shut down all instances of IE on my machine, then reopen my test form, it works. Once. The second time I try it I get the same peculiar behavior again, until I again shut down all instances of IE.

  • Run Portal Application

    Hi,
    I have Portal Application(created using JSPDynPage) in my Eclipse 2.1(with PDK plugins). This Application is build properly. Eclipse is installed locally on my machine
    Now i want to run this Application but as my Portal server is accessible only through VPN i cannot deploy it.
    I tried doing the same i.e. deploying the application on Portal using host name, port etc entries and then i run it using Portapp.xml file but as expected it didn"t work.
    Please let me know how to run this application.
    Thanks

    Hi Ankit,
    If i am not wrong i believe you have problems with deploying the portal application to the portal server and then accessing that portal application.
    Your application is ready to be deployed to the portal server.
    There are two options for remote deployment.
    - Once connectivity is done you can directly deploy from the NWDS.
      But as u said u are getting connected through VPN , the ports need to be    opened in the N/W , the J2EE http porta and SDM ports.
    - If you have the Sys Admin Role/Java Developer Role , you can use the Archive Uploader tool to upload the application.
    Go to System Admin>Support>Portal Runtime>Admin Console>Archive Uploader
    Hope this helps........
    Priyabrata

  • How to run a  portal application in EP

    Hi all,
    I can upload and download .bak  files from System admin-> support>portal runtime>browse  .
    After customization i can upload it back also to the portal by System admin>   Support>Admin consolse.
    How am i to run this portal application in the portal . I need to test wheather  the customization i have done to the components are correct or not?

    Hi Shobhendra,
    You can also run your component by calling the URL as:
    http://localhost:50000/irj/servlet/prt/portal/prtroot/<b>YourApplicationName</b>.<b>YourComponentName</b>
    YourApplicationName = ApplicationName is par file name
    YourComponentName = To know the ComponentName, Check your PortalApp.xml <component name="<b>YourComponentName</b> "> tag
    Greetings,
    Praveen Gudapati

  • Any sample portal application available for weblogic 10?

    In Weblogic portal 8.1 installable we have something called portalApp which contains a couple of portal applications like sample portal and tutorial portal which contains lot of sample portlets, portals etc but in weblogic portal 10 I am unable to find any such sample application. Is there any sample application available in weblogic portal 10.0?

    Unfortunately there is no sample portal application for WLP 10.

  • End user - Access denied by application security check

    Hello all,
    Being a new Apex developer, I'm really hoping someone can point out the magic solution to this problem. I have just created my first Apex application and have only 3 end users who will be using it. I create their username and passwords as the admin and everything is fine, until they try to log on. That's when I get the Access denied... error. However, if I switch them from an end user to a developer, they are magically able to log in and access the application (as a developer obviously). I should mention they are internal users and have internal account credentials, so it shouldn't be this difficult.
    This is particularly maddening because I have tried every combination of authorization and authentication I can think of. I am at the point where there is no authorization scheme and it still won't let them in.
    Searching through the forums, I've come across threads that mention this error when an Admin tries to log on, but not an end user.
    If anyone has ANY ideas, it would be most appreciated.
    Thanks,
    Ben

    Hi,
    What URL have you given to the users to gain access to the application. Are they trying to access it via the developer login?
    What version of APEX/oracle are you using.
    APEX using embedded PL/SQL gateway should look something like this
    http://hostname:port/apex/f?p=101 where 101 is the application id
    APEX using Apache
    The URL should look something like this
    http://hostname:port/pls/apex/f?p=101 where 101 is the application id
    Regards
    Paul

  • Customize Portal application to access Dev/Test/Production SAP systems

    Hi All,
    We have requirment from client, to develop a custom portal application.
    1. When user login into Testing portal (eg., Development or Testing system or UAT system or Production system) and want to access the all (Dev / Tes / UAT / PRD) system SAP GUI with SSO concept from customize portal applciation once he select the dropdown list either Dev/Test/UAT/ PRD.
    Our code.....
    in layer-config.xml file, we have defined systems
    - <layer-config>
    - <system>
      <layer>Dev</layer>
      <internal>true</internal>
      </system>
    - <system>
      <layer>Test</layer>
      <internal>false</internal>
      </system>
    - <system>
      <layer>PRD</layer>
      <internal>false</internal>
      </system>
      </layer-config>
    In Java code
    public class Accesstoall extends AbstractPortalComponent {
         public void doContent(
              IPortalComponentRequest request,
              IPortalComponentResponse response) {
              response.write("Select the system");
              try {
                   LaunchpadConfigReader reader =
                        new LaunchpadConfigReader(
                             request.getPrivateResourcePath()
                                  + "/"
                                  + "layer-config.xml");
                   for (int i = 0; i < reader.getBackendSystemConfig().size(); i++) {
                        response.write("<br>"+
                             reader.getBackendSystemConfig().get(i).toString());
                        if (reader
                             .getm_backendSystemURLInternal()
                             .get(i)
                             .toString()
                             .equalsIgnoreCase("true")) {
                             response.write(
                                  "<a href='"
                                       + "http://vep"
                                       + reader.getBackendSystemConfig().get(i).toString()
                                       + "wd.eu.xerox.net:8219/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.Transaction?System=SAP_BW&TCode=SE38&Gui=WinGUi"
                                       + "'>launch system</a>");
                        } else {
                             response.write(
                                  "<a href='"
                                       + "https://ep"
                                       + reader.getBackendSystemConfig().get(i).toString()
                                       + "ns3.eur.xerox.com/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.Transaction?System=SAP_BW&TCode=SE38&Gui=WinGUi"
                                       + "'>launch system</a>");
    I want to call the XML value in JSP file as dropdown list and once dropdown selected, user needs to display link of SAP GUI system in table.
    Please can you advise which approach will be the best on external and internal portal.
    Appreciate on your feedback.
    Thanks,

    Hi Praveen,
    for internal portal, you can create 4 different system object in portal landscape for 4 different systems and then implement sso between portal to those system and use sap transaction iview
    for external portal, go with your way.
    Regards,
    Sen

  • Problem in accessing images in the KM from Portal code.

    Hi All,
    I need to develop a portal application that accesses the KM and displays the images that are stored in the KM to the user. There are 8 images which are stored in the /documents/Images directory in the KM. The user should be able to see the next image in the KM by clicking on the 'Next' button of the JSP and the previous image in the KM by clicking on the 'Previous' button of the JSP.
    Below is the code which reads the KM and displays the images. However, the images that are displayed are not in a proper sequence. Also when the user clicks on the 'Next' button and arrives to the last image, although i disable the 'Next' button, when the user clicks on the 'Previous' button the user is not able to see the previous image. Infact the KM tries to display the next image which is not present and hence throws an IndexOutOfBoundsException. This happens vice versa for the 'Previous' button as well.
    Any help would be highly appreciated and rewarded.
    JSP Dynpage
    package com.ltitl.image;
    import com.ltitl.bean.ImageBean;
    import com.sap.security.api.IUser;
    import com.sapportals.htmlb.event.Event;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.JSPDynPage;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.prt.component.IPortalComponentProfile;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.portal.prt.component.IPortalComponentSession;
    import com.sapportals.portal.security.usermanagement.UserManagementException;
    import com.sapportals.wcm.repository.ICollection;
    import com.sapportals.wcm.repository.IResource;
    import com.sapportals.wcm.repository.IResourceContext;
    import com.sapportals.wcm.repository.IResourceList;
    import com.sapportals.wcm.repository.ResourceContext;
    import com.sapportals.wcm.repository.ResourceException;
    import com.sapportals.wcm.repository.ResourceFactory;
    import com.sapportals.wcm.util.uri.RID;
    import com.sapportals.wcm.util.usermanagement.WPUMFactory;
    public class ImageControl extends PageProcessorComponent {
      public DynPage getPage(){
        return new ImageControlDynPage();
      public static class ImageControlDynPage extends JSPDynPage{
        public static ImageBean imageBean = null;
        public static IResource resource = null;
        public static IResourceContext resourceContext = null;
        public static IPortalComponentSession componentSession = null;
        public static IPortalComponentRequest request = null;
        public static IPortalComponentProfile profile = null;
        public static IUser user1 = null;
        public static RID rid = null;
        public static int count = 0;
        public static int total = 0;
        public static IResourceList children = null;
        public void doInitialization() throws PageException{
          request = (IPortalComponentRequest)this.getRequest();     
          componentSession = request.getComponentSession();
          profile = request.getComponentContext().getProfile();
          user1 = request.getUser();
          imageBean = new ImageBean();
           try
                   com.sapportals.portal.security.usermanagement.IUser user =  WPUMFactory.getUserFactory().getEP5User(user1);
         resourceContext = new ResourceContext(user);
         String imagepath = profile.getProperty("PathToFolder");     
         rid = RID.getRID(imagepath);
         resource = ResourceFactory.getInstance().getResource(rid,resourceContext);
         if(resource != null)
                 if(resource.isCollection())
                          ICollection collection = (ICollection)resource;
                          total = collection.getChildrenCount(true,false,false);
                          imageBean.setTotal(total);
                          children = collection.getChildren();
                          accessResource();
                     else
                          imageBean.setMsg_txt("resource " + resource.getName() + " is not a collection");
                else
                     imageBean.setMsg_txt("resource " + resource.getRID() + " does not exist");
              componentSession.putValue("imageBean",imageBean);
           } catch (UserManagementException ume) {
                imageBean.setMsg_txt("exception:" + ume.getLocalizedMessage());     
           catch(ResourceException ue) {
                imageBean.setMsg_txt("exception:" + ue.getLocalizedMessage());     
        public void doProcessAfterInput() throws PageException {
              IPortalComponentSession session = ((IPortalComponentRequest)this.getRequest()).getComponentSession();
              imageBean = (ImageBean)session.getValue("imageBean");
              if(null != imageBean) {
                   accessResource();
              else
                   imageBean.setMsg_txt("Image Bean null");
        public void doProcessBeforeOutput() throws PageException {
          this.setJspName("ImageOutput.jsp");
        public void onPrevious(Event event) throws PageException {
             --count;
         public void onNext(Event event) throws PageException {
              ++count;
    public void accessResource() throws PageException {
    try {
    if(count >= 0 && count < total)
    IResource resImg = children.get(count);
    imageBean.setCount(count);
    imageBean.setMsg_txt("count: " + count);
    imageBean.setInitialPath("/irj/go/km/docs");
    imageBean.setImageName("" + resImg.getRID());
    else
    imageBean.setMsg_txt("out of bounds count:" + count);
    } catch (ResourceException e) {
         imageBean.setMsg_txt("resource exception:" + e.getLocalizedMessage());

    ImageBean
    package com.ltitl.bean;
    import java.io.Serializable;
    public class ImageBean implements Serializable {
         public String imageName;
         public String msg_txt;
         public String initialPath;
         public int count;
         public int total;
          * @return
         public String getImageName() {
              return this.imageName;
          * @param string
         public void setImageName(String string) {
              imageName = string;
          * @return
         public String getMsg_txt() {
              return this.msg_txt;
          * @param string
         public void setMsg_txt(String string) {
              msg_txt = string;
          * @return
         public String getInitialPath() {
              return initialPath;
          * @param string
         public void setInitialPath(String string) {
              initialPath = string;
          * @return
         public int getCount() {
              return count;
          * @return
         public int getTotal() {
              return total;
          * @param i
         public void setCount(int i) {
              count = i;
          * @param i
         public void setTotal(int i) {
              total = i;
    Hope this helps.

  • Access to Entity Service from Portal Application

    Hi Experts,
    I have a hybrid application which will be making use of both Web Dynpro and Portal Applications. I decided to use Entity Services to store my back-end data and can access it fine from the Web Dynpro project. I have included the public part of my CAF project into the Used DCs of my Portal project and while I am able to call the methods of the Entity Service at compile time, at runtime I receive an error message on the page:
    An exception occurred while processing a request
    I know in order to get this to work for Web Dynpro I had to include sap.com/tccolapi.sap.com/cafruntimeuicouplingapilib as a Library Reference and a few Used DCs, but while I have added the Used DCs to the Portal project, I am unsure of how to add the Library Reference. I assume this has to be added to portalapp.xml, but I don't know the syntax.
    Could somehow please reply with how to do this and whether this is all that is required in order to call Entity Service methods from Portal applications?
    Thanks,
    JP

    Hi Smith,
    Write click on the Project then goto the Properties=>Webdynpro References=>Library references
    add
    caf/eu/gp/api
    sap.com/cafruntimeuicouplingapilib
    And add the following DC in your project.
    1> External in caf/eu/gp/api (CAF domain)
    2> caf/eu/gp/api/wd (CAF domain)
    3> com.sap.security.api.sda (SAP-JEE)
    portalapp.xml
    <?xml version="1.0" encoding="utf-8"?>
    <application>
    <application-config>
    <property name="SharingReference" value="usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal, SAPJ2EE::library:cafeugp~api"/>
    </application-config>
    <components/>
    Check this thread .
    Using CAF GP API in Portal Application project
    Regards,
    Mithu

  • Code generate report in excel format from portal(Application Server)

    Hi all
    Please give some solution with code generate report in excel format from
    oracle portal(Application Server).

    Not feasible.
    Why? Because "the Excel format" is a binary and proprietary Microsoft file format. And writing a generator to generate Excel files will be complex, and resource expensive. In the vast majority of cases this will not be justified.
    As an alternative the very basic Microsoft XML office format can be used. But note that this is not a a ISO standard (it has been shot down in flames) - and effort and resources for that would be better spend on the Open Document XML standard (which very likely will be ratified as the ISO standard instead).
    Of course, you could have meant a CSV file - in which case, you need to play close attention to details. CSV is not an Excel format. A software designers and developers, our success is determined by attention to technical detail. In which case you are not paying any attention to technical detail by confusing CSV with Excel.

Maybe you are looking for

  • Unable to save a report in Unified Intelligence Center

    Hello, When I generate any report it displays fine but when I tried saving it using IE9.0 64 or 256 bit it tries to save the report but the status stays as "Saving New Report Agent detail report" until I close the browser. I'm able to save the report

  • Crystal report parameter defalut values in infoview

    Hi All,             I am working on crystal reports, and  i have created a local variable in the crystal and set a default value. I aslo deploy it to the BO enterprise . When i open the report from the infoview, the default values which was set in cr

  • Adobe Reader X produces "gibberish"; Adobe Reader 9.4.0 works fine

    I have a program that does certain things, but the code is irrelevant: I can manually duplicate the process. 1. I have C:\Users\Me\Temp\Report.PDF.  I can open it and it is perfectly readable. 2. I set the printer preferences (output file name, outpu

  • Advice On Upgrade

    Hi Guys, I currently run Adobe CS4 Production Premium on Windows Xp and looking to upgrade to CS 5.5. What I would like to know is how do i go about upgrading to CS 5.5 on a new pc I'm about to purchase which has Windows 7. Do I install CS4 first the

  • TS1292 Can I find a way to redeem my iTunes gift card that's not readable?

    My itunes gift card , isn't readable . Can I find a way to restore it ??