Open Production Orders List with a Field from Sales Order

Hi All,
I have the following query:
SELECT distinct T0.[DocNum] As ProdOrder, T0.[ItemCode], (select itemname from OITM where T0.[ItemCode] = OITM.itemcode) As ProdName, T0.[PostDate], T0.[PlannedQty] As Planned FROM OWOR T0, OITM  T1 where T0.[Status] <>'C'
Now I want to add ORDR.NumAtCard field in this query, pls advise me what change should i make to my existing query.
Need the solution urgently, pls help asap.
Best Regards,
JAQ

Hi,
Try this:
SELECT distinct T0.DocNum As ProdOrder, T0.ItemCode, T1.itemname As ProdName,
T0.PostDate, T0.PlannedQty As Planned,T2.NumAtCard
FROM dbo.OWOR T0
INNER JOIN dbo.OITM T1 ON T0.ItemCode = T1.itemcode
LEFT JOIN dbo.ORDR T2 ON T2.DocEntry = T0.OriginAbs AND T0.OriginType = 'S'
where T0.Status != 'C'
Thanks,
Gordon

Similar Messages

  • VERSION FIELD FROM SALES ORDER NOT APPEARING IN COOIS REPORT

    DEAR ALL,
      I am working on make to order scenario. Version field from sales order not updated when im taking MRP Run for specific Sales order in COOIS Report. But when iam creating production order with T. COde CO08 field getting updated. Its very important to get vrsion field as we have maintain old sales order No. in same. How this problem will get resolved?
    Regards
    Atul

    Atul,
    "MRP run" does not normally create production orders, MRP creates Planned orders.  Planned orders do not contain Sales order version.   I have never used this field before, but I would not be surprised if the behavior you are describing is 'standard'.  When you create a production order using CO08, you are creating a 'production order with reference to a Sales order' (which contains Sales Version).  When you create a production order using, say, CO40 or CO41, or using a program such as PPBICO40 in Batch, you are creating a 'production order with reference to a Planned order', (which does not contain version).
    If it is imperative that you have the Sales Order version number in all production orders, you could see if Planning Strategy 82 (Assemble to order) production orders contain the data you seek.  Otherwise, I am afraid you will have to have your ABAPers write some custom code to update this field in the production order.
    Another way to get sales order data into the production order, that does NOT require custom code, is by using Item Texts in the Sales order.  Any text placed in the Sales Order Item Text Field Production Memo (Text ID 0006) can be configured to be duplicated automatically in the Production order in an MTO environment.  Production Memo then displays as another Tab in CO02.
    Regards,
    DB49

  • Need to copy a custom field from sales order to billing document

    Hi All,
    I have a requirement, I need to add a new field in the sales order header part and even a field in the billing document, once i add this field up in both the documents in the header part i need to create a copy routine using the VOFM tran, can any body help me on what's the procedure to add a field in billing document and does the copy routine transfer the data ( Custom Field ) from Sales Order to the Billing Document, if yes can somebody help me with the procedure on how to and code of it.
    solved it myself ....
    Regards.
    Message was edited by: seshi
            seshi

    Hello,
    Regarding item 1, is it in the region of the global links (ie logout, home, preferences, etc.)? If not, have you tried creating a link via personalizations to the region you wish to have the link displayed (item type = link, destination = fully qualified name of your .xml page/region?
    Regarding item 2, you may have to create the custom subtab programatically using the controller for the region of the current subtab layout.
    Regarding item 3, you can also add a submit button to the page button bar region via personalizations. You can then add any logic you want to the button in the controller for the page.
    Hope this helps.

  • Subcontract Purchase Order with delivery address from Sales Order Ship-to?

    Hi
    My client has a Sales order for a subcontracted product.  The subcontractor should send the product directly to the customer that is on the sales order.  Currently, the delivery address on the PO is the home address of the client.
    My first option is to create a vendor address matching the ship-to and enter that manually in the Delivery Address field in the PO. But, i would like this to populate automatically.  Is this possible?
    thanks for your suggestions.
    Oll

    >
    Oll wrote:
    > Hi
    >
    > My client has a Sales order for a subcontracted product.  The subcontractor should send the product directly to the customer that is on the sales order.  Currently, the delivery address on the PO is the home address of the client.
    >
    > My first option is to create a vendor address matching the ship-to and enter that manually in the Delivery Address field in the PO. But, i would like this to populate automatically.  Is this possible?
    >
    > thanks for your suggestions.
    >
    > Oll
    a mixture of third party order (vendor ships directly to customer) and subcontract is not possible. third party order would need a S as item category in the PO, while subcontract order needs a L at the very same field.
    We created a storage location and a shipping point for the subcontractor. The sales order is created as a standard sales order that makes use of this storage location and shipping point.
    MRP run then creates a request to produce that material, based on the special procurement indicator in material master it is known that the material is to be procured via subcontract order.
    We then receive the finished good into this storage location that represents the subcontractor.
    Then we create a delivery in VL01N to ship this material to the customer.

  • CRM Exchange order - shipping condition not copied from Sales order

    In CRM Web client when we create an exchange order with reference to the sales order the shipping condition is copied from the BP sales area data instead from the original order.

    Hi
    Check this link
    http://learnsaptips.blogspot.com/2010/09/text-type-configuration-in-sap.html
    regards
    Prashanth

  • Removing incoterms as a required field from sales order.

    hi,
    how can i set incoterms field as a not required on the sales order?

    Hi
    I have rechecked the whole thing
    May be at item level it should be asking now
    Check the procedure flowing at VOV7 for your sales order item category
    Go to OVA2 choose your sales  item
    Again the procedure of what is there in VOV7 and remove the incoterms at item level also
    Then completely come out of SAP and relog and do it after 2 mins
    I have Incoterms removed and tested it and it is working
    Incoterms completely removed in sales order the order gets saved without incoterms
    Both at header and item level  it has to be removed from the incompletion procedure
    Regards
    Raja

  • Create a Sales order (type) with reference to another Sales order only

    Hi
    I have 2 Order Types (ZRA and ZRC). The ZRA should always be created only with reference to a ZRC. It should not be allowed to create ZRA directly.
    I believe I can remove the Item categories somewhere, but can't figure it out. Any help is appreciated
    Regards,
    Vikas

    Hi
    In sd doc tyoes in t code vov8 in the general control tab you can define mandatory referance and in that you can choose option C which means the referance doc should be only a sales doc not enquiry or quotation
    Pls reply whether my suggestion has helped you
    Raja

  • How material transfers from sales order to service order

    Hi All,
    In case of sales order (Debit memo request or quotation) created from service order, material in service order is transferred to sales order via DIP profile.
    but in case of,
    service order created from sales order how the material flows from sales order to service order.
    In customer service module.

    If Service Order gets created from Sales order, operations & components are transferred to Service order through Service Product assignment in Sales Order.
    Service Product will be created in MM01 & this will be linked to Task list in OISD. By assigning this Service Product in Sales Order, Service order will be created automatically with the assigned Task list.

  • Is Lot Status available to select as a field in Sales Order Reservation form field?

    Material Status is available only

    hi
    Follow the below steps.
    T-Code SE51(Screen Painter)
    Give Program Name SAPMV45A (before doing this confirm from the field from sales order, keep curcer on the pricing date press F1 and then select technical details)
    Screen Number 4440(before doing this confirm from the field from sales order, keep curcer on the pricing date press F1 and then select technical details)
    Select Attributes radio button.
    Go to Element list Tab. Inturn select Special Attribute tab in Subscreen.
    For Field Name "VBKD-PRSDT" make Input as "OUTPUT" (DISPLAY).
    Hope this will help you

  • How to make a field in Sales order as Display

    Hi Friends,
    I want to make the field pricing date in sales order as display only. Currently the field is changeable.
    Can someone please tell me how can i do this.
    Regards,
    Wasim.

    hi
    Follow the below steps.
    T-Code SE51(Screen Painter)
    Give Program Name SAPMV45A (before doing this confirm from the field from sales order, keep curcer on the pricing date press F1 and then select technical details)
    Screen Number 4440(before doing this confirm from the field from sales order, keep curcer on the pricing date press F1 and then select technical details)
    Select Attributes radio button.
    Go to Element list Tab. Inturn select Special Attribute tab in Subscreen.
    For Field Name "VBKD-PRSDT" make Input as "OUTPUT" (DISPLAY).
    Hope this will help you

  • Create a Revenue Order with Reference to a Sales Order

    Hi Gurus,
      I have specific requirement of creating a Revenue Order ( ZCAR ) with Reference to a Sales Order. The Issue is when I create a Revenue Order from Sales Order by using the BAPI to Copy the data from Original Sales Order it will create copy the data which is there in Original Sales order. My Requirement is when I create the Revenue Order I should have Credit Line which is same as the Order Line from Orignal Sales order and also I need to have a debit line ( which will be a copy of Credit Line ) only difference is Item Categories will be different .
    Please tell me how can I add the debit line in this Scenario and which BAPI's should I use to do this.
    Thanks,
    Raj

    What is the IO you have assigned in the Sales Order please?
    Just check the Sales Order - Account assignement, so that you can able to change if there is a different IO.
    System won't pick up IO automayically until unless you secify in Sales order to done OKB9 settings.
    Chek the above
    Thanks

  • Creation of PO from Sales Order

    Hi
    Please let me know if there is any standard oracle functionality by which we can ensure that Purchase Orders does not contain items from sales orders. e.g. if there are multiple sales order then one PO should be generated for each sales order.
    At the time of Requisition Import, we can specify the parameters like
    1.     Buyer
    2.     Category
    3.     Item+
    4.     Location
    5.     Vendor
    There is no parameter like Sales Order , so we’ll end up creating PR from multiple sales orders and then PO would be created from PRs.
    Let me know if we can achieve the functionality of create unique PO for each Sales Order.
    Thanks,

    If you have different vendors for items on a sales order, you will have to create different POs.
    Assuming all items go to the same vendor, you can consider a simple customization as follows
    Write a before-insert trigger on the po_requisition_lines_interface and make the requisition_number or group_code same for all items on a given Sales order.
    That will make the Requisition Import program put all such lines on one requisition.
    Hope this helps,
    Sandeep Gandhi

  • Assign batch number from sale order to production order automatic

    Dear all, I have a question for all. Please help me in this case
    My scenario is make to order
    I have a sale order, when i create sale order, i have assigned batch number at each line item.
    When i run MRP for sale order (MD50), the system generate a planned order for it and I've converted to production order.
    So when I view production order, I think that batch number what I've assigned to sale order will be assign to production order but that is not happen.
    So, can you help me solve this problem. I think that sap can assign batch number from sale order to production order automatic but i don't know how to configure that
    Thanks all

    Hi,
    To the best of my knowledge, when system is generating planned order / production order from sales order system doesnt copy batch number from sales order.
    In fact , you are following wrong practice for generating batch no.
    Follow procedure like this :
    Create sales order without any batch assigning there. Run MRP with MD50 and then convert planned order to Production Order.
    While creation / releasing of Production order, you have option to generate batch automatically by following way :
    Go to OPKP (Production Scheduling Profile) -> Take your plant & give suitable name to Production scheduling profile-> Batch Management tab -
    > Automatic Batch creation in the order maintain this field as
    1     Automatic batch creation at order creation
    or
    2     Autom. batch creation at order release
    This will generate batch number automatically at the time of creation or release of order.
    Then follow same process i.e. Goods Issue, Confirmation & GR for production order.
    So you will get sales order stock in the form of batch managed.
    Check & revert if any issue in above flow.
    Regards,
    Tejas

  • Goods receipt not ticked in production order converted from sales order req

    Hi all,
    In MTO scenario, where requirement trigger from Inquiry -> Quotatation -> Sales Order -> Plan Order -> Production Order, goods receipt indicator in production order was not checked if requirement is triggering from sales order, however it is ticked if requirement trigger from inquiry, therefore we are not able to do confirmation. Appreciate if anyone able to assist us as soon as possible.
    Thanks in advanced.

    Hi,
    I understood that---
    If u r creating Sales order directly without Quotation u r  not able to do the GR.
    If u create from Quotation, u r able to do GR. right?
    I think, Problem with Settlement. Please Look into that.
    Kiran.

  • Goods receipt not marked for production order trigger from sales order

    Hi all,
    In MTO scenario, where requirement trigger from Inquiry -> Quotatation -> Sales Order -> Plan Order -> Production Order, goods receipt indicator in production order was not checked if requirement is triggering from sales order, however it is ticked if requirement trigger from inquiry, therefore we are not able to do confirmation. Appreciate if anyone able to assist us as soon as possible.
    Thanks in advanced.

    Hi,
    I understood that---
    If u r creating Sales order directly without Quotation u r  not able to do the GR.
    If u create from Quotation, u r able to do GR. right?
    I think, Problem with Settlement. Please Look into that.
    Kiran.

Maybe you are looking for

  • Whats the difference between a German Tiger install DVD and a English one ?

    Title says it all really. Apples online store gives an option of German or international English Tiger (Intel). If I get a German DVD (the local language) can I install in English or not? Delivery time tot the international English goes up from 24hrs

  • Disable Acrobat plug-in so

    Is it possible to disable the Acrobat plug-in for Safari without uninstalling Adobe Acrobat Reader? Acrobat Reader is much slower for viewing PDFs so I use Preview to view PDFs that I download but I would prefer to use it in Safari too. The problem i

  • Billing document can not be posted

    Good night all,. We have a problema, we need to define a biling type wich can not be posted, it means, this billing type wont need to execute the option to release to posting document, because will not have any accounting document,. so it will not ap

  • Reset () and isCommitted () not found in HttpServletResponse

    Friends, I am using WL 4.5.1 on NT 4.0 I believe I have SP7 at least I have the weblogic451sp7.jar file. I am getting a method not found error when I try to call "isCommitted ()" or "reset ()" on the response object in a JSP. Could you please tell me

  • Watermarks, how to add to a Pages word processing document?

    OK, I read the directions, searched this forum. How do you add an object? I have an existing document, word processing layout and need to add a watermark that is diagonal, and says copy. I cannot find anything including page 60 of the guide that actu