Creating Business Graphs using Web Dynpro for ABAP
Check if the application is in change mode or
not. If not in the change mode than make it as a change mode. Now right click on
the context and create a node.
Create one node with the name series and make the cardinality
o to n and 0 to 1.
Now create the attributes of this node. So right click on the
series node and create the attribute as shown below.
First create the attribute description and give the type
string for this attribute as shown below.
Now create the three more attributes (company1, company2 and
company3) like the same way as shown previously with the type i (integer).And
save the application. Now go to the layout. At the left side of the Layout
window in the favorites click on the element Business Graphics and drag and drop
to the Layout.
The layout would like as follows:
Now right click on the Business Graphics and insert category
for the x-axis of the graph.
After defining the x-axis for defining y-axis right click on
the Business Graphics and insert series as shown below.
So define y-axis for company1sales.
In the same way, define y-axis for company2 and company3.
And save the application. Now bind the context to the layout.
Now click on the BUSINESS_GRAPHICS and in the properties bind
the SERIES node with the layout.
Now click on the description and bind description with the
Now click on the company1sales and bind the Company1sales to
the attribute company1 as shown below.
In the same way, bind the company2sales with the attribute
company2 and company3sales with the attribute company3. And save the
Click on the BUSINESS_GRAPHICS and right click on it and go
to the Edit Customizing as shown below.
Define the properties as shown below:
Now go to the methods as shown below.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
Graphic Design by Round the Bend Wizards