Purchase order and MIP selection

Hi All,
I have a requirement, please expalain whether it is possible or not in SAP?
The Material is updated with the quality view and also have the MIP with diff.MICs.
Say the effective date is 15.10.2010.So if the purchase order has been generated
on or after 15.01.2011, it will take the current MIP at the time of GRN
Now if any changes has been made in the MIcs, it will create the new version, as in the
Plant settings the history requirement has been maintained.It will updated in resp. MIP
in QS27. Now the MIP is with the new versions of MICs, say an ex. this was updated on 01.02.2011
If any Purchase order has been generated, and made the GRN against it, the inspection
lot will have the new versions of MICs, as it is a std behavior of SAP.
Now the requirement is such that, if purchase order is created between 15.10.2010 to
31.01.2011, then system has to create the inspection lot with the old MICs(e.g. version 01)
And if the purchase order has been generated on or after the 01.02.2011, it should
pick up the revised veersion of MICs(e.g. version 2)
If you have came across such requirment then please share your views
Many Thanks,
Hrishi

Hi Sujit,
Yeah! the settings was also maintained at the client level, but the major issue is that
system has to remember whether it is old or revised MIP when the purchase order
is created, means system has to recognize the MIP while doing the GRN against the
purchase order.
As i said before, say an exaample if the Purchase order created on 15.01.2011 at that
time old MIP is there and some changes made in the MICs and it replaced in the MIP on
17.01.2011 And after that purchase order created.
Now at the time of GRN say an example on 16.02.2011, purchase order created on 15.01.2011
has to pick up the old MIC and the purchase order created in 17.01.2011 has to pick up
the revised MIP.
How it can be psossible in SAP?
Hope i clear the things
Please note that the MIP pick up during the GRN should be automatic
Hrishi
Edited by: Hrishi on Feb 16, 2011 12:40 PM

Similar Messages

  • Open Purchase Orders and Open Sales Orders

    Hi,
    Please let me know the table names for open purchase orders and sales orders.
    Regards,
    Prii

    HI Priti,
    EKPO-ELIKZ  "Delivery completed" indicator, This tell if the given PO line items has any open quantity or not.
    Logic to find out if a given PO has Open Quantity or not is do the following:
        " select the PO Qunatity.
        SELECT SINGLE MENGE FROM EKPO INTO PO_QTY WHERE
        EBELN = ITAB_PO_LN-EBELN AND
        EBELP = ITAB_PO_LN-EBELP.
        " select the GR qunatity which has been received.
        SELECT SUM( MENGE ) FROM EKBE INTO GR_QTY WHERE
        EBELN = ITAB_PO_LN-EBELN AND
        EBELP = ITAB_PO_LN-EBELP AND
        BWART = '101'.
        " select GR Quantity which has been reversed.
        SELECT SUM( MENGE ) FROM EKBE INTO GR_REV_QTY WHERE
        EBELN = ITAB_PO_LN-EBELN  AND
        EBELP = ITAB_PO_LN-EBELP AND
        BWART = '102'.
        POSTED_QTY =   GR_QTY - GR_REV_QTY .
        OPEN_QTY = PO_QTY - POSTED_QTY.
    Regards,
    -Venkat.

  • Last Purchase Order and FI-Document Number of an Vendor

    Hi,
    i need for an Vendor the last purchase Order and FI-Document Number.
    For purchase Order i read EKKO sort this and get the last one.
    For FI-Document Number i read BSIK and BSAK sort this and get last one.
    Question: is there any faster way (CLASS, FM or TABLE) to get what i need??
    Thanks.
    Regards, Dieter

    HI Dieter,
    You can use transaction code ME2L , where you can list of PO issued a particular vendor. List list shows Po no. indecending order. You can double click select the latest PO and through PO history you can get the FI Document no.
    I hope this ansers you query.
    Regards
    Harish

  • Purchase Order and Invoice creation

    Hi All,
    I am having some fields related to Purchase order and Invoice creation, i have to find out the tables to which tables these fields belongs to.
    Below are the Header fields:
    Wrbtr  Tcode - MIRO,
    Lfsnr   Tcode - MIGO,
    Evertn Tcode - Me32k,
    Kbetr  Tcode - Me32k,
    Kschl  Tcode - Mek1,
    Selkz  Tcode - Mek1,
    Werks Tcode - Mek1,
    Evart   Tcode - Me31k,
    Frgco  Tcode - Me35k,
    Sddat  Tcode - Me35k,
    Below are the Detail fields:
    Kbetr   Tcode - Mek1,
    Konwa Tcode - Mek1,
    Lgobe  Tcode - Me21n,
    Planloc Tcode - Me31k,
    Datab   Tcode - Mek1,
    Datbi    Tcode - Mek1,
    Fromdate  Tcode - Me31k,
    Todate      Tcode - Me31k,
    i have to retrive all these fields from tables, so plz anybody give me exact tables to use in the select quries to retrive these fields.
    Thanks in advance,
    Balu.

    Hi,
    U can get the req fields as follows:
    Below are the Header fields:
    1)Wrbtr Tcode - MIRO- table rseg ,field-wrbtr
    give belnr (invoice no ) & BUZEI(item)  if known, else, give ebeln,ebelp.
    2)Lfsnr Tcode - MIGO,-table mkpf,give mblnr (mat doc no ) & ZEILE(item) field-xblnr  or give ebeln,ebelp
    3)Kbetr Tcode - Me32k,
    table:konp or konv.
    Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH  in 1 of the tables- konp or konv,wil get kbetr.
    4)Kschl Tcode - Mek1,
    Pass ebeln,ebelp to table ekpo, get mwskx(taxcode), u will get condition type kschl from FM -FI_TAX_GET_CONDITION_TYPES.
    or
    table:konh or konp or konv.
    Pass ebeln to ekko, wil get KNUMV.Pass KNUMV   as KNUMH in 1 of the tables-konh or konp or konv, wil get kschl.
    5)Werks Tcode - Mek1,-table-ekpo, field-werks(give ebeln,ebelp)
    Below are the Detail fields:
    1)Kbetr Tcode - Mek1,
    Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH in 1 of the tables- konp or konv,wil get kbetr.
    2)Konwa Tcode - Mek1,
    Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH in 1 of the tables- konp or konv,wil get konwa.
    3)Lgobe Tcode - Me21n,give ebeln.ebelp in table ekpo, get lgort.pass lgort to table t001l, u wil get lgobe.
    4)Datab Tcode - Mek1,table-konh,field datab
    Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH  in - konh ,wil get datab.
    5)Datbi Tcode - Mek1,table-konh,field databi
    Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH in  table- konh,wil get databi.
    Hope its useful to u.

  • Purchase order and purchasing requisition .

    Hi
    What is the difference between Purchase order and Purchase requisition . ?
    And why cube are different for them ?
    Regards

    A purchase requisition is an internal document that's created to initiate a procurement transaction. The requisition is created to identify the materials that are needed to be acquired and when they're needed. Once completed by the initiator, it's sent to the appropriate approvers.
    Upon approvals of the requsition have been provided, and a vendor is selected, a purchase order is created. The purchase order is an external document whereby an agreement is made to procure the materials at an agreed upon price and delivery schedule
    The InfoCubes for each of these is different due to the nature of the documents (internal v. external).

  • To Find MIGO, MIRO No of a Purchase Order and List Of Vendors ?

    Hi Experts,
    Required your inputs on the Following, Please Guide.
    1) My End user has created a Purchase order, and he has done G.R and followed invoice also. And he doesnt remember the G.R Number and Invoice Number, for that Purchase Order.
    a) How and where to find GR Number and Invoice Number for that Purchase Order ?
    b) Please sugest is there any transaction to find the GR Number and Invoice Number ?
    c) How to Find the Open Purchase orders? Is there any transaction to look Over Open Purchase Orders ?
    2) My Enduser has Created Vendors with respect to different Company Code.
    a) Is there any Standard report to find the List of Vendors with respect to Company Code ?
    Please advice with your Valuable inputs.
    Best Regards
    Javeed

    Hi,
    Go to transaction code ME23N and then at item level click on tab called u2018Purchase order historyu2019 for the particular item. You can see both GR & Invoice doc. No.
    Transaction ME2L to see the open PO.In the selection screen of this T code please select Scope of List u2013 ALV AND Selection Parameters u2013 WE101 . Then execute. You will get open Pos.
    Regards,
    Manish

  • HOW WE FIND OUT OPEN PURCHASE ORDER AND CLOSED PURCHASE IN THE TABLE?

    HI,
    PLZZ HELP ME.
    what are fields names for open purchase order and closed purchase order
    thanks

    Hi param,
    Go to mseg table, pass the purchase order number and purchase order item. if the mseg-menge = ekpo-menge for the corresponding purchase order then consider the purchase order is close, else it is still open. even check if the entries are not there for corresponding purchase order in mseg table then also it is open.
    select mblnr zeile matnr menge from mseg into it_mseg where ebeln = it_ekko-ebeln
    and    ebelp = it_ekpo-ebeln.
    if sy-subrc <> 0.
    then consider the purchase order is open.
    This is the first case.
    even u can consider like this
    if sy-subrc = 0.
    if it_ekpo-menge > it_mseg-menge.
    then also the purchase order is open.
    Regards,
    Santosh Kumar M.
    Award points if it is useful.

  • How to link asset with purchase order and PO Item.

    Hello,
           I have to generate a report which contains columns
    Asset No , po no(ebeln) ,PO Item(ebelp),Material no etc
    My query is how to link asset with purchase order and      PO Item.
    I am selecting asset and po no. from anla  but how to get
    po item no(ebelp)?
    po line item is important in this report because every line item has differrent asset and material no.
    i tried to match asset no in mseg table but i am not getting asset no in mseg .
    how should i proceed ?

    Thanks Thomas & Srimanta for the quick response.
    When I checked EKKN table by entering PO there is no asset no. in anln1 field.
    Also I would like to add that, In me23n for a PO, account assignment category we are entering 'F' for internal order settlement.
    Where can i find the link between asset and po no(ebeln) and po item(ebelp)?
    Regards,
    Rachel
    Edited by: Rachel on Aug 11, 2008 7:23 AM

  • Combined Purchase Order and Sales Order Query. (Including Stand Alone Docs)

    Hi,
    I need some help please!
    I am looking for a query that will show all the Purchase Orders with all their base document Sales Orders. However I also need to show those stand alone Purchase orders and Sales Orders.
    What I have is two queries, one for the PO fields en one for The SO fields. I would like a way to combine these two so I have one query with the relevant PO and SO info next to each other.
    The final query will have a top heading structure like this:
    Status,Purchase No.,Supplier No.,Supplier Name,Week,Month,Del Method,Country,Method,Rep.|Status,Rep.,Sales No.,Customer No.,Customer Name,Customer Order no.,Cust. Del date,Doc total,Del Method
    +(The first part is for the purchase order section, the second part starting at the second 'Status' is the sales order section)
    +Purchase Order Query:
    SELECT
      T0.DocStatus 'Status',
      T0.DocNum'Purchase Order No.',
      T0.CardCode 'Supplier No.',
      T0.CardName'Supplier Name',
      DATEPART(ww,T0.DocDuedate)'Week',
      DATEPART(mm,T0.DocDuedate) 'Month',
      T1.TrnspName 'Delivery Method',
      T2.Country 'Country',
      T0.JrnlMemo 'Method',
      T3.SlpName 'Rep.'
    FROM OPOR T0 
    INNER JOIN OSHP T1 ON T0.TrnspCode = T1.TrnspCode
    INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode
    INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode
    Sales Order Query:
    SELECT
      T0.DocStatus 'Status',
      T2.SlpName 'Rep.',
      T0.DocNum 'Sales Order No.',
      T0.CardCode 'Customer No.',
      T0.CardName 'Customer Name',
      T0.NumAtCard 'Customer Order no.',
      T0.DocDueDate 'Cust. Delivery date',
      T0.DocTotal ' Doc total',
      T1.TrnspName ' Delivery Method'
    FROM ORDR T0 
    INNER JOIN OSHP T1 ON T0.TrnspCode = T1.TrnspCode
    INNER JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode
    The problem I am having is that if I combine these queries it excludes all those records with blank/empty data fields.
    I do not mind having to go to crystal reports to get what I want.
    Any suggestions?
    Thanks!

    Hi thanks GordonDu,
    I have tried a union before, and yours works great. However my problem is to display the  PO en SO columns next to each other and not underneath each other.
    Something like this:
    Po No          Supplier          SO No           Customer
    1234           Sup 1             9876              Cust 1
    1235           Sup 2             no SO             Cust 2
    1236           Sup 3             9877              Cust 3
    1237           Sup 4             9878              Cust 4
    1238           Sup 5             no SO             Cust 4
    I have this query, but with this it drops all those Purchase Orders made Stand Alone and without a SO number.
    SELECT
      T2.DocNum AS 'Purchase Order No.',
      T0.DocNum AS 'Sales Order No.',
      T2.CardCode AS 'Supplier No.',
      T2.CardName AS 'Supplier Name'
    FROM ORDR T0 
       INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
       INNER JOIN OPOR T2 ON T2.DocEntry = T1.PoTrgEntry
    Though using your Union gives me all the information I want and the ability to expand on that, my problem is the "Display" part. I am sure I am doing something stupid somwhere 
    Edited by: Desmond Moll on Mar 7, 2012 8:03 AM

  • Terms user query Changes in unit price in purchase order and a/p invoice

    Dear sir
         please give me a term user query for , if any changes in unit price in purchase order and a/p invoice

    Hi,
    Try this:
    SELECT  Distinct ' true'
    FROM adoc T2
    JOIN ado1 T0 ON T2.docentry = T0.docentry AND T2.Objtype = '22'
    JOIN por1 T1 ON T1.docentry = T0.docentry AND T1.Linenum=T0.Linenum
    WHERE  $[$38.14.number] != T0.Price
    Thanks & Regards,
    Nagarajan

  • I created a purchase order and deleted it.

    I created a purchase order and deleted it.
    when i query the purchase order even in history table the PO is not avaialble. why?
    The table i queried
    In release r12
    SELECT *
    FROM apps.po_history_all

    Your po archive is probably be set to Archive on "approval" or "communicate".
    Since you deleted the po before approving, it never got archived.
    Check your document types in PO Setup menu.
    Hope this helps
    Sandeep Gandhi
    Omkar Technologies Inc.
    Independent Techno-functional Consultant
    513-325-9026

  • Automatically adding  purchase orders and maintenance contracts

    We are actually doing our purchase requisition and quotation externally through a procurement agent.  We get an excel sheet extract from our proquriement agent of all our purchases.  We want to be able to automatically enter these purchases into the system for record keeping.  Is there a way SAP can automatically read the extract file and enter purchase orders and maintenance contracts into the system?  Any help would be greatly appreciated.

    The GL Account field in PO Line is not a UDF, it's a standard field.
    other information, if I try to fill the GL Account field using the SAP orange arrow, it's ok(by selecting the same account number)
    Franck

  • Remaining Balance in Purchase Order and Blanket Orders

    Hello Gurus,
    I try to find a report with remaining balance in Purchase Orders and Blanket Orders.
    I really appreciate your help.
    Regards.
    Hector

    Thanks Charlie,
    Is there a selection parameters I need to select?  Because I just want the remaining balance.
    Please let me know.
    Regards,

  • Email of Purchase Order and Payment Advice

    Good Morning All
    We wish to implement the emailing of payment advice documents to our vendors. However, we are not sure if the changes to the vendor master data required for this will also mean that purchase orders for that vendor will also be emailed. Does anyone know if this is the case or not?

    Having done some testing I agree that the requirement for condition data for purchase order output makes it possible to email remittances and not purchase orders i.e. by not creating the MN04 condition data. However, in my testing, when I assigned an email address to the vendor for the purposes of emailing purchase orders, the payment advice produced by the next payment run was also emailed. I'm sure I must be missing something as, if nothing else, this would imply that the vendor would offer the same email address for both purposes. In desperation we are wondering whether we need to maintain multiple email addresses and use the standard number for purchase orders and somehow identify one of the other addresses as that to be used for the remittance.

  • Want to see combination of Purchase Order and A/P report at material level

    Hello,
    Anyone familiar with an InfoProvider that will show a combination of Purchase Order and A/P data combined?
    I'm specifically looking for a source that includes the PO information at the <b>Vendor / Material</b> level with order value and quantity at the time the PO was created AND accounts payable data at the <b>Vendor / Materia</b>l level with the invoiced amount and quantity (which may vary for the PO amounts).<b></b>
    Thank you,
    Jim

    Hi
    Have you seen all of the follwoing datasources......
    http://help.sap.com/saphelp_nw04/helpdata/en/df/fbb0d62f3a794d98d23609d17e1610/frameset.htm
    Hope this helps
    Regards
    N Ganesh

Maybe you are looking for