FO and blanket order with shceduling agreeement, distinction

dear sirs,
What is the difference between Blanket Purchase Order and the
Framework Order.
how the payment is beeing doen for the same 2 order
with flow (along with Transaction cods)

PO
Create PR (ME51N) ->Create PO (ME21N/ME57/58/ME59N) -> GR (MIGO) -> Enter Invoice (MIRO)
Blanket PO
Create PO  (ME21N/ME57/58/ME59N) -> Enter Invoice (MIRO)
A scheduling agreement is a different docuement type to a PO. 
A SA is created in two steps.  First the agreement document is created which contains pricing and contract information such as
Vendor
Material
Target Quantity
Validity period
A delivery schedule is then created automatically in a subsequent step by an MRP run when the materials source list references the SA agreement
The delivery schedule is made of individual schedules lines representing demand for each item.

Similar Messages

  • 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,

  • Edit back to back sales and purchase order with dropped ship warehouse

    Hi
    Our Client request to be able to edit back to back sales and purchase order with Drop Shipped WH which is frequently required according to their business nature in overseas trading.
    Kedalene Chong

    Hi Daniel,
    In the PO Ship To address field, the database/company address will appear until a warehouse is selected. Once a WH is selected, that is the address that will appear. If there is no WH address, the company address is indicated in the field (note: no company name just the address).
    If you want a different address/name, you can type it into the ShipTo address field and the PLD template will use whatever is in the field.
    If it is because there is no company name on the PO - does this mean you want a different company name than the one in the PO header. If this is the case and the ShipTo address & company name is always the same, you can update the PLD template by changing the ST address field to Text and enter the company name & address you want on the PO. This will appear on every PO regardless of what is in SAP. If you want the company name to always be the same, add a text field above the ST address field and fill in the company name; the address will be pulled from the PO Logistics ST field (per the first paragraph above).
    If this is not what you want, please explain in more detail what you would like to do.
    Heather

  • Multiple Columns and List Order with Color

    I am trying to take this code and enhance it by:
    1. It currently displays the output in a 5 column vertical format
    output1 output2 output3...
    I want it to display in a scrolling 5 column vertical format
    output1  output4
    output2  output5
    output3  output6
    based on the number of data points
    2. I want the first column background to be blue, the next white, the next blue, the next white, the last blue.
    Any way to accomplish this..appreciate any help.
    Leo
    Code:
    <table width="100%" border="0" cellpadding="7" cellspacing="0">
    <tr>
    <td colspan="5" align="left" valign="top" bgcolor="#CC6699">
    <span class="datetextwhite"><a name="THURSDAY"> </a><span class="style6">Thursday, October 29th: PRE-CONFERENCE INTENSIVES</span></span></td>
    </tr>
         <TR>
         <CFOUTPUT QUERY="q_daysschedule">
              <TD valign=top><span class="bodytextbold"><span class="style16"><font face="Verdana, Arial, Helvetica, sans-serif">#q_daysschedule.time#</font></span></span><br /><span class="topNavigationBar"><a href="session.cfm?ID=201" class="topNavigationBar">#q_daysschedule.Title#</a></span></TD>
              <CFIF q_daysschedule.CurrentRow MOD 5 IS 0>
                   </TR>
                   <TR></TR>
              </CFIF>
         </CFOUTPUT>
    <tr>

    I find these problems easier to solve if I rearrange my data into an array.  Something like this:
    DataArray = ArrayNew(2);
    Cols = 5;
    Outputs = "output1,output2,etc";
    Rows = Round(ListLen(Outputs) / Cols + .5);    // 32 outputs would give you 7 rows
    for (ii = 1; ii lt cols; ii = ii + 1) {
    for (j = 1; j lte Rows; j = j + 1) {
    DataArray[ii][j] = ListFirst(Outputs);
    Outputs = ListRestOutputs;
    } // rows
    }  // cols
    // Last Column
    for (ii = 1; ii lte ListLen(Outputs); ii = ii + 1 )
    DataArray[cols][ii] = ListGetAt(outputs, ii);
    // put spaces in blank rows
    for (j = ii; j lte rows; j = j + 1)
    DataArray[cols][j] = " ";
    Output like this
    <cfoutput>
    <cfloop from = "1" to = cols index = "ThisRow">
    <cfloop from = "1" to = rows index = "ThisCol">
    #DataArray[ThisCol][ThisRow]#
    closing tags, formatting etc

  • Production Order and Internal Order for each item of the sales order

    Hi
       I am developing Make To Order Report where I have to display the MTO Line Items and non MTO Line Items. For non MTO Line Items I have to display Internal order with Planned and Actual Costs and also Production Order with Planned and Actual Costs. Could anybody tell how to get the Internal order no and production order with Planned and Actual costs for each line item for a sales order.
    Thanks
    Naga

    Hi,
    You can get the Production orders, Planned orders, Internal orders generated for Sales order item from AFPO table (use fields KDAUF-Sales order number & KDPOS-Sales order item). Then to identify the order type use order category (AUTYP) from table AUFK.
    Once you have the Production/internal order, you can ge the cost from COSS and COSP table. Use the object number from AUFK to get the cost entries from COSS & COSP.
    You can use the following sample code as reference.
    Hope this is helps.. (Don't forget to mark it... )
    Form GET_COSTS                                                       *
    Get the material cost, labour hours and the labour cost for the      *
    sales order material.                                                *
    There are no interface parameters to be passed to this subroutine.   *
    FORM GET_COSTS.
      DATA V_OBJNR LIKE AUFK-OBJNR.
    DATA v_menge LIKE vbap-kwmeng.
      SELECT SINGLE OBJNR
        INTO V_OBJNR
        FROM AUFK
       WHERE AUFNR EQ AFPO-AUFNR.
      SELECT * FROM COSS
       WHERE OBJNR EQ V_OBJNR
         AND WRTTP IN ('01', '04'). " p_wrttp. "Labour Cost ( Plan, Actual)
        PERFORM GET_VALUES_FROM_COSS.
      ENDSELECT.
      SELECT * FROM COSP
       WHERE OBJNR EQ V_OBJNR
         AND WRTTP IN ('01', '04')         " p_wrttp
         AND KSTAR NE '0000510033'. " EQ p_kstar2.      "Material Cost
        PERFORM GET_VALUE_FROM_COSP.
      ENDSELECT.
    Get the unit cost of the production order by dividing the production
    cost by the order quantity. The result will be multiplied by the
    GL posting qunatity (Delivery quantity) to get the production cost
    for the quantity being deluivered.
      IF NOT AFPO-PSMNG IS INITIAL.
        OUT_REC-LABOUR_HOURS_ACT = OUT_REC-LABOUR_HOURS_ACT / AFPO-PSMNG.
        OUT_REC-ADDNL_LABOUR_HOURS_ACT =
                          OUT_REC-ADDNL_LABOUR_HOURS_ACT / AFPO-PSMNG.
        OUT_REC-LABOUR_HOURS_PLN = OUT_REC-LABOUR_HOURS_PLN / AFPO-PSMNG.
        OUT_REC-ADDNL_LABOUR_HOURS_PLN =
                         OUT_REC-ADDNL_LABOUR_HOURS_PLN / AFPO-PSMNG.
        OUT_REC-LABOUR_COST_ACT = OUT_REC-LABOUR_COST_ACT / AFPO-PSMNG.
        OUT_REC-ADDNL_LABOUR_COST_ACT =
                         OUT_REC-ADDNL_LABOUR_COST_ACT / AFPO-PSMNG.
        OUT_REC-LABOUR_COST_PLN = OUT_REC-LABOUR_COST_PLN / AFPO-PSMNG.
        OUT_REC-ADDNL_LABOUR_COST_PLN =
                         OUT_REC-ADDNL_LABOUR_COST_PLN / AFPO-PSMNG.
        OUT_REC-MATERIAL_COST_ACT = OUT_REC-MATERIAL_COST_ACT / AFPO-PSMNG.
        OUT_REC-ADDNL_MATERIAL_COST_ACT =
                         OUT_REC-ADDNL_MATERIAL_COST_ACT / AFPO-PSMNG.
        OUT_REC-MATERIAL_COST_PLN = OUT_REC-MATERIAL_COST_PLN / AFPO-PSMNG.
        OUT_REC-ADDNL_MATERIAL_COST_PLN =
                         OUT_REC-ADDNL_MATERIAL_COST_PLN / AFPO-PSMNG.
      ENDIF.
    Multiply the calculated Unit Production costs with the GL quantity to
    get the actual production cost of the quantity delivered.
    Calculation for Labour Hours
      OUT_REC-LABOUR_HOURS_ACT = OUT_REC-LABOUR_HOURS_ACT *
                                 OUT_REC-QUANTITY.
      OUT_REC-ADDNL_LABOUR_HOURS_ACT = OUT_REC-ADDNL_LABOUR_HOURS_ACT *
                                 OUT_REC-QUANTITY.
      OUT_REC-LABOUR_HOURS_PLN = OUT_REC-LABOUR_HOURS_PLN *
                                 OUT_REC-QUANTITY.
      OUT_REC-ADDNL_LABOUR_HOURS_PLN = OUT_REC-ADDNL_LABOUR_HOURS_PLN *
                                 OUT_REC-QUANTITY.
    Calculation for Material Cost
      OUT_REC-MATERIAL_COST_ACT = OUT_REC-MATERIAL_COST_ACT *
                                  OUT_REC-QUANTITY.
      OUT_REC-ADDNL_MATERIAL_COST_ACT =
          OUT_REC-ADDNL_MATERIAL_COST_ACT * OUT_REC-QUANTITY.
      OUT_REC-MATERIAL_COST_PLN = OUT_REC-MATERIAL_COST_PLN *
                                  OUT_REC-QUANTITY.
      OUT_REC-ADDNL_MATERIAL_COST_PLN =
          OUT_REC-ADDNL_MATERIAL_COST_PLN * OUT_REC-QUANTITY.
    Calculation for Labour cost
      OUT_REC-LABOUR_COST_ACT   = OUT_REC-LABOUR_COST_ACT *
                                   OUT_REC-QUANTITY.
      OUT_REC-ADDNL_LABOUR_COST_ACT = OUT_REC-ADDNL_LABOUR_COST_ACT *
                                  OUT_REC-QUANTITY.
      OUT_REC-LABOUR_COST_PLN   = OUT_REC-LABOUR_COST_PLN *
                                  OUT_REC-QUANTITY.
      OUT_REC-ADDNL_LABOUR_COST_PLN = OUT_REC-ADDNL_LABOUR_COST_PLN *
                                  OUT_REC-QUANTITY.
    Get the planned material cost from the total of the planned cost of
    the component materials in the production order confirmations.
      SELECT BWART MENGE MATNR SHKZG FROM AUFM
        INTO (AUFM-BWART, AUFM-MENGE, AUFM-MATNR, AUFM-SHKZG)
       WHERE AUFNR EQ AFPO-AUFNR.
        CHECK AUFM-BWART NE '101'.
        READ TABLE I_MBEW WITH KEY MATNR = AUFM-MATNR
                                   BWKEY = AFPO-DWERK.
        IF SY-SUBRC NE 0.
          SELECT MATNR BWKEY ZPLPR LPLPR PEINH
            FROM MBEW
            INTO I_MBEW
           WHERE MATNR EQ AUFM-MATNR
             AND BWKEY EQ AFPO-DWERK.
            APPEND I_MBEW.
          ENDSELECT.
        ENDIF.
        IF SY-SUBRC EQ 0.
          IF I_MBEW-ZPLPR NE 0.
            IF AUFM-SHKZG EQ 'H'.
              OUT_REC-PLANNED_MATERIAL_COST =
              OUT_REC-PLANNED_MATERIAL_COST +
                           ( I_MBEW-ZPLPR * AUFM-MENGE / I_MBEW-PEINH ).
            ELSE.
              OUT_REC-PLANNED_MATERIAL_COST =
              OUT_REC-PLANNED_MATERIAL_COST -
                           ( I_MBEW-ZPLPR * AUFM-MENGE / I_MBEW-PEINH ).
            ENDIF.
          ELSEIF I_MBEW-LPLPR NE 0.
            IF AUFM-SHKZG EQ 'H'.
              OUT_REC-CURRENT_MATERIAL_COST =
              OUT_REC-CURRENT_MATERIAL_COST +
                           ( I_MBEW-LPLPR * AUFM-MENGE / I_MBEW-PEINH ).
            ELSE.
              OUT_REC-CURRENT_MATERIAL_COST =
              OUT_REC-CURRENT_MATERIAL_COST -
                           ( I_MBEW-LPLPR * AUFM-MENGE / I_MBEW-PEINH ).
            ENDIF.
          ENDIF.
        ENDIF.
      ENDSELECT.
    Get the Future material cost per Unit by deviding the calculated
    Future material cost above with the goods reciept quantity to, then
    multiply the unit cost with the GL quantity to get the Future material
    Cost for the Quantity delivered. (Quantity in the entery from GLPCA
    Table).
      IF NOT AFPO-WEMNG IS INITIAL.
        OUT_REC-PLANNED_MATERIAL_COST =
           OUT_REC-PLANNED_MATERIAL_COST / AFPO-WEMNG * OUT_REC-QUANTITY.
        OUT_REC-CURRENT_MATERIAL_COST =
           OUT_REC-CURRENT_MATERIAL_COST / AFPO-WEMNG * OUT_REC-QUANTITY.
      ENDIF.
    ENDFORM.                               " GET_COSTS
    Form GET_VALUE_FROM_COSP                                             *
    Get the Material cost from COSP table.                               *
    There are no interface parameters to be passed to this subroutine.   *
    FORM GET_VALUE_FROM_COSP.
      FIELD-SYMBOLS: <FS> TYPE ANY.
      DATA: V_COMPONENT TYPE I.
    Cummulate the posting values of all the 16 period buckets as to get
    total production order cost. This is to handle the aprtial posting of
    prodction order values in diffrent periods.
      V_COMPONENT = 15.
      DO 16 TIMES.
        ADD 1 TO V_COMPONENT.
        ASSIGN COMPONENT V_COMPONENT OF STRUCTURE COSP TO <FS>.
        IF COSP-WRTTP EQ '04' AND COSP-KSTAR EQ P_KSTAR2.
          ADD <FS> TO OUT_REC-MATERIAL_COST_ACT.
        ELSEIF COSP-WRTTP EQ '04'.
          ADD <FS> TO OUT_REC-ADDNL_MATERIAL_COST_ACT.
        ELSEIF COSP-WRTTP EQ '01' AND COSP-KSTAR EQ P_KSTAR2.
          ADD <FS> TO OUT_REC-MATERIAL_COST_PLN.
        ELSEIF COSP-WRTTP EQ '01'.
          ADD <FS> TO OUT_REC-ADDNL_MATERIAL_COST_PLN.
        ENDIF.
      ENDDO.
    ENDFORM.                               " GET_VALUE_FROM_COSP
    Form GET_VALUES_FROM_COSS                                            *
    Get the Labour cost and Labour hours from the COSS table.            *
    There are no interface parameters to be passed to this subroutine.   *
    FORM GET_VALUES_FROM_COSS.
      FIELD-SYMBOLS: <FS1> TYPE ANY,
                     <FS2> TYPE ANY.
      DATA: V_COMPONENT1 TYPE I,
            V_COMPONENT2 TYPE I.
    Cummulate the posting values of all the 16 period buckets as to get
    total production order cost. This is to handle the aprtial posting of
    prodction order values in diffrent periods.
      V_COMPONENT1 = 15.
      V_COMPONENT2 = 111.
      DO 16 TIMES.
        ADD 1 TO: V_COMPONENT1, V_COMPONENT2.
        ASSIGN COMPONENT V_COMPONENT1 OF STRUCTURE COSS TO <FS1>.
        ASSIGN COMPONENT V_COMPONENT2 OF STRUCTURE COSS TO <FS2>.
        IF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ P_KSTAR1.
          ADD <FS1> TO OUT_REC-LABOUR_COST_ACT.
          ADD <FS2> TO OUT_REC-LABOUR_HOURS_ACT.
        ELSEIF COSS-WRTTP EQ '04'.
          ADD <FS1> TO OUT_REC-ADDNL_LABOUR_COST_ACT.
          ADD <FS2> TO OUT_REC-ADDNL_LABOUR_HOURS_ACT.
        ELSEIF COSS-WRTTP EQ '01' AND COSS-KSTAR EQ P_KSTAR1.
          ADD <FS1> TO OUT_REC-LABOUR_COST_PLN.
          ADD <FS2> TO OUT_REC-LABOUR_HOURS_PLN.
        ELSEIF COSS-WRTTP EQ '01'.
          ADD <FS1> TO OUT_REC-ADDNL_LABOUR_COST_PLN.
          ADD <FS2> TO OUT_REC-ADDNL_LABOUR_HOURS_PLN.
        ENDIF.
      ENDDO.
    ENDFORM.                               " GET_VALUES_FROM_COSS

  • Blanket Order Open PO report

    Hi SAP Gurus:
    I have more than 100 blanket orders with different vendors. I want to generate a report of all of them showing all the open POs (blanket orders). I can check them individually in the PO history, but is there any way I can generate a report showing all blanket orders together.
    With regards,
    Abhijit

    Use ME2M or ME2L report with selection parameter = open goods receipt
    you can define your own selection parameter also,
    SPRO-MM-Purchasing-reporting-Maintain purchaisng list-selection parameters

  • Changes in short text in Purchase Requisition and Purchase Order

    Dear experts,
    Can you help me with the following issue:
    During creation of Purchase Requisition and Purchase Order with Account assignment category K-Cost center the field Short text to allow input of data in it.
    In all other cases During creation of Purchase Requisition and Purchase Order without Account assignment category K-Cost center the field Short text to be forbidden for input of data
    Is it possible?
    Thank you
    Regards

    Dear Vasil Pavlov ,
    This cannot be realize in sap standard system. You may want to write your own coding using
    ME_PROCESS_REQ and ME_PROCESS_PO for  purchase requisition and purchase order respectively.
    Best Regards,
    Loke Foong

  • SAP  workflow for purchase requisition and purchase  order

    Hello  Sap Workflow,
    Can you  please help me on  building workflow for purchase requisition and  purchase order    with  the necessary screen shots  ?
    your quick response  will be greatly appreciated.
    Thanks in Advance

    Hi,
    Please check http://help.sap.com .
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/04/92761846f311d189470000e829fbbd/frameset.htm
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/04/92775546f311d189470000e829fbbd/frameset.htm
    Configuration guides are available in SAP Solution Manager.
    Regards,
    Masa

  • Not able to select Base unit in Receipt from production and Sales order

    Can anybody help me out for the below scenario
    I have defined Sales UOM , Sales Packaging UOM, Items per Sales unit and Quantity per Packing UOM  for all finished product in the item master.
    I have created Production BOM and Production Order (with Issue method is Manual because they maintained items batchwise ) for all Finished products. 
    Based on Production orders, I received finished products(Batch wise) through receipt from production.  But the base unit shows Yes and it is not allow me to change. 
    In Sales order, the quantity column shows the value of quantity per packing UOM instead of Items per sales unit. 
    For Ex. ItemA - 01 No (Item per Sales Unit)
                             3600 Pcs ( Quantity per Packing UOM)
                             Receipt from Production - 10 Nos
                             In Sales order - it shows 36000 (10*3600 ) instead of 10 nos
    Expecting favourable solution for that.

    The selectable units on the sales order are the inventory unit or the sales unit. So if you want to see in units of 3600 Pc-s you should define this as Sales Unit (not as packaging unit). Then you can show the item in this unit in the sales documents.
    (In the receipt from production document you should always use the inventory Uom.)
    Edited by: István K#rös on Dec 22, 2009 10:07 AM

  • ISO UoM vs USA UoM for SO and Transfer Order

    Hi to All,
    I've an issue  that I must resolve urgently!!!  So, I hope in your precious advices.
    Case: Customer Model: Holding with european company codes and americans ones.
    The corporate is an Italian Company. So, Materials Master Data are created centrally at Italian Company; consequently the Base Unit of Measure in which stocks of the material are managed (Master Data: view Basic data 1) is expressed in ISO UoMs( Kg, dm3....).
    I have the necessity to use also american UoMs so I've created in Additional Data -> Unit of Measure  alternative TU and CU using USA  UoMs for the dimensions (lb, "3....) in corrispondence to europeanTU and CU.
    I can use them on Sales Order, and Transfer Order with type ZT02 STO Cross Company but I can't use them for ZT01 STO from APS: Transfer order intra- company becouse as default the Base Unit of Measure is used.
    Does it exist a way to convert the Base Unit of Measure expressed in ISO UoMs to USA UoMs for dimensions without modyfing the Base Unit of Measure set in Master Data: view Basic data 1?
    Thanks in advance
    Roberta

    Hi,
    If you want to create any transaction with only alternative unit of measure  you don't active variable active unit of measure in purchasing view of material master. In this field take not active.
    Variable Active unit:
    When you required to create any transaction with both unit of measure  base unit and alternetive unit of measure you active it and if you want to create transaction with only alternative unit you don't active it.
    NOTE: - In case of Purchase order system take order unit of measure(In Purchasing view) and for stock transfer order take unit of issue(Plant Data1) - If variable active unit is off.
    Regards,
    Mahessh

  • Quantity allocation to the Purchase and Sales orders

    Hello!
    We are hitting an issue that the stock is being confirmed for Purchase Orders and Sales orders with delivery date in the future. We try to remove ATP quantities and make stock available for orders newly entered, but with short delivery time.
    What system does, it allocates it back after a moment. There is no rescheduling job for this plant.
    I have a funny impression that running CO09 the quantities are confirmed back to the orders- for some reason prioritising PO's...
    Did you have this situation before? is it normal? How to prevent the quantities to be allocated back to the orders with delivery date in 3 months agead for example?
    thanks a lot for help!
    cheers
    bea

    Hi Beata Iglewska ,
    I believe this is the SAP standard behavior if you have defined the Checking Group for Availability Check with cumulative, confirmed quantities assigned as 3. This is defined in transaction code OVZ2
    Hope this will help you.
    Thanks and Regards,
    Atul

  • Difference between settlement order and standing order

    Can someone state the difference between standing order and settlement order with examples in the organization tab of equioment.

    Hi,
    Standing Order
    Standing orders are used to carry out on-going maintenance jobs and settle them at month end rather than creating a fresh PM order every time. Using order hierarchies, you could attach sub-orders to the standing order and settle them to the standing order to provide you with more precise recording of maint costs at sub-order level as well as a budget monitoring at the standing order level.
    Please go through the following link.
    standing order
    Settlement Order
    Equipment master
    http://www.sapfans.com/forums/viewtopic.php?f=7&t=324724
    Regards,
    Maheswaran.

  • Blanket purchase order and Framework order?

    Dear Gurus,
    what are the main differences between Blanket purchase order and Framework order?
    Thanks..

    Framework order is also known as Blanket PO.....which we use for the procurement of Low value Material with Long term planning....It is used as Mini Contract....
    For making Blanket PO....you have to choose Order type: FO in ME21N....with Item category "B"(Limit)
    For creating Blanket PO... You need not have to maintain material master.....Maintaining Acc.assignment Category in PO is mandatory....also you have to maintain Validity Period in Blanket PO...
    As per SAP Best Practice.....for Blanket PO, GR is not possible.....you can directly post multiple Invoices for One Blanket PO....The validity and total Value of these Invoices for Blanket PO during LIV can be controled by tollerance keys LA and LD.

  • BLANKET PURCHASE ORDER WITH RELEASE

    HOW TO DO CONVERSION OF BLANKET PURCHASE ORDER WITH RELEASE
    ,PLZ SEND SAMPLE CODE OR UNIT TEST(UT) DOCUMENT.

    Hi Suresh
    you can define the copying rules with the help of following customization.
    SPRO>Purchasing > Purchase Requisitions > Text for Purchase requisitions > define copying rules.
    define text types and linkages.
    SPRO>Purchasing>purchase order>Text for purchase order
    Define copying rules for header and item text for PO as per the requirement.
    Best Regards
    Nishant Shende

  • Order with Serialized PTO Item with IB reference and Serial Number

    I want to get to Orders with Serialized PTO Item with IB reference and their Serial Numbers.
    I would like to know how I can link sales orders to IB. I wrote the foll. sql query but I am not sure if this is accurate. I am fairly new to this.. so any help is appreciated.
    SELECT DISTINCT oeh.order_number,
    --oel.line_id, oel.ordered_quantity, mtl.inventory_item_id,
    mtl.segment1 part, mtl.item_type,
    cii.serial_number
    FROM apps.oe_order_lines_all oel,
    apps.oe_order_headers_all oeh,
    apps.csi_item_instances cii,
    apps.mtl_system_items_b mtl
    WHERE oel.inventory_item_id = cii.inventory_item_id
    AND cii.inventory_item_id = mtl.inventory_item_id
    AND mtl.item_type = 'PTI'
    AND oel.header_id = oeh.header_id
    AND oel.org_id = oeh.org_id
    AND oeh.sold_to_org_id = cii.owner_party_account_id
    AND cii.serial_number IS NOT NULL

    You want instances that are at the customer site right (last transaction is shipping) or all the instances that have been shipped before no matter what the current status is. Instance could have been returned and shipped again and so on or just returned and disposed.The second question will yield more instances compared to the first one.
    Thanks
    Nagamohan

Maybe you are looking for

  • "Save as PDF" hangs Finder

    My colleague is trying to save PDFs from Word 2011 using our office letter template, by using either Print>Save as PDF, and using Word's own Save As>PDF. The PDFs that this produces seem to be corrupted, as when opening them using either Adobe Acroba

  • Downloading media center??

    I just got my first ipod...5th gen. 30gb...is there any way to download my recorded tv to my ipod???

  • MBP not connecting to internet when waking up

    When I wake my two-week-old MacBook Pro up, my Airport Base Station's wireless network shows connection, but I do not have internet for a much, much longer period of time than normal. This only started a few days ago. Prior to that, it was working ju

  • Dimensions changes when placing image in Illustrator

    I had a problem while placing an image created in photoshop into illustrator, dimensions of the image was changed in Illustrator (shorter in hight and longer in width). My image size in Photoshop is 30.6 cm x 6 cm, Resolution: 300 pixels/inch, it cha

  • IPhone 4s glitches, is cracked, and camera flash doesn't work. What is the cost to exchange for a new one?

    Front screen of my iPhone 4s is cracked, it freezes/lags, camera flash doesn't work, and every time you press a bit harder on the front screen red and grey vertical lines appear. I have had it for more than a year now, so how much will it cost for me