Calling Portal Application from Custom WD Application

Hi,
I'm developing a custom WD Application which has to call the already implemented ESS application such as Personal Information application and I'm struck with the following questions:
1. Do I have to reuse that particular ESS DC in my current DC?
2. IF I have reused ESS DC, how could I call that Personal Information IView from my WD Application?
Please suggest me.
Regards,
RN

RN,
check this link http://help.sap.com/saphelp_sm32/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/content.htm
Re: WDPortalNavigation.navigateAbsolute question - urgent!
http://wiki.sdn.sap.com/wiki/display/WDJava/creatingahomepageasdashboardusingwebdynproiviews
Thanks
Bala Duvvuri

Similar Messages

  • Calling portal application via it 's url from R/3 (with authentication)?

    Hello,
    how to call portal application by its url from R/3 (using ABAP)? How to avoid authentication screen?
    Best regards,
    Josef Motl

    <i>What I want is to call portal application on background (not to call browser).</i>
    you can use CL_HTTP_CLIENT class or HTTP_GET or HTTP_POST function modules for the same. (but you need to pass the user id /pwd in the program) (ITS doesnt fit your case)
    check out the demo programs.
    for CL_HTTP_CLIENT
    RSHTTP01
    HTTP_GET/POST
    RSHTTP20  
    RSHTTP70  
    RSHTTP90  
    Regards
    Raja
    Message was edited by: Durairaj Athavan Raja

  • Can i call portal service from a j2ee application?

    Hi Experts,
    Can i call portal service from a j2ee application?
    If yes then how?
    If no then is there any other way to achieve the same?
    I m reffering this link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/9ddd0cbb211d72e10000000a1553f6/content.htm
    but not getting any help
    Please help me out.

    Hi,
    Can you check this link?
    http://help.sap.com/saphelp_nw04s/helpdata/en/82/6a0e7bbe744276bf393654b9b576ed/content.htm
    Regards
    Srinivasan T

  • Calling Portal Application Components

    Due to formatting restrictions w/in Portal Application building, I need to be able to create (for example) a report where all headings are blank.
    I'd like to then embed the invocation of the report from a Dynamic Page, where the page will contain all of the formatting for the column headings.
    I've tried embedding the call two ways:
    1) <ORACLE>call RPT_0717092052.show()</ORACLE>
    2) <ORACLE>CALL PORTAL30.RPT_0717092052.show (
    p_arg_names => PORTAL30.wwv_standard_util.string_to_table2('_show_header:_max_rows:_portal_max_rows'),
    p_arg_values => PORTAL30.wwv_standard_util.string_to_table2('YES:25:25'))</ORACLE>
    Neither seems to work.
    Anyone have any ideas how to make this work??

    <i>What I want is to call portal application on background (not to call browser).</i>
    you can use CL_HTTP_CLIENT class or HTTP_GET or HTTP_POST function modules for the same. (but you need to pass the user id /pwd in the program) (ITS doesnt fit your case)
    check out the demo programs.
    for CL_HTTP_CLIENT
    RSHTTP01
    HTTP_GET/POST
    RSHTTP20  
    RSHTTP70  
    RSHTTP90  
    Regards
    Raja
    Message was edited by: Durairaj Athavan Raja

  • Calling Portal event from ABAP class

    Hi Experts,
    I need a following clarificatrion, Please help,
    1. Is it possible to call a webdynpro method from a normal ABAP class?
    2. If no, we need a functionality of a class 'CL_WDR_HTTP_EXT_MIME_HANDLER' having method 'DO_DOMAIN_RELAX_HTML'.
    Is there any alternative method which can be used in ABAP having the same functionality.
    3. Is there any ways with which we can call portal event from ABAP class?
    Thanks,
    Shabir

    >1. Is it possible to call a webdynpro method from a normal ABAP class?
    I wouldn't necessarily recommend this approach. You shouldn't try to trigger events or any of the standard WDDO* methods from outside the WD Component itself.  That said, you can pass the object reference (like the WD_COMP_CONTROLLER object reference or the View Object Reference) into methods of normal classes.  Be careful if you are finding yourself calling a lot of your added methods from outside WD.  This is probably a sign that these methods should be in the Assistance Class or some other Class functioning as a Model Object.
    >2. If no, we need a functionality of a class 'CL_WDR_HTTP_EXT_MIME_HANDLER' having method 'DO_DOMAIN_RELAX_HTML'.
    Is there any alternative method which can be used in ABAP having the same functionality.
    What exactly do you want to do here?  Do you just want to get the relaxation script?  For what purpose?  You should never need to inject the relaxation script into WDA. 
    >3. Is there any ways with which we can call portal event from ABAP class?
    To what purpose.  Do you just want to delegate the triggering of the event that is inside WD Component to be called from a class?  If so you can pass the portal API object reference into a class from the WD Component.  However this only works while running within WD.
    How is this class used?  Are you running in WD?  Are you trying to generate some HTML code that runs in the portal independent of WD?

  • Calling portal service from web service

    Hello,
    I'm trying to call portal service from web service. Is this possible? I'm getting an error.
    For example, code:
    IJCOClientService clientService = (IJCOClientService) PortalRuntime.getRuntimeResources().getService(IJCOClientService.KEY);
    .. is generating exception:
    java.lang.LinkageError: Class com/sapportals/portal/prt/runtime/IPortalRuntimeResources violates loader constraints
    Do anybody knows what's wrong?
    Best regards,
    Josef Motl

    Hi Josef,
    Is the IJCOClientService located on the producer side or on the consumer side?
    Amit

  • Calling Portal APIs from Apex

    I have posted this on the application express forum as well, not sure who will come up with the answer, so here is my question anyway.
    I am trying to call the portal.wwsec_api from within an apex application. The application is parsed using the portal schema so has all the correct grants by default.
    The code I am using is:
    declare
    l_person_rec wwsec_person%rowtype;
    begin
    l_person_rec := wwsec_api.person_info
    p_user_name => 'PORTAL'
    :P3_USER_INFO:=l_person_rec.user_name || l_person_rec.first_name;
    exception
    when others then
    :p3_user_info:=sqlerrm;
    end;
    This code (minus the item references) runs fine in sqlplus, but errors when I run it in apex. I have narrowed it down to the api that is erroring as I can access the table direct.
    Can anyone help with this?
    Thanks

    I have now solved this problem. If you want to access portal apis from apex you need to set a portal context like this:
    portal.wwctx_api_private.set_context( p_user_name => 'portal'
    , p_password => 'portal');
    This shouldn't impact security as the value of p_password does not have to be your schema password it can be set to anything.

  • Calling portal page from Oracle E-suite

    Hi,
    I want to know how to open a portal application from oracle Application forms. The user logins to Oracle apps, and select the 'portal' responsibility. Then it should open the portal application in a web browser.
    Thanks,
    Nishanth.

    Hi,
    Thanks for the quick response. In my case, the user logins with a responsibility and clicks on one of the menus named 'open portal' or something similar and then, it should open up the web page. Will that be possible using this function? I understand that you have to define a function to be associated with a menu and things like that. Any pointers in this direction?
    Thanks,
    Nishanth.

  • How to encrypt Password while calling Portal URL from Abap

    Hi all,
    My requirement is to call portal from R/3 4.6C.  As part of it I'm calling Portal URL along with user id & Password by using the FM CALL_BROWSER. The problem here is User ID & Password are visible everyone in the URL.
    Is there any way that I can encrypt sothat it doesn't become a security issue?
    I really appreaciate for your help.
    Thanks
    Seshu

    can you please mention the abap code  by which you are sending the username and password to a portal via url.....
    are you able to log on to the portal...please share your code ......
    Edited by: Ashutosh Shukla on Apr 18, 2008 9:17 AM

  • [Best practice] How to call a service from custom Java code

    Hi all,
    I'm wondering what the best method is to call a standard service from custom Java code?
    In a specific situation iDoc script is extended with custom functions with a custom component. There's Java code mapping to these functions that is executing these functions. The iDoc script functions are called from a workflow entry script.
    In the Java code that runs when the custom iDoc functions are called, I want to call a standard Content Server service. I don't think that the m_service variable is available, so filling the binder and using m_service.executeService() probably isn't possible.
    Also, if it were possible (that is, if I want to call a standard service from my own custom service Java code), what would then be the best method to do so?
    Regards, Stijn

    Hi Sapan,
    Let me explain a bit further.
    I'm an UCM consultant trying to solve a problem that occured at a client when they installed the CS10gR35CoreUpdateBundle.
    Content items are entered into a Workflow when they are checked in. Part of one of the entry scripts of the a workflow step is that related content to the content item in the workflow is (re)submitted for conversion.
    To achive this, a custom component provides an iDoc script extension. This iDoc function (resubmitForConversion) is implemented in Java (the class extends ScriptExtensionsAdaptor).
    In this Java method, first the related content items are fetched. Then the service RESUBMIT_FOR_CONVERSION should be called for all dID's in of the related content.
    Thus, at a certain point in the custom Java code, a native Content Server service must be called. Of course the class of this Java code does not extend the Service class, so the m_service object isn't available.
    The thing is: before installed the 10gR35CoreUpdateBundle everything worked OK. This code was used to execute the service:
            Workspace workspace = CommonUtils.getSystemWorkspace();
            String cmd = binder.getLocal("IdcService");
            if (cmd == null) throw new DataException("!csIdcServiceMissing");
            ServiceData serviceData = ServiceManager.getFullService(cmd);
            if (serviceData == null) throw new DataException(LocaleUtils.encodeMessage("!csNoServiceDefined", null, cmd));
            Service service = ServiceManager.createService(serviceData.m_classID, workspace, null, binder, serviceData);
            UserData fullUserData = CommonUtils.getFullUserData(userName, service);
            service.setUserData(fullUserData);
            binder.m_environment.put("REMOTE_USER", userName);
            ServiceException error = null;
            try {
                service.setSendFlags(true, true);
                service.initDelegatedObjects();
                service.globalSecurityCheck();
                service.preActions();
                service.doActions();
                service.postActions();
                service.updateSubjectInformation(true);
                service.updateTopicInformation(binder);
            } catch (ServiceException e) {
                error = e;
            } finally {
                service.cleanUp(true);
                if (!CommonUtils.isWorkspaceConnectionInTransaction(workspace)) {
                     workspace.releaseConnection();
            }the first problem was that the CS began to complain that a transaction was started within another transaction. So I suspect that the 10gR35 update wrapped a transaction around a workflow script entry.
    With some decompiling I figured out how a service is called from iDoc with the <$executeService()$> command. So I replaced the code above with:
                  String cmd = binder.getLocal("IdcService");
                ServiceData serviceData = ServiceManager.getFullService(cmd);
                if (serviceData == null) throw new DataException(LocaleUtils.encodeMessage("!csNoServiceDefined", null, cmd));
                Workspace workspace = CommonUtils.getSystemWorkspace();
                Service service = ServiceManager.createService(serviceData.m_classID, workspace, null, binder, serviceData);
                UserData fullUserData = CommonUtils.getFullUserData(userName, service);
                service.setUserData(fullUserData);
                binder.m_environment.put("REMOTE_USER", userName);
                service.initDelegatedObjects();
                service.executeSafeServiceInNewContext(cmd, true);This solved the transaction problem but introduces another problem: !csUnableToResubmitItem,(null)!csIllegalScriptAccess,RESUBMIT_FOR_CONVERSION
    The Service Reference Guide says that the access level for RESUBMIT_FOR_CONVERION is 33 (Read, Scriptable). However, in shared/config/resources/std_services.htm the access level is specified as 2 (write).
    Thus, my question still is:
    What is the best method to call a standard Content Server service from any Java code (so without extending the Service class, or having the m_service object available)?

  • Call portal service from page or iview

    Hello All,
    I have an portal applction(PAR) which is returning a value suppose 'X'.
    Now my requirement is to call this portal service from page.
    How may i do this?
    Regards.
    Punit
    Edited by: Punit Singh on Feb 25, 2011 9:30 PM

    Hi
    You can call the IPortalService API as in this [thread|how to call a portal service;
    Regards
    johann

  • Calling Portal application from current webdynpro java application

    Hi Experts,
    We are having Portal 7.4 SP6 framework.
    Application-A -> Web-dynpro java program pushing data into R/3 using BAPI.
    Application-B -> Std. WD-ABAP iView template.
    Currently, I am working in web-dynpro java program, where I am pushing some data into R/3 using BAPI in Application-A. And this BAPI data is getting displayed in another z-Tcode and displayed in portal using web-dynpro Abap iView template, which is Application-B
    Now I want to align this application, so that Application- A should call Application-B from within the WD-Java framework. And here Application-A should get closed and open application-B.
    Is there any standard process using Web-dynpro Java to handle such scenario.
    Regards,
    Hanif

    Hi Siddharth,
    Well, I think you can go for Portal Navigation concept.
    Please check the required source code in WDR_TEST_PORTAL_NAV Web Dynpro component. That will illustrate both Page based Navigation and Object based Navigation.
    Hope that should solve your problem.
    Regards
    <i><b>Raja Sekhar</b></i>

  • Calling Portal iView from a WebdynPro ABAP application

    Hi ,
    I have a requirement where I need to call an iView in my portal from the Webdynpro application also existing in the portal.
    Can anyone provide me the method with source code( if possible ) to call an iView existing in the portal from the WebDynPro ABAP application.
    Best Regards
    Sid

    Hi Siddharth,
    Well, I think you can go for Portal Navigation concept.
    Please check the required source code in WDR_TEST_PORTAL_NAV Web Dynpro component. That will illustrate both Page based Navigation and Object based Navigation.
    Hope that should solve your problem.
    Regards
    <i><b>Raja Sekhar</b></i>

  • Calling a method from custom Class in WD Application

    Hi,
    I wrote a piece of code in method SEARCH for my WD Application.
    Instead of diectly callling the method I would like to create a class and then call the method.
    How do we proceed?
    Do we use SE24 first or can we start creating class from WD application itself?
    Rgds
    vara

    Hi Vara,
    Either way it is possible if you are creating from web dynpro then you can create  assistance class from component properties there you can write one method and to access that method always you have an instance wd_assist.
    From se24 create a class and declare a method. if you declare level of method is instance then you have to create object first in application and then access your method using created instance.

  • Calling portal screen from workflow and required two level approvals to approve in portal

    Hello Experts,
    I have a requirement that, I would trigger a process order approval workflow from SRM SUS portal. Agent when he clicks the link in the attached mail, it has to take him to the portal screen to approve and it has to go to next level manager for the approval. Once both the managers approves, the approved quantity should be reflected in the SRM SUS portal for the order.
    I have good experience in SAP WORKFLOWS in ECC. However; I have never worked on workflows through webdynpro and never worked on SRM portals as well.
    Please help me in completing this scenario. I have found the proper button in the portal to trigger the workflow. Please guide me the best approach to design and how should I pass webdynpro application link to agent mail with the parameter Order. and how can i bring the control back to my workflow.
    Please help me in
    Thanks in advance. Points will be rewarded.
    Govardhan Rao.

    Hi,
    Check out this link.
    [Re: Workflow Notification problem-URL text is broken in middle.]
    Hope it helps.
    Regards,
    Raj

Maybe you are looking for

  • Connecting replacement ipod to old itunes

    so here's the thing: last week my ipod broke so they replaced it. now i got a new ipod, but it wont show up on my itunes. i tried downloading the new ipod software, but it still wont show up on my itunes! i dont want to reinstall my itunes, b/c i don

  • 1.1.2 Removed Contact Names From Dialing

    First off this is my first post in here at Apple so I've got to make it know that I love the products I own (iPhone and 4th Generation iPod). iPhone has made life easier for me since I'm on the go and needed a really good smart phone. On to my questi

  • Photoshop crashes when i access the directory pulldown...

    greetings, All my Adobe programs crash when i use my pulldown directory menu on the "open window". It also doesn't remember the last directory i was in, it takes me back to the desktop every time. i hope this makes sense... for example--i'm in photos

  • Reg Workflow templates

    Hi all, I ceated an ad hoc workflow with multiple steps.I see this workflow in WorkFlow templates. I want to create a new workflow with exctly the same steps. Can I use the existing Workflow template. I am not sure as to How can we use the functional

  • Error when try to change a query in RRMX

    Hello, I have a query that another developper created and when i try to change it, i receive a error message "Entry not found" in tcode RRMX. How can i recover this query and change it? This query is standard. Thanks and best regards, Maria