Managing iViews and other PCD Objects

Hi,
I have visited some help on Managing iViews and other PCD Objects at
http://help.sap.com/saphelp_nw04/helpdata/en/fd/ea5c42da4de92ce10000000a1550b0/frameset.htm
But I want to know when are these things actually put to use. For example, I would simply create an iview and add it to a page. Can you give me a real scenario where this is required. Especially if any of you have used this on your projects.
How do I start if I wish to pick up this feature? Any blogs on good exapmles which I can use deploy and learn?
Thanks!!

HI,
Refer these links
<a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3367e690-0201-0010-d285-c69bd884c9f3">PCD</a>
<a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4192">weblog</a>
<a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4109">weblog1</a>
====================================
I just tried out some of the API's, i hae not encountered any business scenario's concerning these API's.

Similar Messages

  • Managed Beans and Data Access Object

    I have a question / need help understanding how to configure backing bean and model objects so that memory and object creation/deletion is done as efficiently as possible.
    1. I have a .jsf page with a form and a commandbutton that submits the form inputs to a backing bean (enrollispbean is backing bean)
    <h:commandButton value="Enter" action="#{enrollispbean.insert}"/>
    2. The backing bean is used for form handling - the insert() method is used to read the data fields from the form and create a SQL string that will be submitted to a model object, DbInsert, that is used as a generic data access object that connects to the database and insert the SQL string:
    public class EnrollIspBean {
    private String beanvar1="";
    private String beanvar2= "";
    // DbInsert is data access object
    private DbInsert dbinsert = new DbInsert();
    public String insert (){
    String sqlstmt;
    sqlstmt = "INSERT INTO ispmain VALUES(beanvar1, beanvar2,..)"
    dbinsert.insert(sqlstmt);
    return "success"; }
    3. DbInsert is the data access object that contains a method, insert(), that accepts a sql string to insert into the database. This method contains the code to obtain a connection from the database connection pool and then execute the sql statement (note: error checking code not shown):
    public class DbInsert {
    public void insert(String sqlstmt) throws SQLException {
    Connection conn = null;
    GetDBConnection getdbconnection = new GetDBConnection();
    PreparedStatement stmt = null;
    conn = getdbconnection.getdbconn();
    stmt = conn.prepareStatement(sqlstmt);
    stmt.executeUpdate();
    stmt.close();
    conn.close();
    return;
    Where I need help understanding is how to set up the scope for the managed beans and data access object. Currently, I have the backing bean within the session scope (using the facesconfig.xml file). My main question is how to set up the scope for the Data Access Object - currently I do not have it as a managed bean within facesconfig.xml. Instead I am creating a new instance within the backing bean:
    private DbInsert dbinsert = new DbInsert();
    Is this the best way to do this? Will the DBInsert object now be tied to the session scope of the backing bean (i.e., when backing bean is deleted, the DbInsert object will be deleted from session scope as well.)
    Ideally I would like the data access object to be available as a shared object throughout the life of the application. When I was programming using a servlet approach, I would have created a servlet to load on startup. Now that I'm using java server faces, I'm confused about the scope / how to efficiently set up a data access object that I want to be available to all backing beans in the application.
    tnanks for any help understanding this.
    Tom

    I was thinking about setting the data access object as application scope so that it can be used by an backing bean to execute sql statements.
    If I do set it as application scope, however, if I do this, do I still need to declare a new instance of the object from within each bean that uses the object?
    For example do I need to declare a new instance of the data access object from within the bean? or, should I assume that there is always an instance of the bean available in the application scope, and if so, how do I reference it from within the bean?
    Bean Code:
    public class EnrollIspBean {
    // DbInsert is data access object
    private DbInsert dbinsert = new DbInsert();
    Finally, I understand performance may be an issue if I have one instance of the data access object available in the application scope - is there a way to make multiple instances available in the application scope?
    thanks

  • Exchange 2010 management tools and others

    Win2k8 domain, Exchange 2010 servers
    We want to move to Win8.1 but we, the admins, are preventing it because our tools like the Exchange 2010 Management tool doesn't work with Win8.0 so we're stuck with Win7.
    I've googled around and most suggestion never worked.
    Does Microsoft have any plans at all to have Exchange 2010 management tools and other tools we use to manage our domain work with Win8.1?

    Hi Rino, 
    Thanks for your sharing and efforts put on this issue. 
    This will benefit others who encounter the similar scenario as yours.  
    Happy holiday~
    Kate Li
    TechNet Community Support

  • IView and system admin objects appear changed or not registered when transported

    Hi,
    Recently we moved a few objects - iViews, pages and roles as epa and system admin objects as config archive and imported them manually to Test system. But when checked in the next landscape, the iView properties appear different. Eg. In Development system, the iView was unchecked for visibility option i.e. iView should not be visible. But when transported to test system, the property was checked and gave error. On reimporting, the same thing happened and we had to manually correct the property. This is not an expected behaviour and manual changes are not to happen after development changes.
    Similarly, though config archive import showed the 2 new system objects in the respective location of Test system, the expected functionality was not working. I checked this by deleting one of them and manually creating the same entry and it worked fine. So I also had to delete the 2nd one and create a manual entry. The system admin objects we used pertained to System Configuration  --> Content Mgmt--> Form Based Publishing --> Forms Availablity --> Folder Settings
    We also moved kmcs and they are reflecting properly with correct folder permissions.
    We don't understand why this is so occurring (iView and system admin entry appearing different or not getting registered )and never experienced such a case in previous projects. We don't want to face the issue going forward when transporting changes to staging and Prod systems.
    Please assist as to what went wrong or any probable cause and solution for same.
    Thanks,
    Janani

    Hi,
    Has anyone faced such a situation before and know the reason for same ?
    Regards,
    Janani

  • Autorisations : how to live with 0BI_ALL and other analysis object ?

    Hello
    we have an annoying question.
    We went live with 0bi_all in all profiles. Now we are in a production phase where our new users have restrictions (for example 0COST_ELMNT in the finance area).
    What should we do ?
    - suppress 0BI_ALL and add our new object
    - cumulate 0BI_ALL and our new object
    Does anyone know how this work ?
    We haven't been able to find the right documentation.
    Thank you
    Fabrice Rigaux

    Hi Fabrice,
    To answer your question, you will need to suppress 0BI_ALL and add the new object.
    It works as follows:
    For the same infoobject, the authorisations are considered a union. But for the whole of the authorisation, it's an intersection.
    an example to make more sense of this:
    AUTH1:
    - 0COST_ELEMT = 123456
    - 0TCAIPROV = *  (always need this one)
    - 0TCAACTVT = 03 (always need this one)
    - 0TCAVALID = * (always need this one)
    AUTH2:
    - 0COST_ELEMT = *
    - 0TCAIPROV = CUBE1 
    - 0TCAACTVT = 03
    - 0TCAVALID = *
    You run a query on CUBE1 -> you will have access for all cost elements.
    You run a query on CUBE2 -> you will only have access to cost element 123456.
    Because 0BI_ALL has * for all infoobjects it will always overrule any other authorisations you assign.
    Important note: if you are goning to set up your authorisation for 0COST_ELMNT to be valid for all infocubes, you will also need to add all authorisation-relevant infoobjects in your authorisation definition.
    Best way to get the hang of it is to play around with it. In transaction RSECADMIN, you now have a very useful option "Execute as", which allows you to run queries as a testuser and gives you a log of all authorisations checked.
    Regards,
    Pieter

  • Power Manager features and other problems associated with the T510

    For the better part of 5 years I've been a happy user of a IBM Z60m and decided it was time to pass my z60 off to my son and buy a new T510.  Well I after several weeks of ownership I can honestly say I'm irritated and frustrated by several ongoing issues and am ready to send the whole unit back.  
    From the time I pulled it out of the box I'm been having power management issues.  I've been on Microsoft's help forums, called lenovo support, and spent countless hours on blogs and forums looking for assistance.   No matter what I do in the lenovo power setting arrangements my computer aways goes in stanby after a minute of nonuse and then asks me for my windows password.  So after an entire day of inserting my password my frustration level is off the chart.  I removed the password in the user settings that didn't help.  I changed the global settings to turn off password in stanby mode that didn't help.  I've changed the power choice feature to optimize and others but none of that helped.  
    Beyond those problems... I inserting two different disks to insert new programs and my system kept telling me it couldn't read either.  I first thought they were scratch but my old ibm laptop read each without a problem.  
    So there you have it.  
    Solved!
    Go to Solution.

    Are you sure the system is going into standby after 1 minute?  Or is the screen being locked? 
    Try this:
    1.  right-click on desktop and choose "personalize"
    2.  click on "screen saver" in the lower right corner
    3.  uncheck the box that says "On resume, display logon screen"
    Does that fix your issue?

  • Best ways to manually manage songs and other media between iTunes and iPod?

    I have a Video iPod (60 GB) and I connect it to two computers, with all my songs being on one of them (my Desktop). Since I connect to two, I have my iPod set to manually manage. My question is, is there any way for me to tell in iTunes what songs I have in iTunes but not on the iPod? If I could see that, it would make manually managing the iPod much easier. If this is available, could someone let me know how? If it is NOT available, are there other strategies people have used to make sure they are aware of what is on the iPod and what is not?
    Thanks in advance,
    - DTC

    I appreciate your help but I don't think you've read my message totally because I know that there should be a button where you can set it manually, but I strangely I don't have that kind of button (see: http://www.youruploadservice.be/uploads/iPod.JPG) Is it because I don't have a Mac? Because I'm sure I have the latest version of iTunes. Could you pls help?
    hp omnibook 6100   Windows XP Pro  

  • Managing files and other newbie type questions

    I'm trying to decide between FCPX and Premiere Elements. I manage most of my media with Aperture. I've learned a whole lot already in a few solid hours of use of the trial. The integration with Aperture/iPhoto is very nice and keeps me out of Adobe Organizer which I do not care for. I have a signficant time investment in Aperture libraries, so the extra $$ for FCPX might be worth it -- if I can learn it.
    It appears that FCPX currently will not directly import AVCHD (from Sony) with 5.1 -- it is brought in as stereo. Or am I missing something? I can get it in re-wrapping it with ClipWrap. But that adds $50 to an already expensive piece of software (for me.) I have an older mini-DVD camcorder (also Sony). Actually the camcorder is toast, but I have the mini-DVDs. Can I import these and keep the 5.1 or do they need an intermediate step?
    I can't figure out how to go from FCPX to Aperture, if that's possible. If I import with FCPX, do I have to turn around and re-import into Aperture? (We really like having it all in one app for browsing the photos/videos.)
    If I import with FCPX and do not optimize, I understand I can do this later on the fly if I choose to use the clip, right? The unoptimized video quality of the imported clips is not worse than the source, correct? This will save me a ton of disk space if I can use this fast, unoptimized import. I don't edit 80% of the source.
    I've figured out how to do a Picture-in-Picture type deal but I can't find in help or elsewhere how to resize/transition the Picture-in-Picture. Here's what I'm doing: We're filming a high school band. The primary video is the big picture, wide view of the band. Then when a soloist performs, I overlay a separate video of them moving into position in "picture-in-picture" type of window. When they actually perform, I would like to put in a transition where this picture in picture "explodes" or zooms out to fill the screen. I can't figure this out. When the soloist is done, I want to reverse it. This whole process looks like a perfect example of multi-cam edits, but I'm still trying to figure that out.
    Thanks for any pointers.
    -Jack

    Boerne wrote:
    Ok, multi-cam is not the way to go for this. Thanks.
    Keywords... that's what I'm discovering now. Very nice organizational stuff in there I've been missing with iMovie/PrE. I don't have that many clips yet, but eventually this will be very handy.
    I'm going away from the PIP deal. We tested it last night and even on a 55" screen, it's really just kinda gee-whiz. You don't get enough detail to see what he's doing. So I'm just transitioning now from main clip to soloists and back. The wide screen shot was totally useless in a little PIP window anyway. Since the whole show is only 10 minutes, I'll just give them two videos. One edited with soloists/visuals one raw video of the whole band for marchign critique.
    Actually, if you decide that the PIP stuff does not work, this brings multicam back into the process.
    PIP was the only reason why I advised against going with multicam for this.
    It would be nice if the end user could pick the camera angle they wanted while watching.
    Thanks for the inputs. I will read up on keyframes as you suggested.
    -Jack
    You can't offer that kind of interactivity to the user, but with multicam you can offer your best choice of angles - and can even easily produce two or more different versions.

  • Versioning of Tables and other Schama objects

    Hi!
    I want to enable versioning for database schema objects such as Tables, views, and procedures. Table definitions should be updated/changed by means of check-in and check-out. It will be helpful during development.
    I have already instralled/configured Oracle Repository using SCM.
    I have also followed the procedure given in SCM Help --> Registering Oracle Schema in Repository.

    Hi,
    You need to enable Versioning support for this. It can be done from RAU's Options menu (Choose "Enable Version Support"). After this you can use Design Editor to create/update tables using checkin/checkin process.
    Be aware that enabling versioning support is an irreversible process. Perform this only of you absolutely need versioning support.

  • Managing Photos and others without the use of iTunes

    Hello everyone, is there any software out there that would allow me to manage photos, music, wallpaper, themes, ect. other than iTunes, then of course I can not manage any themes with iTunes anyways. But if someone can point me in the right direction I would be very gratefull.
    Thanks everyone, and all the best

    No iTunes is your only choice.

  • Moving Tablespaces and other data-Objects to another HD

    Hi,
    XE is running on Win XP Pro SP2 here. It installs the datafiles on C:\ too. That's no proper solution because system loss could cause data loss in a bad crash.
    Otherwise in managed enviroments often the sytemdrive will be autmatically cleaned for new desktop solutions.
    Is there some experience about moving the tablespaces /moving the datafiles to another HD/Partition?
    Doing this on 10g with EMGC is an easy job.
    But how does this work on XE?
    thx for respone
    regards
    Franz

    You can not move tablespaces. They are logical units that do not have a location. The required space allocation for a tabelespace is through one or more datafiles.
    There is no problem moving data files to another drive. Effectively you
    1) shutdown the database
    2) copy the data file to the new location
    3) Update (not edit) the control files to point to the new data file.
    Step 3 is done by bringing up the database into 'control files are available and read into memory, but data files are not available' (the 'Mount' state) and issuing the ALTER DATABASE RENAME FILE ... command.
    Details, with examples in the 10gR2 DBA manual http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/dfiles.htm#i1106090, at Chapter 9 in the Renaming and Relocating Datafiles section.
    Full command syntax in the SQL Reference manual http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_1004.htm#i2079942 in the ALTER DATABASE section.

  • Creating PCD object via API

    Is is possible to programmatically create PCD objects such as iViews/Pages etc.?

    Hi,
    The way to create PCD objects such as iViews and pages is documented in the following link in the help portal (Portal --> Developer Guide --> Developing Applications --> Creating Content --> Managing iViews and Other PCD Objects:
    http://help.sap.com/saphelp_nw04/helpdata/en/fd/ea5c42da4de92ce10000000a1550b0/frameset.htm
    Here's an overview for creating an iView from a PAR and adding it to the folder at pcd:portal_content/myFolder :
    IiViews iViewSrv = (IiViews)
        PortalRuntime.getRuntimeResources().getService(IiViews.KEY);
    INewObjectDescriptor IVtoCreate = (INewObjectDescriptor)
        iViewSrv.instantiateDescriptor(CreateMethod.NEW,
            "par:/applications/myProject/components/myComponent",
                request.getUser());
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
        IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, request.getUser());
    env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
    InitialContext iCtx = null;
    try
        iCtx = new InitialContext(env);
        String folderName = "pcd:portal_content/myFolder";
        Context ctx = (Context)iCtx.lookup(folderName);
        ctx.bind("myNewHelloIV", IVtoCreate);
    catch(Exception e)
    Hope this helps.
    Daniel

  • How to copy cubes and other objects?

    Hello All,
    I have implemented APO -Demand Planning Project for one hub Europe in our BW system.NOw we want to roll out the implementation globally and want to copy all the BI objects for seven hubs only changing the field of hub whereever we are using it in routines.
    One way of copying all the objects is XML export and import.But for that purpsoe i have to change the XML file maually.We have four cubes , ten ODSs and number of reports and lots of user exit code.Data in ODSs are coming from flat files and it is further updating Cubes.
    Anybody knows here any other way to copy the cubes and ODSs and other related objects such as infosources and infopackages etc.
    Thanks and Regards
    Yogesh Mali

    You need to change the format
    double tap on the work and then you can select how much you want to copy, to paste just long press on any empty space > paste
    Navigation does work, but you must make a map offline (open maps > select the area/city > menu > offline) 
    Don't forget to give Kudos (Click on the half star + )
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • Difference Betw Search iView and KM Search iView

    Dear SDN,
    I want to know the basic diff betw the Seach iView and KM Search iView.
    In EP 7.0..there are two options..one for Search iView and other for KM search iview.
    I am confused..Pls help asap.
    Thanks,
    Nikesh Shah

    Hello Nikesh,
    Here are some links which contains the details of KM search iview and Search iview from diffferent sources.
    I guess these links will help you a lot.
    Creating Search iViews
    http://help.sap.com/saphelp_mdmgds55/helpdata/EN/45/c9cfa2cdaa4ebbe10000000a11466f/content.htm
    KM Search iView
    http://help.sap.com/saphelp_nw04s/helpdata/en/ad/e3ce0fd4f011d5994400508b6b8b11/content.htm
    Creating an Index
    http://help.sap.com/saphelp_nw2004s/helpdata/en/73/66c090acf611d5993700508b6b8b11/content.htm
    Please feel free to contact me for more details .
    Warm regards,
    Rakesh Kumar Verma

  • Nwdi-managed access of pcd-objects from java web dynpro

    Hi,
    im am trying to access portal pcd-objects from a java web dynpro component (namely getting and setting personalized iview properties). for locally managed web dynpro components this works fine with the code below.
    when i try the same with a nwdi managed web dynpro component i run into problems regarding references to used dcs. for instance, i need to reference used dc SAP_JTECHS/tc/epbc/pcm/adminapi/java because the build needs tcepbcpcmadminapijava.jar which is inside the mentioned dc. but access permissions of this dc don't allow the dependency. when i try to "add used dc ..." in nwds i get the error message: illegal dependency: access list does not allow use of ...
    has someone any solution for this problem? are there other ways of accessing pcd-objects from java web dynpro (nwdi managed!)?
    thanks
    heiko
    private static void savePersonalizationData(String value) {
         try {
              IAttributeSet attributeSet = (IAttributeSet) getIview(IVIEW);
              attributeSet.putAttribute(ATTRIBUTE, value);
              attributeSet.save();
         } catch (Exception e) {
    private static Object getIview(String pcdPath) throws Exception {
         Hashtable env = new Hashtable();
         env.put(
              com.sap.portal.directory.Constants.REQUESTED_ASPECT,
              com.sap.portal.pcm.admin.PcmConstants.ASPECT_SEMANTICS);
         env.put(
              Context.SECURITY_PRINCIPAL,
              WDClientUser.getCurrentUser().getSAPUser());
         env.put(
              IPcdContext.PCD_PERSONALIZATION_PRINCIPAL,
              WDClientUser.getCurrentUser().getSAPUser());
         InitialContext iCtx = new InitialContext(env);
         return iCtx.lookup(pcdPath);

    Hi Kust,
    To access the PCD objects the code you used looks ok for me but your main issues is related to the dc access permissions. This thread discussed about the similar issue. Please review this below thread.
    /message/979328#979328 [original link is broken]
    Regards
    Krishna Reddy

Maybe you are looking for

  • Convert ALV list to PDF and send mails to respective persons

    Hi All, I have a requirement ..we have written a program which will give o/p in alv list.Now I got a requirement to download that program to ALV format.Kindly help me how to approch for that we have some standard FM's for that like CONVERT_ABAPSPOOLJ

  • Prints ordered through iphoto are too dark

    I ordered some prints through iphoto and they came back very dark and washed out. The photos are in the sRGB colorspace and my monitor is calibrated with the spyderpro2. When I print locally to my 3 year old HP printer they look exactly as they shoul

  • Hi, i changed policy file.. still this exception but file wrote plz...plz..

    hi, i have done one applet to write file in local system. i allowed thorugh policy file... i was done well. i DIDNOT MENSION ANY CODEBASE IN POLICY FILE JUST TARGET FULL C: but , one applet write mov file this exception i got i posted both code as we

  • Can't  start EM after creating DB via DBCA

    I have now installed, uninstalled and re-installed 10G about five times on my W2K laptop without being able to successfully start EM or log into a DB via SQLPlus, etc. There are two issues I am experiencing: 1) If I am not connected to the web thru m

  • Statistics automatically gathered on indexes?

    I haven't paid much attention to this in the past, but I notice in XE that user_indexes is automatically populated when you create an index - num_rows, last_analyzed, etc. I suppose the simple act of creating the index collects enough data to provide