Order processing report - inventory vs order difference

I am trying to develop a report where i can look at which orders can be processed given a certain level of stocks available.
I need to do the following:
1. Link the the sales and inventory universes. This I am aware of.
2. e.g. If i have 1000 units of sku1, then I need to see how many orders can be processed with this. So this is how it will be like
a)order #     b)SKU     c)Order QTY  d)Tot Inventory    e)Available 
1                 1             500                  2000                     1500      
1                 2             300                  900                        600 
2                 1             1000                2000                       500
2                 2              200                  900                       400
As you can see this is calculating sums in a dynamic way after deducting inventory.
a)order #     b)SKU     c)Order QTY  d)Tot Inventory    e)Available 
1                 1             500                  2000                     500      
1                 2             300                  900                       400 
2                 1             1000                2000                      500
2                 2              200                  900                      400
After the whole iteration, the report will look like this.
I need to know what function i can use to generate this kind of report.

Hi Alan?
I assume that the Sales Universe will provide the ff fields
> order #
> SKU
> Order QTY
And the Inventory Universe will the provide the Tot Inventory
And based on your data:
a)order # b)SKU c)Order QTY d)Tot Inventory e)Available
1 1 500 2000 1500
1 2 300 900 600
2 1 1000 2000 500
2 2 200 900 400
For SKU #1, you would want order #2, column d (Tot Inventory) to show 1500 instead of 2000 since order #1 already deducted 500 from the inventory of 2000, right?
Is this what you want to accomplish:
  http://www.resubal.com/sbo/sample.jpg
Laurence Resubal
Edited by: Laurence Resubal on Jun 18, 2008 4:00 PM
Edited by: Laurence Resubal on Jun 18, 2008 5:14 PM

Similar Messages

  • Account posting keys involves for process of third party order

    hi
        pls tell me the process of third party order and whos account stock will be debited and tell me the account posting keys involves in this process and how it operates
    regards
    Ram
    Edited by: Ian Wong on Aug 13, 2008 7:06 PM

    THIRD PARTY SCENARIO
    In third-party order processing, your company does not deliver the items requested by a customer. Instead, you pass the order along to a third-party vendor who then ships the goods directly to the customer and bills you. A sales order may consist partly or wholly of third-party items. Occasionally, you may need to let a vendor deliver items you would normally deliver yourself.
    Process Flow
    The processing of third-party orders is controlled via material types. Material types define whether a material is produced only internally, can be ordered only from third-party vendors, or whether both are possible. For example, a material that is defined as a trading good can only be ordered from a third-party vendor. However, if you manufacture your own finished products, you may also want, from time to time, to be able to order the same type of product from other vendors.
    Processing Third-Party Orders in Sales
    Third-party items can be created automatically by the system, depending on how your system is set. However, you can also change a standard item to a third-party item during sales processing manually.
    Automatic third-party order processing
    If a material is always delivered from one or more third-party vendors, you can specify in the material master that the material is a third-party item. During subsequent sales order processing, the system automatically determines the appropriate item category for a third-party item: TAS. To specify a material as a third-party item, enter BANS in the Item category group field in the Sales 2 screen of the material master record.
    Manual third-party order processing
    In the case of a material that you normally deliver yourself but occasionally need to order from a third-party vendor, you can overwrite the item category during sales order processing. For a material that you normally deliver yourself, you specify the item category group NORM in the material master.
    If, as an exception, you use a third-party material, change the entry TAN to TAS in the ItCa field when processing the sales document. The item is then processed as third-party item.
    If address data for the ship-to party is changed in the sales order in third-party business transactions, the changed data will automatically be passed on to purchase requisition and also to the purchase order ,if one already exists. In the purchase order, you can display the address data for the ship-to party in the attributes for the item.
    You can only change the address data for the ship-to party in the sales order for third-party business transactions, and not in the purchase order.
    Processing Third-Party Orders in Purchasing
    When you save a sales order that contains one or more third-party items, the system automatically creates a purchase requisition in Purchasing. Each third-party item in a sales order automatically generates a corresponding purchase requisition item. During creation of the requisition, the system automatically determines a vendor for each requisition item. If a sales order item has more than one schedule line, the system creates a purchase requisition item for each schedule line.
    Purchase orders are created from purchase requisitions in the usual way. For more information about creating purchase orders, see the Purchasing documentation. During creation of the purchase order, the system automatically copies the delivery address of your customer from the corresponding sales order. In a sales order, you can enter purchase order texts for each third-party item. When you create the corresponding purchase order, the texts are automatically copied into the purchase order. The number of the purchase order appears in the document flow information of the sales order.
    All changes made in the purchase order are automatically made in the sales order as well. For example, if the vendor confirms quantities and delivery dates different from those you request and enters them in the purchase order, the revised data is automatically copied into the sales order
    You process third-party items by creating a normal sales order. In overview for the order, you can then overwrite the default item category (TAN in the standard system) with the special item category for third-party items: TAS
    Billing Third-Party Orders
    If relevance for billing indicator for the item category has been set to B (relevant for order-related billing on the basis of the order quantity) in Customizing, the system includes the order in the billing due list immediately. If, however, the indicator has been set to F (relevant to order-related billing on the basis of the invoice quantity), the system does not include the order in the billing due list until an invoice from the vendor has been received and processed by the purchasing department. In the standard system, item category TAS (third-party order processing) has been given billing-relevance indicator F.
    In the first case, the third-party order is considered to be completely billed only when the invoiced quantity equals the order quantity of the sales order item. In the second case, each time a vendor invoice is received, a customer invoice is created for the quantity in the vendor invoice and the order is considered to be fully invoiced until the next vendor invoice is received.
    If you have activated billing-relevance indicator F for item categories in Customizing, billing can refer to the goods receipt quantity instead of the incoming invoice quantity.
    You can control whether the invoice receipt quantity or the quantity of goods received is relevant for billing in Customizing for copying control for billing at item level.
    FOR YOUR PROCESS Individual Purchase Orders WELL GIVE THE RIGHT SOLUTION
    Individual purchase orders are used when your customer orders goods from you that are not in stock and must be ordered from one or more external vendors.
    Process Flow
    During sales order entry, the system automatically creates a purchase requisition item. The purchasing department creates a purchase order based on the requisition and the vendor ships the goods directly to you (unlike third party order processing, where the vendor ships directly to your customer). You then ship the goods to your customer. While the goods are part of your inventory, you manage them as part of the sales order stock. Sales order stock consists of stock that is assigned to specific sales orders and cannot be used for other purposes.
    Goods receipt will be posted when ever the vendor ships the goods to our customer.
    We will do this transaction in SAP using MIGO.
    Invoice receipt is done when the Vendor sends us the invoice.. ( I.e Billing ).
    It can be done using MIRO.
    THe above two steps are standard and manual. There are many other ways that the actual process can happen. If the client follows EDI standards then the Goods receipt and Invoice receipt can be done through IDOCs automatically.
    Process Flow for 3rd Party Sales
    Customize the third party sales in summary:
    Prerequisites for 3rd party sales,
    Purchasing org,
    purchasing group,
    assign the Purchase org to company code
    assign Purchase org to plant,
    should not maintain the stock in material, it should be trading goods,
    1. Create Vendor XK01
    2. Create Material – Material Type as "Trading Goods". Item category group as "BANS".
    3. Assign Item Category TAS to Order type that you are going to use.
    4. A sale order is created and when saved a PR is generated at the background
    5. With reference to SO a PO is created (ME21N). The company raises PO to the vendor.
    6. Vendor delivers the goods and raises bill to company. MM receives the invoice MIRO
    7. Goods receipt MIGO
    8. Goods issue
    9. The item cat TAS or Schedule line cat CS is not relevant for delivery which is evident from the config and, therefore, there is no delivery process attached in the whole process of Third party sales.
    10. Billing *--
    SD - 3rd party sales order Create Sales Order
    VA01
    Order Type
    Sales org, distr chnl, div
    Enter
    Sold to
    PO #
    Material
    Quantity
    Enter
    Save
    SD - 3rd party sales order View the PR that is created with a third party sales order
    VA01
    Order Number
    Goto Item Overview
    Item ->Schedule Item
    SD - 3rd party sales order View the PR that is created
    ME52N
    Key in the PR number
    Save
    SD - 3rd party sales order Assign the PR to the vendor and create PO
    ME57
    Key in the PR number
    Toggle the "Assigned Purchase Requisition"
    Execute
    Check the box next to the material
    Assign Automatically button
    Click on "Assignments" button
    Click on "Process assignment"
    The "Process Assignment Create PO" box , enter
    Drag the PR and drop in the shopping basket
    Save
    SD - 3rd party sales order Receive Goods
    MIGO_GR
    PO Number
    DN Number
    Batch tab , click on classification
    Serial Numbers tab
    Date of Production
    Flag Item OK
    Check, just in case
    Post
    Save
    SD - 3rd party sales order Create Invoice
    MIRO
    Invoice Date
    Look for the PO , state the vendor and the Material
    Check the box
    Click on "Copy"
    Purchase Order Number (bottom half of the screen)
    Amount
    State the baseline date
    Simulate & Post
    Invoice Number
    *Invoice blocked due to date variance
    SD - 3rd party sales order Create a delivery order
    VL01N
    In the order screen , go to the menu Sales Document , select "Deliver"
    Go to "picking" tab
    State the qty and save
    SD - 3rd party sales order Create a billing document
    VF01
    Ensure that the delivery document is correct in the
    Enter
    Go to edit -> Log
    Save
    Third party order processing is as follows:
    Assume three companies X, Y and Z
    X - The company,
    y - The customer
    Z - Vendor
    When ever X gets a PO from Y to supply some goods, X has an option of either manufacturing those goods or procuring those goods.
    If he is procuring the goods, there are two methods that are generally followed:
    Method 1) After receiving the PO from Y, X creates a sales order against Y.
    Now at the same time he also creates a PO to a vendor Z to produce the goods
    Z produces the goods and supplies to X
    X receives the goods from Z
    Then X delivers the same goods to Y.
    After that X invoices Y and Z invoices X.
    Note : Here there is no direct/ Indirect relation between Z and Y.
    This process is known as Trading Process. and the Material here is created with Material type HAWA.
    The other method is a Third party order processing method:
    Here the glaring difference is that instead of Z supplying the material to X and X in turn supplying the same material to Y.
    X authorizes Z to supply the material to Y on his behalf and notify him once the delivery is complete.
    Now Z supplies the material to Y and acknowledges the same to X.
    Z will send a copy of delivery acknowledgement and invoice to X.
    After receiving the delivery confirmation and invoice from Z, X has to verify the invoice and this process is known as invoice verification and is done in SAP through Tcode MIRO.
    The next step for X is to create an invoice and submit to Y
    Only after the invoice verification document is posted then only X can create an invoice for Y.
    This is the business flow that is followed for third party order configuration.
    There are few steps that have to be configured to enable the system to function as mentioned above.
    Step1)
    If you are always following a third party process for a material then you have to create the material using item category group BANS.
    The procurement type should be marked as External procurement (F) in MRP 2 view of the material master record.
    if you are not always allowing third party order processing then u can create a material master record with item category group as NORM and the procurement type should be marked as ( X) meaning both types of procurement ( in house manufacturing and external procurement).
    Step 2)
    the item category in the order should be manually changed as TAS.
    For that you need to configure the item category determination
    Order type + item cat Group + Usage + High level = Item cat + Manual item cat
    OR + NORM + + = TAN + TAS
    OR + BANS + + = TAS
    Step 3)
    make sure that during the item category configuration for TAS you need to mark relevant for billing indicator as F
    step 4)
    The schedule line category for this type should be CS.
    make sure that you mark subsequent type as NB - purchase requisition in this schedule line category as this will trigger the purchase requisition order immediately after the creation of the sales order and the PO to vendor is created against this purchase requisition.
    Award if Helpful,
    Regards
    Priyanka.P

  • Third party process with Valuated sales order stock

    Hi All,
    We have third party sales order process with valuated sales order stock. The problem is that in the theird party PR which is triggered directly from the sales order it determines a stock account which is assigned to the BSX key in OBYC.
    But since this is third party processing as per my understanding a consumption account assigned to key GBB-VAX (since account assignmnt category is X) should get determined, so that when the GR is done against the PO a consumption posting is done in the background.
    I am not able to understand if the system is determining the stock account due to the fact that it is valuated sales order stock and if so, what should happen after GR. Should we have a stock created for the material which is physically directly delivered to the customer?
    Regards,
    V S

    Hi,
    Check GBB-VKA which is defined in OME9 for your ''E'' Account Assignment Category that SAP will debit upon GR posting
    Also check "X" GBB-VAX and the G/L account assignment in OBYC
    The posting on GR should be debit KBS -Credit GR-IR
    Thanks
    Diwakar

  • Re : Third-Party Order Processing for Subcontracting ( Enhancement Pack 5)

    Hi,
    In Third-Party Order Processing for subcontracting - Purchase orders for products that are finished by a subcontractor and sent straight to the end customer. PR created in Sales system are processed further in this scenario where you direct your SC Vendor to send the material to your customer.
    Although its a standard third party scenario with sub contracting job involved in it.
    There is not much information we have in SAP help. This is ECC6 Enhancement pack 5 feature.
    If any one has worked on this, I need a process flow to understand this process.
    Response is apprecited,
    Regards,
    Dipak
    Edited by: Dipak Kumar on Apr 13, 2011 6:43 AM
    Any idea is appreciated?

    Hi,
    Here you can treat this two procedures are diffrent
    For Contractor
    Create P.O >> send semifinish goods to vendor
    For sales Point
    Sales order >> PR >> PO >> Vendor invoice reciept >> Customer invoice Issue wrt order.

  • Problem in Back Order Processing

    Hi Gurus,
    I am not able to process Back order Processing when the order is created in CRM & replicated to R3.
    (Error: please select a line item which can be changed)
    But I am able to process a Back order processing in R3  when order is directly created in R/3,  for the same article, same ship to party and same site (plant).
    Can you please suggest as to what could be the problem.
    regards,
    Sridhar Reddy.
    Edited by: sreedhar reddy on Aug 11, 2008 1:41 PM

    can anybody please help us out.
    we need to solve this problem urgently.
    regards
    sreedhar

  • Save configuration data inside order processing

    Hi all,
    does anyone know how to save configuration data during the order processing but outside the configuration itself?
    Problem:
    - we cannot use the BAPI_CREATE_SALES_ORDER because we are inside the order processing which locks the order for the use of the BAPI.
    - we recieve information after the configuration is finished that has to be saved in the configuration, too. At this point we can no longer use the user-exits of the configuration.
    Do you have an idea whether there is a function module that could be used, or is there any sample coding out there?
    Any help apreachiated.
    Best regards.
    Norman

    you can chnage the variant configuration data using below bapi with strcture    order_cfgs_value      =
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument        
          order_header_in       =
          order_header_inx      =
           TABLES
          return                = return_lt
          order_item_in         =
          order_item_inx        =
          partners              =
          partnerchanges        =
          partneraddresses      =
          order_cfgs_ref        =
          order_cfgs_inst       =
          order_cfgs_part_of    =
          order_cfgs_value      =

  • How to do Back Order Processing?

    Hi Murthy here,
    Can some1 please give me an overiew of BackOrder Processing settings process. The funda clear bt please brief about how 's it done?

    Please make a search in the forum before posting such repeated questions.  This question has been answered many times and to cite an example, check the following threads
    [BackOrder processing in SD   |Re: BackOrder processing in SD]
    [Reagarding Back order Processing   |Re: Reagarding Back order Processing]
    [Backorder processing in Scheduling agreement   |Backorder processing in Scheduling agreement]
    thanks
    G. Lakshmipathi

  • Control Costs not Displayed in Process Order Cost Reports

    Hi
    After Variance calculation and settlement of Process Orders also COntrol COst appearing as Zero, is there any step I am missing or any configuration needs to be adjusted?
    Thanks in Advance
    Regards
    Venkat

    Hi,
    I checked in IDES system as well, there also using standard settings control costs are not getting updated on the process orders. 
    I couldn't makeout how the control costs fields get updated in the process order cost reports
    Regards
    Venkat

  • Difference between business process, sales process and order process

    what is the difference between business process, sales process and order process?

    Dear Gopala,
    business process is a general definition of the process which you have:
    for example, you get an order, you have no goods, but you can produce them, you start an assambly processing, the production order will be created, then the goods will be prepatred, then the delivery will be created, the goods issue booked then your customer gets thwe goods and send the delivery confirmation, you create an invoice etc.etc.
    sales process is a part of  a business process.
    Sales process shows how you sell the goods, there are different sales document  categories to do this: sales orders, contracts, scheduling agreements etc.
    order process is only one of possibilities of the sales process.
    Order process is used if you get really a one-time (or at lease not on a regular basis many times) the simple orders where your customer says what goods he would like to receive and when. Then you create a sales order (in dialog transaction VA01) and can create a delivery. There are different types of sales orders in the standard. The customizing of sales order types is available under the transaction VOV8.
    I hope, this info help you a little bit further to understand SD design.
    Kind regards,
    Akmal Vakhidov
    Development Support SD, SAP

  • Process Order Costing Report

    Dear All,
    From Report S_ALR_87013127 i required target/actual comparison report for Multiple Order .
    I am going to report home page and enter the multiple order and execute report on the result screen get the order list
    and now select all order and go to colorful checker box at header (Report call button) for order target / actual report but system is giving me a error message "Select only one order or order item"
    I want to download multiple orders detail list at a time how it is possible from report "S_ALR_87013127" or if any report available in to the system than pls guide me
    and if report is not available then any table or structure available in the system from where i fetch data and develop a Z report
    Regards,
    Murari Shah

    hi murari..
      You can use AUFK & AUFM to develop a z report for all orders list.
      kkumar

  • Process Order Costing Report Requirement

    Dear All,
    From Report S_ALR_87013127 i required target/actual comparison report for Multiple Order .
    I am going to report home page and enter the multiple order and execute report on the result screen get the order list
    and now select all order and go to colorful checker box at header (Report call button) for order target / actual report  but system is giving me a error message "Select only one order or order item"
    I want to download multiple orders detail list at a time how it is possible from report "S_ALR_87013127" or if any report available in to the system than pls guide me
    Regards,
    Murari Shah

    Hi Murari
    This report can take you to each single order at one go...
    If you want to download all the Prod orders in excel with detailed itemization (i.e. Each BOM Component, Activity Qty, etc), I doubt any report in SAP would help you.... You can take help of your ABAPer and develop a new report
    br, Ajay M

  • Process Order Costing Report S_ALR_87013127

    Dear All,
    From Report S_ALR_87013127 i required target/actual comparison report for Multiple Order .
    I am going to report home page and enter the multiple order and execute report on the result screen get the order list
    and now select all order and go to colorful checker box at header (Report call button) for order target / actual report but system is giving me a error message "Select only one order or order item"
    I want to download multiple orders detail list at a time how it is possible from report "S_ALR_87013127" or if any report available in to the system than pls guide me
    Regards,
    Murari Shah

    Hi Murari
    This report can take you to each single order at one go...
    If you want to download all the Prod orders in excel with detailed itemization (i.e. Each BOM Component, Activity Qty, etc), I doubt any report in SAP would help you.... You can take help of your ABAPer and develop a new report
    br, Ajay M

  • MR11 RUNOF INVENTORY PURCHASE ORDERS

    Can anyone explain how MR11 Run of inventory purchase orders can perform without impacting moving average price of stock material. Is there any possible way in SAP.
    I have performed MR11, there is substancial changes in moving price on low volume stock items.

    MR11 always adjust the difference in GR/IR by posting offset to inventory account in case of inventory PO and other GL accounts as mentioned in PO for account assigned POs. You cannot configure to post this to different account.
    It make logical sense to adjust the inventory value and thus impacting MAP as ideally these differences should have been part of inventory. Since there was an error during process which resulted in differences it is adjusting the differences back to inevntory account.

  • Open Balance on Sales Order Cost Report

    Hi SAP Group -
    I have a couple questions about the settlement of manufacturing variance to COPA.
    When our settlement process is complete (production order and sales order both settled to COPA), there is a balance remaining on the sales order cost report which is equal to the manufacturing variance on the production order.
    It seems that the manufacturing variance is posting from the production order to the sales order, but is not being assigned to the PSEG and flowing to COPA.
    I am looking for advice in two areas:
    First, how do we "clear" these balances on old orders that are already settled?
    Second, how do we prevent this from happening on future orders?
    Thanks !!!

    Refer to OSS 183250 and note 186485.
    If you don’t specify in the settlement profile for the production order that the variances are not transferred from the production order into CO-PA, you will settle the variances to <b>CO-PA twice</b>: once from the production order (broken down into variance categories), and once from the sales order item. The settlement rule still references the material and not the sales order item.
    Special Features of Product Cost by Sales Order with Valuated Sales Order Stock
    <a href="http://help.sap.com/erp2005_ehp_02/helpdata/en/90/ba66cc446711d189420000e829fbbd/content.htm">Read the topic on 'Special Features of Product Cost by Sales Order with Valuated Sales Order Stock'</a>
    You may want to check the period of the variance settlement from mfg order to sales order and ensure the settlement of sales order is also done the same period, if the type is PER.

  • Sale Order Status Report

    Dear Expert.
    I want Sales Order Status report as below mentioned format required quarry base report from Date to To Date.
    Location-OrderSeries-OrderNo-CardCode-CardName-ItemCode-Item Descripotion-Inv.UOM-Order Qty-Allocated Qty-DeliverQty-Peniding Qty adn Pending Order Value.

    Hi,
    You can check this :
    select t3.location as 'Location',t0.series as 'Order Series',
    t0.docnum as 'Order No.',t0.cardcode as 'Business Partner Code',
    t0.cardname as 'Business Partner Name', t1.itemcode as 'Item',
    t1.dscription as 'Item Name', t2.invntryUom as 'Inventory UoM',t1.quantity as 'Order Qty',
    t1.QtyToship as 'Allocated Qty- Qty to Ship', t1.delivrdQty as 'Delivered Qty',
    t1.OrderedQty as 'Ordered Qty', t1.openCreQty as 'Pending Qty',
    t1.Opensum as 'Pending Order Row Value'
    from ORDR t0 inner join RDR1 t1 on t1.docentry = t0.docentry
    inner join OITM t2 on t2.itemcode = t1.itemcode
    inner join OLCT t3 on t3.code = t1.loccode
    where t0.docdate >= '2011.01.01' and t0.docdate <= '2011.12.31'
    Hope it helps.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

Maybe you are looking for

  • Installing problem for 8.6 to 9.1

    Hi everyone, after i installed 9.1 onto my iMac G3 CRT slot-loading and original G3 CRT, the computer refused to respond to keyboard and mouse controls. the mouse works after the installation and 9.l was successfully installed however i could not cli

  • T code F-28 Upload

    Hello, Folks, Could you please help me?  I just wanted make upload directely from some excel file to t-code f-28. How can I do it? Best Regards, Queiroz

  • Why "Please sign in" when using navigation?

    I have bought regular and legal Nokia E72 from Telecom and my navigation/GPS has been working perfectly, of course without any connection to the internet.  Recently, I decided to update my maps, and now  when I want to use my navigation I must sign i

  • Launching public APEX report using URL ...

    Greetings: I simply want to launch a public APEX report from other non-APEX applications. However, I'm having a difficult time formulating the url when there are parameters involved. This simple URL works fine: http://dqapps40:8091/pls/apex/f?p=108:1

  • PLD Upper Margin

    Setting the 'Upper Margin' in 'Document Properties' seems to have no effect in printed output.  Changing margin on 'Page Header' section also produces no changes to printed output.  I would like to be able to set the top margin(x) on a form and move