Skip to Content
author's profile photo Former Member
Former Member

Get IView Properties and portal details Programatically

Hello Experts,

I have created one WDA application and deployed the same on portal. I need to access iView properties of the iView programatically.

Is there any class in WD which will gives me iView properties like, PCD location, application parameter etc. Also please give me the class name which gives portal details as well on which iView is running.

Thanks,

Prashant

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 01, 2011 at 05:47 AM

    Hi,

    For portal integration we use IF_WD_PORTAL_INTEGRATION, but this interface doesnot provide those details.

    When you run the WDA application from portal, there are some portal person can fill those applciation parameters like Iview name PCD path etc...so that you can read them in WDA application like any other portal parameter.

    Can you search as IF_WD_PORTAL* and CL_WDR_PORTAL* it may help..

    http://help.sap.com/saphelp_nw04s/helpdata/en/27/96b9c8f14e7d498b90a674710dc9c2/content.htm

    Regards,

    Lekha.

    Edited by: Lekha on Jul 1, 2011 11:27 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 01, 2011 at 08:54 AM

    nope, this is not possible . There is no api which allows you to do that from WDA. You can get URL parameters,session info etc but not the level of info you expect .

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2011 at 06:42 AM

    Hello All,

    Thanks for all your help.

    Unfortunately, as there is no methods available to fetch the portal details from WDA, I solved my problem as below :

    1. Created Z table to store configurable values.

    2. Two fields : one is 'Name' and other is 'Value'.

    3. Stored portal server name, PCD location of the iView in the table.

    Thanks,

    Prashant

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.