Function or method which returns the full PDC path of webdynpro iview

Hi All,
I have created a webdynpro application and created a webdynpro Iview in portal and attached this view to a role.  I am looking for any standard function module or method which returns the full PCD path of the webdynpro iview, when it executed from portal.
Regards,
H.K.Hayath Basha.

Well in ABAP, we don't have portal APIs to access potal catalog info.
The only available Portal Interface is IF_WD_PORTAL_INTEGRATION
Abhi

Similar Messages

  • View or function to return the full path hierarchy of an organization

    Hi,
    The customer is asking to provide a report showing for each assignment of each employees the corresponding organization where it is assigned and the full path of the organization hierarchy.
    The organization hierarchy is at most 6 level deep, so they want to produce the report with the columns:
    root_organization | org_level1 | org_level2 | org_level3 | org_level4 | org_level5 | org_level6 | person_name | assignment_date
    if the person is assigned in an organization lower than the 6th level, the remainin columns should be empty.
    I see that the view HRFG_ORGANIZATION_HIERARCHIES returns only one step in the organizations hierarchy: Parent_organization_name, Child_organization_name.
    Is there any view or function as well which returns the full path of an organization in the hierarchy? At least a function which returns the full path parents of the organization delimited by commas.
    Thank you

    Hi,
    Yes, I wrote a custom code but is running a bit slowly for around 1000 organizations and more than 15 version of hierarcy (so 15000 rows of this view). I wanted to know if there is any optimized code provided by Oracle.
    Thank you.

  • Wanted getRemoteUser method to return the network login Id(Windows Login)

    Hi,
    I have an application running on websphere 3.5,
    where the method HttpServletRequest.getRemoteUser() returns the users(client's) window login(the application is used across the network).
    I have migrated the application to the Webshere5.0.
    The problem I am facing here is the method
    HttpServletRequest.getRemoteUser() return null.
    I want this method to return the network login (Windows Login) id.
    I did create a user(tom) in the windows(2000 Professional) registry and change the setting to custom registry in the admin console(websphere 5.0), here the getRemoteUser returns the value 'tom'.
    I want this method(getRemoteUser) to return my windows login id.
    For eg: If I login into the system with the id 'Anupam', it should return the id 'Anupam'. If somebody else accesses the application from another system in the network then the method should return his login id.
    Please let me know if you know the solution for this.
    Note: The same is working fine with Websphere 3.5.

    Hi Pramod,
    There's a Function Module called <b>GUI_GET_DESKTOP_INFO</b> which you could use. The Function Module has got documentation so you should not have any problem using it.
    Do let me know if it helped.
    Regards,
    Anand Mandalika.

  • Need a FM which returns the last modified date& time

    Hi,
    Kindly Suggest me if any Function Module is there which returns the last modified date& time for tables HRP1000 and HRP1001.
    Rgds
    Kishor.C

    just check the following tables..
    CDHDR - Change document header
    CDPOS - Change document items
    you can use this function module..
    BPCT_CHANGEDOCUMENT_DISPLAY
    Edited by: Arunima Rudra on Apr 14, 2009 4:49 PM

  • J2me Mobile client calling method which return byte[] java.rmi.MarshalExcep

    J2me Mobile client calling method which return byte[]
    java.rmi.MarshalException: Expected Byte, received: SGVsbG8gV29ybGQ=
    WebService1_Stub ws=new WebService1_Stub();
    try {
    String s=ws.getStringHelloWorld();// works fine
    byte s[]=ws.helloWorld(); // error java.rmi.MarshalException: Expected Byte, received: SGVsbG8gV29ybGQ=
    }catch(Expception e){
    ex.printStackTrace();
    }This same ws working fine in java standalone application please guide me what can be a problem ??
    Regards
    Haroon Idrees

    clear your app. server logs ( or make copies of them if will you need them) and redo the whole process. check out the logs and you should see some reason for this. i do not know if Borland's logs will turn out helpful, but it did help me out in certain other situations.

  • Defining enum with abstract method which returns a generic type

    Is it possible to define an abstract method which returns an geneic type like below? Thanks
    public enum Type{
         A{
              public List<Integer> getData(){}
         B{
              public Set<String> getData{}
         abstract<T> T getData();
    }

    vulee wrote:
    Why not?
    List<Integer> lst = Type.A.getData();Wonder, which compiler you use. Can't be Java6:
    # javac Enums.java
    Enums.java:23: incompatible types
    found   : java.util.Collection<capture#376 of ?>
    required: java.util.List<java.lang.Integer>
                    List<Integer> data = Type.A.getData();
                                                       ^
    1 errorEdit: Unless you do it the generic way as you proposed, which actually is a phoney. Because of the T being a generic method parameter, the compiler will infer it from the type of the variable it gets assigned to. Hence, both of the following will compile:
    List<Integer> lst = Type.A.getData();
    Set<String> lst2 = Type.A.getData(); // Runtime exceptionActually, javac is telling you that giving warnings on the enum constants redefined method return types.
    Edited by: stefan.schulz on Sep 10, 2008 11:38 PM

  • Handling Methods which return Objects

    I have a class called GenericObjectQueue, which essentially maintains a queue of objects.There is a method called getTopObject() which returns the first Object in the queue.
    I use this class to maintain a queue "CustomerQ" of objects of the class "Customers ".Now when i write the following statements i get an error
    customer firstcust= new customer();
    firstcust= CustomerQ.getTopObject();
    The compiler says incompatible types,
    found : java.lang.Object
    required: customer
    How do I deal with this?
    Thanks...RJ2

    method called getTopObject() which returns the first
    Object in the queue.Another way is to set the return type as 'Customer' in place of Object and return a Custome

  • Where can I find a method to return the number of constants in an enum?

    I'd like to get the number of constants in an enum, but can not find any documentation on the topic.
    The only method I find reference to is the values() method.
    Are there other methods?
    Is there a method to return the number of items in the values array?
    Thanks,
    Norm

    Encephalopathic wrote:
    A_Sailor wrote:
    I had a mental block there.In my field, we call this a "cerebral spasm".From what I know of your field, that's a strange place to keep your cerebrum ;-)

  • Loading a class via reflection without knowing the full qualified path ?

    Hi there
    I d like to load a class via reflection and call the constructor of the class object. My problem is that I dont know the full qulified name e.g. org.xyz.Classname bur only the Classname.
    I tried different things but none seem to work:
         1. Class c = Class.forName("Classname");  //does not suffice, full qualified name required
    2. ClassLoader classloader = java.lang.ClassLoader.getSystemClassLoader();
             try {
               Class cl = classloader.loadClass(stripFileType(Filename));//if i do not pass the full qualified name i get a ClassNotFoundException
    3. I tried to consruct a class object with my own classloader , calling:
              Class cl = super.defineClass(null, b, 0, b.length );     b is of type byte[]This almost works. I get a class Object without knowing the full qulified path. I can transform a filename into a raw array of bytes and I get the class out of it. But there is still a problem: If there are more than on classes defined in the same textfile I get an InvocationTargetException.
    It looks like this:
    package org.eml.adaptiveUI.demo;
    import com.borland.jbcl.layout.*;
    import java.awt.*;
    import org.eml.adaptiveUI.layout.*;
    import javax.swing.*;
    import java.awt.event.*;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2003</p>
    * <p>Company: </p>
    * @author not attributable
    * @version 1.0
    public class twoButtons extends JFrame {
      SPanel sPanel1 = new SPanel();
      JButton jButton1 = new JButton();
      GridBagLayout gridBagLayout1 = new GridBagLayout();
      GridBagLayout gridBagLayout2 = new GridBagLayout();
      public twoButtons() throws HeadlessException {
        try {
          jbInit();
        catch(Exception e) {
          e.printStackTrace();
      public static void main(String args[]){
        twoButtons twob = new twoButtons();
        twob.pack();
        twob.show();
      private void jbInit() throws Exception {
        this.getContentPane().setLayout(gridBagLayout1);
        jButton1.setText("button 1");
        jButton1.addActionListener(new TransformationDemo_jButton1_actionAdapter(this));
        this.getContentPane().add(sPanel1,  new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0
                ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(57, 52, 94, 108), 35, 44));
        sPanel1.add(jButton1,  new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0
                ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(5, 41, 0, 0), 0, 0));
      void jButton1_actionPerformed(ActionEvent e) {
        System.out.println("button 1 source: " + e.getSource());
        System.out.println("d: " + e.getID());
       System.out.println("/n commmand: " + e.getActionCommand());
    class TransformationDemo_jButton1_actionAdapter implements java.awt.event.ActionListener {
      twoButtons adaptee;
      TransformationDemo_jButton1_actionAdapter(twoButtons adaptee) {
        this.adaptee = adaptee;
      public void actionPerformed(ActionEvent e) {
        adaptee.jButton1_actionPerformed(e);
    }As you can see there is the class TransformationDemo_jButton1_actionAdapter class defined in the same classfile. The problem is now that the twoButtons constructor calls the TransfomationDemo_jButton1_actionAdapter constructor and this leads to InvocationTargetException. I dont know if this is a java bug because it should be possible.
    Can you help me?

    hi thanks at first,
    the thing you mentioned could be a problem, but I dont think it is.
    If I have the full qualified name (which I havent) then everything goes normal. I only have to load the "twoButtons" class and not the other (actionadapter class), so I dont think this is the point. In this case the twoButtons constructor constructs an object of the actionadapter class and everything goes well. The bad thing is though that I do not have the full qulified name :(
    Invocation target exception tells me (in own words): Tried to acces the constructor of the actionadapter class (which is not public) out of class reflectionTest class .
    reflectionTest is the class where the reflection stuff happens and the twoButttons class is defineClass() ed.
    The problem is, only twoButtons class has the rights to call methods from the actionadapter class, the reflection class does not. BUT: I do not call the actionadapter methods from the reflection class. I call them only from the twoButtons class.
    I hope somebody understands my problem :)

  • How do I get the full current path in the title bar of a terminal window?

    Is it possible to get the full current path in the title bar of a
    terminal window? I would find that more meaningful than
    "Terminal - tcsh - 80x60" (which I currently get). Doing
    this would free me from wanting to display the path in my
    system prompt thereby allowing me to use a shorter prompt
    and having more space on the line for actual input.
    Thanks
    Ron
    Dual 1Ghz PowerMac G4 Quicksilver 2002   Mac OS X (10.4.8)  

    IIRC, Terminal->Window Settings->Window controls that information. That said, I don't understand what full current path means in this context, nor why you'd want to display it in title bar.
    Your terminal prompt is a concatenation of your computer name (SysPrefs->Sharing—easily changed) and the path to your user's home directory using the short username (hard to change).
    computer name:~ username$

  • Using Rename() method to change the Url of path based site collection

    Hello All,
    Is it correct to use
    SPSite.Rename() method for changing the url of path based site collection(except the root)?
    For example:
    Old Site Url: http://portal.contoso.net/sites/HR
    New Site Url: http://portal.contoso.net/sites/HROLD
    It is working in SharePoint 2013 test environment, but I will be happy to receive some feedback from you about this.
    Ivan Yankulov
    SharePoint Admin/Consultant
    http://spyankulov.blogspot.com/
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft

    Hi Lvan,
    Yes, the server object model SPSite.Rename()  method works on an SPSite object to change the URL of a site collection which is host named or path based.
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Specify the full package path

    Well, here is a real beginner question. How can i specify the full package path of SUNs java.io package? And another beginner question, where is this package located on my computer? (relative to my java sdk installion path of course)

    Acctually I have a severe problem with leJOS. Here is my code:
    import java.io.*;
    import josx.rcxcomm.RCXBean;
    public class PCModule
         public static void main( String[] args )
              recv();
         public static void recv()
              RCXBean rcxb = new RCXBean();
              try
                   rcxb.setComPort("USB");
                   while(true)
                        System.out.println( "Test" );
              catch( IOException e )
    }This should compile fine, if lejosc would use the SUN java.io But it intends to use the own implementation of java.io and I really need to find a workaround to this problem because otherwise the code wont compile throwing the error, that the out symbol cannot be resolved.
    Btw. this part of the program should listen to the mindstorms IR-Tower for messages of a RCX-Brig and wirte them to an output stream.
    Isn't there a way to force lejosc to use the java.io package from sun?
    P.S.: If I don't use the System.out-line everything is fine, so lejos is installed correctly and if write a java test app everything is fine, so the SUN Java SDK is installed correctly too.

  • Getting the full file path from FormFile

    Hi, I am reading in a .csv file from my JSP page and I want to pass the String path from my Action class to the logic layer class. When I try and pass it at the moment, it throws an FileNotFound error as it is only passing the file name. i.e
    Passing
    text.csv
    not
    C:\text.csv
    Is there anyway of detirming the full file path using the FormFile class?
    Thanks in advance

    Yes, as in Struts.
    I am not trying to upload the file, simply trying to read the contents from the file. My problem is that I want to read the contents from one of my business logic classes, not within my struts Action. I can get it working if I use
    byte[] datainfile = file.getFileData();
    and then send that but the I would prefer to just send the full path to my Business logic class and process everything in there rather than doing some in my Action and some in my logic class.
    So what I would like to put in my Action class is something such as
    processCSVFile(String filePath);
    instead of
    processCSVFile(Byte[] formFile);

  • Display the full file path in title bar

    I apologize for my username. After getting a ton of "username already exists" I went to the keyboard crushing technique to find one that didn't.
    We currently use Adobe Acrobat 9.5.4
    I am assisting a user who would like the full file path of the opened PDF to display in Adobe's title bar. Right now it only displays the file name, as shown below -
    Instead of "Adbove Community_ Start New Discussion.pdf" he would ideally like to have "C:\users\unamehere\desktop\filename.pdf" or the full UNC path like "\\myserver\department\projectnumber\filename.pdf".
    Is this possible? Thank you in advance for any assistance you may be able to provide.

    Tell me about usernames...
    Unfortunately, I don't think there's any control of this. Adobe regularly change what appears, but they don't let us do it.

  • Obtaining the full file path specification from Flash Movie and QuickTime icons?

    How do you obtain the full file path specification from Flash
    Movie and QuickTime icons? I want the path and the file name that
    is contained in these icons. I am using a "dive" to run through the
    icons of a file, and when I come upon these two types of icons, I
    want to obtain the above information that is contained in them. I
    certainly can look in the property dialog box to get this info, but
    there are many icons in these files, and I want to generate a list
    of info based upon the various types of icons that I am processing.
    Thanks

    > How do you obtain the full file path specification from
    Flash Movie and
    > QuickTime icons? I want the path and the file name that
    is contained in
    > these
    > icons. I am using a "dive" to run through the icons of a
    file, and when I
    > come
    > upon these two types of icons, I want to obtain the
    above information that
    > is
    > contained in them. I certainly can look in the property
    dialog box to get
    > this
    > info, but there are many icons in these files, and I
    want to generate a
    > list of
    > info based upon the various types of icons that I am
    processing. Thanks
    >
    For Flash
    Trace(GetIconProperty(iconID, #pathName))
    for QuickTime
    Trace(GetIconProperty(IconID, #filename))
    For full scripting reference for each of these sprites, open
    up the
    Properties panel for each sprite and press the Help button
    that appears on
    the properties page ... or else navigate to these folders for
    the Flash and
    QT help
    C:\Program Files\Macromedia\Authorware
    7.0\xtras\FlashAsset\Help
    C:\Program Files\Macromedia\Authorware
    7.0\xtras\QuicktimeAsset\Help
    You don't want to know how many times I asked Macromedia to
    stop hiding that
    Help!
    Steve
    http://twitter.com/Stevehoward999
    Adobe Community Expert: eLearning, Mobile and Devices
    European eLearning Summit - EeLS
    Adobe-sponsored eLearning conference.
    http://www.elearningsummit.eu

Maybe you are looking for

  • Getting error message when trying to watch a movie on my iPad

    I purchased a movie through iTunes for my iPad. I was able to watch the movie a few times now I'm getting a error message every time I try and watch it now, "you do not have permission to access the requested resource". What can be do to fix this pro

  • How to set the BARCODE width and length for label printing..

    Hi All, How to set the Code 39 barcode label format in the sizxe of 0.20" * 1.4". By default while printing barcode size exceeds my current requirement. Please let me know to customize the size of barcode labels. Thanks.

  • Generating report issues

    Sharepoint is not giving a user a particular option within a report on his computer when it does give him the option on another computer.  He has the permissions set correctly.

  • Please help with the FOR loop and the array..

    I was trying to place some words in the Movie Clip "TextPanel" and set a random position to each of them. But it's not working. 1) I created a Movie Clip "word" and inside that MC I created a text field and gave it an identifier "textFiled". 2) The l

  • RBBP_OFFLINE_EVAL No e-mails exist for execution of work items

    Hi , We are trying to implement SRM offline approval. The system is able to send the email to the approvers, but when they click on approve, the work item does not get updated. When i try to run report RBBP_OFFLINE_EVAL it says that No e-mails exist