Skip to Content

You can find several programs in SPIG package,these programs use IGS to generate the business chart.in fact,the chart is generated according to data xml and customizing xml.

the detail relevant knowledge please see How to display a dynamically generated business chart from IGS in WebDynpro for ABAP application and Adobe Interactive Form?Thank Alex.Liu’s share.

there is a requirement that use bar chart to display the resouce(truck/trailer) status,there are 3 basic statuses for a resource which is allocated/available/maintenance but with serveral combined status for a range time.

the designed sequence is as following

1.generate the bar chart data.

2.upload the bar chart to a server and get the detail url address.

3.use the url to display it in the web dynpro.

ps:sap chartdesigner is a nice tool to generate a business chart.after generating the business chart you required,just save the customing XML,and open it ,you will know the customizing xml structure,then convert the XML file into you program and you can generate the same business chart by program.

Though you can get the customizing xml from sap chartdesigner,you can’t get the data xml from the sap chartdesigner,maybe you also need to know what the structure of a data xml is,following link may strenghten you knowlege about data xml for IGS.

http://scn.sap.com/thread/565646

the preview of my requirement.several combined status(blue is allocated/white is available/grey is maintenance) which is generated from the following method

/wp-content/uploads/2012/07/preview_123830.png

**Main method.

ps:iv_igs_dest is a rfc destination,you can find it in SM59,here iv_igs_dest = ‘IGS_RFC_DEST’

/wp-content/uploads/2012/07/1_123802.png/wp-content/uploads/2012/07/2_123803.png/wp-content/uploads/2012/07/3_123804.png

the function ‘WDY_CONSTRUCT_URL’ get the url of a web dynpro application.

the rv_icon_add is the final url address(http://xxxx/xxx/xx.bmp)

*Sub Method

/wp-content/uploads/2012/07/1_1_123821.png

  /wp-content/uploads/2012/07/1_2_123829.png

/wp-content/uploads/2012/07/2_1_123823.png

/wp-content/uploads/2012/07/2_2_123827.png

/wp-content/uploads/2012/07/2_3_123809.png/wp-content/uploads/2012/07/2_4_123810.png

To report this post you need to login first.

Be the first to leave a comment

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

Leave a Reply