GR posting date always greater than PO document date.

Dear SAP Gurus,
Am working on below requirement in a support project..
Need to ensure GR posting date always greater than in PO creation date. Only current month is open for GR posting and at present as a standard system allows to post GR any date in the current open period.
Is there any way, we can control the same via messages without implementing any exits or badis.
Appreciate immediate response.
Regards,
GM

there is no std sap for this
you can use user exit to ful fill ur requirement
in that u can write a code where is u can check all PO dated in GR must be eq to or less than GR posting and document date
hope this helps

Similar Messages

  • Maintaine error message if posting date is greater than Sch del date in PO

    I have maintained a delivery schedule in a PO for a material
    Say PO qty 100
    Del Schedule
    10.04.09  - 60
    20.04.09 - 40
    While GRN, for 60 qty, if posting date is greater than 10.04.09, system needs to throw error.
    I want to do it for selected materials only.
    Is there a way to do this.
    Regards,
    Rakesh

    Thanx for reply
    If I use OMCQ message , it will be applicable for all GRNs and I want for a particular set of materials.
    Can one please suggest User exits / BADi for the same. I have checkd BADIs but those are based upon MSEG and EKBE table.. and i dont have any material doc no before posting the document.
    requiement is to check the delivery sch date and posting date befor posting the document is posted.
    Any suggestions welcomed.
    Reagrds,
    rakesh

  • Trying to do date field greater than a specified date in condition editor

    Hi All,
    I am trying to build the XML predicate in the expression editor to check that the posting date sent is greater than a specified date to determine the reciever. I can get it to validate posting date is = to specified date, but when I change the = to > it fails to properly determine the receiver, when I send a valid document.
    Below is the expression build
    (/p1:ServiceAcknowledgementConfirmation/ServiceAcknowledgement[CreationDateTime>'2007-02-03'] EX )
    has anyone done this type of check. I have it set as a date type for the expression.
    Regards,
    Chris

    Hey all,
    I tried >= 2007-02-04 and sent in that exact date. It failed. I removed > so that it is just = 2007-02-04 and it was successful. So, is >= an allowable operator?
    Thanks,
    Chris

  • Doc Date is Greater than Posting Date in Migo

    Hi ,
    Document  Date shouldn't be greater than Posting date in MIGO .How can I restrict it ??
    Biswajit

    Hi
    We can restrict through Define Attributes of system messages
    Settings for SYSTEM MESSAGES  - Doc Date is Greater than Posting Date in Migo in that  in that Message Type we can make the Warning Message to Error Message
    regards,
    senthil.

  • Exit or BAdi for Validating GR posting date Greater than PO creation date.

    Hi all ,
    Is there any Exit or BAdi for restricting users to post GR date greater than PO creation date.
    Regards
    Gibi Philip

    Gibi,
    check this:
    MB_CIN_LMBMBU04                         posting of gr
    Amit.

  • From Date is greater than End Date of a BBP document.

    Hi,
    There is a BBP document created in the system which has From Date (BBP Start Date) greater than End BBP Date.
    Have any one come across this type of issue.
    Can any one tell what can be the reasons for this to happen?
    Also in this case there are no entries for the items in this BBP document in database table DFKKMOP.
    Thanks in advance,
    Hrushikesh

    Hi Hrushikesh,
    Could you please check the details at billing document level if any of them is having the bad data.
    Also, please check the data passed and the importing data for the below FM's in debug mode.
    1. START_TIME_DETERMINE
    2. END_TIME_DETERMINE
    I am not sure, but have heard about the similar issue in one of the project, but it was related with invoicing not specific to BBP.
    Let me know the data received for the above FM's, also, will check if I can get any specific details for the same.
    Regards,
    Rajesh Popat

  • Date is greater than current time plus 24 hours

    Hi,
    may I know how to pull data from a table where date is greater than current time (+24 hours)... my date field is in the following format 15-MAR-2013 20:07:00
    I want to do something like this
    select * from table_A where date_field > (sys_date_time) +24h
    as an example, when I run a query @ 4 PM on March 26, I want to pull data that has date > 4 PM March 27
    Thanks

    >
    may I know how to pull data from a table where date is greater than current time (+24 hours)... my date field is in the following format 15-MAR-2013 20:07:00
    >
    No - a DATE column does NOT have a value in a format like that. The value is stored in an internal binary format. The format you posted might be your NLS_DATE_FORMAT or just a format you provided to display that date value.
    >
    I want to do something like this
    select * from table_A where date_field > (sys_date_time) +24h
    as an example, when I run a query @ 4 PM on March 26, I want to pull data that has date > 4 PM March 27
    >
    As others have said to add 24 hours to whatever value SYSDATE has at the time the query is executed just use 'SYSDATE + 1'.
    But there are at least two caveats:
    1. You can't really run a query '@4 PM'. You don't have ANY control over exactly WHEN the query will begin execution. The only way to control the date used is if you provide it yourself as part of the query.
    2. Your 'date_field > SYSDATE + 1' query will NOT see inserted/updated data that has not been committed. So a similar query later may return a different result set even if it appears to cover the same time period. In other words you can't reliably use a DATE column like that to pull sequential sets/batchs of data unless there is no DML occuring on the data that might affect the results.

  • Production finish date is later than order finish date?

    In my company, most of the plan orders in MD04 have an exception message "64 Production finish date is later than order finish date". The plan strategy of the materials are 40. The plan orders are created from Scheduling Agreements or Independent Requirements.  We set 'Scheduling' as 2(lead time) in the MD01/MD02. The self-production time in material master data is 0. The schedule margin code is 000 which all the parameters are 0.
    For a example, we create a requirement on 2007.04.24. After MRP run, plan order generate. It's basic date will be 2007.04.24, but the production date IS 2007.04.25. All the plan order like that, the production date are always later than the basic date for one day.
    Could someone tell me why? and how to settle this problem?
    Thank you in advance!

    Hi,
    check scheduling parameters for planned orders and scheduling parameters
    for production orders.In that set the various indicators like
    adjust basic dates to order start date
    do not adjust basic dates to order start dates and try.
    Tcode opu3 / opu5
    Thanks,
    s.nandhakumar

  • Update Date is older than the Creation Date

    Hi Team,
    In the Oracle Application 11i forms we are seeing the Update Date is older than the Creation Date?
    But the creation date should be older then the updated date.
    Thanks,

    What 11i release are you on?
    Can you please elaborate more on the Creation/Update dates mentioned above? Are you referring to forms or tables or specific rows? Is this happening to all data/forms? Please provide an example for us to understand your issue.
    Thanks,
    Hussein

  • Detection method - date modified-greater than issue

    Hi,
    My detection method for a file doesn't seem to be working properly. I have an application advertised to run a .cmd file and replace files in an already existing folder. So I am using the date modified of the files I am replacing. When I check the status
    of the deployment it states that the machines are already compliant even though the date modified on the file is less than the new file I am trying to deploy.
    Example:
    C:\ProgramData\Microsoft\Network\Connections\Cm\Test\test.cms (date modified 9/14/2014)
    My detection rule:
    C:\ProgramData\Microsoft\Network\Connections\Cm\Test\test.cms (Date Modified must be greater than 01.01.2015 00:00:00)
    And it is stating that it is compliant even though the detection rule should be returning false?

    Date format is seems to be correct, basically it depend on your local date format.
    Are you sure that file is exist on the client at expected location. (If file does not exist and existential rule is not added in CI then CI will return to Compliant) If not then make sure that:
    you have added existential rule in addition with value rule.
    otherwise make sure that you have selected this checkbox "Report noncompliance if this setting instance is not found."
    This posting is provided "AS IS", provides no warranties, and confers no rights. -Praveen S.

  • Greater than operator for date in obiee analysis

    Hi all,
    I just need your help. is it possible to use the greater than or less than operator (in filter) for date in creating analysis?
    FOr example: I need to have the greater than months from "January 2015" for specific measure.
    Thanks!

    Somehow the person records for this person have become corrupted. Have you any idea how that might have happened? Options:
    1) Someone or some program has issued a direct table update on per_all_people_f
    2) Someone has used Help > Diagnostics > Examine to modify the data
    3) An Oracle bug. This one is unlikely but could happen if using an unusual form (Shared Person Form, for example) and perform a weird combination of actions/keystrokes. But you'd need to be able to reproduce it if you want Oracle to fix it.
    If you're support contract is invalid or you don't have a support contract your options are limited. You can either:
    a) Bring your patch level up-to-date and then raise an SR. If Oracle agree to provide a script to fix it they'll probably just do direct table updates to resolve this record.
    b) Fix this yourself using direct table updates. This obviously isn't supported either. If you do this, make sure you know what you're doing and get it 100% right first time. BE VERY CAREFUL!
    Obviously I strongly recommend option b.

  • MIRO (Invoice Date) should be updated with Document date in MIGO Transactin

    Hi all,
              Please helo me in the issue . I need to replace the MIRO (Invoice Date) (INVFO-BLDAT)with Document Date in MIGO Transaction (MKPF-BLDAT). Can anyone suggest me the Userexit/ BADI for acheiving the same.

    Hi,
    We have same requirement that MIRO date should not be lesser than GRN date.  How could you solve your problem/
    rajeswari

  • How can I set the java Date not greater than the day inputed?

    When I would input the date, I don't want it to be after this day because it would violate some business logic in my program. I am allowed to input date latter than this day like yesterday, last week etc. but not after this day.....Can anyone give me a concrete example or logic on how to do this?THANKS!

    tr3k wrote:
    Can you explain it by code?I could, but I won't. I pointed you in the right direction. Now it's up to you to make the effort. Give it your best shot and post a more detailed question if you have problems.
    http://www.javaworld.com/jw-12-2000/jw-1229-dates.html
    http://www.javaalmanac.com/egs/java.text/FormatDate.html
    http://www.javaalmanac.com/egs/java.text/ParseDate.html
    http://java.sun.com/javase/6/docs/api/java/util/Date.html
    http://java.sun.com/javase/6/docs/api/java/util/Calendar.html
    http://java.sun.com/javase/6/docs/api/java/util/GregorianCalendar.html
    http://java.sun.com/javase/6/docs/api/java/text/SimpleDateFormat.html

  • Effective start date greater than effective end date in per_all_people_f

    Hi !
    Upon running the perus11i.sql, we found that there are overlapping of dates and effective_start_date > effective_end_date in per_all_people_f.
    Can somebody point me to right link for the document that can fix this problem?
    We're currently using using 11.5.10i
    Appreciate any help.
    Thank You
    Elmer

    Somehow the person records for this person have become corrupted. Have you any idea how that might have happened? Options:
    1) Someone or some program has issued a direct table update on per_all_people_f
    2) Someone has used Help > Diagnostics > Examine to modify the data
    3) An Oracle bug. This one is unlikely but could happen if using an unusual form (Shared Person Form, for example) and perform a weird combination of actions/keystrokes. But you'd need to be able to reproduce it if you want Oracle to fix it.
    If you're support contract is invalid or you don't have a support contract your options are limited. You can either:
    a) Bring your patch level up-to-date and then raise an SR. If Oracle agree to provide a script to fix it they'll probably just do direct table updates to resolve this record.
    b) Fix this yourself using direct table updates. This obviously isn't supported either. If you do this, make sure you know what you're doing and get it 100% right first time. BE VERY CAREFUL!
    Obviously I strongly recommend option b.

  • Date Field Greater than today?

    Ok, i've been trying to figure out how to compare a date to today.  Basically i have a field which is a Valid To field.  I want to know if this is still valid by comparing it to todays date.
    The idea is fairly simple.  However, it seems that comparing dates is beyond the normal query capabilities for some reason?
    So i did some digging around, looking at what other people have tried.
    I ended up creating a customer exit variable with the following code:
    WHEN 'ZVAR_WHATEVERJUSTWORK'.
          CLEAR l_s_range.
          L_S_RANGE-SIGN    = 'I'.
          L_S_RANGE-OPT     = 'GE'.
          L_S_RANGE-LOW     = SY-DATUM.
          append L_S_RANGE to E_T_RANGE.
    When i set up the variable in Bex Query Designer, i call it ZVAR_WHATEVERJUSTWORK (technical).
    I set it to be a customer exit, however in the Details tab, i'm not sure what the variable represents.  i've tried single value (query short dumps) and i've tried Interval (query short dumps).  When i'm testing it, i'm restricting a DAT object to my variable.
    Quite frankly, i'm amazed something so simple is as complex to set up?  I honestly believe i'm making some mistake somewhere and theres really an easy way to go. 
    So i'm asking the powers that exist in the SDN forums.
    Any ideas?  what am i doing wrong? Please help
    If i've not provided enough info, please ask.

    Bryan,
    you can do it this way....
    In your query you can have
    Valid To Date|Formula Variable 1 | Formula Variable 2 | Formula 3
    Formula Variable 1 - replacement path Valid To Date - dimension should be Time
    Formula Variable 2 - Customer Exit - Sy Datum
    write the exit as
    WHEN 'ZVAR_WHATEVERJUSTWORK'.
          CLEAR l_s_range.
          L_S_RANGE-SIGN    = 'I'.
          L_S_RANGE-OPT     = 'EQ'.
          L_S_RANGE-LOW     = SY-DATUM.
          append L_S_RANGE to E_T_RANGE.
    Formula 3 - difference between 1 and 2
    here in the query you can put a condition on Formula 3 to get the desired result.
    Arun

Maybe you are looking for

  • How can i sync my ipod touch to a different itunes library without losing everything on it?

    Please help!! Can someone tell me how I can sync my ipod touch to a different itunes library without losing everything on it?

  • Startup Error.

    A new update for my system had come up to install. I click install 1 item, and it said there was an error in installing the update because it was in the trash. I pushed exit, and moved the file from the trash to the desktop and tried the update again

  • How to change my apple ID to be able to use foreign AppStores?

    I am trying to download an app from a Finnish AppStore and I am told I can't because my apple ID onl works for Ireland. I tried to change country but it did not work. Does anybody know what I could do?

  • Is there a way to disable tab font smoothing (maybe with userchrome.css)?

    hello everyone I've just switched from chrome to ff and I'm very satisfied. Just one problem, is there a way to disable tab font smoothing (maybe with userchrome.css)? I've changed the colour of tab font (with userchrome.css) to white to improve read

  • Create business partner

    Hello Experts, In my ECC 6.0 system, transaction code CFM2 "Activate or Deactivate Integration Model"; The option of Create Business partner isn't there. How to activate Create Business partner in t.code CFM2? Regards, Aravind