cancel
Showing results for 
Search instead for 
Did you mean: 

How to create an XML File for Gantt?

Former Member
0 Kudos

Hi Everybody.

I need a Gantt in Web Dynpro ABAP. I need it for the boss to do a Forecast for Vacation. I Hope this is understanding.

Did Anyone know how can i create a XML File for the Gantt at runtime?

Thanks

MSi

Accepted Solutions (0)

Answers (1)

Answers (1)

ChrisPaine
Active Contributor
0 Kudos

Hi Marcus,

the following link is to the JNet/JGantt developer doco

[JNet/JGantt Developer Documentation|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/lw/uuid/f010ec31-9658-2910-3c83-c6e62904eceb]

included in this is the:

[Schema for XML|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/lw/webdynpro/jnet_jgantt%20developer%20documentation/schema/xml-spy/jnet-schema.html]

You can use this to build XML to represent a gantt like chart.

I did this to build XML to represent employee avaliablity - although we fronted the gantt through WD Java not ABAP - the java applet called is the same (I believe).

Don't underestimate the work required to tweek your data into a decent layout. It took me days.

There may be tools/api to help generate the XML - I don't know of them - I'd look forward to seeing any other replies to this thread from people who have used/built any. An example of a class that generates JNet XML - CL_SPI_UI_JNET - but this does not seem to be a Gantt display.

Cheers,

Chris