BW Hierarachies in Web Dynpro either using BI java SDK or Not

Hello,
I am working on a requirement to develop a web dynpro Tree for a BW Hierarchy. On This requirement I have following Questions.
1. How can I retrieve Nodes/Hierarchies from BW Hierarchy into the query? Is it Query , Cube or RFC?.
2. What is the standard way to retrieve the Hierarchy onto Web Dynpro?.
I appreciate if somebody can help on this problem.
Thanks,
Raj Peddisetty.

Raj,
we used the following delivered function modules to read, add and delete the nodes:
--ZRSBB_NODES_READ_WITH_FILTER
--BX_FAVOS_ADD_OTHERS
--BX_FAVOS_DELETE_NODE
We created some wrapper function modules to call these above delivered fm's.
Hope this helps.
--MLS

Similar Messages

  • Webi document prompts order from Java SDK does not refresh correctly?

    Hi
    I'm developping a standalone command-line Java program which will schedule a report with custom prompt values.
    I am having a problem with Webi prompts ordering acquired from the SDK.
    We are running BO XI R2 SP4 under Windows on Tomcat servers.
    Here is the problem:
    I have a Webi report called "Articles Racines" in a "Tests SDK" directory.
    This report uses two prompts named "Type Article :" and "Code Marque :" (in this order).
    Java SDK (code below) returns the right prompts in the right order.
    Now, in Infoview, I modify the report in order to change the order of the prompts (in the "Properties" tab) making "Code Marque :" the first and "Type Article :" the second one and save the changes.
    When I run the report, prompt order has changed but the prompts retrieved from the Java SDK are still in the old order.
    I noticed that if I update the name of both prompts, the prompts retrieved from the SDK now are in the right order (with the updated names).
    Am I doing something wrong? Is it a known issue?
    Thanks in advance.
    Guillaume
    PS : I am aware that "select *" are very bad but I am still in research stage of developpment.
    TestsScheduler.java:
    import java.util.Iterator;
    import java.util.List;
    import java.util.StringTokenizer;
    import com.businessobjects.sdk.plugin.desktop.webi.IWebi;
    import com.businessobjects.sdk.plugin.desktop.webi.IWebiPrompt;
    import com.crystaldecisions.sdk.exception.SDKException;
    import com.crystaldecisions.sdk.framework.CrystalEnterprise;
    import com.crystaldecisions.sdk.framework.IEnterpriseSession;
    import com.crystaldecisions.sdk.framework.ISessionMgr;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObject;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObjects;
    import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
    public class TestsScheduler {
         public static void main(String[] args) {
              String cms = "XXX";
              String username = "XXX";
              String password = "XXX";
              String authentification = "secEnterprise";
              String reportPath = "/Tests SDK/Liste des racines";
              try {
                   ISessionMgr sessionManager = CrystalEnterprise.getSessionMgr();
                   IInfoObjects objects;
                   // Connexion
                   System.out.println("Connexion à "+ username +"@"+ cms +" ("+ authentification +") en cours...");
                   IEnterpriseSession session = sessionManager.logon(username, password, cms, authentification);
                   System.out.println("Connecté à "+ session.getCMSName());
                   // Récupération de l'infoStore
                   IInfoStore infoStore = (IInfoStore) session.getService("InfoStore");
                   // Récupération des informations d'un report
                   StringTokenizer st = new StringTokenizer(reportPath, "/");
                   int reportID = 0; // Le dossier "Dossiers Publics" est la racine (/)
                   IInfoObjects infoObjects;
                   IInfoObject infoObject;
                   do {
                        String token = st.nextToken();
                        System.out.println("Recherche de l'objet '"+ token +"' en cours...");
                        infoObjects = infoStore.query("select * from CI_INFOOBJECTS where SI_NAME = '"+ token +"' and SI_PARENTID = '"+ reportID +"'");
                        if(infoObjects.size() != 1) {
                             throw new Error("Le dossier SI_ID='"+ reportID +"' possède "+ infoObjects.size() + " fils nommés '"+ token +"'.");
                        infoObject = (IInfoObject) infoObjects.get(0);
                        reportID = infoObject.getID();
                        System.out.println("Trouvé l'objet SI_ID='"+ reportID +"' nommé '"+ infoObject.getTitle() +"'.");
                   } while(st.hasMoreTokens());
                   if(infoObject instanceof IWebi) {
                        IWebi webi = (IWebi) infoObject;
                        List prompts = webi.getPrompts();
                        System.out.println("Le rapport Webi possède "+ prompts.size() +" invite(s).");
                        for(Iterator itPrompts = prompts.iterator(); itPrompts.hasNext();) {
                             IWebiPrompt prompt = (IWebiPrompt) itPrompts.next();
                             List values = prompt.getValues();
                             System.out.println("     L'invite '"+ prompt.getName() +"' possède "+ values.size() +"' valeur(s).");
                             for(Iterator itValues = values.iterator(); itValues.hasNext();) {
                                  Object value = itValues.next();
                                  System.out.println("          Valeur='"+ value +"'.");
                   // Déconnexion
                   System.out.println("Déconnexion en cours...");
                   session.logoff();
                   System.out.println("Déconnecté");
              } catch(SDKException e) {
                   throw new Error("Erreur lors de la connexion : "+ e.getMessage());
    Edited by: Guillaume L on Dec 10, 2008 3:22 PM

    Here's the reason why:
    Web Intelligence document prompting is handled properly if you open the doc using the ReportEngine Java (REBean) SDK.
    When you set prompts and schedule, you'd first open the doc using REBean, set the prompts, then copy over the prompt values you've set to the IWebi you're scheduling using the PromptsUtil.populateWebiPrompts(...,...) helper method.
    So the InfoObject IWebi doesn't know about the actual ordering of the prompts in the document itself - it's just receiving the prompts in order as it's fed from PromptsUtil.
    It's not recommended to assume that the IWebi.getPrompts() will return a non-empty collection.  The Web Intellligence document must be first opened in ReportEngine and the prompting values set using PromptsUtil to fill the collection.
    Sincerely,
    Ted Ueda

  • Web dynpro application using workflow

    Hi all,
    I have developed a web dynpro application and attached that to the portal, so the user will login into the portal and will access the application. We have a new requirement now, when a user enters the data and hit save button on the web dynpro application, the workflow should trigger and should send the filled out (everything filled in) web dynpro application to his superior, the supervisor should be able to click on a link (which he should get through workflow) and should get the web dynpro application filled in. I am not sure how can I do this, so can you please guide me through.
    Thanks,
    Raj

    Hi Raj,
    could I suggest perhaps that you have a good search of SCN - there have been multiple posts about this sort of thing in the past.
    for example : the wiki article
    [Integrating WebDynpro ABAP applications with UWL for workflow in Portal|http://wiki.sdn.sap.com/wiki/display/WDABAP/IntegratingWebDynproABAPapplicationswithUWLforworkflowin+Portal]
    is it perhaps that you do not use the UWL at your site? Or do you want to to send an email to the manager with a link directly to the approval application? The last case is one that I've come across many times before - it just means that you'll need to generate an approval task that is ended by a wf event and send an email to the manager with a URL parameter in the launch of the WDA application so that the app can pick up the details required to display and raise the WF event to complete the approval wf task.
    There are all sorts of ways of persisting the information in the form so that the manager can see it in the approval. You can use the workflow container, you can use a db table, you could even use a shared memory area (not that I'd recommend this for this usage). But this is more a case of how to persist information in a workflow and probably a better question (search first, it's probably been answered already) for the WF forum and not the WDA forum.
    Good luck in designing and building your application. Perhaps when you are done you could write a blog about your experience and further share how to do this with others.
    Cheers,
    Chris

  • Get URL parameters of Web Dynpro Application using Floor plan manager

    Hi Experts,
    I have a web dynpro component using FPM. The default window of the application is FPM_WINDOW which is an interface view of component of FPM framework. so I cannot get the URL parameters in handledefault of a normal web dynpro app which is not using FPM. How do I get URL parameters in this case through FPM? Thanks!

    Hi,
    I guess you might have created the application under FPM_OIF_COMPONENT/FPM_GAF_COMPONENT. For that add the pramaters to the PARAMTERS tab of teh application.
    Now, you can use
    data lo fpm type ref to if_fpm.
    lo_fpm = cl_fpm=> get_instance( ).
      CALL METHOD lo_fpm->mo_app_parameter->get_value
        EXPORTING
          iv_key   = 'PERNR'            "Application param name
        IMPORTING
          ev_value = lv_pernr.
    Regards,
    Lekha.

  • Excel download feature in Web Dynpro Abap using OAOR document

    Hi Friends,
    I am facing an issue in implementing excel download feature in Web Dynpro.
    Problem: I have stored an excel document in OAOR. I am displaying data on screen using ALV display in WDA.
    I will provide a button to download excel in toolbar of ALV. When user clicks on this button i need to pick the document from OAOR and fill that with my screen values and download it to users desktop.
    Please help me in this. Problem is when i am calling these classes c_oi_container_control_creator=>get_container_control and cl_gui_custom_container from my View's method they are returning error.
    Thanks & Regards,
    Saud

    HI,
    You cannot use GUI classes and methods in web dynpro . That will dump.
    Instead you can use file down load UI element or..
    If you have the content in xstring format use ATTACH_FILE_TO_RESPONSE method of CL_WD_RUNTIME_SERVICES class.
    Regards,
    Madhu

  • Web Dynpro ABAP - Using Formatted TextView

    Hi,
    I created a  Web Dynpro ABAP application.  I need to display user information (i.e. address, phone # etc) on the home page after user logs in to the portal.  I created some Formatted TextView elements in the view and trying to change their text during the runtime.  Can someone please let me know how to change the text of the field in runtime.  If some one can provide pseudo code with sysntax, it would be great help.  Sorry, if it is a very basic question.
    Thanks.

    Hi Shan,
    There is nothing special about how you can work with the text of FormattedTextView UI element. You just need to bind the "Text" property of this element to a context attribute of type STRING. So whatever value you maintain within this attribute would get displayed in your FormattedTextView. So in order to dynamically change the text you would just have to do a SET_ATTRIBUTE on this context attribute. If you want to know as to how you can do it via the methods of FormattedTextView class then you have a method by name SET_TEXT in the class CL_WD_FORMATTED_TEXT_VIEW. You can call this method using the reference of the FormattedTextView on your view & pass the desired text as input to the parameter "VALUE". However keep it in mind that you are better off binding the "Text" property to a context attribute & changing the attributes data rather than directly using the SET_TEXT method to change the data.
    For any example over FormattedTextView you can check the standard component: WDR_TEST_MISC.
    Regards,
    Uday

  • Real time scenarios where Web Dynpro is used

    Hi Experts,
    I am a beginner with Web Dynpro (ABAP ), i have developed a couple of simple web dynpros for practice purpose. I would like to know the below things to get a better idea on the technology
    1. Can anyone who have worked on Web Dynpro share the real time applications which you worked on.(I am not expecting any technical details, i want to understand the scenarios in real world where this technology is used).
    2. If some one can link web dynpro's with CRM/SRM that would help me more.(Once again i need the business scenario)
    Thanks in advance.
    regard's
    Sudheer V

    Hi Sharath,
    Thanks for your response, it was really a useful link. But once again they all talk about technical details but what i was looking for was business scenarios where web dynpro can be used effectively.
    When i was searching for this i found one such scenario where web dynpro gets the quotation details from the CRM system and creates a sales order with reference to the quotation in the SAP R/3.
    I was actually looking for scenarios like the above with some technical details for implementing the same.
    Please let me know if you know scenarios something like the above one.Thanks.
    Regard's
    Sudheer V

  • Posted a new wiki on "Developing custom Web Dynpro pplications using GRT"

    This article describes how to develop custom Web Dynpro Java ESS applications using Generic Reporting Tool (GRT) / Reporting Framework (RFW)
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=235966686

    Hi,
    Its an awesome WIKI, lots of inputs and a eye-opener which shows clearly how powerful FPM is and what we can do with existing components.
    Thanks for the Wiki.
    Regards
    Tushar Shinde

  • Web dynpro application using java

    Hi Experts,
    I am new to netweaver . I developed one web dynpro application in  NWDI  but input fields are disabled on screen .
    please suggest reason why it is happend.
    Thanks,
    Santosh.

    Hi Santosh,
    Once you create the input fields in NWDS you need to bind input field with context attribute to enable in the display screen.
    Refer to this Re: Calendar UI element in NWDS and also refer to Tutorials & Samples for Web Dynpro Java [original link is broken]
    Hope it helps
    Regards
    Arun
    Edited by: Arun Jaiswal on May 4, 2010 12:19 PM

  • How to make changes to stdandard web Dynpro applications used in ESS

    Hi all
          I have uploaded the standard ESS Business Package,
    now the requirement is to change some features in the web dynpro application in it.How do I go about it?
    Regards
    Mansoor

    Even though those are tow different tabs, but both are under one view controller.
    So create a node and pass the data.. so data will be available to both tabs.
    View controller is local controller
    component controller is global controller.
    if you want to access the node outside your view then declare the node in component controller.
    Regards
    Srinvias

  • Adding an ABAP Web Dynpro application to a Java Web Dynpro screen

    Hey fellow SAPers
    This is an interesting one .........
    We have developed a bespoke ABAP Web Dynpro screen that we want to include into a tabstrip in a Java Web Wynpro application. We have managed to do this by inserting an iFrame into the tabstrip, and then passing the UWL of the ABAP Web Dynpro app. This works. However, life is never that easy and of course whenever the screen is refreshed, the ABAP WD app is called again and so any changes to the data on the ABAP screen are lost as the data in the ABAP app is re-selected and the data returns to it's original state.
    Does anyone know:
    - of another way to incorporate an ABAP WD screen into a Java WD screen (as a tabstrip)
    - how to de-activate a Java view so that the view containing the ABAP WD app is refreshed (i.e. the window is refreshed), the view is not refreshed and the ABAP app is not re-called .....
    - any other ideas ....
    of course, we could re-develop the same screen in Javam, but that would be too easy
    Looking forward to your responses
    Jon

    >
    > Hi Jon,
    >
    > First of all Iframe is not officially supported until 7.01 version.
    I believe it is deprecated in 7.01 and re-supported in 7.02
    [7.01 IFrame Help|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/15/c07941601b1d09e10000000a155106/frameset.htm]
    [7.02 IFrame help|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/15/c07941601b1d09e10000000a155106/frameset.htm]
    >
    > Would you not use Portal for that and incorporate two iViews in a Page?
    I'm guessing you want to show this within the WDJ app not above, below to the left, right...
    This is a very very difficult thing to do - I'm guessing that you are not actively passing data into the URL of the WDJ IFrame, but just have "decorated" the WDJ app with the a statically linked IFrame. In this case the only thing you have to tie the two together is the user id that you are using - and potentially the time the app was launched. You could in theory use a shared memory area (watch out for multi app server environments) to store the state of the app in case it got refreshed... but this is not a simple thing to do...
    Consider if it is absolutely necessary to enhance the WDJ in place - hopefully you can just replace it with a WDA when you install EhP5
    Good luck,
    Chris

  • Deploying MDM Web Dynpro Components on NWCE 7.2 - /wdconfig not displayed

    Hi all -
    I'm trying to deploy the MDM Web Dynpro Components Framework  (the goal is to
    have NW CE connect to and 'see' the MDM repositories) and according to the URL
    http://help.sap.com/saphelpnwmdm71/helpdata/en/4a/8c20a0dc93203be10000000a42189b/frameset.htm,
    one of the steps is to run the MDM Web Dynpro Configuration Manager application
    (_http://<server>:<port>/mdm/wdconfig).  However, I get an error stating the page
    wasn't found (example: Error: Requested file /wdconfig does not exist).
    Looking further, I see that WD Framework needs to be configured as a pre-req.
    I'm in the JSPM and I see that MDM JAVA WD FRAMEWORK 7.1 7.11, MDM JAVA API Library
    and MDM Java Connector needs to be deployed (JAVA API and Connector are first).
    Under the 'Deployed Components' tab in JSPM, I see :
    >> sap.com/MDM_JAVA_API - 7.1
    sap.com/com.sap.mdm.tech.apireset
    sap.com/com.sap.mdm.tech.connector
    sap.com/com.sap.mdm.tech.mdm4j
    >> sap.com/MDM_JAVA_WD_FRAMEWORK - 710.711 (SP05)
    sap.com/tc/mdm/wdcomps/core/ear
    I deployed MDM_JAVA_API first and have restarted the NWCE system.
    I don't see any error in the logs and the URL for the /wdconfig still does not exist.
    Is there something that I have to deploy?  Can someone point me to a document other than
    the help.sap.com that talks about CE 7.2 and MDM 7.1 configurations?  I do have the master
    and install guide for both. 
    Please advise!
    Thanks!
    -s

    Update:
    Hi - thanks for the followup.
    I have the correct SCAs.  I have done the following:
    UNDEPLOY both components
    Restarted the services
    Deployed the JAVA_API first
    Restart services
    Deployed the Framework
    Restarted the services
    Yes, even though the docs said I can deploy them in order, I think there may have been
    a few hitches that the error logs didn't catch.
    Specifically, when I re-deployed the FRAMEWORK 7.1 7.11, there were now 19 components
    listed instead of one.
    I am able to go to ~mdm/wdconfig now.
    However, I get a new message:
    "You are not authorized to use MDM Web Dynpro Components Configuration Manager".
    Even though I'm the Administrator? 
    I did see in the docs that I need to create a Project first and that the userID that logs in
    should exist in UME and the MDM system.
    (_http://help.sap.com/saphelp_nwmdm71/helpdata/en/4a/41a40c343f2ab1e10000000a42189c/content.htm)
    I am looking into that now.  I think I will close this thread and start a new one
    specifically for that.
    Thanks!
    -s

  • JAVA, JAVA WEB dynpro and possibility of JAVA workflow

    Hi all
    Just a take here -- I'm just getting some feelers on the way WF SHOULD be going in future.
    Since starting to use the JAVA WD system and netweaver developer studio it seems that having to encapsulate a lot of NEW Workflows as ABAP objects is going "Backwards". (Note I said NEW not EXISTING applications)
    I understand that some compatability with existing systems needs to be maintained but if your user is doing all his applications from a Portal you really need the WF's to be triggered from the portal via say WEB SERVICES.
    I find I'm actually using the older ERP / ECC 6.0 R/3 systems these days purely as DATA repositories and from a JAVA program can often retrieve the data via standard BAPI's and RFC calls in a JAVA or Portal application.
    Isn't it about time that the workflow system as a whole was made much more JAVA and PORTAL friendly --since this is where more and more people are doing their developments from.
    Since switching more or less full time over to JAVA WEB DYNPRO developments the whole development time is completed MUCH QUICKER and with many many less mistakes.
    ABAP Web dynpro is also OK but it's still a little bit of a nightmare compared with JAVA when you need a lot of WEB SERVICES.
    Some WF's obviously will need to remain ABAP based but newer custom WF's IMO should be WEB DYNPRO and WEB SERVICE based.
    I can't think of too many large organisations who aren't making more and more use of Portals these days -- so C'mon SAP -- provide some proper Web hooks into WF's instead of us having to go through hoops and rings of writing LAST CENTURY's code to get stuff to work through a Portal.
    Cheers
    jimbo

    Hi,
    Have you checked the new BPM tool that SAP is offering? I think that it is definately a big step into to the drection that you are describing. I haven't really checked all its features and the technology that is is based on, so I am not the biggest expert of this matter.
    Check for example this article to get an overview: http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b06c49b2-ac63-2c10-3d8d-d17b817ba4ca?quicklink=nw-bpm&overridelayout=true
    Of course it will be a long road before this new tool will (if it will ever) replace the old ABAP based workflow engine.
    I wouldn't totally agree with all the points that you presented (ABAP WD being a nighmare, etc.). Actually I think that the direction (at least in some parts) is the opposite. For example SAP seem to have replaced their "old" travel management applications (Java WD) with new ABAP WD applications, so I see that they believe more in ABAP than Java (of course there might be some financial & other reasons behind this also.). In my opinion WDA has so many advantages compared to WDJ, that I would consider carefully the options when choosing the technology (the possible better(?) compatibilitly with web services might be one of the reasons).
    Regards,
    Karri

  • Web Dynpro List Viewer for JAVA ?

    Is the Web Dynpro List Viewer available for Web Dynpro for JAVA?
    The Release Notes of SAP NetWeaver 2004s about this topic are not totally clear for me.
    It is always talked about Web Dynpro List Viewer for Web Dynpro in general. For more information there is only a link to the topic ALV Integration into the Web Dynpro ABAP.
    I suppose, it is only available for ABAP. Am I right?

    Hi Gayathri,
    I just have that scenario in my mind, and certainly it's the purpose that i need to implement. However i'm tried to use only standard applications, but maybe this case  it's a exceptional case
    Best Regards,
    Luís Bento
    PS: I give you some points for your answer

  • Web Dynpro application callable object error: Page Builder Not available

    Hi, SDN Fellow.
    I created a callable object of Web Dynpro application. The callable object is atatched to an Action, and Action --> Block, and Block --> Process.
    I initiate the process in GP Runtime, when it comes to the Action screen the Web Dynpro application atatched to, I got the following error:
    The page builder required to display this application UI inside the portal environment is not available.
    As aa comparison, another callable object that atatched to a Web Dynpro component (that implement GP interface) is working fine.
    Please advise.
    Thanks in advance,
    KC

    Hi KC,
    When you start your process from GP Runtime, does the actual action/callable object open in a new window?
    Have a look at this SAP Note:
    [Error when executing a GP task - Page builder|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_gp/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393831353137%7d]
    Although the error message you are getting is different, but if your callable object opens in a new window, then the problem (in most probability) is the same as mentioned in the SAP Note.
    Also, try testing the Web Dynpro callable object in standalone mode. For more information on this, see:
    [Testing Callable Objects|http://help.sap.com/saphelp_nw04s/helpdata/en/4c/588041a17e060de10000000a1550b0/frameset.htm]
    Bye
    Ankur

Maybe you are looking for

  • Ipod touch screen went white and wont turn on

    help!! the ipod touch went white on its screen and the laptop cannot recognise the ipod it says unknown device! now the ipod wont even switch on can any1 help me

  • Getting EWA report But in Grey Colour

    Hi,    Iam getting EWA with all details of my solution manager,But my doubt is In my before EWA session its showing with grey colour.Is it iam getting report correctly or not.or is it any problem of getting report or i have to change any settings for

  • How To Set Justification Settings

    Hi, I'm trying to set the justification settings of a paragraph using IJustificationStyle's different setter mehods but the paragraph does not reflect the change that I set into the setter methods. I can see using the IJusificationStyle->GetWordspace

  • Backup 3.1.2 or Time Machine?

    I've been using the Backup app to Back up to my external hard drive, However I notice it is taking up more and more space when I do my weekly back up. My questions are: A) What is the difference between Home Folder full Backup & Incremental Backup? B

  • Exporting full quality problem.

    i shoot my movie in 16:9 on my sony camcorder. everything works perfectly in regards to editing and transfering to iDvd. the one thing i noticed that was weird is 2 days ago i made a short clip. about 5 minutes in 16:9 format. got it in and edited it