Retrive the Back Orders for OM through SQL Query

Hi,
When I am creating an order in the Order Management module and manually changing them to back-orders after pick release has been done , line status changes to awaiting shipment but when i click on the actions buttton --> Additional Line Information --> Delivery status tab , the pick status is shown to be backordered . I want to write a query to retrieve the information about the orders where pick status is backordered.
Can you suggest the tables i should check in order to retrieve the information for these orders where picked status is 'Backordered'.
If anyone has any doubt in the query posted please reply back i will try to clarify them
Thanks
Ashwini

Back order situation happens at
1. Pick release time
2. at ship confirm
Only the delivery detail status changes to Back ordered, no change to order line.
you need to join the delivery details for an order line to get the backorder lines.
wsh_delivery_details.
you may have multiple DD for a single SO line.
Ganesan.

Similar Messages

  • Retrivet the Back Orders for OM through SQL Query

    Hi,
    When I am creating an order in the Order Management module and manually changing them to back-orders after pick release has been done , line status changes to awaiting shipment but when i click on the actions buttton --> Additional Line Information --> Delivery status tab , the pick status is shown to be backordered . I want to write a query to retrieve the information about the orders where pick status is backordered.
    Can you suggest the tables i should check in order to retrieve the information for these orders where picked status is 'Backordered'.
    If anyone has any doubt in the query posted please reply back i will try to clarify them
    Thanks
    Ashwini

    Try this Ashwini. You'll probably want to add some filters for shipfrom org or OU.
    Regards,
    Jon
    SELECT
    ooh.order_number
    , ool.line_number||'.'||ool.shipment_number as line_number
    , ool.ordered_item
    , ool.ordered_quantity
    FROM
    wsh_delivery_details wdd
    , oe_order_lines_all ool
    , oe_order_headers_all ooh
    WHERE 1=1
    AND wdd.source_line_id = ool.line_id
    AND ool.header_id = ooh.header_id
    AND ool.flow_status_code = 'AWAITING_SHIPPING'
    AND wdd.released_status = 'B'
    ORDER BY
    ooh.order_number, ool.line_number, ool.shipment_number

  • How to get the back order quantity for sales Order

    Hi Friends,
    I want to get the back order quantity for sales order . in MD04 t-code,
    there is a field(MDEZ-MNG01) for Received Qty/ Required qty.  But MDEZ is a structure.
    I tried from MDTB table, but the table is not updated with the values in MD04.
    Please guide me from which table I can get the back order Qty for sales Order
    (ref: t-code  MD04, MRP element = CusOrd).
    Thanks,
    Sagar

    >
    VIdya Sagar wrote:
    > Hi,
    >
    > Isn't  there any difference b/n Open Sales Order and Back order??
    Yes Quite Difference.
    Read:
    http://www.sap-img.com/sap-sd/explain-the-meaning-of-an-open-sales-order.htm
    http://help.sap.com/saphelp_sbo2005asp1/helpdata/en/b6/bdb9b2f02842348c9edbe78af863c4/content.htm

  • HT201250 When restoring Time Machine after a failure, does it also restore the files to the same order, for example - within iPhoto I have pics/ videos in folders and sub folders organised as family/events etc - will it go back to this exact order after a

    When restoring Time Machine after a failure, does it also restore the files to the same order, for example - within iPhoto I have pics/ videos in folders and sub folders organised as family/events etc - will it go back to this exact order after a restore?

    Hi Stavros0203,
    When restoring your entire system from a Time Machine backup, it is restored to the state it was when that backup was made. See this article for reference -
    OS X Yosemite: Recover your entire system
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • Retrieve the sales orders for a particular customer in selection screen

    Hi
    I want to retrieve the sales orders for a particular customer(entering customer number field in the selection screen and then clicking on f4 help on sales order field in the selection screen I should get only sales order numbers for that particular customer number).How can I achieve this through search helps?Are there any standard search helps that I can use.
    <removed_by_moderator>
    Edited by: Julius Bussche on Apr 9, 2009 12:55 PM

    Hi,
    try this:
    at selection-screen on value-request for p_par.
    select * from vbak
    into itab
    where kunnr = p_par.
    then use the FM 'F4IF_TABLE_VALUE_REQUEST'.
    with
    retfield = 'VBELN'
    dynprog = sy-repid
    dynpnr = sy-dynnr
    dynprofield = <name of parameter>
    value_org = 'S'
    tables = itab.
    Regards,
    Leo.

  • Is there a way to get the selection order for selectedProperties?

    app.project.activeItem.selectedLayers seems to be ordered by the selection order, but app.project.activeItem.selectedProperties (at least in Shape Layers) seems to be ordered by the stacking order. Is there a way to get the selection order for selectedProperties?
    Thank you!

    Hi,
    i had tried to investigate this a while back and it's really hard to figure out.
    The array seems to be reorganized using various rules:
         At layer level : preserve the user layer selection order,
         Children of indexed groups : propertyIndex ordering,
         Children of named groups : some internal ordering.
    The following is may be more detail than necessary, and given that it is based on observation, not official docs, it is not so reliable, but well, it might still be of interest !!
    Say you have 2 selected properties A, and B, and call [COMMON PARENT] their "greatest common ancestor", that is:
            A = [COMMON PARENT].property(a1).... property(aA);
            B = [COMMON PARENT].property(b1).... ...property(bB);
    with a1 != b1. Then:
    if [COMMON PARENT] = A (ie if A is an ancestor of B), then A comes first.
            For instance: if you select comp.layer(1).mask(1).maskPath, there are 2 selected properties, the mask group and its maskPath: the first is the group and the second the path (the parent comes first).
    if [COMMON PARENT] is the containing composition, ie A is a property inside comp.layer(a1), and B a property inside comp.layer(b1), then A and B are ordered according to the layers selection order.
            This can have some strange side effects. For instance:
                deselect everything
                select comp.layer(2) (and nothing else)
                select comp.layer(1).transform.position
                select comp.layer(2).transform.position
                ===> comp.selectedProperties = [comp.layer(2).transform.position, comp.layer(1).transform.position] even though the first entry was effectively selected after the second...
    if [COMMON PARENT] is an indexed group, A and B are ordered by propertyIndex
            For instance:
                if you select comp.layer(1).mask(2), then comp.layer(1).mask(1), mask(1) appears before mask(2)
    if [COMMON PARENT] is a named group, ... no clue (internal ordering).
            For instance, at propertyDepth 1, it seems that Time Remapping < Effects < Masks < Material Options < Transform, etc, independantly of the selection order, and this is also not the propertyIndex ordering.
            At higher depth, in CS5 the ordering seems to be the propertyIndex ordering, but it is no longer true in CC.
            For instance, selected Position (index 2), Scale (index 6) and Opacity (index 11) in various order on the same layer.
            in CS5 : selectedProperties = [Position, Scale, Opacity];    // propertyIndex ordering, always
            in CC : selectedProperties = [Scale, Position, Opacity];    // always the same ordering, but not the propertyIndex one
    So the ordering is a lexicographic ordering (Compare the ancestor of depth 0. If no difference, compare the ancestor of depth 1. If no diff, compare the ancestor at depth 2. And so forth).
    But at each step, the comparaison depends on the type of the ancestor, and when the type is named group, the ordering is internal so we can't know.
    Practically the most important thing is that selected properties seem to be reorganized by "containing layer" (the layer selection is preserved),
    and then in each layer selected properties are "grouped by same parent": you can't have a mask related property, then an effect related property, then another mask related property:
    all masks related properties appears together, all effect related properties appear together, etc.
    If several effects are selected, effect(1) and all its properties appear first (if selected), then effect(2) and all its properties would appear second etc
    and so forth
    Xavier.

  • HT2534 I want to use an iTunes gift card as the back up for in app purchases for a so called free app instead of my credit card or having my bank account emptied.

    I want to use an iTunes gift card as the back up for in app purchases for a so called free app instead of my credit card or having my bank account emptied.
    How can I do this? I saw something about gift cards can only be used for music or movies, not apps.

    You can use an iTunes gift card for app, music, movies and other media.To redeem one see:
    iTunes Store: How to redeem a code

  • Does anyone know how to delete the back up for the ipod? I am getting an error message that says "iTunes could not back up iPod because it is corrupt or not compatible with iPod; delete back up and try again"

    does anyone know how to delete the back up for the ipod? I am getting an error message that says "iTunes could not back up iPod because it is corrupt or not compatible with iPod; delete back up and try again"

    Go to iTunes>Preferences>Devices and highlight the backup you want to delete and click on Delete Backup

  • I have the purchase order for devices, can Apple disable the activation lock for these I-phones?

    We upgraded our business phones, and send the old Iphones to a buyback program. Some of them turned out to be activation lock still ON. We cannot reach the previous users, they no longer work for us. We have the purchase orders for these devices. Can Apple unlock these devices?

    I'm not sure but the following should be able to give you an answer: Apple ID: Contacting Apple for help with Apple ID account security

  • What's the best order for mac os x?

    Hello, i was wandering about the best order for the RAM clips (when they're different in size, of course).
    Should i place my little one clip in the lower slot and my big one clip in the upper slot, or the opposite, ...or did mac os x worth about it for the performances to be better?
    Thanks for your comments.

    The slots are very specific about the kind of RAM they can accept. If you simply bought RAM based on the generic spec, you may have bought the wrong RAM. Be sure to buy from a vendor that is specific about your Mac model when asking for RAM. http://www.crucial.com/ has a much better handle than most in giving you the right RAM. The height of the module may affect clearance or heat or bus slewing issues with the logicboard, so be sure to put only the height that was already in the computer. If uncertain, find better instructions that show you. See my FAQ*:
    http://www.macmaps.com/badram.html
    Mac OS X performance is best when you install exactly according to manufacturer spec, and not from some generic spec.
    - * Links to my pages may give me compensation.

  • Failed to retrive the BW cube for connection

    Hi all,
    Can anyone help on this?.. I'm getting this error when i refresh/edit webi report. Failed to retrive the BW cube for connection SAP BW BICS. (Error: INF)
    Thanks in advance
    Vijay Muniraj

    This may be due to
    1. not transported the cube to the prod
    2. not given a access to that user to use that cube(query also ) in BI
    3. try to import roles of user and group again in BO
    4. make sure that you had given a proper access to that user (connection)

  • Costing the production order for the configured material

    We are trying to cost the production order for a configurable item.  But the system is not calculating any cost in the production order.  Sales order related to this configurable material is costed.  What additional setting I need to cost the production order for the configured material ?

    Hi Niki
    If your SO is costed, thats enough from a System's perspective... Planned cost will be the sales order cost estimate because SO saves the Chars required for the Configurable material
    Planned cost in Prod order depends on the Costing variant you have assigned in the order type... Check the error log if there is any error in cost calculation in prod order
    br, Ajay M

  • Achieve the tab order for dynamically added section

    Hi friends,
    I'm facing the issue with tab order.
    How to achieve the tab order for dynamically added sections?
    Could you Plaese suggest me in this.
    Thanks,
    Susila S

    Hi,
    Thanks for your reply.
    Ya. I'm adding rows in a table dynamically which is grouped in a subform which is flowable and the buttons are placed in the same subform. At the end of the row I'm having the hidden fields.
    So what I want is without focusing the tab on hidden field I want to traverse the first field of the next dynamic row. For that I have used the access property as protected on hidden field, but its not working properly.
    Please help me on this ASAP.

  • The message read on the computer is Because the back up was corrupt or not compatible with iphone. Delete the back up for this iphone then try again.

    Iphone 3gs won't back up in itune on the computer, but it will sync. the message read on the computer is because the back up was corrupt or not compatible with iphone. Delete the back up for this iphone then try again.

    Launch iTunes. Then from the menu bar at the top of your screen click iTunes / Preferences then select the Devices tab.
    Delete any iPhone backups.
    Quit then relaunch iTunes. Connect the iPhone to your computer and try syncing.
    More help here >  iTunes: "Backup could not be saved on the computer" alert message

  • HT1430 i can't update my iphone bc it's telling me to delete the back up for this iPhone. i don't know how to do that

    i can't update my iphone bc it's telling me to delete the back up for this iPhone. i don't know how to do that

    Settings>iTunes and App Stores>Apple ID
    Tap your ID
    Tap View Apple ID
    Enter your password
    Go to country/region in the popup window to change the store

Maybe you are looking for