Gantt chart in cProjects and XML definition

Hi,
I am making some changes to the XML file passed to the graphic in WebDynpro ABAP - Gantt chart (in cProjects module).
I would like to achieve a result that some bars are drawn with a pattern, for example with lines.
I am using the Node definition in file Typerepository_Badi_cpr.xml.
I have a set of definitions:
<shape>
    <fill Color type="SAP.Color.GanttBar.Metal" />
</shape>
Where can I find definition of available colors, or how to achieve the result with pattern on a bar?
thank you!

There is no date set  'Forecast' in the cProject as it in the ERP PS.
In the User-settings in the cProject application you can determine which dates should be showed in the GANTT. A dynamisic swith like ERP PS is not possible.
As far as I remember, there is a note, which describes how to set color in GANTT. If you donot find it, please let me known.
Kind regards,
Zhenbo

Similar Messages

  • Date fixing of  Gantt chart in cproject

    Hi,
        In cproject 4.0 Gantt chart , can we fix the time line appearance before and after the project schedule for various overviews like week, Month and year.? In current system the empty calender appears with huge period like 2 years incase of year overview, and more than 12 months in case of Month overview, more than 12 Weeks incase of Weeks(approximately).
    Pls guide me to solve the issue. Right answers will be awarded.
    Thanks in advance.
    Regards,
    Ramesh

    hi Ramesh,
    There is not much felxibility in viewing the Gantt chart like normal non sap planning tools. if you select view - overview then you will be able to see your all project in your window, system will automatically select scale to show you entire project. As per my knowledge there is no such settiing in collabration project to see specific period Gantt chart. But if you print the gantt chart system will give you preview of only specific time in which project operation with respect to view you select.
    Please let me know if you get more information about this.
    Regards,
    Pramod
    plz award pts if its useful for you.

  • GANTT CHART IN CPROJECTS- 4.0

    Can we have 3 sets of Dates (Basic Dates, Forecast Dates, Actual Dates) with both Earliest & Latest Dates options in cProjects as we have in R/3 PS ? If this is not possible, can we view both operative version and project version dates simultaneously in the GANTT ? Is it possible to chose different colours for different sets of dates as defined by the user?

    There is no date set  'Forecast' in the cProject as it in the ERP PS.
    In the User-settings in the cProject application you can determine which dates should be showed in the GANTT. A dynamisic swith like ERP PS is not possible.
    As far as I remember, there is a note, which describes how to set color in GANTT. If you donot find it, please let me known.
    Kind regards,
    Zhenbo

  • Gantt chart with null dates

    Hi,
    Kylie discovered here that you couldn't have null dates in the project gantt query
    APEX 4.0.2 Project Gantt Chart - Error Code: 2002 Message: Empty input
    As Valentina suggested, I found the actual dates are mandatory, while the chart tolerates missing planned dates - which is a complete reversal of what actual project data would have.
    baseline project gantt with parent-child relationship
    What I found though is if some planned dates are missing, the generated XML seems to default with data from previous rows.
    As detailed in this screenshot, my red lines indicate missing from/to dates (actual data also shown underneath chart)
    https://docs.google.com/file/d/0B_eVXQ_oe4tsRUFXUzA0NmNMUE0/edit?usp=sharing
    NAME    TASK_ID   ACTUAL_START  ACTUAL_END  PROGRESS  DUE_START     DUE_END
    line 1  1810794   07/MAR/2013   11/MAR/2013   100     26/MAR/2013   27/MAR/2013 00:00:00
    line 2  1810780   12/MAR/2013   16/MAR/2013   100     23/MAR/2013   27/MAR/2013 00:00:00
    line 3  1810779   17/MAR/2013   20/MAR/2013          
    line 4  1810773   21/MAR/2013   21/MAR/2013   50      24/MAR/2013  
    line 5  1810774   22/MAR/2013   10/APR/2013   93      16/MAR/2013  
    line 6  1810791   11/APR/2013   20/APR/2013          
    line 7  1810793   21/APR/2013   22/APR/2013   45      21/MAR/2013   The accompanying XML backs up the story, yet my query doesn't feed this data.
    <task id="1810794" parent="" name="line 1" actual_start="2013.03.07 00.00.00" actual_end="2013.03.11 00.00.00" baseline_start="2013.03.26 00.00.00" baseline_end="2013.03.27 00.00.00" progress="100" style="defaultStyle"/>
    <task id="1810780" parent="" name="line 2" actual_start="2013.03.12 00.00.00" actual_end="2013.03.16 00.00.00" baseline_start="2013.03.23 00.00.00" baseline_end="2013.03.27 00.00.00" progress="100" style="defaultStyle"/>
    <task id="1810779" parent="" name="line 3" actual_start="2013.03.17 00.00.00" actual_end="2013.03.20 00.00.00" baseline_start="2013.03.23 00.00.00" baseline_end="2013.03.27 00.00.00" style="defaultStyle"/>
    <task id="1810773" parent="" name="line 4" actual_start="2013.03.21 00.00.00" actual_end="2013.03.21 00.00.00" baseline_start="2013.03.24 00.00.00" baseline_end="2013.03.27 00.00.00" progress="50" style="defaultStyle"/>
    <task id="1810774" parent="" name="line 5" actual_start="2013.03.22 00.00.00" actual_end="2013.04.10 00.00.00" baseline_start="2013.03.16 00.00.00" baseline_end="2013.03.27 00.00.00" progress="93" style="defaultStyle"/>
    <task id="1810791" parent="" name="line 6" actual_start="2013.04.11 00.00.00" actual_end="2013.04.20 00.00.00" baseline_start="2013.03.16 00.00.00" baseline_end="2013.03.27 00.00.00" style="defaultStyle"/>
    <task id="1810793" parent="" name="line 7" actual_start="2013.04.21 00.00.00" actual_end="2013.04.22 00.00.00" baseline_start="2013.03.21 00.00.00" baseline_end="2013.03.27 00.00.00" progress="45" style="defaultStyle"/>Is this expected behaviour?
    Is this a bug?
    Is there a workaround - can I supply my own XML to hopefully override what is being generated?
    Scott

    Hi Ahmed
    Thank you for your reply.
    The time scales in Gantt chart specifically shows the year, month and weeks from the start date of project definition or basic start of WBS.
    Since it is not a decided project, the Gantt chart need to show 0, 1st week, 2nd week, 3rd week etc.
    The actual schedule from PD start date can be produced on actual initiation of project.
    It means, i am looking for having Gantt chart for duration and not for specific start and finish dates.
    warm regards
    ramSiva

  • Gantt Chart - #DATA# value

    Hi All,
    I am using Oracle Apex version 4.2.2.00.11.
    I do have a gantt chart in one of my application and that is working fine, in this gantt chart we are not using any custom XML generation logic.
    Now we got another requirement from client, in this we are going for custom XML generation logic because of the nature of data.
    They do expect the similar chart which we have already, now my requirement is, how can i look at the XML generated in my first Gantt Chart? because the XML part contains the parameter as, #DATA# and this contains the answer am searching for.
    Can anyone please help me to pull out the XML generated(#DATA#) by Apex in my first chart?
    Thanks in advance.
    With Regards,
    Sakthi.

    Run you page in debug mode. Then automagically a link appears below your chart "Show XML". Click that one 'et voila' ....

  • Gantt chart with duration

    Hi Experts
    As a part of bidding, client need to produce Gantt chart to the customer.
    However, since this is presale process, the exact dates are not indicated but the duration of project to be specified. It means the schedule to show the duration from zero date.
    Is it possible to take print of Gantt chart with out dates but duration of individual activity or WBS?
    Warm regards
    ramSiva

    Hi Ahmed
    Thank you for your reply.
    The time scales in Gantt chart specifically shows the year, month and weeks from the start date of project definition or basic start of WBS.
    Since it is not a decided project, the Gantt chart need to show 0, 1st week, 2nd week, 3rd week etc.
    The actual schedule from PD start date can be produced on actual initiation of project.
    It means, i am looking for having Gantt chart for duration and not for specific start and finish dates.
    warm regards
    ramSiva

  • Gantt Chart Data not getting pouplated

    Hello,
    I am using Gantt charts in apex for showing up large data.
    I am following this method to store huge data which is in xml(more than 32k) into a page item. (http://apex.oracle.com/pls/otn/f?p=35254:5:877211585824396::NO).
    I set my session state like APEX_UTIL.set_session_state (p_name => 'P10_DATA', p_value => APEX_APPLICATION.g_x01) and pass this item into gantt chart
    The problem i am facing is that even though i see that the value of P10_DATA is populated with all the data during debugging, upon opening session and checking the item's value, it displays null !!!
    Note:For data with less than 32k, Gantt chart loads correctly and the item's value gets saved.
    Anyine please help me with this..
    Regards,
    Uday

    Hello,
    I am using Gantt charts in apex for showing up large data.
    I am following this method to store huge data which is in xml(more than 32k) into a page item. (http://apex.oracle.com/pls/otn/f?p=35254:5:877211585824396::NO).
    I set my session state like APEX_UTIL.set_session_state (p_name => 'P10_DATA', p_value => APEX_APPLICATION.g_x01) and pass this item into gantt chart
    The problem i am facing is that even though i see that the value of P10_DATA is populated with all the data during debugging, upon opening session and checking the item's value, it displays null !!!
    Note:For data with less than 32k, Gantt chart loads correctly and the item's value gets saved.
    Anyine please help me with this..
    Regards,
    Uday

  • Gantt Charts with APEX

    Hello
    Has anybody managed to integrate Gantt Charts with APEX and got them working. I'm required to provide some similar reports.
    I understand Gantt charts are available in AnyCharts 5 but I need the XML to convert or at least a How To Do document.
    Any any other ideas would be appreciated.
    Cheers
    Ade

    Hi Ade,
    We have built an Anychart Integration Kit for APEX, if you take a look at -
    http://anychart.apex-evangelists.com
    and specifically -
    http://anychart.apex-evangelists.com/pls/apex/f?p=454:14:0:
    You'll see that anything is possible ;)
    We've concentrated on the core Anychart Functionality in the Integration Kit and will be releasing more powerful versions shortly.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • How to show dependency Arrrow in Project Gantt chart ?

    Hi,
    I have a requirement in which I need to show a Gantt chart showing Project and corresponding task of it. If Say Task2 is dependent on Task1 then I need to show an arrrow between these two tasks showing the dependency direction. But in my prototype project I am not able to show these arrow. I have attached my sample project. In this (Project2) I have a Task table having taskId, startTime, endTime and dependentTask coulmn, After I created EO, VO, AM and run the AM, I can see the Task2 is dependent on Task1, using the viewlink accessor window
    But when I drag and drop this on a page as Project Gantt chart I can not see the dependency arrows. while creating gantt chart, in the dependency tab of Gantt chart I have provided fromTaskId -> taskId and To task Id -> dependentTask.
    Still the arrows are not coming, Please help.
    The table creation script is below
    create table task_data (     
    name varchar2(30),
    taskId varchar2(30) primary key,
    startTime date,
    endTime date,
    dependentTask varchar2(30),
    type varchar2(30)
    insert into task_data values ('Project1', '1', '01-JAN-2012', '30-JAN-2012', null, 'PROJECT');
    insert into task_data values ('Task1', '2', '01-JAN-2012', '10-JAN-2012', null, 'TASK');
    insert into task_data values ('Task2', '3', '10-JAN-2012', '20-JAN-2012', '2', 'TASK');
    insert into task_data values ('Task3', '4', '20-JAN-2012', '30-JAN-2012', '3', 'TASK');
    commit;

    Publish your prototype somewhere where we can download it.

  • Turning Off Gantt Charts in MS Project For PDF Gen

    hi
    we have run into a problem when printing Gantt charts with PDF Gen. They can be extremely slow and on following up with Support they have confirmed that this is an issue with Distiller and there is no fix soon. So to get around the issue we tried disabling Gannt charts in MS Project by un-checking Bars and shapes in Gantt views in 3-D' (Tools > Options, View tab) in MS Project
    Now we're finding LC does not always pick up the setting. What we have noticed is that sometimes when printing to PDF with the same file, on the same server via PDF Gen, Gantt charts will appear, and sometimes not. Occasionally, the MS Project file when printing Gantt charts will stall in the Adobe Printer Queue, LC will then start to get Stuck Threads in Weblogic, and basically become unstable.
    Upon further investigation we saw that LC will use the WINPROJ.exe if it is running to do the conversion, or start a new WINPROJ.exe process if none is running. Sometimes while starting the process we get the Gantt chart setting picked up, and sometimes not, and there is no particular pattern.
    We did a lot of digging with PROCMON to see if we could find if LC was picking up a Windows Registry entry for MS Project perhaps with a different user which did not have the Gannt chart turned off, but could not find one. Our conclusion was that sometimes LC has submitted the job before WINPROJ.exe is fully loaded and somehow the No Gantt charts option gets lost, though this is speculation based on observation of behaviour.
    Anyone know what is going on?

    Hi,
    We will get this issue reproduced in-house and see if we can provide a patch to address this problem. Prima facie this does not appear to be a bug in the product; rather it appears that MS Project might be "forgetting" this setting in some cases, or a similar setting (inside the file that is being converted) might override the application-wide setting.
    We will try to see if we can forcibly set this flag (through MS Project COM APIs) each time a MS Project file gets converted. If this works, we might be able to provide a patch.
    Meanwhile, can you let me know exactly what version of MS Office (with the service pack details, if any) that you are using?
    Regards,
    Amit Batra
    Engineering Manager,
    Adobe LiveCycle Enterprise Suite

  • Gantt chart in Graphic layout of project

    Hi,
    is it possible to add a column in Gantt chart in cProjects project display? There is a BADI DPR_GANTT method GET_GANTT_PARAMETERS, but it is possible only to delete the columns, while I need to put a new column there. Is that possible?
    Thank you.

    Hi,
    Unfortunately it's not possible in standard.
    You have to enhance class CL_DPR_UI_LOG_GANTT to achieve this.
    BR
    Matthias

  • Interactive Gantt chart - how to receive updated XML after user changes

    Hello,
    I failed to receive changed XML after user updates.
    I've constructed following example:
    Created context attribute of type XSTRING, binded it to the "dataSource" property of the Gantt chart control.
    I pass following XML to the control:
    <?xml version="1.0" encoding="iso-8859-5" ?>
    <SAPJNetData version="1.0">
    <Application type="GANTT" version="1.0" />
    <TypeRepository version="1.0" href="/SAP/BC/WebDynpro/SAP/ZT_INV_WDR_TEST_GANTT/gantPR02P00086_3_tr.xml" />
    <UserInterface version="1.0" href="/SAP/BC/WebDynpro/SAP/ZT_INV_WDR_TEST_GANTT/gantPR02P00086_3_ui.xml" />
    <Graph type="Gantt.Graph" version="1.0">
    <rows>
      <row id="001" />
      <row id="002" />
      <row id="003" />
      </rows>
    <dates timeZone="GEurope/Berlin" locale="de_DE" format="dd.MM.yyyy" dateEnd="20.01.2010">
      <section date="01.01.2010" unit="DAY" unitSize="20" />
    <calendarItem id="Cal.1stDayInMonth">
      <repetition unit="MONTH" />
      </calendarItem>
    <calendarItem id="Cal.1stDayInWeek">
      <repetition unit="WEEK" />
      </calendarItem>
      </dates>
    <view>
      <viewpos date="01.01.2010" />
      </view>
    <chart id="Dummy">
    <timeScale>
    <section index="0">
      <ribbon type="Gantt.CProjects.Ribbon.Month" />
      <ribbon type="Gantt.CProjects.Ribbon.3Days" />
      </section>
      </timeScale>
      <grid type="Grid.CProjects.Gantt.TimeLine" calendarIDs="Cal.1stDayInWeek" />
    <table type="Gantt.Table" id="CProj-Table">
      <defaults typeCell="L.Table" typeHeader="L.Table" />
      <tree showRootIcons="TRUE" />
    <cols showInitially="4">
      <ids>TREE,ID2,ID3</ids>
      </cols>
    <header>
      <header width="30" />
      <label colid="TREE" width="250">Этап</label>
      <label colid="ID2">Дата с</label>
      <label colid="ID3">Дата по</label>
      </header>
    <rows>
      <ids>001,002,003</ids>
      </rows>
    <row>
      <header>1</header>
      <tree>Top Item</tree>
      <label>01.01.2010</label>
      <label>20.01.2010</label>
      </row>
    <row>
      <header>2</header>
      <tree parentRow="001">Subitem 1</tree>
      <label>01.01.2010</label>
      <label>10.01.2010</label>
      </row>
    <row>
      <header>3</header>
      <tree parentRow="001">Subitem 2</tree>
      <label>11.01.2010</label>
      <label>20.01.2010</label>
      </row>
      </table>
    <graph>
    <view>
      <backColor type="White" />
      </view>
    <node id="001" type="Gantt.CProjects.SummaryNode" rowID="001">
    <dates>
      <date>01.01.2010</date>
      <date>20.01.2010</date>
      </dates>
      </node>
    <node id="002" type="Gantt.CProjects.Node" rowID="002">
    <dates>
      <date>01.01.2010</date>
      <date>10.01.2010</date>
      </dates>
      </node>
    <node id="003" type="Gantt.CProjects.Node" rowID="003">
    <dates>
      <date>11.01.2010</date>
      <date>20.01.2010</date>
      </dates>
      </node>
      </graph>
      </chart>
      </Graph>
      </SAPJNetData>
    Then I run my example application, press standard "Save" button in Gantt chart control.
    After that my XML in context changes, but it's incorrect. There is no <graph> tag at all - this tag should contain all significant parameters of the chart.
    The resulting XML below:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <SAPJNetData build="9295" date="04-Aug-2010 10:19:13" host="localhost" version="1.1247">
    <Application type="GANTT" version="1.0"/>
    <TypeRepository href="/SAP/BC/WebDynpro/SAP/ZT_INV_WDR_TEST_GANTT/gantPR02P00086_3_tr.xml" version="1.0"/>
    <UserInterface href="/SAP/BC/WebDynpro/SAP/ZT_INV_WDR_TEST_GANTT/gantPR02P00086_3_ui.xml" version="1.0"/>
    <GraphGantt version="1.1247"/>
    </SAPJNetData>
    All the chart in fact has completely disappeared. There is nothing left but file header.
    The question: How to get XML with all user changes back from the Gantt chart control?

    Long time, hah..
    Anyways thanks to behave like a responsible person on SCN and taking care of your threads..
    Liked.

  • Gantt chart and calender weeks

    Hi,
    I have to build a gantt chart and additional to Month year and date I have to show the calender weeks.
    How can I do this?
    I think it should be in between this part
    <locale>
    <date_time_format week_starts_from_monday="True">
    <months>
    <names>January,February,March,April,May,June,July,August,September,October,November,December</names>
    <short_names>Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec</short_names>
    </months>
    <week_days>
    <names>Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday</names>
    <short_names>Sun,Mon,Tue,Wed,Thu,Fri,Sat</short_names>
    </week_days>
    <format>
    <full>%yyyy.%MM.%dd.%HH.%mm.%ss</full>
    <date>%yyyy.%MM.%dd</date>
    <time>%HH.%mm.%ss</time>
    </format>
    </date_time_format>
    </locale>
    Please help me.
    Regards
    Siegwin

    Hi Siegwin,
    I've done some digging through the AnyChart documentation, and it looks like you need to look at setting a scale pattern for your Gantt chart. Take a look at the section called Date Time Scale Units Patterns in the AnyChart AnyGantt User's Guide, here: http://anychart.com/products/anygantt/docs/users-guide/timeline-scale.html?fromtree#date-time-patterns. I've updated one of my existing sample Gantt charts to apply a <weeks> pattern, which now displays the calendar week above each week - http://apex.oracle.com/pls/apex/f?p=36648:50 - you'll need to zoom in on the timeline in order to see the weeks of course. To achieve this, I just updated the custom XML region:
    from
      <timeline>
        <plot line_height="30" item_height="15" item_padding="5" />
      </timeline>to
      <timeline>
        <plot line_height="30" item_height="15" item_padding="5" />
        <scale>
          <patterns>
            <weeks>
              <pattern>%e</pattern>
            </weeks>
          </patterns>
        </scale>
      </timeline>I would recommend that you review the AnyChart AnyGantt User's Guide (http://anychart.com/products/anygantt/docs/users-guide/index.html) and XML Reference (http://anychart.com/products/anygantt/docs/xmlReference/index.html) for any further customisations that you wish to apply to your chart, as they provide some very useful examples and associated XML code, which can prove very helpful.
    Regards,
    Hilary

  • CProjects - Gantt chart

    Hi Gurus
    In cProjects  - Gantt chart I am able to see the see the graph with start and finish date. I want to add actual finsih date. For eg. Task _1 start date is 01.06.2014 and finish date is 03.06.2014, but the task was completed by 6.06.2014. I need bring the actul completed date also in the graph. Please
    help. We are in cProjects 4.0
    Is there any standard report ?
    Regards
    Vidhyadharan

    Hi Vidhyadharan,
    By standard, any project management tools will have only one bar which displays your ES/LS dates with EF/LF if no actual dates are there. If actual dates are there, then those dates will be considered for display in gantt chart.
    In cProjects, actuals are indicated by the small line within the bar which comes based on the percentage completion field.
    Your next question will be, then how do I compare plan vs actual?
    For this you need to take a snapshot of our project after release and keep that as a baseline plan and use version comparison to compare & see baseline and current scheduled plan.
    In cProjects 4.0, you will only have tabular 'Version comparison', if you need graphical gantt chart for version comparison, then that feature is available only in PPM 5.0 and above.
    You can refer the below screenshot of PPM5.0 version comparison, where
    - Hatched bars - Baseline plan(From version snapshot)
    - Normal bars (Blue & red) - Scheduled plan
    - Bar with line in the center shows the completion activities.
    Hope this clarifies your question.
    Regards,
    Ravi

  • Setting Custom XML = Yes in resource gantt chart removes start & end dates

    I'm having a strange issue with a Resource Gantt chart in Apex 4.0.2.
    I built the chart using the Wizard and changed nothing from the defaults. Everything looks/acts fine on the chart when Use Custom XML = No. But I wanted to change a couple things like cell alignment and width, so I set this to Yes and modified the column attributes in the XML code. After doing so, when running the report, the values for Start Date and End Date are not showing. This is happening in both the datagrid and the tooltips, but the timeline is still showing the right information (ie a bar from start to end), so I know it still knows what the correct start and end dates are.
    Thinking I accidentally messed something up, I deleted the chart and recreated it (again, from the wizard). This time, I went back and only set Use Custom XML = Yes but did not change anything within the XML code itself. To my surprise, the dates were still missing. If I set it back to No then they reappear.
    Has anyone seen this before and/or know a way to fix it?
    Thanks,
    ~ John

    Hej John,
    APEX itself is using a field substitution "&DATE_FORMAT." to insert the date format into the XML file. This field substituion is used in may location in the default XML. APEX standard action is to substitute it with the value specified in the Gantt Setting "Date Format". This substitution takes place many places in the default XML file.
    Enabling custum XLM also means disabling APEX XML handling, the substitution does not take place, the "&DATE_FORMAT." contains in this case a null value.
    The default XML file, which can be viewed in apex developer mode, looks like:
    Start Date: {%ActualStart}{dateTimeFormat:&DATE_FORMAT.}
    The runtime XML, which can be viewed in debug mode, contains something like:
    Start Date: {2011.07.21 00:00:00}{dateTimeFormat:}
    ...a null value is not a valid AnaGantt date format.
    Two solutions:
    a) insert a correct AnyGannt date formatter in the custom XML like
    Start Date: {%ActualStart}{dateTimeFormat%YYYY.%MM.%dd %HH:%mm:%SS}
    or
    b) create a field DATE_FORMAT on page containg the chart and intialize it with the AnyGantt date formatter like %YYYY.%MM.%dd %HH:%mm:%SS".
    When running the page the substitution will take place usually.
    Regards,
    Benny

Maybe you are looking for