Miro posting previous date compared to migo date

Hi,
I did MIGO on  06/03/2009, when i post MIRO on previeous date for ex 06/02/2009, where the system is allowing to post it, how to stop it? ??

hi,
Who said to you that MRBR is only used for the payment block...For your information, in the MRBR screen itself, in the middle under blocking procedure tab , there are three reasons given:
1. blocked due to variances - Under this only the date variance also come...other variances are price qty variance, price variance etc..
2. Manual payment block
3. stochastically block
Check properly and revert back...the problem would be there only...
Regards
Priyanka.P

Similar Messages

  • Date compare with system date

    Given date time is in yyyyMMddHHmmss format, want to compare with system date time.
    ie given date time is greater than zero then go inside if block otherwise else block.

    I am using below code which always greater than zero. But I want to use compare to method to compare given date with system date and goto if or else condition:
    SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
             String delaytimeFormat = sdf.format(new Date("10/10/2009"));    
             System.out.println("delaytimeFormat: "+delaytimeFormat);
             long timeDiff = Long.parseLong(delaytimeFormat) - System.currentTimeMillis(); 
             System.out.println("timeDiff->"+timeDiff);
             String newCallbackUrl = null;
            if(timeDiff > 0){
                 s = s+" new URL"+"test" ;
                 System.out.println("if:->"+s);
            else{
                 System.out.println("else");
            }

  • Document date&Posting date Validation In MIGO Transaction

    Hi,
    I need to control document date should not be in future date comparing to posting date and should not be past date comparing to PO date in MIGO transaction.Pls suggest.
    Regards
    Mani

    Dear Mani,
    Goto Spro
    Materials Management -> Inventory Management and Physical Inventory -> Define Attributes of System Messages
    Goto Settings for System Messages and select
    Version 00
    Application area -- M7
    Messages no -- 088 -- Document date lies in the future. (Check your entry)
    Convert in Error Massage.
    Regards,
    PK

  • MIGO/MIRO Posting date to Display mode

    HI all,
    How can we set MIGO/MIRO Posting date field to Display mode.
    Can this be set for User specific.
    Please advise.Its Urgent.
    Regards,
    Jag

    hi
    for migo
    do following
    SPRO>MM>Inventory Mgmt/Physical Inventory-->Fields selection for goodsmovement Initial/Header Screens
    for miro
    U need to change the field selection for the posting keys used in MIRO.
    go to OB41, there for the posting key 31 u do the field selection.
    reward if useful
    regards
    kunal

  • GRN Date (Migo Date) as Default date in MIRO

    Dear All,
    The client requirement is like this,
    The default Base Line date for MIRO Document should be the GRN Date (MIGO Date). But in Payment Term configuration only Document Date, Posting Date, No default, Entry Date are there. We can change the base line date at the time of MIRO.
    But Client requirement is it should come by default at the time of doing MIRO,
    Is there any user exit or enhancement for this.
    Sree

    Hi
    Base Line Date
    Vijay

  • MIGO date versus miro Date

    Hi Experts,
    We have a requriement. We want MIGO No., MIGO Posting Date, its MIRO Number and MIRO posting date. How can I get this report.
    Please help me.
    Regards
    GR

    Hello,
      MIGO No. - MKPF-MBLNR
      MIGO Posting Date-MKPF-BUDAT
      MIRO Number - Found in RBKP table
      MIRO posting date - Found in RBKP table
    Fetching Corresponding GRN & Invoice No.:
    Input u201CNumber of material documentu201D (MKPF-MBLNR) in MSEG .Also fetch u201Creference Documentu201D(MSEG-LFBNR) & this should be an input in u201Creference Documentu201D field (RSEG-LFBNR) to fetch invoice no.(RSEG-BELNR).
    Regards
    Mahesh

  • MIRO Posting Date Based On MM Period Or FI Period

    Dear Friends,
    In miro posting date control based on MM period wise or Fi period wise. Please give the solution.
    Thanks
    Saravanan

    miro posting date column controled by MMRV t.code or OB52 t.code
    Thanks
    Saravanan R

  • MIRO Posting Date should be greater than GRN posting Date

    Dear Expert,
    My MIRO posting Date 01.10.2010 and GRN posting Date 10.10.2010. How do I  restrict or validate this criteria?
    Regards,
    PK.

    hi
    you have to go for BADI for  posting date check
    take help of the abaper
    check note
    Note 1156325 - BAdIs in the Logistics Invoice Verification environment
    regards
    kunal

  • Posting Date of Cancellation (MIGO)

    When a cancellation to a Mat Doc is done using MIGO, the
    Posting Date from the reference document is being copied to the cancelled document.
    Any workarounds to capture the current date as the posting date?

    When a cancellation is done in MIGO, you need to enter the material doc, say A (A has posting date 12.01.2008).
    Upon successfully posting, a material doc B is being generated. This material doc B has posting date 12.01.2008 also.
    Is there any workaround whereby B can default the posting date to the current date instead of 12.01.2008?

  • Post previous year parked invoices (MIRO), but system regenerate new doc

    Dear all,
    I am trying to post previous year 2011 parked invoice document from MIRO. I changed the posting date and document date to this year 2011. When i click 'Post', i receive system message indicate that the previous parked document number was deleted and system regenerate a new number.
    Please advice whether any settings can be done to avoid this deletion of previous parked document number. I have numerous parked document to be posted. If this cannot be done, there will be a number of deleted documents.
    Thanks

    Dear all,
    Problem solved.
    The number range is not set as year-dependent. Therefore, cannot be solved.
    Thanks for the advice.

  • Comparing two Calendar dates

    No question. Just a comment with code example.
    Yesterday I was having issues comparing two Calendar dates. They looked equal in my println statement, but they failed the test. The solution evaded my cafeine intensified brain for hours. Then it hit me. Print out the time in milliseconds and see if the numbers were the same. Nope. Why?
    The problem was that in the real world, you get dates from all over the place, not just cooked up for a text book example. (Don't you just hate those text book examples in their unrealistic world?) Anyway, I was getting a date from an HTML form and a data from a database and comparing the two once I had converted them both to a Calendar object. This seemed a reasonable choice.
    Well, the java.sql.Date that the Oracle driver returned which was converted to a java.util.Date was fine. I ran this into a Calendar with the call calS.setTime(dbDate). The form date was split into fields and put into a difference Calendar obj with the call calF.set(fYear, fMonth, fDay, 0, 0, 0). This too seemed reasonable. Then a call to calS.equls(calF) resulted in a false even though the actual dates were in fact the same.
    The problem was with the time. The java.sql.Date (calS) had a time of 00:00:00 which was fine. The calendar from the form also had 00:00:00 for a time since I initialized it with zeros. Hummmmm. Now what? As mentioned before, I decided to print out the actuall time in milliseconds and that gave me my answer. The two calendars were off by only milliseconds, but that's why. You see, the equals method of Calendar compares two dates/time in milliseconds. You can see this in the source for yourself. It's not difficult to read at all. Download and open the api source file, src.zip, and locate Calendar.java in the java.util directory.
    The fix was to add calF.set(Calendar.MILLISECOND, 0) and calS.set(Calendar.MILLISECOND, 0) to zero out the milliseconds in each Calendar object. That did the trick. Here's example code of the problem (test1) and the solution (test2). I tried to simulate as close to real world as possible. If you have a better solution or I've made some error, please let me know. I'm always looking for better ways.
    Main.java
    import java.util.Calendar;
    import java.util.Date;
    import java.text.SimpleDateFormat;
    public class Main {
        private int fYear = 2003;
        private int fMonth = 3;  // march
        private int fDay = 14;
        public static void main(String[] args) {
            Main main = new Main();
            main.test1();
            main.test2();
        public void test1() {
            SimpleDateFormat df = new SimpleDateFormat();
            // get the date from the form
            Calendar calF = Calendar.getInstance();
            calF.set(fYear, fMonth-1, fDay, 0, 0, 0);  // month starts at 0 - so march would be 2
            System.out.println("From form date:     [" + df.format(calF.getTime()) + "] [" + calF.getTimeInMillis() + "]");
            // simulate other activity in the app
            try {
                Thread.sleep(5000);
            catch (Exception ex) {
                ex.printStackTrace();
            // get the Date from the shared object which comes from a database (java.sql.Date)
            // the return is java.util.Date
            // convert to a Calendar
            SharedObject so = new SharedObject();
            Date myDate = so.getTheDate();
            Calendar calS = Calendar.getInstance();
            calS.setTime(myDate);
            System.out.println("Shared Object date: [" + df.format(calS.getTime()) + "] [" + calS.getTimeInMillis() + "]");
            // compare the two calendars for equality
            if (calS.equals(calF)) {
                System.out.println("The same");
            else {
                System.out.println("NOT the same");
        public void test2() {
            SimpleDateFormat df = new SimpleDateFormat();
            // get the date from the form
            Calendar calF = Calendar.getInstance();
            calF.set(fYear, fMonth-1, fDay, 0, 0, 0);
            calF.set(Calendar.MILLISECOND, 0);  // the magic bean
            System.out.println("From form date:     [" + df.format(calF.getTime()) + "] [" + calF.getTimeInMillis() + "]");
            // simulate other activity in the app
            try {
                Thread.sleep(5000);
            catch (Exception ex) {
                ex.printStackTrace();
            // get the Date from the shared object which comes from a database (java.sql.Date)
            // the return is java.util.Date
            // convert to a Calendar
            SharedObject so = new SharedObject();
            Date myDate = so.getTheDate();
            Calendar calS = Calendar.getInstance();
            calS.setTime(myDate);  // just to be safe
            calF.set(Calendar.MILLISECOND, 0);
            System.out.println("Shared Object date: [" + df.format(calS.getTime()) + "] [" + calS.getTimeInMillis() + "]");
            // compare the two calendars for equality
            if (calS.equals(calF)) {
                System.out.println("The same");
            else {
                System.out.println("NOT the same");
    SharedObject.java
    public class SharedObject {
        public java.util.Date getTheDate() {
            java.util.Date d = null;
            try {
                java.sql.Date s = java.sql.Date.valueOf("2003-3-14");  // this march is converted internally
                d = (java.util.Date)s;
            catch (Exception ex) {
                ex.printStackTrace();
            return d;
    } The output
    From form date:     [3/14/03 12:00 AM] [1047621600296]
    Shared Object date: [3/14/03 12:00 AM] [1047621600000]
    NOT the same
    From form date:     [3/14/03 12:00 AM] [1047621600000]
    Shared Object date: [3/14/03 12:00 AM] [1047621600000]
    The same

    So your post boils down to the fact that Calendar's set(year, month, day, hour, minute, second) method doesn't change the milliseconds fraction?
    Given that there is this method, I guess it would be nice if there was a method that simultaneously set all fields, but the API does state:
    Previous values of other fields are retained. If this is not desired, call clear() first.

  • How to change value date from posting date to net due date

    Hi Gurus,
    My client wants to change value date from posting date to net due date. currently posting date is considered as value date but in future client wants to change value date to net due date of documents.
    1. what configurations need to be maintained to change value date from posting date to net due date.
    2. Will these changes effect automatic payment run.
    Thanks and Regards,
    Suresh

    Hi Suresh,
    In Future
    While posting the documents you can mention the value date as due date of the documents.
    For already posted documents
    You can change the value date to net due date.
    If the value date is display mode i.e. if you are not able to change the value date in FB02 (Document Change Mode), use OB32 transaction and make value date field as eidtable (BSEG-VALUT).
    In OB32 transaction enter all the required fields like Account type, transaction type, company code and finally activate the Field can be changed check box.
    But not sure, whether we can change the value date to previous date or not?
    This would help you..
    Regards,
    Praisty
    Edited by: Praisty on Jul 28, 2009 9:56 AM

  • MB_MIGO_BADI change header data in tcode MIGO

    HI Experts,
    I have a requirement to change the feild posting date(BUDAT) in the header data while doing migo.
    For this i have implemented a badi MB_MIGO_BADI->IF_EX_MB_MIGO_BADI~PAI_HEADER. This method has the field is_gohead-budat. but when i'm changing the value in the method,  its giving an error message saying you cannot change filed BUDAT.
    Can anyone help me how to achieve this change?
    Regards,
    Satyam

    HI Harald,
    Thanks for your active reply.
    I tried exit  EXIT_SAPLMBMB_001. But it is not getting called while doing MIGO. I tried putting a break-point.
    I followed the following procedure. Kindly correct me if I'm wrong.
    1. In tcode CMOD, I created the project: ZMD.
    2. In Enhancement assignment i have given the enhacement name as MB_CF001.
    3. In component section the exit EXIT_SAPLMBMB_001 has include ZXMBCU01.
    4. I have written the following code in the include :
         break-point.
            if sy-UZEIT GE '000000' AND sy-UZEIT LE '060000'.
             XMKPF-BUDAT = sy-datum - 1.
              endif.
    5. I activated the project ZMD.
    When i execute the tcode MIGO and post the document, ideally it should stop at the break-point. If it does not stop than that means the exit is not being called during the run time.
    Could you kindly guide me on this.
    The movement type for the GR is 101 and is done for outbound deliveries.
    Thanks & Regards,
    Satyam

  • ABUMN-error "Posting transaction is not possible (Value date not allowed)"

    Hi,
    When we are trying to transfer asset within company code thru Tcode ABUMN, we are getting a error as
    "Posting transaction is not possible (Value date not allowed)"
    What actually we are doing is we are trying to transfer the previous year asset for example say 01.04.2007 assets on today.
    the Parameters are as below
    Document date :26.03.2008
    Posting Date :26.03.2008
    Asset value date is 01.04.2007.
    Then the system is throwing an error and not alloing to post the previous year transfers.
    Can any one help me out.
    Cheers
    Sri

    Hi,
    I think, if you give old asset value date, system will give you the error.  This may be because, you are trying to transfer the assets with old values, means in your examble the dep. from the 01.04.2007 to 29.02.2008 whould have been charged.
    So, give the current year date means any date from 01.01.2008 to till date.
    If you read F1 help for the value date column, it states,
    Asset value date
    The asset value date is the value date for Asset Accounting. It can deviate from the posting and document date and be in posting periods already closed for Financial Accounting. However, the posting year and asset value date year must be the same.
    Since the asset value date can have a direct influence on the amount of depreciation, the system creates a default value when it can. You can specify in Customizing how the the default asset value date is  determined by the system.
    Hope it helps
    Saravanan.A

  • SQL Server Data Compare doesn't retrieve table list

    I'm trying to do a data compare in Visual Studio 2013.  I have chosen my source and targets and successfully tested the connection to each of them in the connections dialog. 
    When I choose next, there's a few seconds delay as though the compare tool is checking with the source and target and then it shows a dialog with what to compare.  There is a checkbox next to Tables and next to Views.  Those are the only two options
    shown. 
    What should be in this dialog, left of Tables and Views, is an arrow to expand them and show the list of tables and views in the source database.  The arrow is missing and I cannot expand any list of tables or views.  There's just nothing shown
    to compare.
    When I click Next again, the compare appears to run but when complete it reports that zero tables or views were compared - under the circumstances this is as expected because the previous dialog did not allow me to check any tables to compare.
    Why am I not getting the arrow to expand the list of tables?  What's wrong with Data Compare?
    Thanks,
    Dale

    Hi Dale,
    >>In your image you show a primary key value in comparison key but my tables did not have a primary key assigned
    >>Is the comparison key requirement by design? 
    I repro it, I get the same issue as yours, if no key, we couldn't compare the tables.
    Like the document here:
    https://msdn.microsoft.com/en-us/library/dn266029%28v=vs.103%29.aspx?f=255&MSPPError=-2147217396
    https://msdn.microsoft.com/en-us/library/aa833428(v=vs.100).aspx
    Requirements
    When you compare data in a table or view, the table or view in the source database must share several attributes with a table or view in the target database. Tables and views that do not meet the following criteria are not compared and do not appear
    on the second page of the      New Data Comparison   wizard:
    Tables must have matching column names that have compatible data types.
    Names of tables, views, and owners are case-sensitive.
    Tables must have the same primary key, unique index, or unique constraint.
    Views must have the same unique, clustered index.
    You can compare a table with a view only if they have the same name.
    Each object has a key or an index that determines the other objects to which it corresponds. However, each table or view can have more than one primary key, unique index, or unique constraint. Therefore, you might want to specify which key, index,
    or constraint to use.
    As my understanding, it would have the specific requirements.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Folder named "Time" in home folder?

    I find that in my Home folder I have an empty folder named "Time". Its date is one week ago, Any ideas why?

  • Can I use VCC (Virtual Credit Card) For my apple id ?

    I want to ask , Can I use VCC (Virtual Credit Card) For my apple id ?

  • Power to PhotoSmart Printer

    Intially, printer would start then immediately shut down and restart, turn on them immediately shut down again.  This cycle repeats indefinitely.  Changed power cord and now received error code 83C00020.  HP web site has no list of error codes.  Anyo

  • Using movies on iWeb

    I am still trying out .mac, seeing if it will work for me. I bought iLife 08, but found out that the new iMovie will not ruu on non-intel machines. I see the demos that people can have these amazing videos on their site. I made a 2 minute movie and e

  • Missing FilePermission

    Hi everybody, I'm facing a nasty problem that has to do with FilePermissions. I'm using J2EE RI V1.3 and SOAP V2.2 to build a simple web services on a W2K machine. I have successfully deployed the soap.war on my local host but as soon as I try to dep