Purchase Order date vs Invoice date

Hi to all.
In our system we run t-code me21n to create purchase order and later on we run t-code MIRO, MIR7 etc. to post incoming invoice. My question is how do I prevent system from letting end users enter invoice date that has earlier date than purchase order? Let's say purchase order was created on December 3-rd, but end users enter as an "invoice date" in the t-code MIRO December 2-nd and system lets it go through, not even warning message. What I want to accomplish is to create "E" message and not let end-users enter invoice date earlier than purchase order date.
Help is sincerely appreciated.
Regards,
Nazim
Edited by: Nazim Gasimzade on Dec 4, 2008 3:32 PM
Edited by: Nazim Gasimzade on Dec 4, 2008 3:35 PM

Thanks for your reply.
Our R3 system is designed for government funded organizations. The issue is that government funded organizations are not supposed to have PO entered in the system until they are provided with funds which are quite often get delayed because of all the paper work that has to take place. Suppliers know about it and quite often they supply goods to budget organizations even before PO are in place. Once the budget organization receives the funds that they can spend, they enter PO details and invoice details but it turns out that invoice date is earlier than PO date. At very least we would like to have our system give a "W" message.
Regards,
Nazim

Similar Messages

  • Message alert when Invoice date preceds Purchase order date

    Hi all,
    I want to define message alert, when Invoice date precedes Purchase order date. Is there any standard message type is there, If yes please let me know. Otherwise how can i define this, please.
    Thanks
    CS..

    Hi,
    You can take help of your abbaper and enter the validation in the user exit of MIRO thru which Invoices are booked.
    Hope this helps, if yes, please assign points.
    Regards,
    Harish

  • Regardig purchase order data

    Hi all,
                  I have a requirement to modify the purchase order data in the ekko table and other underlying tables. I want to modify the field Invoicing Party(LIFRE in EKKO).
                is there any BAPI or standard function module to do this.
    Regards,
    Ravi G

    in BAPI: BAPI_PO_CHANGE
    BAPIMEPOHEADER-PO_NUMBER = <PO Number>
    BAPIMEPOHEADER-DIFF_INV = <data>
    BAPIMEPOHEADERX-PO_NUMBER = <PO Number>
    BAPIMEPOHEADERX-DIFF_INV = 'X'.
    Finally DB Commit by BAPI: BAPI_TRANSACTION_COMMIT.
    Message was edited by:
            Murugesh Arcot

  • Reference document missing in purchase order data

    Dear Experts,
    When i checked with material document with 105 movement type,i found reference
    103 material document is missing in material document item data in Purchase order
    data tab.in the MSEG table also reference document is not updated.please suggest
    me.
    Thanks in Advance,
    Varun

    madhu varun tirupati wrote:
    Dear Experts,
    >
    > When i checked with material document with 105 movement type,i found reference
    > 103 material document is missing in material document item data in Purchase order
    > data tab.in the MSEG table also reference document is not updated.please suggest
    > me.
    >
    > Thanks in Advance,
    >
    > Varun
    Hi,
    Check whether GR-Based IV is checked in PO Invoice tab, if this is not checked then it wont update MSEG Table. Check it out.
    Thanks

  • Doubt in uploading purchase order data using BDC

    Hi friends,
    how to upload purchase order data.
    1) In both BDC and BAPI which one is preferable?
    2) for suppose if it is through BDC,  how to use? what are the transactions that we can use(SHDB, ME21N,ME21)?
    3) To execute the job in background, is it possible for both call transaction and session method.
    Thanks in advance
    Sreenivas k

    It really depends on the number of records you have. Still for a set of 5,000 records my answer to your questions will be:
    1) In both BDC and BAPI which one is preferable?  - <b>Go with BDC</b>
    2) for suppose if it is through BDC, how to use? what are the transactions that we can use(SHDB, ME21N,ME21)? - <b>Yes, its SHDB for recording, SE38 for abap program and ME21 for PO. Avoid SAP Enjoy transactions for recording as you may end up having problems wiht it.</b>
    3) To execute the job in background, is it possible for both call transaction and session method. - <b>If you use call transaction method then you have to schedule the job to run in background or simply run it through F9 instead of F8. In case of session method you can chose to process the session in background. However  I would suggest you go with BDC Session method for this.</b>
    - Guru
    Reward points for helpful answers

  • HOW to retrieve PURCHASE ORDER DATA from archieve file and print a report

    Dear all
    1) I have retrieve purchase order data from archived files.
    2)  print purchase order data and created pdf file.
    VIJ.............
    Moderator message - Please ask a specific question - post locked
    Edited by: Rob Burbank on Apr 28, 2009 12:00 PM

    Dear all
    1) I have retrieve purchase order data from archived files.
    2)  print purchase order data and created pdf file.
    VIJ.............
    Moderator message - Please ask a specific question - post locked
    Edited by: Rob Burbank on Apr 28, 2009 12:00 PM

  • Additional field in the sales order header Purchase Order Data tab

    Hi,
    I want to add an additional field in the below screen:
    VAO1 > Go to > Header > Purchase Order Data >
    Under Sold to party section i want to add an additional field.
    Is this possible through configuration?
    Please let me know.
    Thanks in advance
    Edited by: Kase on Dec 20, 2011 7:06 AM

    Hi Kase,
    Check this below link it might be helpful for your issue
    sales order - Additional data B
    new fields in sales order
    Regards
    Pradeep

  • Updating Purchase Order data in VBKD table

    Hello,
    We are trying to update Purchase order data in VBKD table for Sales Order at Item level. When sales Order is created, VBKD has a default record with VBELN = 'sales order number' and Item = '00000'. We want to update BSTKD_E field with Purchase order number for VBELN= 'sales order number' and Item = '00010'.
    We wrote our logic in USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_MOVE_FIELDS_TO_VBKD in MV50AFZZ to append new entries in XVBKD with VBELN= 'sales order number' and Item = '00010'. But in this case Sales order is not created with UPDATE TERMINATED message. We are not sure if we can append a new record in XVBKD.
            wa_xvbkd = xvbkd.
            wa_xvbkd-posnr = wa_xvbap-posnr.  "00010
            wa_xvbkd-bstkd_e = vbkd-bstkd.   "PO no
            wa_xvbkd-posex_e = wa_xvbap-posnr. "Purch. order item no
            wa_xvbkd-updkz = C_I.
            APPEND wa_xvbkd TO xvbkd.
            CLEAR wa_xvbkd.
    Please advice the suitable way to have a Purchase Order item level data in Sales Order.
    Thanks
    Rohit

    Hi,
    You can try these FM to update info record.
    ME_DB_UPDATE_INFORECORDS
    ME_UPDATE_INFORECORD
    ME_UPDATE_INFORECORD_COND
    ME_UPDATE_INFORECORD_PD
    Check the sample code on BAPI_PO_CHANGE
    http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm
    Regards,
    Shiva Kumar

  • SAP renamed 'Purchase Order Data' tabs but it is not changed in menu bar

    In VA01/VA02/VA03  transactions,  SAP has renamed the "Purchase  Order Data" tabs at header and item level to "Order Data" but the Goto > Header   and    Goto > Item    menu paths still have "Purchase Order Data" as the name.  This is inconsistent.  Is there an SAP fix for it?

    Try wit this report RSLANG20
    Best regards,
    Mirek

  • Purchase order date posting problems

    Hi all,
    I have done an interface to post purchase/ sales order into sap. ive populated fields correctly into the segments and executed the fm. its posting all the data except the purchase order date in the header. i dont know why its doing dat. the field is populated into the segments and i can see it. but its not getting reflected in the order created .. can somebody help me with this. ive used date segment e1edk03 qualifier 22 field is iddat.
    thanks,
    kishore.

    Hi,
    Im using orders 05.. FM idoc_input_orders
    Create Document header date segment - E1EDK03
    *. I.e. set header level required delivery date
      e1edk03-iddat = c_edi_iddat_002.
      e1edk03-datum = date_required.  "Set the date required
      PERFORM add_segment USING c_segnam_e1edk03 e1edk03.
    Header Level Customer purchase order date
      e1edk03-iddat = c_edi_iddat_022.  " default value 22.
      e1edk03-datum = cust_po_date.
      PERFORM add_segment USING c_segnam_e1edk03 e1edk03.
    Header Level Pricing Date
      e1edk03-iddat = c_edi_iddat_023.
      e1edk03-datum = pricing_date.
      PERFORM add_segment USING c_segnam_e1edk03 e1edk03.
    Wat i could observe from fm idoc_input_orders fm , fm is not posting in the purchase order date for identifier 22.. u can have a look at it if u want.. include LVEDAF5W
    is there any way to post this date plz
    thanks

  • Regarding LSMW -- Purchase Order Data

    Hi Friends,
    I have one requirement i.e purchase order data need to be upload through LSMW via Direct input method.
    =============
    pls find the belwo flat file structure
    old_PO           material            price            qty
    P123              M111                  10               1
    P123              M222                  10                1
    P123              M333                  20               1
    ===============
    Normally if I upload same data into SAP, it will create three purchase orders with different SAP numbers.
    I want if old_PO number is matches with the previous record all the materials should be in single transaction and single Purchase order should be created.
    Can any body help how to resolve this issue. This is very urgent.
    pls explain in detail. I am using LSMW. I don't have no other option.
    =====
    please don't post any junk amswers.
    =====
    Thanks in advance

    Hi Raghunath,
    Don't think that this reply is junk one.I cannot explain you in detail but try like this.
    In the fifth step of LSMW,You can find Global data definitions & Processing times.
    In any of these you can just fetch the values from database with reference to flat file data like..
    select PO from ...where PO = source-PO.
    if sy-subrc EQ 0.
    skip_transaction. Using this function you can skip this record
    endif.
    Award points if useful.
    Thanks,
    Ravee..

  • Purchase order data base

    I need help.
    I have a database that contains all purchase orders
    I'd like to be able to create a report that shows only the most recent order for each supplier
    ordered by date.  Sounds simple but I have been struggling with this for awhile.
    Thanks

    Create a group on the supplier name
    create a group on the purchase order date - ascending order
    place the output fields you want to see on the report in the footer section of the purchase order date.
    Suppress the purchase order date header, the detail section and the supplier name footer.
    You may need to do a 'top N' group sort to get it to sort by date, as the instructions I'm giving would put it in Supplier order.
    Only the last purchase order data will display on the report.  If you want to include Supplier specific information, such as address, phone or customer number you can place those fields in the Supplier group header.
    This report will pull in all the data but only display the last record for each supplier's last purchase order (assuming they only have one purchase order in a day...if you have more than one in a day you may want to include a purchase order number group and move all the data into that footer).
    If you're going to summarize, say, try to get 'total dollars for month', you'll need to use a 'running total' and specify the dates to be used in the Evaluate section formula.

  • How to upload Purchase Order Data thru LSMW

    Hi All,
    I need to upload Purchase order data thru LSMW. LSMW Provides standard object method which does not suit for split valuation. But in the client place split valuation is maintained. Is there any other of option of uploading the data.
    Regards,
    Srivatsan

    Dear Srivatsan
    For Upload Purchase order Data through LSMW
    Business object BUS2012 - Purchase Order
    Basic type PORDCR04
    Message type PORDCR
    Method CREATEFROMDATA
    With regards
    B.Ravindranath

  • Standard Purchase Order Data Source question

    Hi,
    I have read the documentation discussing how to create data definitions. They all say make sure that the code is the short name of the concurrent request. However I noticed when I look at the Standard Purchase Order Data Source's code it has is PO_STANDARD_PO which seems to match the XML Schema PO_STANDARD_PO.xsd how is the concurrent request initiated at runtime?
    Thanks,
    Mark

    If you go to the XML administrator screen and lookup the definition of the XML page and what program it is associated to as a start. From memory, i believe that the Definition of the Print PO concurrent job is where the output is required in order for the PO to be printed in the XML format.

  • Purchase Order data from archive

    Friends,
    May i ask your expert advise on the best possible and efficient way to extract the archived Purchase Orders data, basically key figures are needed for audit purpose of year 2002 to 2006, i tried using SARA and SARI, but they are really killing huge time and also the system memory.
    Thanks in advance for all your valuable advises.
    Best Regards,
    Ravi

    Hi Ravi,
    If you are talking about the data from a few purchase orders, then displaying using ME23n will be the easiest.
    If you are talking about some key fields from a lot of POs then i feel using infostructures will be the easiest (although it is slow if you are talking of huge volumes of data; but compared to sequential access, this is better).
    If there is a standard infostucture already available which has the fields which you are looking for, then activate and build the info structure. Else, you may have to create a new infostructure which has the fields you require; again for this you can make use of a standard available field catalog or create one on your own. When filling the infostructures, you may have to fill for few archive sessions / files at a time so that it wont take long time and memory.
    There is another way which is possible. If you have BI system in place and if it contains the data you are looking for, then you can extract the data from BI (if it suffices your audit requirements).
    Hope this helps,
    Naveen

Maybe you are looking for

  • HT201210 i can't activate my iphone 3gs after update

    i can't activate my iphone 3gs after update

  • Stock transfer invoice generate without pgi

    Dear experts one stock transfer invoice has been created without pgi done and physicaly material has been despatched to sale depot at remote location.stock is not appearing in transit and also we are unable to do pgi right know. without canceling inv

  • PDFs move very chunkily

    PDFs move very "chunkily," i.e. never smoothly, on my iMac. I try to use the drag bar on the right and it does nothing--gives me the spinning wheel of death, the jumps several pages. When I use the button to advance one  page at a time, it takes 4-6

  • Downgrade from Skype 7.0.0.102 to version with old...

    Skype recently auto-upraded to 7.0.0.102. The GUI changed. People in our office break furniture and tear their hair cannot do business, due to changed Skype GUI. How to downgrade to Skype version with old GUI? Solved! Go to Solution.

  • Regarding the process flow

    Hi All, My client is asking the process flow for the following scenarios can any one help me by providing the procees flow 1.Depot Import Material Return Process 2. Depot FOC process. 3.Depot purchase return process. 4. High sea Sales Config (if anyt