Skip to Content

Create a sample BSP application “ZDEMO_XMLDATA”


Create a XML view in the BSP application based on the PWFL model. Embed the below code shown in the following screens. The code is mainly projected to generate the XML file which is going to act as a source for the SWF file in a particular format. The CALL* TRANSFORMATION (‘ID’) *will generate the XML file using the data in a format based on the system / server settings. The pre defined format has to be achieved based on replacing some tags with other values as shown in the below screens.

!|height=432|alt=image|width=700|src=|border=0! image image

The below screen is the predefined format with data, variable, row and column tags generated while testing the XML view. The generated XML has to be parsed to the Xcelsius file. Sometimes the target might not be achieved if the format of the XML file is not proper.



Open the Xcelsius 2008 and design the canvas using a list box and a column chart. The list box will be holding the date of the flight and the column chart will represent the maximum and occupied seats of the particular class on the selected date.



Now the data connectivity has to be assigned to the Xcelsius file. The XML path will be taken from the properties of the XML view as shown below.




The XML data URL will be the copied URL from the above screen. The URL can also be dynamically changed by keeping tags on the server name. eq. [http://<webserver>.com:<port>/sap(namesapce | http://<webserver>.com:<port>/sap(namesapce])-Sample



Now the data from the XML has to be mapped to a series of range. Mark check on “Enable Load” and click on “+”. Name the series as “Q1” which we used the variable name in the XML file and select the ranges based on the data. Click on preview XML and compare the XML file generated by Xcelsius preview and the XML generated while testing XML view from BSP application. The format should be the same, so that the data can be parsed easily between the BSP and SWF file which is going to be generated.



Now export the Xcelsius file as a flash file.



Now the BSP application will be enhanced with an HTML page which will be holding SWF file as MIME object and will be displayed during the run time. Place the below code shown in the screen on the layout of HTML view.

!|height=198|alt=image|width=375|src=|border=0! image

Now test the HTML view and SWF file will be generated. Based on the different selections on flight date the data will be changed as shown in the below screens.

!|height=388|alt=image|width=684|src=|border=0! !|height=389|alt=image|width=675|src=|border=0!

To report this post you need to login first.


You must be Logged on to comment or reply to a post.

  1. Former Member
    Thanks for this information. It works well, but
    when I set indicator “Enable Send”, Xcelsius doesn’t work (I see a sand-glass and data do not come). I need to be transferred parameters in BSP – it is possible ? Could you Set to me an example or links ?
    1. Former Member Post author
      Dear Sergey Erokhin,

      If we are using the Enable Send the data will be parsed as an XML file and based on your web Interface you can reterive those data. I’m working on that and place the blog once it is done. You can fiind the same in the Xcelsius-User guide.

      My idea is, instead by using XML Data-Enable Send we can use the Web Service, so that the flow of data will be faster.


      1. Former Member
        Dear Gokul Natarajan,
        Many thanks for you answer. I red User quide and
        the example described there more or less works about an IIS-server, but is don’t work in BSP.
        When I set break-point in BSP – Xcelsius doesn’t enter there.

        I am sorry for my English.

        1. Former Member Post author
          Dear Sergey,
          In the user guide, it is not represented for SAP (BSP) and it wont work in our scenario. We have to change the scripts same as the scripts they have mentioned.

Leave a Reply