Baseline Date in MIRO

Hi Guys,
My requirement is that I want to default GR date as the base line date for MIRO. Considering i will be using delivery Note No. as reference, the baseline date should be defaulted from the respective GR against that Delivery Note.
Regards
Biswajit

Hi,
You have to use 2 enhancement spots, create and explicit enhancement in
1.    include LMR1MO0S -
enhancement 31  /nfm/mm_saplmr1m.
export the purchase order number (rm08m-ebeln) to memory coz the place where we want to pich the GR date does not have purchase order number.
2.    include LFDCBFG0-
enhancement 1  oia_saplfdcb
select the latest GR date from PO history table
where ebeln = import from memory (exported in previous enh)
         bewtp = 'E'  (GR)
         bwart  = '101'  (movement type).
    bseg-zfbdt = ekbe-budat.
    invfo-zfbdt = ekbe-zfbdt.
IT WORKS!!!!!!!!!!!!!!! CHEERS
reward porints
--Ankush

Similar Messages

  • How to changes baseline date in miro with Posting date

    Please tell me the procedure to change the baseline date in miro with posting date (EKBE-BUdat) on basis of  Purchase order No (EBELN) .
    I tried it by using user exit :-EXIT_SAPLKONT_011  Enhancement : LMR1M002 but got stuck somewhere .Please tell me how to work on this .

    hey guys my problem is solved by using a badi  " MRM_PAYMENT_TERMS" .In method "PAYMENT_TERMS_SET" writing the code .

  • Difference between Posting Date & Baseline date in MIRO

    HI,
    What is the difference between Posting Date & Baseline date in MIRO?
    Regards
    Chandan
    Edited by: Chandan H N on Dec 14, 2009 11:11 AM

    Dear,
    Posting Date:
    Posting Date in the Document
    Date which is used when entering the document in Financial Accounting or Controlling.
    Use
    The fiscal year and the period for which an update of the accounts specified in the document or cost elements is made, are derived from the posting date.
    When entering documents, the system checks whether the posting date entered is allowed by means of the posting period permitted.
    Note
    The posting date can differ from both the entry date (day of entry into the system) and the document date (day of creation of the original document).
    Baseline Date
    Baseline Date for Due Date Calculation
    Date to which the periods for the cash discount deadline and the due date for net payment refer. This is the case for line items in open item accounts.
    For line items in G/L accounts, the item is due immediately on this date because there are no cash discount specifications.
    Procedure
    During document entry for open item accounts, the date may be defaulted. For this, a terms of payment key must have been specified in the customer's/vendor's master record for which a default value is requested in the document.
    The proposed date can be overwritten.
    If the cash discount rates (and days) have not been entered, the baseline date for payment is the same as the due date.
    Regards
    Utsav

  • MIRO: How to set GR date as baseline date ?

    dear friends,
    can we set the GR date as the baseline date in MIRO (either GR doc posting date or Document date )?

    Hi,
    Baseline date is configured based on Payment Terms, that can be possible using customizing, there is no relation with GR date and other dates.
    Still if you want set the Baseline date with some other default date or PO date, or GR date, -
    IT IS POSSIBLE
    by enhancements
    directly applying enhancements will not work for you, you just have to work smartly by applying 2 enhancements to get the desired results
    I will tell you how to do that, just let me know the version of SAP you are working on..
    I tried it on ECC 6, and it is working very fine

  • GR POsting date as Base line date in MIRO.

    Hi SAP Expert,
    Using StandardConfiguration, Base line date in MIRO can be populated as Posting date/Invoice document date/ new entry of Invoice Reciept using configuration of Terms of Payment.
    My client requirement is to populate GR posting date as a base line date in MIRO.
    can you please let me know how/where/what configuration to be done to achieve the client requirement.
    please also let me know the Table & Field used If any ABAP coding Involve.
    With Regards
    Manoj Singh

    hi,
    baseline date in MIRO triggered by payment terms in FI .
    take help of the FI consultant create payment term based on GR document date.
    regards,
    sujit

  • Setting baseline date based on a specific payment term

    Hello everybody,
    I have a requirement where i have to change the baseline date in MIRO based on a specific payment term. For ex: out of 3 payment terms A, B and C which all take the same base line date set in MIRO, i want to change the base line date for say condition B only.
    I can't find the 3 different payment terms in any exit or BADI. I just get the value in ZTERM as say 'A1' which is the main installment term.
    Could anybody tell me how I am supposed to do this?
    Regards,
    Ritwik Rajkumar

    Dmytro has made some excellent suggestions. If it were me, I would rebuild the table into partitions based on the new column EXPIRATION_DATE assuming that the vast majority of the records are to be "expired".
    However, I would first set a local variable from sysdate rather than use it in the SQL so that you don't have any context switching to query sysdate for each record AND preserve the same timestamp for all records updated:
    declare
    V_TIMESTAMP date := sysdate;
    begin
    update MY_BIG_TABLE
    set EXPIRATION_DATE = V_TIMESTAMP
    where nvl(EXPIRATION_DATE,V_TIMESTAMP) >= V_TIMESTAMP;
    end;

  • Inventory posting-default baseline date

    Hi Expert!
    i have opened a forum regarding invoice posting-how to set document date to be as the dafault baseline date in MIRO,FB60,FB65,FV60 and FV65.. I got the path given by prashant "SPRO=>FA=>Accounts Receivable and Accounts Payable=>Business Transactions=>Incoming Invoices/Credit Memos=>Maintain Terms of Payment" but will it affected to all company codes?? I only want to set it up for 2 company codes only.. is it possible to do so?
    Then one more thing is, in the path i can see payment terms 0001, 0002 and 0003 but however they're different than payment terms which are being using currently..K160,K165... where can i check payment terms againts company code?
    Please advise..

    Hi,
    You use the standard terms of payment or customize terms as per your requirement with default baseline date controls.
    These are stored in table V_T052.  You can choose any of these terms as per your requirement.  If you use page up or down
    key, you go to the next page and see other terms or click positiion tab to view K160 or K165.  These terms of payments
    are either assigned during transaction or directly assigned to Vendor Master or Customer Master in Company Code data.
    If you want to see the terms of payment assigned to the vendors/customer in two of these company codes use SE16N
    and view through tables LFB1(vendors) KNB1(Customers).  You cannot make a specific assignment to the company code.
    Regards,
    Sadashivan

  • Baselin date as a recent GR posting date

    My Requirement is to modify baseline date in MIRO to Recent GR posting date for which i have implemented BADI  'MRM_PAYMENT_TERMS  and its functioning properly in MIRO . after doing the payment and generating the invoice document number for same what i found is baseline date in invoice document in FB02 has the the same Date which was coming earlier in Material document in MIRO and not the recent GR posting date which is my requirement.
          i tried to do it by updating the invoice document for modify baseline date to recent GR posting date  in the same BADI but couldnt succeed as the invoice document number is generated after the call of this badi and hence coulnt modify the same .
       so can anyone please sugest me some other BADI and other work aroundfor it?
    helpful answers will be awared.
    Thanks in advance.
    AVI

    Edited by: SAP Learner on Jul 23, 2009 11:22 AM

  • Making Baseline date default as GR date

    Hi All,
    I have requirement like I want to default Baseline date in MIRO as GR posting date, how to do this.
    I tried by configuring it but its not working.
    Please guide me.
    Thanks in Advance
    Pavan

    With Standard settings it may not possible.
    Tey this BADI-- MRM_PAYMENT_TERMS
    Thanx
    Rammohan.

  • Baseline date, terms of payment, net due date in MIRO Parked document

    Hi all:
    When parking a docuement in MIRO with a PO reference the terms of payment, baseline date, and due date are all determined.
    The problem is when we don't have a PO yet, just the vendor and the amount, is there a way for MIRO to determine the terms, baseline date, and due date from the vendor master?

    Hi,
       Just enter the Vendor in MIro and it should pull the Payment terms from the Vendor master (Company Code Area).
    Baseline Date & Due Date are derived based on the settings in the payment term.
    KInd regards

  • Baseline date calculation in Invoice verification (MIRO)

    Dear experts,
    I need to set baseline date after 40 days from document date in MIRO.
    Baseline date calculation of "Terms of Payment" in IMG has two parameters:
      ・Fixed day
      ・Additional months
    We cannot set 40 days in these parameters.
    Can anybody tell me how to set baseline date not month but date(not fixed day) ?
    Please advise me on the settings SPRO>MM>Purchasing>Vendor Master>Define terms of Payment.
    Thanks & Regards
    Ken

    Hi,
    You can't do this.
    The baseline date is the date on which the calculations are made.
    So if you have 40 days to pay, this will be 40 days from the baseline date.
    This will either be the document date or another date, but you can't (in standard SAP) have the baseline date as "X" days after "Y".
    So the baseline date is the date of an event (e.g. the date that the Invoice was posted) not a calculation.
    Is it possible that you have misunderstood the use of this date?
    If you just want to ensure that the payment date is 40 days after invoice recipt, then set you just have to enter the number of days in the payment terms and the baseline date stays as the invoice date (etc.)
    Steve B

  • Baseline date blank in MIRO

    Hi Experts,
    When I create MIRO, the baseline date always blank. Payment terms is filled, but baseline date always blank.
    Everytime I try to fill manually the baseline date, when I enter. It goes back to blank.
    I cannot save invoice.
    Please help.
    Thanks,
    Melissa

    Hi,
    By default the payment term read from vendor master data is 0001. Then the baseline date is blank.
    When I try to change the payment term, the baseline date appears.
    But after I enter several times, baseline date going back blank again.
    If yes, do you know any user exit that impacted this field ?
    I have enhancement for BADI MRM_PAYMENT_TERMS. Is it possible that after I activate this, the baseline date not working as usual ?
    Thanks,
    Melissa

  • Baseline date not default in MIRO for Invoices posted against STO Pu.Order

    Hi All,
    Baseline date doesn´t default in MIRO for Invoices posted against an STO Purchase Order.
    We are trying to post an Invoice in MIRO with reference to a STO Purchase Order for planning delivery cost.
    Delivery cost in PO has not got the Vendor number because conditions are customized not possible to process manually so in MIRO the system asks to enter the Invoicing Party and then the baseline date.
    The client requires that when the invoicing party is enter manually in MIRO, the term of payment should be pick up from Vendor Master Record.
    Could someone confirm if this possible ?
    Thanks and regards,
    Laura

    Hi Laura ,
    The payment terms in Invoice are taken from PO only .
    Refer SAP Note : 177224 for more details.
    Regards
    Ramesh Ch

  • Baseline date not flowing in MIRO transaction

    Hi
    Baseline date not flowing in MIRO while doing transaction.
    We have maintained Payment terms in vendor master record
    and payment terms maintained in PO also.
    We have done the GR posting.
    please help
    Thanks and regards
    Aakash

    Are you use an MIRO with amount split? and does your payment term is configured with "No Default Date'? Then refer to OSS 495303.

  • MIRO baseline date

    hi all,
    please help me to solve this issue
    issue:
    MIRO baseline date getting defaulted and hence leading to wrong calculation of payment terms. Payment date to be made mandatory and no default baseline date
    atanu

    Hi Atanu,
    Base line date will be used for clearing payments in FI.
    Base line date can be defaulted based on your payment terms too i.e.
    (a) No Default
    (b) Based on your posting date
    (c) Based on your document date
    (d) Based on you Entry date.
    Hope this informaion will be useful
    Bye,
    Muralidhara

Maybe you are looking for