Reporting on date other than standard

We would like to report on a different period than the standard. The report period starts on the 26th of the previous month and ends on the 25th of current month. For example. we would like to make a report that shows the opportunities per month based on the opportunity start date, an opportunity with start date 27th of December 2008 should be displayed in the month January of 2009. Is there any possibility to do this?

Have a new field which shows Month, Put a formula using case statement stating if opportunity start date is greater than 25 then Next Month of the opportunity start date else the same month as the opportunity start date. This will help you

Similar Messages

  • Can LSMW upload data other than Master Data

    Dear Friends,
    Can LSMW upload data other than Master Data, e.g. Want to upload the Vendor Invoice line items with single Debit and multiple Credit line items are there and also more than one GL a/c are involved.
    Thanks in advance.
    Regards,
    Mahendra Dev

    The answer is YES.
    There is no issue issue if you have different GL account.
    The issue is if you have multiple line item (which are differeing in each entry).
    For this, if you want to use LSMW, check for program, but not the recording method option.
    Regards,
    Ravi

  • Is it possible to place custom CIDX message other than standard CIDX SCom

    Hi ,
      Is it possible to place the custom CIDX message in any software component other than standard software component CIDX which SAP has provided.Is there any restriction for CIDX messages?
    Regards,
    Ravi

    Hi ,
      I have custom CIDX Message structure under standard SWC CIDX .when I applied Patch to this SWC ,the custom CIDX message structure has gone, only SAP provided CIDX message structures are available. So I would like to know can I have custom CIDX message structure in other SWC.
    Regards,
    Ravi

  • Goods Receipt requirement other than standard storage location

    Hi,
    SAP Guru,
    Kindly guide on how to take receipt of Raw Materials against Purchase order or without Purchase order at other than RM01 or RM02 Storage Location
    i.e. we purchase RM from Vendor A and we give this material to Vendor B for Job work and then we take GR from Vendor B
    We generated 2 Purchase Orders for Vendor A and Vendor B
    We cannot take receipt from Vendor A becuase they supplied prohibited material which cannot be taken as receipt directly in to SAP Standard Storage location instead we require to take receipt of same which accounts for Vendor B through which we can do Billing activity
    With Regards,
    kunal sheth

    hi
    as the vendor B is ur subcontractor ,u an use sub vendor deliery in po
    create po for vendor A
    now initem level delivery address tab ,at right side in vendor field give vendor B and tick for SC vendor
    now the delivery will be done at vendor side
    just try it
    regards
    KI

  • How do I remove the photo dates other than with Sport Removal?

    How can I remove the photo dates that appear in yellow from a photo other than using the Spot Removal tool which has not worked?

    While I agree that more detail is necessary from the original poster ... maybe even a screen capture
    I don't know if this is what the original poster means, but when I have tried to use the Lightroom 5 Enhanced Spot Removal Tool for this purpose, I could never obtain a solution that seemed to remove the offending object and fill in the desired area with a relatively continuous and natural looking result. It always seemed clear to me, when I tried to do this, that the result always had un-natural looking discontinuities in the end result caused by my application of the Enhanced Sport Removal Tool.
    And so, in my case, to eliminate the dates from the bottom of my photos, I wound up using different software ... in my case Photoshop Elements, which produced a more satisfactory result.
    On the left is the version of the photo created by Photoshop Elements, the date is missing (and at the bottom right, a lamp to illuminate the sign is also missing); while on the right is the image with no attempt to remove the date and lamp. My attempts to reproduce the removal of this date via Lightroom were unsuccessful, the grass never looked natural, the grass always had discontinuities which made the result unsatisfactory, and I did not save the Lightroom attempts to remove the date and lamp. (And if you look carefully on the left, you can see places where the shadows abrupty have disappeared, an artifact of the process, however I still deemed the photo on the left to be successful at the removal of these items, as I don't usually focus on the shadows)

  • Experiences on JPA persistence providers other than standard SAP's

    Hi developers,
    in this thread I would like to gather experiences from all those who have tried using JPA persistence providers other than SAP standard implementation in productive environments
    It would be very interesting if you could share you experiences, for instance with regards to:
    - advantages of a specific implementation
    - disadvantages (if any)
    - new features available (e.g. Lazy support for Lob and single-value relationships)
    - ease of transport (did you manage to somehow use the java dictionary DCs or what?)
    - ease of build (e.g. EclipseLink requires additional build plugins to be developed)
    - ease of overall setup: how long did it take to set the DI stuff up (SLD SC creation/track creation/check-in/check-out/activate/transport/...)?
    thank you so much for sharing your experiences.
    Regards
    Vincenzo

    Hi Vincenco,
    yes, semantic IDs do not have a place in JPA. Semantic keys are needed, but not as IDs.
    Both SAP JPA and EclipseLink use @GenerationType.TABLE generation if you define @GenerationType.AUTO. ("AUTO" just means that the persistence provider "should pick an appropriate strategy for the particular database" (javadoc)
    Both TABLE and SEQUENCE are somewhat automatic.
    I guess the fact of lost-values is because the fetching of IDs is done in another transaction (probably for performance reasons, not to have the sequence table as a bottle neck).
    On Oracle, the combination of allocationSize on JPA side and INCREMENT BY / CACHE on Database side is as follows: allocationSize must be equal to INCREMENT BY, but JPA uses the intermediate numbers (which is not the case in normal (PL)SQL programming. There is no annotation-JPA-pendant to CACHE. But that JPA uses the intermediate numbers from memory may be considered as a JPA way of sequence caching (that may be further improved by Sequence CACHE for really big mass insers in one transaction).
    CACHE>1 will give you lost values even with allocationSize = Increment BY = 1.
    On the other hand, allocationSize=1 may give bad performance on mass inserts because the JPA provider must ask the database for every instance. allocationSize>1 (e.g. 20) is better but will again yield lost values. (But who cares with "long"?)
    There is one important issue with both automated value creation strategies - GeneratorType.TABLE and GeneratorType.SEQUENCE: The ID cannot be set by yourself on instantiation of an Entity object. JPA spec defines that the ID is set at the latest on EntityManager.flush or EntityManager.commit, which is sometimes too late if you have container managed transaction boundaries.
    But both SAP JPA and EclipseLink assure that the ID with Table and Sequence is set already after call EntityManager.persist(newObject). This improves a lot, but may be not enough.
    Example:
    @Entity(name="T_ORDER")
    public class Order {
         @OneToMany(targetEntity=OrderItem.class, mappedBy="order", cascade=CascadeType.ALL)
         private List<OrderItem> items = new ArrayList<OrderItem>();
         public void addItem (OrderItem item) {
              this.items.add(item);
              item.setOrder(this);
    @Entity(name="T_ORDERITEM")
    public class OrderItem {
         @ManyToOne(targetEntity = Order.class)
         private Order order;
    EntityManager em = emf.createEntityManager();
    em.getTransaction().begin();
    Order o = new Order();
    OrderItem i1 = new OrderItem();
    o.addItem(i1);
    em.persist(o);
    OrderItem i2 = new OrderItem();
    o.addItem(i2);
    At the end of this snippet, o and i1 have ID != null but i2 has ID==null. there is no way to "auto-persist" an object which gets into a relation to an already persisted object. i2 gets an ID!= null after flush or commit.
    This may be tricky if your business logic that adds items is "pojo" without acces to EntityManager or if you do not want to mess up your business logic with flushes.
    How to "broadcast" the  unique IDs of just inserted order items to the User Interface if they are not yet set in the last line of your SLSB?
    We switched to simple UUIDs that are generated on instanciation. long VARCHAR2s, but it works fine and is very common.
    Regards
    -Rolf

  • Can you download RAR Risk Analysis reports to something other than Excel?

    When you run a RAR Risk Analysis and go to export the resulting reports, RAR automatically exports this into an Excel spreadsheet.
    Is it possible to export the reports into some other kind of format/tool?  (SQL would be ideal.)
    We are on GRC 5.3 SP13.
    Thanks.

    Our CMG group runs a company-wide risk analysis 2-3 times a year to use in their SOD Review process.  We are looking into loading this report into QuickView to give them more capabilities with using the report.  QV will work with Excel, but you have to load every spreadsheet and every page separately. 
    We are looking to see if we could download it into some other format that would contain all of the report in just one file.  Would make the QV load easier.  Something like SQL would probably be ideal.
    Thanks.

  • W7: User Profile Service service failed at log on: Apparently W7 is no longer creating any user profile data other than username and picture.

    First time poster, but I think I've done my homework on this issue.
    This issue has similar symptoms to a problem with vista: http://www.vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html
    However, it is definitely not the same issue (see further).
    Current Config:
    HP dv7-1450.
    W7 RC 7100 x64
    Last update (up to date as of 8/31/09) installed succesfully 8/26/09 and should be unrelated to this issue (not verified yet by a pre-update restore).
    Running with Admin account while diagnosing/troubleshooting.
    Currently have two working accounts, one standard, one admin.
    Symptom:
    New user accounts cannot be logged into.  On an attempted login to the new account, the following information is displayed on the login screen:  "The User Profile Service service failed the logon.  User profile cannot be loaded."  Windows then logs off the operator and returns to the initial user selection screen.  All other aspects of use are normal.
    Current Diagnostics:
    First attempts to resolve this problem were to recreate the new account.  This was attempted when logged in as both Standard and Admin.  This was also attempted under safe mode.  This has been attempted with virus protection disabled.  All to no difference in the symptom.
    The similarity to the Vista issue (linked above) caused me to check the registry entry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ for the new profile (as suggested by that link).  Unlike that issue, there simply is no entry for the new user.  Examination of the new log entries from creation of account to attempted log in provides the following entries:
    Level Date and Time Source Event ID Task Category
    Information 8/31/2009 12:34:31 PM Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber <SessionEnv> was unavailable to handle a notification event.
    Warning 8/31/2009 12:34:11 PM Microsoft-Windows-Winlogon 6001 None The winlogon notification subscriber <Profiles> failed a notification event.
    Information 8/31/2009 12:34:11 PM Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber <SessionEnv> was unavailable to handle a notification event.
    Warning 8/31/2009 12:34:11 PM Microsoft-Windows-Winlogon 6001 None The winlogon notification subscriber <Sens> failed a notification event.
    Error 8/31/2009 12:34:10 PM Microsoft-Windows-User Profiles Service 1500 None "Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, and that your network is functioning correctly.
    DETAIL - Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
    Warning 8/31/2009 12:34:10 PM Microsoft-Windows-User Profiles General 1509 None "Windows cannot copy file C:\Users\Default\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm to location C:\Users\TEMP\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm. This error may be caused by network problems or insufficient security rights.
    DETAIL - Access is denied.
    Error 8/31/2009 12:34:09 PM Microsoft-Windows-User Profiles Service 1511 None Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.
    Warning 8/31/2009 12:34:09 PM Microsoft-Windows-User Profiles General 1509 None "Windows cannot copy file C:\Users\Default\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm to location C:\Users\{New Username}\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm. This error may be caused by network problems or insufficient security rights.
    DETAIL - Access is denied.
    Naturally I started with the earliest error first, and decided to look to see what is going on.  The file that is trying to be copied is there, but the destination folder does not exist.  As near as I can tell, whatever process (the User Profiles General Service?) is trying to perform the copy does not have sufficient access to perform the operation.  Specifically I suspect it may not be able to create the appropriate folders before performing the copy.  Interestingly, it appears that when windows attempts to open/create a temporary account profile, the same issue occurs.  Since there is no registry entry either, I suspect that the issue also extends to the creation of registry keys, but I am not familiar enough with the sequence of events in the creation of a user profile to determine if this would come before or after a user profile's first login.
    I attempted to find more information, and was able to investigate the UPS diagnostic event log (for a different, but identical attempt at creating and using the new profile).  The following two (unhelpful to me) log entries were generated.
    Level Date and Time Source Event ID Task Category
    Information 8/31/2009 12:34:10 PM Microsoft-Windows-User Profiles Service 1002 (1001) "The description for Event ID 1002 from source Microsoft-Windows-User Profiles Service cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    The message id for the desired message could not be found
    Information 8/31/2009 12:34:09 PM Microsoft-Windows-User Profiles Service 1001 (1001) "The description for Event ID 1001 from source Microsoft-Windows-User Profiles Service cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    It seems to imply that the User Profiles Service may be corrupted, but this may also be unrelated.  I do not know how to specifically repair this service anyway (but am open to try it if someone can walk me through it a bit).
    There's the info.  I'd like to figure out how to watch the account creation process in more detail to see if I gleen more, but I don't have the experience to know what to do to enable such a log.  I will not perform a reinstall and am loath to do a restore, instead looking more for a cause and effect repair: something that would actually help MS fix the problem rather than have the customer fix the symptom.
    Thanks in advance to responders!

    First time poster, but I think I've done my homework on this issue.
    This issue has similar symptoms to a problem with vista: http://www.vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html
    However, it is definitely not the same issue (see further).
    Current Config:
    HP dv7-1450.
    W7 RC 7100 x64
    Last update (up to date as of 8/31/09) installed succesfully 8/26/09 and should be unrelated to this issue (not verified yet by a pre-update restore).
    Running with Admin account while diagnosing/troubleshooting.
    Currently have two working accounts, one standard, one admin.
    Symptom:
    New user accounts cannot be logged into.  On an attempted login to the new account, the following information is displayed on the login screen:  "The User Profile Service service failed the logon.  User profile cannot be loaded."  Windows then logs off the operator and returns to the initial user selection screen.  All other aspects of use are normal.
    Current Diagnostics:
    First attempts to resolve this problem were to recreate the new account.  This was attempted when logged in as both Standard and Admin.  This was also attempted under safe mode.  This has been attempted with virus protection disabled.  All to no difference in the symptom.
    The similarity to the Vista issue (linked above) caused me to check the registry entry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ for the new profile (as suggested by that link).  Unlike that issue, there simply is no entry for the new user.  Examination of the new log entries from creation of account to attempted log in provides the following entries:
    Level Date and Time Source Event ID Task Category
    Information 8/31/2009 12:34:31 PM Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber <SessionEnv> was unavailable to handle a notification event.
    Warning 8/31/2009 12:34:11 PM Microsoft-Windows-Winlogon 6001 None The winlogon notification subscriber <Profiles> failed a notification event.
    Information 8/31/2009 12:34:11 PM Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber <SessionEnv> was unavailable to handle a notification event.
    Warning 8/31/2009 12:34:11 PM Microsoft-Windows-Winlogon 6001 None The winlogon notification subscriber <Sens> failed a notification event.
    Error 8/31/2009 12:34:10 PM Microsoft-Windows-User Profiles Service 1500 None "Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, and that your network is functioning correctly.
    DETAIL - Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
    Warning 8/31/2009 12:34:10 PM Microsoft-Windows-User Profiles General 1509 None "Windows cannot copy file C:\Users\Default\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm to location C:\Users\TEMP\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm. This error may be caused by network problems or insufficient security rights.
    DETAIL - Access is denied.
    Error 8/31/2009 12:34:09 PM Microsoft-Windows-User Profiles Service 1511 None Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.
    Warning 8/31/2009 12:34:09 PM Microsoft-Windows-User Profiles General 1509 None "Windows cannot copy file C:\Users\Default\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm to location C:\Users\{New Username}\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm. This error may be caused by network problems or insufficient security rights.
    DETAIL - Access is denied.
    Naturally I started with the earliest error first, and decided to look to see what is going on.  The file that is trying to be copied is there, but the destination folder does not exist.  As near as I can tell, whatever process (the User Profiles General Service?) is trying to perform the copy does not have sufficient access to perform the operation.  Specifically I suspect it may not be able to create the appropriate folders before performing the copy.  Interestingly, it appears that when windows attempts to open/create a temporary account profile, the same issue occurs.  Since there is no registry entry either, I suspect that the issue also extends to the creation of registry keys, but I am not familiar enough with the sequence of events in the creation of a user profile to determine if this would come before or after a user profile's first login.
    I attempted to find more information, and was able to investigate the UPS diagnostic event log (for a different, but identical attempt at creating and using the new profile).  The following two (unhelpful to me) log entries were generated.
    Level Date and Time Source Event ID Task Category
    Information 8/31/2009 12:34:10 PM Microsoft-Windows-User Profiles Service 1002 (1001) "The description for Event ID 1002 from source Microsoft-Windows-User Profiles Service cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    The message id for the desired message could not be found
    Information 8/31/2009 12:34:09 PM Microsoft-Windows-User Profiles Service 1001 (1001) "The description for Event ID 1001 from source Microsoft-Windows-User Profiles Service cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    It seems to imply that the User Profiles Service may be corrupted, but this may also be unrelated.  I do not know how to specifically repair this service anyway (but am open to try it if someone can walk me through it a bit).
    There's the info.  I'd like to figure out how to watch the account creation process in more detail to see if I gleen more, but I don't have the experience to know what to do to enable such a log.  I will not perform a reinstall and am loath to do a restore, instead looking more for a cause and effect repair: something that would actually help MS fix the problem rather than have the customer fix the symptom.
    Thanks in advance to responders!
    To resolve this issue, I suggst you delete the file C:\Users\Default\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm.Arthur Xie - MSFT

  • How to use rtp to transmit data other than audio / video

    hi all,
    as you all know the jmf is based upon a specific paradigm:
    data source -> player (processor) -> renderer.
    i am not being very precise on this but that does not matter.
    i want (for testing purposes) to create a tool that transmit some custom data
    (maybe even nonsense) over the rtp packages.
    so as you may now see this would not work quite right with the mentioned
    paradigm since there would be no audio/video to play-process-render.
    so how would i go about to utilise the rtp abilities of the jmf without adhering
    to the whole player-whatever shebang.
    what i have figured out is that there is a way to transmit custom rtp-payload.
    there is even an example on the jmf solutions page but even this one uses
    an audio format (pcm).
    i hope what it is clear to the dear reader what i want to do and maybe some-
    one can help me with this.
    p.s. i am not one who wants to get the whole source code (like so many
    others do on this forum) for a project someone may have done on this, what
    i need is a hint in the right direction.
    thanks for your attention and thanks in advance for any useful hints.

    Hi, I would like to make some comments that may help
    you to find out how to manage your problem.
    If you have a look to the JMF 2.0 API, Guide,
    "Understanding the JMF RTP API", Figure 8-2
    http://java.sun.com/products/java-media/jmf/2.1.1/guide/RTPArchitecture.html#105171
    you can notice that the processor is not essential.
    In this pciture, the processor is inserted between two datasources,
    to let you perform some operations on the media that is read from
    a file or a capture device.
    But the SessionManager just needs a DataSource.
    With what you say, I can imagine that you want to transmit
    real-time data that is not related to standard media formats.
    In principle, the only think you must do is to extend the
    javax.media.protocol.DataSource abstract class and implement
    it at your own convenience.
    Once your custom class is written, you can call the SessionManager's
    method createSendStream(DataSource ds, int streamindex) passing
    for argument an instance of your mentioned custom implementation.
    Hope this helps.
    Good Luck ;-) !

  • Accessing Perfdump data other than browser

    i tried with get command
    (echo GET /.perf; cat -) | telnet -c localhost 8100, which works fine.
    this displays only on the screen. I need to log in to file
    I also tried with
    wget -r /.perf http://168.219.177.107:8100 -o log
    wget /.perf http://localhost:8100 -o text
    all shows the details of my home page not the perfdump data.
    please let me know the exact command

    This really isn't possible without using some fancy tricks.
    You could set a unique cookie to each user and, via the log files, retroactively determine simultaneous users. You could use JavaScript techniques (ala Google Analytics) to accomplish much the same thing.
    "Simultaneous Users" doesn't mean much to any actual web server though. All the server processes are concerned about is simultaneous working connections + simultaneous idle KeepAlive connections. Both of these metrics are reported in your Perfdump report.

  • Idocs other than standard idocs?

    Hi friends,
            What idoc's would be used if our data is not a standard data like Sales order data(ORDERS idoc).
    I mean if our client has tyre manufacturing business, and he has data like article data, carton data etc. Then what idocs we would be importing in IR to send the article data or carton data from SAP system to any receiver system.

    You can either create your own Idocs or enhance standard idocs
    /people/jiaxiang.huang/blog/2008/01/14/some-experience-on-idoc-enhancement
    See Idoc section:
    http://www.henrikfrank.dk/abaptips/abapindex.htm

  • CJE0 Report in currency  other than controlling area.

    Dear PS friends,
    As all PS Reports in CJE0  are in controlling area currency, if we want to have these reports in other currency then how we will go.If any one has gone through such problem , pl let us know the way.
    Regards,
    AS

    I haven't tried it but below should be the process to report in diferrent currencies
    Check if you have the All Currencies Indicator in the Controlling Area.
    Also check the customising node CJEC (Currency Translation) and OB08 (Maintain Currency Exchange Rates)
    In the reports choose from the menu Settings -> Currency to report in diferrent currencies.
    Regards
    Sreenivas

  • Data other than english language

    Hi,
    I am using Oracle 10g. I am having a table in which there are two columns, one column contains the data which may not be in english. Whenever I populating the data, I am getting some junk characters in that field. Now, if I want to know how many records do I have which are not in english, how to populate only those records ?
    Regards

    One possible way:
    with dummy_data as (
       select 'ABC123' text from dual union all
       select 'Abc' text from dual
    select text
    from dummy_data
    where regexp_like(text,'[^a-zA-Z]')
    ;The regular expression means "if text contains something a character +not+ (the ^) in the ranges a-z or A-Z."
    Another way:
    with dummy_data as (
       select 'ABC123' text from dual union all
       select 'Abc' text from dual
    select text
    from dummy_data
    where translate(text,'§ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz','§') is not null
    ;Translate translates the first character of the first string to the first character of the second string, the second character of the first string to the second character of the second string, etc.
    So § translates to § (unchanged in other words) and A translates to null, B translates to null, etc.
    If text contains only a-z or A-Z that translate will turn the entire string to null - if any other characters exist, it will be not null.
    There may be as many ways to do this as there are programmers in the world :-)

  • Capture dates (other than weekends) given a date range

    I have the following code where I'm trying to capture the dates, which fall within the entered range. The code in the default condition is not working. I'm trying to get the date in yyyy-MM-dd format and store it in an array. What am I going wrong ? Thanks.
    int days = 1;
    java.sql.Date date_array[];
    while ( beginCalendar.before(endCalendar) ) {
    switch(beginCalendar.get(Calendar.DAY_OF_WEEK))
    case Calendar.SATURDAY:
    break;
    case Calendar.SUNDAY:
    break;
    default:
    java.util.Date dt = sdf.parse(beginCalendar.get(Calendar.DATE));
    java.text.SimpleDateFormat sql_sdf =
    new java.text.SimpleDateFormat("yyyy-MM-dd");
    java.sql.Date sql_dt = java.sql.Date.valueOf(sql_sdf.format(dt));
    date_array[days] = dt;
    days++;
    beginCalendar.add(Calendar.DATE, 1);
    }

    Oooops, I sent the wrong version.....sorry about that. This is what it looks like currently. What I'm doing is creating and comparing two calendars, created from a beginning and ending date range. I'm computing the number of elapsed days, not including Saturday and Sunday. I'm trying to add code, in BOLD, to capture the dates found in the range entered. I don't want to have to code three integers to pick up the year, month and day and use parseInt to concat them together...blah, blah, blah. I would like to just use SimpleDateFormat to capture the entire date in yyyy-MM-dd sql date format and load them into an array. Any suggestions ?
    while ( beginCalendar.before(endCalendar) ) {
    switch(beginCalendar.get(Calendar.DAY_OF_WEEK))
    case Calendar.SATURDAY:
    break;
    case Calendar.SUNDAY:
    break;
    default:
    int day = (beginCalendar.get(Calendar.DATE));
    int month = (beginCalendar.get(Calendar.MONTH)+1);
    int year = (beginCalendar.get(Calendar.YEAR));
    java.text.SimpleDateFormat sql_sdf =
    new java.text.SimpleDateFormat("yyyy-MM-dd");
    // java.sql.Date sql_dt = java.sql.Date.valueOf(sql_sdf.format(dt));
    // date_array[days] = sql_dt;
    days++;
    beginCalendar.add(Calendar.DATE, 1);
    }

  • Changing axis data(other than time in x-aix)

    requirement is to plot a graph with voltage in x-axis and counts in y-axis. I have formed a 2-d array and fed as input to graph.
    Could you please guide me in changing the axes accordingly.
    Krithika
    Attachments:
    Block dia.JPG ‏40 KB

    Thanks for the response
    Ok, let me be more clear in my requirement.
    sample data i want to plot:
    Vol         Counts
    16           16.25
    22           63.25
    I have attached the vi now and the graph displays 2 plots ( red and white). The white plot is the 1st col in the aray built ( vol value) and i am not sure what is the red plot and i want to change the graph properties in such a way that vol values are on X-axis and counts values are on Y-axis.
    i am beginner in using labview, kindly bear with me...
    Krithika
    Attachments:
    Plot - Counts.vi ‏47 KB

Maybe you are looking for