Date Calculation and validation

Hi all,
Can any body tell me how calculate next two weeks from current date.
Thanks
Redi

Thanks for your reply
I mean is
ex: current date date1= 08/22/01
depending on the current date date1 I need to calculate the date2 which should be : 09/05/01
ie. date1= 08/22/01
date2= 09/05/01
I appreciate your reply.
Thanks
Redi

Similar Messages

  • F4 help for Date field and Validation

    Hi Friends,
    I am new to BSP programming .I knew getting F4 help in normal ABAP.But i don't know in BSP .
    I want simple steps to get F4 for a field on Page as well as date field .
    and How to valid those entered dates.
    Presently i am using length 10 character variable for DATE without F4 help and No validation.
    I think you guys will help me out.
    Thanks,
    Venkat.O

    Welcome to SDN.
    for F4 help with validation for dates you can use the following code.
    <htmlb:inputField id         = "wf_ad_date"
                                    type       = "date"
                                    showHelp   = "TRUE"
                                    value = "<%= sy-datum  %>"
                                    visible    = "true"
                                    disabled   = "false"
                                    required   = "true"
                                    maxlength  = "10"
                                    size       = "10"
                                    doValidate = "true"
                                    design     = "standard" />
    For other type of fields check out this weblog by Thomas Jung
    <a href="/people/thomas.jung3/blog/2005/08/22/bsp-value-input-help-popups-version-30 Value Input Help Popups Version 3.0</a>
    Regards
    Raja

  • How to pass Valid from and Valid to Dates in CS_BOM_EXPLOSION

    Hii Experts,
    My requirement is to explode BOM using CMC LDB and generating files for all the remaining months by varying Valid from and Valid to dates. For this I am using CS_BOM_EXPLOSION but it has provision for a single date field.
    Can you please guide me how to pass both Valid from and Valid to dates in CS_BOM_EXPLOSION ? And if you can suggest any other alternative, its most welcome...
    Regards,
    Vikas

    Hi Vikas,
    There is a tables parameter STBP which is of type CSXGEN.
    This structure CSXGEN contains two fields valid from date(DATUV) and valid to date(DATUB).
    Is this what something you are looking for?
    Regards,
    Swarna Munukoti

  • Data calculator

    I Used the data calculator and, to be safe, tripled the estimated amount of data we would need.  That total came out to about 12G/month.  Sounded good, got the home fusion and have had overages every month, well over 20 G. I see that there is a disclaimer on the date calculator that actual usage can vary greatly,- has anyone else had this same problem and how can one more accurately assess how much data is needed and even used by my household?

    I Have been checking to see how much data is being used.  The problem is that it does not even come close to what we are actually using.  How can we be using this much (more than 20Gb) when only doing 40 emails/day and browsing about 40 pages / day?  We don't do any streaming, either movies, videos or music.  That's what I can't figure out.  Where is the data going/ coming from?

  • How to know the balance and validity of internet data in iPad

    How to know the balance and validity of internet data in iPad?

    Sir I m using internet in ipad4 with airtel network
    They provide me 2gb data with the amount of 255 rupees
    And now I inserted the sim in my ipad4
    And start the surfing on safari n all
    And now I wanted to know how much data is balance.

  • Schedule changes and validity dates for prices in product catalog(SRM-MDM)

    Hello!
    I'm working on a project that is going to use SRM-MDM and the question is if it is possible to schedule changes(for example to add new prices that have a validity period, can you make the changes now that are going to be valid from 1st of februari?Or can I add products today that are only going to be available to buy from a particular date?).
    The other question is if it is possible to have a validity period for prices and when the date is valid,then the product is shown in the catalog.In the same way that when the date is not valid, the product is not shown in the catalog.Can this be made automactically?Can a logic be build to choose which products are going to be shown in the catalog?
    Do you have any suggestions for those issues?
    Thanks in advance!

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • How are valid-from and valid-to dates set in TRPROD table in APO during CIF

    First question:
    How are the valid-from and valid-to dates set in the APO TRPROD table?
    For example, if I activate a transportaion lane model on March 1, 2008, will the valid-from and valid-to in TRPROD be 20080301 and 99991231?
    Or are these dates defined in the model itself? Or in APO config somewhere?
    Next question:
    Suppose I rerun the model on May 1 2008 to add some records that didn't get added in the March 1 run.  But suppose I want to back-date the valid-from of these records to March 1, rather than use May 1 as the valid-from.
    Can this be done?
    Or is the valid-from always the date of the CIF that creates the TRPROD records?
    Please advise. 
    Thanks

    Hi Srinivas -
    Thanks very much for replying so quickly, but your response didn't answer the questions.
    Let me try again.
    1)
    If I run a CIF on March 1 2008 based on a model that will generate APO TLane data, will the TRPROD valid-from and valid-to get automatically set to 20080301 and 99991231?
    2) 
    If the answer to this question is yes, then is it also true that if I run a new set of records in on May 1, 2008 (no duplications with the original set), then the valid-from and valid-to dates will be 20080501 and 99991231.
    3)
    But if (1) and (2) are both true (if you answer them both "yes", then suppose I want the May 1 record set to have valid-from dates of March 1 (for example, if the May 1 record set includes records that didn't get included in the March 1 set due to an error in selection criteria).  How do I get the valid-from to be March 1 when I run the CIF on May 1?
    On the other hand, if (1) and (2) are NOT true, then how DO the two dates get set during a CIF ????
    Thanks
    djh

  • Date entered between valid from and valid to it should throw error

    HI  i have a doubt in the dates see
    i have a column for the valid  from and valid to date
    EXAMPLE
    customer  cform NO                 SUBMITTED               VALID FROM            VALID TO         uSER
    17     OUIIUYUIY     02.04.2008     03.04.2008     03.12.2008    SAB_BEGUM
    WHEN I GIVE  the dates in between the period it has to give throw the error
    example if i give like as shown below it should pass the error
    17      FHGFF2                   02.04.2008                     03.04.2008              03.06.2008         SAB_BEGUM
    now how can i pass and check the the dates, it has to accept ones the date is after 04.12.2008 , in between the period it should throw the error. please help me out

    have a look at this:
    http://help.sap.com/saphelp_nw70/helpdata/EN/a7/5139ef407a11d1893b0000e8323c4f/frameset.htm
    and search for the pre defined events in table maintenance dialog.
    generate table maintenance->create a maintenance dialog->Maintaining and changing an existing maintenance dialog ->Extended Table Maintenance Events.

  • ARQ: Are "Valid From" and "Valid To" dates are considered for risk analysis???

    Hi All,
    I have one question w.r.t. risk analysis of user while raising a request in ARQ.
    I have noticed that, when a user is assigned 2 conflicting roles in a request (with "Valid From" and "Valid To" fields being the same), ARQ shows risk violations properly.
    This is quite logical, because user is assigned conflicting roles within the same dates.
    In another scenario, if a user is assigned 2 conflicting roles in a request (with "Valid From" and "Valid To" fields being different)
    Example:
    Time Administration : Valid From=15.06.2014 and Valid To= 31.12.2014
    Payroll Administrator: Valid From=20.06.2014 and Valid To= 31.12.2014
    ARA still shows as violations (in ARQ)! Though the "Valid From" dates are different.
    Logically, user is not assigned these roles at the same time to cause a risk violations. However, system is showing violations.
    May I know if validity dates are considered while performing risk analysis in ARQ? If no, then what could be the justification?
    Please advise.
    Regards,
    Faisal

    Rafal,
    Thanks for your reply.
    Does it mean that all future dates will be considered while analysis?
    OR
    Does ARA consider these dates?
    Regards,
    Faisal

  • Validation For Date,String and Date in a reports Region

    Apex 4
    Good day to all apex users How do I validate a apex_item.text if the value is string the user can only input a string value if it is number then the user can input numbers only and if it is a date the user can only input a date values?

    APEX_ITEMS are not part of the default apex gui... In fact they are just functions which returns html.
    You can however do some stuff with the attributes parameters. You can find some cool stuff over here: Re: Validation For Date,String and Date in a reports Region
    If you want apex validation you need to create a page validation and loop over your apex_items with apex_application.g_f0x
    Br,
    Nico

  • Validity start and Validity End date in PO

    HI  gurus
       can you plz tell me how to activate  validity start and Validity End date in PO
    Neha

    Hi,
    It is applicable for PO done for Frame work oder with Doc type - FO(Frame work order)as its an agreement of supply of stock only between specified period.For this kind of Doc type system makes it mandatory to enter the valisity start and end date.
    Thanks

  • Table containing 'Valid From' and 'Valid To' dates --  tcode SU01

    Hi All,
    I want to know the Table containing 'Valid From' and 'Valid To' dates -- In tcode SU01 ---Tab Logon Data there are 'Valid From' and 'Valid To' dates. I want to know the table(s) where this info is stored.
    thanks
    Naved

    Looks like you have two userids. Login to SDN using your userid that created the post and assign the points. If you don't see the radio button then change your original post to a question.
    Message was edited by: Prakash  Singh

  • Previous and current date calculations

    I already have the Date object ( let us say d1 )which is having the past date.
    and I can get the current date anyhow using calendar instance () let us say d2).
    My question is, I want to compare these 2 dates for the month, year and date. it is easy to get the current date, year and month. but I cannot use getMonth(), getDate, getYear() on the Date object, becoz they are deprecated. so, how can i get the month date and year from the date d1 ?
    any help is appreciated.
    u can email me the answer, [email protected]
    Thank you,
    Nisa.

    If you only need to know if d1 is before, equal to, or after d2 you can use d2.compareTo(d1) If 0, they are equal, negative means d2 is before d1, positive means d1 is before d2.
    If you need the actual month, day, or year of either date, then one way is to convet the dates to strings, pass them through a StringTokenizer and grab it's parts that way.

  • Handling Valid To and Valid From Dates in Infocube

    Hi Gurus,
    I am designing a transaction data InfoCube for Human Resources. The date from and Date to are seem in PSA.
    But they are not display in InfoCube .
    Can anyone share thoughts on how to handle this situation?
    Thanks in advance.
    Sincerely,
    Minaxi

    You look for the infoobjects in the cube level and also in the update rules , but it may be also another reason , just check if this is the one,
    if you include a keyfigure of type Date with Data type DATS, then it will not be available in the planning level. To include a Date keyfigure in the planning level you need to define it as DEC.

  • Baseline Date for Due Date Calculation required for S/L indicators

    Hello,
    Iu2019m facing the following problem
    Iu2019m trying to insert an invoice (using a customer master record) but the system blocks me because the field ZFBDT (Baseline Date for Due Date Calculation) is a Required entry.
    The strange thing is  that if I use a S/L indicators the field is mandatory, if not the date may be defaulted.
    I checked in OB41 but there are non differences between Special PK and normal PK.
    Any ideas?
    Thanks in advance
    Alberto

    Dear Alberto,
    the field "Due On (BSEG-ZFBDT)" cannot be controlled with field status.
    It is controlled by field attribute of screen painter (Tcd: SE51).  If
    you look at element attribute for "Due On" field, a flag for required
    entry is activated.  In this case, field status has no control over
    the field.
    As of release 3.1G, field BSEG-ZFBDT is hardcoded in most FI screens
    to be mandatory and cannot be influenced by any field status
    changes. This situation is only valid when posting with special G/L
    indicator (ie PK 29/39).
    SAP development team has determined that this is a critical field.  The
    reason behind this is that this special GL screen and the data entered
    here are very important to many other programs. This data affects
    liabilities and receivables where due date is necessary almost
    everytime. Thus, we changed this field in this screen in order to
    prevent problems in many other areas. The reason is explained further
    in note 95079.
    I hope this helps You.
    mauri

Maybe you are looking for

  • Album order (after "sort photos manually") not staying

    I have an album of about 500 pictures (from my 10,000 library). I sorted the pictures in it manually, but every time I close iPhoto and then reopen it, the order is messed up a bit with random pictures are out of order. any ideas? roger

  • In-Band Management configuration for 2530 array from T5120 on Solaris 10

    Hi All, I am trying to configure in-band management for storagetek array 2530 from T5120 server on Solaris 10. I could able to connect the array from CAM software and it is showing as out-of-band. I can able to change the array name and IP address al

  • Why do I get message that Flash player is in use and can't be installed even though I have uninstalled it?

    Using Windows7, attempting to install Flash Player version 17.0.0.134 I download the installer, specifically from the site for Firefox, and uninstall previous version and yet I get this message. Have tried several times to update and now to do new in

  • RAW images are not displayed

    I noticed today that one of my albums containing old RAW images (3 years old) are not shown in the preview. The images have been modified in an older version of iPhoto, but the change is gone. I can still open through Photoshop or iPhoto but do not s

  • BRS Warning

    Hi, When doing BRS FF67 we upload the bank statment SM35 we run the session when doing so iam getting a warning message as Bank reference field not interpreted Message NO FV095 Diagonsis You have made the entry in the bank reference field However no