Skip to Content

How to Link DashBoard to NWBC

Requirement

In some situations that we develop some Dashboards using Flashfile and would like to link the same into the NWBC main screen.  The same can be achieved with following steps. 

Steps

Primarily – Create BSP application

1. Go to SE80,

2. Create an BSP application. GIve name as z<ZCashBook> and activate it.

3. Now point the cursor to application and right click

4. Create mime object folder

5. Now import a .swf file into the mime folder by right click import

6. Save the file.

7. Now create a page, by right clicking on application name.

8. Enter page name <ZPage>

Now Copy and paste the following html template into that page.

<object width=”550″ height=”400″>

<param name=”movie” value=”CashSummary.swf”>

<embed src=”ClearExternalNoVol.swf” width=”550″ height=”400″>

</embed>

</object>

9. Acitvate the whole application and test the application.

You can see the page now.

Secondly – Configure NWBC with this BSP

Go to NWBC Page painting. 

In PFCG  tcode – add this BSP Application ZCashBook for the given user group.

Now Test it through login by NWBC

You can see your flash getting displayed.

References

1. BSP Application creation and activation

2. NWBC Page builder

14 Comments
You must be Logged on to comment or reply to a post.
  • Thank you Venkat ... finally somebody make a good description ... here some more how-to 'hints' based on my successfull try-out:

    • Step 4 and 5 can be combined using the below SE80 context menu click on the BSP Application Top-Node: Create --> Mime Object --> Import
    • Step 8: I used just a the embed file and used with/height parameter "100% which simplifies how the Dashboard is beeing displayed (scaling to fit into the NWBC window open on the frontend) below my example:

    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>

    <!-- Comment: replace the swf file with your uploaded mime file -->

    <embed src="Equipment_Sales_V12.swf" width="100%" height="100%" >

    </embed>

    • Copy & Past the above and replace the 'swf-file' in the code by your uploaded mime-file which you can find by right-clicking on the mime file saved before and choos properties ... there Technical Information "File Name"

    Markus

    Suggestion: can anybody guide us to a 'how to' integrate the dasboard in an easy way with backend ERP and CRM ... or just write that how-to for dummies like me 🙂

    • Hi Markus,

      thanx for your reply regarding to the tutorial from the guy above!

      I have a question regarding to the code for the layout!

      Can you please poste the whole code, so that i can match it with my solution? That would be very nice! 🙂

      Because I have the still problem to show my dashboards in the netweaver business client...

      Best Regards

      David

      • Hey David,

        the coding above is complete, selected all and copy&pasted it in here. It worked on my end.

        Be sure that you use the right file-name in the coding (instead of Equipment_Sales_V12.swf) which refers to the file-name in the mime-object (see tech information tab in the mime object detail).

        Markus

        • Hey Markus,

          thank you for your response regarding to the coding, the bsp-app is well done, now!

          Info:

          I´ve established the page as fallows:

          First i`ve done the steps as described above from Venkateswaran to create a bsp-app and used the code that you have posted.

          After activating the bsp-app, I accomplished the fallowing steps:

          • open sap
          • go to transaction "PFCG"
          • create a role (give name and description)
          • in the flag "user" add the user/s who want to see the dashboard/s (before i add SAP_ALL authentication for testing)
          • right click to the flag "user" and click "verifying"
          • in the flag "menue" create an new folder and name it
          • add a "bsp-application"
          • search for your created bsp-application, add it and name it
          • choose your start-page created in the bsp-application
          • right click to the flag "menue" and click "verifying"
          • safe the role
          • open nwbc and login

          now i can see a new folder with my dashboard!

          If  i have no SAP_ALL for my user, what have i to do to get access to the folder/page?!

          Is there a more easy way to get the bsp-app working?

          And as Harshil asked, is there an easy way to get live data?

          Thank you in advance!

          Best regards!

          David

    • Yes, Dashboard can be refreshed with data.

      That depends on the Connection set up you have set in the Dashboard

         a) Refresh at every X minutes

             or

         b) providing a Refresh button in the dashboard and link the connection to that button

      Regards,

      Venkat

      • To refresh dashboard from NWBC, connection should be what??

        E.g. Live Office Connection, Query Browser, XML., NetWeaver BW Connection etc..???

      • Hey Venkateswaran,

        thank you again for your documentation, they gave me a good hint to get my dashboards into the nwbc!!! 🙂

        I faced the same problem as Harshil. Mayby you figured out a solution to refresh data in the nwbc that are integrated via bsp-app and page builder?

        Actually I`ve integrated a crystal report (.pdf-file) and two dashboards/xcelsius (.swf-file) in the nwbc, it works fine!

        The main problem for me is to find a solution to get live data into the dashboards, but i think you have the same problem and this solution via bsp-app is only a alternative, right?

        Mayby...someone can help us 😛

        Thanks in advance!

        Kind regards!

        David

        • Yes David, I think we both are having same problem. We have integrated dashboard(.swf file) in nwbc, now need to get live data.

          We must use connection between them and I am sure that LiveOffice Connection will not be worked. I want to know which connection can be used to refresh data from nwbc to dashboard.

          We both need to work for the same.... 😆 ....whoever gets the solution can post here for others.... 🙂 .....

          Thanks ......Keep Trying ....

        • Hi David

          In the Dashboard - data connection - I used webservice to connect to SAP R/3.

          In the Data Connection tab,  We have the option of Refresh in X seconds... 

          I used that and specified 300 seconds.

          My dashboard get automatically refreshed after every 5 minutes..

          Please let me know If I can be of any help.

          Regards,

          Venkat