Skip to Content
Author's profile photo Muhammed Riyas

A simple Business Graph In Webdynpro

1. Create a Webdynpro component

          /wp-content/uploads/2012/10/bg1_149783.jpg

2. Go to main view and create a node of cardinality 0…n with following attributes in context.

           

                         /wp-content/uploads/2012/10/bg2_149784.jpg

                                    

                                 

                                 /wp-content/uploads/2012/10/bg3_149785.jpg

3. Next go to layout and insert a business graphics UI element.

                /wp-content/uploads/2012/10/bg4_149789.jpg

   After insertion

              

                /wp-content/uploads/2012/10/bg5_149790.jpg

4.  Go to the properties of the UI element (B_GRAPH) and bind the ‘Series Source’ with node ‘NODE’.

                 /wp-content/uploads/2012/10/bg6_149798.jpg

5. Then right click on the UI element and select ‘Insert Category’.

              

                 /wp-content/uploads/2012/10/bg7_149791.jpg

In the properties of category, Bind the description with the ‘Year’ in the node

                

                /wp-content/uploads/2012/10/bg8_149799.jpg


6. Again right click on the UI element and select ‘Insert Series’

             

               /wp-content/uploads/2012/10/bg9_149800.jpg

Give ID ( Series1 ) and TYPE ( Simple Series ) as shown below.

            

              /wp-content/uploads/2012/10/bg10_149804.jpg

Similarly create two more series with ID ‘Series2’ and ‘Series3’ of type ‘Simple Series’

           /wp-content/uploads/2012/10/bg11_149805.jpg

Go to the properties of Series1 then bind the value with O_QTY and Label as ‘Ordered Quantity’

           /wp-content/uploads/2012/10/bg12_149806.jpg

    Similarly bind value of Series2 with B_QTY and value of Series3 with D_QTY. Give label for Series2 as ‘Billed Quantity’ and for Series 3 as ‘Delivered Quantity’.

7.  Write the below code in WDDOINIT

   

WDDOINIT

  

        /wp-content/uploads/2012/10/bg13_149812.jpg

        /wp-content/uploads/2012/10/bg14_149813.jpg      

8. Create an application and activate the application. The output of the application is as shown below.

          

             /wp-content/uploads/2012/10/bg15_149814.jpg

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.