Need start date & end date for MMYYYY

HI ,
I need to find start date & end date of MMYYYY.
Is there any FM to do this??
thanks
Moderator comments: 1st warning.
Pl read the rules of engagement & [Date questions not allowed|/thread/1360534 [original link is broken];
Awarded points are unassigned & the thread is locked.
Edited by: Suresh Datti on Aug 6, 2009 4:14 AM

Hi Karthik,
Try this way.
REPORT ZTEST_NOTEPAD.
PARAMETERS :p_month(2) type n,
            p_year(4)  type n.
data:first_day LIKE  VTBBEWE-DVALUT,
     last_day  type datum,
     days(2)   TYPE c.
"First date of the month
CONCATENATE p_year p_month '01' INTO first_day.
CALL FUNCTION 'END_OF_MONTH_DETERMINE_2'
  EXPORTING
    i_datum        = first_day
IMPORTING
   E_TT           = days.
"Last date of the month
CONCATENATE p_year p_month days INTO last_day.
WRITE:/ first_day,
      / last_day.
Thanks
Venkat.O

Similar Messages

  • Can i restrict apple mail client from downloading all emails...and allow it to pick a start date for gmail mail to sync? i am flooded with old emails, thousands on them ...eating hard drive space of my macbook pro and un necessary overhead

    can i restrict apple mail client from downloading all emails...and allow it to pick a start date for gmail mail to sync? i am flooded with old emails, thousands on them ...eating hard drive space of my macbook pro and un necessary overhead

    The genius bar technicians can check your MBP for possible hardware problems and specific software issues that you may have.  The diagnosis will be free.  Any extensive repairs will not be free.
    If you have minor software problems, you essentially will have to deal with them yourself.  Examine these two comprehensive documents for possible problem definition and solutions.  If you encounter problems that you are unable to cope with, start a new discussion and there will be persons willing to assist you in solving them.
    https://discussions.apple.com/docs/DOC-3521
    https://discussions.apple.com/docs/DOC-3353
    Ciao.

  • How do I change the start date for the week from Monday to Sunday on my iPhone 5?

    How do I change the start date for the week on iCal from Monday to Sunday on my iPhone5?

    Yes. On my new iPhone 5 the iCal week begins on a Monday not a Sunday and does not give me the option to edit in settings on the phone

  • Is it poosible to control the start date for an assort idoc on the erp sise

    is it poosible to control the start date for an assortment list  idoc on the erp sise

    Hi rodeofive,
    As per my understanding, the issue is a performance issue. And it is caused by there are thousands of values in the drop-down list of parameters in the report.
    To work around this issue, I suggest you should make some changes in the report. For example, we can add additional two parameters with multiple keywords ahead, one for the dropdown contains 95k options, another for dropdown contains 24k options. Then all
    of available values which are begin with the keywords will display in the parameter list. In this scenario, we can create cascading parameters. One is a keyword parameter, and the other parameter is the drop-down list that based on the keyword to display the
    available values.
    For more details about the method, please refer to the following FAQ:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/8de6c783-9cb4-4b95-9be8-b59bc0049866/forum-faqhow-do-i-add-a-search-feature-in-the-parameter-with-long-drop-down-list?forum=sqlreportingservices#8de6c783-9cb4-4b95-9be8-b59bc0049866
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Custom text component with different start and end points for each line

    I'm trying to create a custom component extending textArea in which each individual line in the textArea would have different start and end points.  For example, the start/end points for line 1 might be 20 pixels in the front and 35 pixels at the end but start/end points for line 2 might be 25 pixels in front and 20 pixels at the end, etc.  These boundary values would be passed in.  The width of the entire textArea component would be a fixed size.  The result would be something like this:
         Jack and Jill
              ran up the hill
      to fetch a pail of water
    depending on the boundary values of each individual line of course.  The custom component would take a string and render it in the text component with the appropriate individual line start and end points.  I'm trying to do this by adding the text component to the display with the passed in string and then adding in spaces in the beginning of each line and adding a "/n" at the end of the line wherever appropriate based on the start and end values for that line.
    Just wondering if I'm on the right track and if anyone has any advice on this.

    > Applying the marker places the same icon on all lines of the graph and I need a different one for each
    What do you have selected when you assign the marker? It
    shouldn't apply to all the markers on the whole graph unless you have all the existing markers selected when you apply the new one.
    Assigning marker designs is exactly analogous to assigning bar graph designs.
    If you have a single marker selected when you assign the new design, it will apply to only that graph data point.
    If you use the group select tool (or option-click with the direct select tool) to reclick on an already-selected marker until all the markers for the same line are selected, and then assign a design, the new design will apply only to the selected line. (You can extend the graph by adding more rows, and the new data points will inherit the marker for the line they are on.)
    The thread linked to below demonstrates in more detail how the marker designs are scaled:
    http://www.adobeforums.com/cgi-bin/webx/.3bc10970/0

  • Informix: Error while trying to set up start or end key for index read

    Hi all
    Im moving an application from weblogic 6.1 to 8.1, we're using informix as our databasemanager and are using informix's XA driver. However im running into the following error:
    SQL State: IX000, Exception: java.sql.SQLException: [Internal] Error while trying to set up start or end key for index read [fmstopset_release],
    SQL ErrorCode: -9847, Error Message: [Internal] Error while trying to set up start or end key for index read [fmstopset_release], RSAM ErrorCode: -101
    ...while accessing a table.
    The same code runs fine twice, but the third and following times it fails with the above error code. I've tried setting the various XA flags available in the weblogic console but with no success so far.
    Anyone have any input to this problem? Ive not seen many postings about this error out in the cyberspace and the fews ive seen never gets any response...so i just have to hope anyone in here know anything about it.
    Best regards
    JM

    Ulf Akerberg wrote:
    Hello
    I managed to work around my problem by setting the "statement cache size" in the jdbc connection pool to 0. At least that seems to be a work around, im not fully happy with it.
    I attach the stack trace from the exception, perhaps it will give someone an idea.
    Btw, we're using sun.jdbc.rowset.ExtendedCachedRowSet to populate the resultset to a "disconnected resultset" which the application works with instead of the resultset. Any statements and resultsets that are created are closed before returning the ExtendedCachedRowSet to the application.
    If the application works when statement caching is turned off, then it implies a bug in the
    informix driver to do with re-using a prepared statement. Is the PreparedStatement used
    the same way each time? (the one at AbstractDAO.java:166) What I mean to ask is, If/when
    this statement is created with a given SQL string, are the parameters for that SQL always
    set the same way?
    thanks,
    Joe
    >
    2004-09-10 15:45:05,603 ERROR [ExecuteThread: '14' for queue: 'weblogic.kernel.Default'] - SQLException: Generic SQL failed:
    SELECT d.*,dt.dokument_typ FROM dokument d, OUTER dokument_typ dt WHERE d.dok_typ_id = dt.dok_typ_id AND d.dokument_id = ? ( 0:894),
    SQL State: IX000, Exception: java.sql.SQLException: [Internal] Error while trying to set up start or end key for index read [fmstopset_release],
    SQL ErrorCode: -9847, Error Message: [Internal] Error while trying to set up start or end key for index read [fmstopset_release], RSAM ErrorCode: -101
    java.sql.SQLException: [Internal] Error while trying to set up start or end key for index read [fmstopset_release]
         at com.informix.jdbc.IfxSqli.addException(IfxSqli.java:3105)
         at com.informix.jdbc.IfxSqli.receiveError(IfxSqli.java:3419)
         at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2282)
         at com.informix.jdbcx.IfxXASqli.receiveMessage(IfxXASqli.java:119)
         at com.informix.jdbc.IfxSqli.sendStatementQuery(IfxSqli.java:1464)
         at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1403)
         at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1333)
         at com.informix.jdbc.IfxResultSet.executeQuery(IfxResultSet.java:223)
         at com.informix.jdbc.IfxStatement.executeQueryImpl(IfxStatement.java:843)
         at com.informix.jdbc.IfxPreparedStatement.executeQuery(IfxPreparedStatement.java:244)
         at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:80)
         at infrastructure.dao.AbstractDAO.genericSqlRead(AbstractDAO.java:166)
         at se.migrationsverket.dhs.domain.dao.DokumentDAO.findByDokId(DokumentDAO.java:64)
         at se.migrationsverket.dhs.domain.dao.DokumentDAO.findByDokId(DokumentDAO.java:43)
         at se.migrationsverket.dhs.generator.impl.pipeline.LoadDocumentPipeline.buildMultiDocument(LoadDocumentPipeline.java:99)
         at se.migrationsverket.dhs.generator.impl.pipeline.LoadDocumentPipeline.process(LoadDocumentPipeline.java:53)
         at se.migrationsverket.dhs.generator.impl.DHSDocumentGenerator.loadDocument(DHSDocumentGenerator.java:63)
         at se.migrationsverket.dhs.generator.DocumentGeneratorInternalHelper.loadDocument(DocumentGeneratorInternalHelper.java:129)
         at se.migrationsverket.dhs.services.document.internal.InternalDocumentManagerBean.loadDocument(InternalDocumentManagerBean.java:185)
         at se.migrationsverket.dhs.services.document.internal.InternalDocumentManager_6sz7e8_EOImpl.loadDocument(InternalDocumentManager_6sz7e8_EOImpl.java:532)
         at se.migrationsverket.dhs.action.documentgenerator.GeneratorAction.load(GeneratorAction.java:147)
         at se.migrationsverket.dhs.action.documentgenerator.GeneratorAction.perform(GeneratorAction.java:49)
         at se.migrationsverket.dhs.servlet.AbstractController.doPost(AbstractController.java:84)
         at se.migrationsverket.dhs.servlet.AbstractController.doGet(AbstractController.java:54)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6310)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Regards
    JM

  • Start and end time for a mapping in process flow

    We are executing 6 mappings in a process flow. 4 out of 6 run in parallel . The log file created in a control center denotes start and end time for a process flow. But Is there any way to find out how long those individual mappings took ? Is start/end time logged on a mapping level somewhere ?
    Thanks

    As well as the repository browser you can use the SQL Developer reports on the utility exchange which are based on the public views.
    http://www.oracle.com/technology/products/warehouse/htdocs/Experts/owb_sqldeveloper.zip
    You can dig in and see how these are read from the SQL views.
    Cheers
    David

  • Get Start and End times for each step in a job

    Can someone tell me how to get the start and end times for each step in a background job?  Table TBTCP only stores the time that the step was saved in a background job.  Table TBTCO stores the times for the entire job and not each individual step.
    Thanks.
    Ryan

    Hi,
    Please check this tables and FM perhaps they may help
    TBTCJSTEP  - Background Job Step Overview
    TBTCR          - Batch scheduler execution time
    TBTCS          - Background Processing: Time Schedule Table
    GET_JOB_RUNTIME_INFO
    Regards,
    Ferry Lianto

  • CRM-ISU: Need to change the END date and Start Date for contract items

    Hi,
    There is an old contract item for which  I need to change the end date
    and there is a new contract item for which I need to change the start date.
    I need to change the contract item end date and start date using some function module in IS-U system (may be as RFC to CRM).Pleaselet me know if any body is ware of this functionality?
    I am aware of a FM EECRM_CONTRACT_DATE_CHANGE which may be used for changing End Date
    but how to change the start date of a new contract item?
    Please let me know if any body is aware of this?
    Thanks

    Hi,
    Hope you can solve it by this [Link1|Re: Function modules; [link2|CRM material;.
    Regards,
    Surjith

  • Start Date for AP trial balance report

    Hello
    Am working on generating the Trial balance report in the Payables. I am running the "Accounts Payables Trial Balance report. For this report, in the parameters, there is "As of Date" parameter, but I do not have the "Start Date" parameter. I wanted to get a trial balance report for a given analysis period, like between Jan 03 and Dec 03.
    Can any one please let me know about this.
    Thank you
    Bob

    Hi Bob.
    I'm affraid such report is not available.
    You may get something similar by running the RX-only: Payables Invoice Register by Detail. You also have the option to change the way data appears on the report on it is an RX report.
    Octavio

  • After Changing the start date for a task in a project we are not able to save

    Hi 
    When we are updating the task start date of a particular task the below message is poping up in Project Professional and when we trying to update in Pwa and saving it automatically the save is becoming undone. 
    We are logging in with that user credentials and checking where the user has not charged any actuals on that task.
    Then a message pops up saying:
    "The actual work in "xxxx" is out of sync with the actual work updated from timesheets. Actual work can only be updated by team members through PWA. Changes you have made to users' actual work will be lost during the save."
    Can any body throw some light on the above issue.
    Thanks
    Geeth If you feel that the answer which i gave you is Helpful please select it as Answer/helpful.

    It seems you have enabled the option in server setting >> task Settings and Display >> Protect User Updates>> for restricting updates to PWA only ? this is one cause when this error message appears when the update restriction is to PWA
    and PM tries to modify the Plan, the only exception to this is milestones which can be updated via Proj pro,
    this being the case becomes a conflict when you say updates can be done only via PWA and try to overwrite the actual via MSP 
    kirtesh

  • Need a fonction : start- and end-ID for reading musicfiles in keynote

    My english is not good, but I'm asking for a new fonction in keynote. I really need a fonction in keynotes for making music presentation : to be able to give a startpoint and an endpoint for playing music. To prepare the cuts in the music (to make some extracts) before making keynotes presentation takes too much times! I really wish this fonction : to be able to say : "I want the reading starting at 1 minute and 36 seconds, and ending at 2 minutes and 7 seconds", for exemple. Is it too complicated?

    Hi, You can create UDFs for Roles in catalog search.
    These UDFs can be made visible in Role similar to Role Owner and different fields which appears in the bottom of catalog search page.
    HTH,
    ~J

  • Setting up start date for automatic backup

    IS there instructions on how to set up automatic back up setting start date WD Element 3 tb external hard drive. I have previous backups on another external drive and do not want to duplicate what I already have backed up...any help would be appreciated...mo_reb

    Hello, welcome to the community.
    The WD Elements does not have any backup software to do this, you will need a third party software to perform a backup with this drive.

  • Ability to set same Start date for two different discrete Job in ASCP

    We have two ATO Items and these to be built & shipped together which have different leadtimes, How we can have achieve same start date when we release from ASCP.
    E.g: ATO_Model1*24234 SO Line 1, the rolled up LT=10Days
    ATO_Model2*325325, the rolled up LT=3
    So, under normal scenario ASCP will suggest two different release dates based on LT. So, I would like to start both Job togther considering the max leadtime.
    Hoping for your expert advice.
    Thanks
    Edited by: user604737 on Nov 10, 2010 9:55 AM

    Hi,
    964188 wrote:
    It is a date
    Such as
    10/31/2012 11:55:03 PMThen, as Hoek says, you don't want TO_DATE. For example:
    WHERE   TRUNC (start_datetime) = TRUNC (SYSDATE - 7) or the more efficient
    WHERE   start_datetime >= TRUNC (SYSDATE - 7)
    AND     start_datetime <  TRUNC (SYSDATE - 6)Also, it doesn't look like the EXISTS sub-query is corelated to the main query. That's almost certainly a mistake.
    If you're still having trouble, post your revised query, a little sample data (CREATE TABLE and INSERT statements). Point out where that query is givimg the wrong results, and explain how to get te right results.
    See the forum FAQ {message:id=9360002}

  • How to achieve same start date for two ATO Items- req to built together

    We have two ATO Items and these to be built & shipped together which have different leadtimes, How we can have achieve same start date when we release from ASCP.
    E.g: ATO_Model1*24234 SO Line 1, the rolled up LT=10Days
    ATO_Model2*325325, the rolled up LT=3
    So, under normal scenario ASCP will suggest two different release dates based on LT. So, I would like to start both Job togther considering the max leadtime.
    Hoping for your expert advice.
    Thanks

    Hi,
    Please check Vendor Master data: FK02 ->company code data -> Payment transaction accounting: unflag 'individual payment'.
    Make a test and let me know if it's okay.
    regards

Maybe you are looking for

  • How to create business partner with Role : "Loyalty Partner"

    Hello, During the creation of Loyalty Program, we can add loyalty partners which are Business Partners created with Role --> "Loyalty Partner". In standard package I could not see the the Role "Loyalty Partner" For this role to be available during th

  • Home Network question

    In my house I have a cable modem and a printer attached to Airport Express and two computers connecting wirelessly to the Airport Express. All my photos and music and docs are on one computer. Can I access those things in any way on the other compute

  • Incoming Sales Order to COPA

    Hello, If we activate Incoming Sales Order scenario in COPA, then it creates a COPA document when sales order is created or changed. 1. What happens when it is billed, does it creates one more COPA document with new record type F, and also retains th

  • OBIEE Issue - Physical Query not picking cascaded Conditions

    In one the OBIEE Reports, I have given a set of NOT LIKE conditions as below: Session Name is not LIKE (pattern match) '%AUDIT%' AND Session Name is not LIKE (pattern match) '%audit%' AND Session Name is not LIKE (pattern match) '%Audit%' But when we

  • Dimnesion Key and SID

    Hi Friends, I have a cube, in which there are about 7 dimensions(excluding system generated dimensions). When i check the Fact table in the selection screen of the fact table i can see only 5 dimension keys and 5 SIDs (of the 5 dimenion keys 3 of the