Order Quantity total on Sale order

How can i get all lines total on sale order entry in oracle ebs form like in first line the user entered the quantity 3
and in second line the user entered the quantity 4 . System should default show 7 at order header or at the bottom of the form.

Hi Asif,
If you're just trying to reconcile migrated sales orders with a legacy system, why not pull out the info via SQL+ to Excel ... much easier ... especially if you also hold your legacy sales order number on a header DFF segment - then you could do a VLOOKUP in your s/sheet against an extract from legacy.
Regards,
Jon
SELECT
ooh.order_number
, sum(ool.ordered_quantity)
FROM
oe_order_headers_all ooh
, oe_order_lines_all ool
WHERE 1=1
AND ooh.org_id = +{ your OU org_id }+
AND ool.header_id =ooh.header_id
AND ool.flow_status_code != 'CANCELLED'
AND ooh.flow_status_code != 'CANCELLED'
GROUP BY ooh.order_number
ORDER BY ooh.order_number

Similar Messages

  • How To Get The Total Delivered Quantity of a Sales Order

    Hello All,
    I have a requirement of getting the total delivery quantity of the sales order .I have checked it in LIps table but I am getting partially delivered quantity for a schedule line item.Can any one tell me how to get the total delivered quantity.
    Regards,
    Pavani.

    Hi
    Check the Table:
    VBEP  - Sales Document: Schedule Line Data.
    Inside the table check the Quantity Fields.
    Regards,
    Sreeram

  • Propose order quantity in return sales order

    Hello Experts,
    I have a requirement where while creating return sales order with reference system should propose total delivered quantity instead of quantity in original sales order.
    I tried to copy routine 151 in VOFM but after the changes proposed quantity in return sales order is appearing as addition of original sales order quantity and total delivered quantity.
    example:
    Original sales order is having quantity = 100
    total delivered quantity = 45.
    default proposed return sales order(with reference) quantity = 100 (here system should propose 45 not 100)
    In copy routine if I change VBAP-KWMENG to 45 then in return sales order system is proposing 45 + 100 = 145 but I need system should only propose 45.
    I had searched the community but no where I found the solution.
    Please help. 

    Hi,
    The problem is we can not go with the process i.e. to create return sales order with reference to billing document as there are many other customizations already developed on existing process of creating return sales order with reference to sales order.
    So we need the solution in which return order(RE) should be created which should propose quantity as the total delivered quantity with reference to sales order.
    For the reference order only delivery document is posted in the system.

  • Confirmed quantity in the sales order coming as 3.5 ea

    Hi Gurus
    The confirmed quantity in the sales order coming as 3.5 ea where the order quantity was 10ea.I checked CUIN for EA the decimal places is given as 0 which is very much correct moreover I checked the material master in additional data I have not find anything abnormal.The order was created by a batch job.Please help.

    Hai,
    The system has concluded that 3.5 EA for the confirmed quantity means the remaining part of the stock are already allocated to some other sales orders.Out of 10 EA only 3.5 EA are  in the stock.
    You can view through the MD04 and then enter the plant ,material and then check the quantity that are allocated to the various orders.
    Please revert for any.
    Kalyan

  • Need logic for calculate the balance quantity in open sales order

    hi all
    i need logic to calcuclate the balance quantity in open sales order ,
    where i am using VBAK header and VBAP item , and VBFA for document flow tables
    i need to have the balance quantity , for the open sales order
    especially taking with respect to  VBFA-VBTYP_N = M for invoice creation and N for canellation
    any one please help me

    thank you but i am clear abt it
    will you please anyother way to calucaluate the logic ,
    and i need to populate in bukets also for the terms of 5 years
    Edited by: sridhar loganathan on Nov 25, 2008 6:43 AM

  • Manual quantity allocation per sales order

    Hi All,
    The requirement is as follows.
    My client want users to allocate quantity for sales order manually so that they can control quantity allocation for sales orders when there is shortage of stock.
    We do not want to use product allocation for this, So can anyone suggest if there is any other way to allocate the stock manually for sales order.
    Thanks in advance,
    JM

    Hi,
    This can be acheived by enhancement.
    You can use userexit MV45AFZB -userexit_source_determination for this.
    You need to maintain the Z-table for all the bottleneck material with confirmation quatity column.
    So everytime when you create a sale order for bottleneck material, system will check this table & irrespective of any order quantity, it will confirm the quantities mentioned in the table.
    This way you can maintain the logic & fullfil the above requirement
    thank you

  • Update the material quantity in the sales order using LSMW...

    Hi Guru's,
    I created one sales order using BAPI..now i wanted update the material quantity in the sales order using LSMW...
    could you please provide the step by step process....
    if anyone of you provide the program logic similar to requirement that would be helpfull to me...
    thanks in advance
    Srinivas....

    Hi Sri,
    Hope it may help you.
    First do the recording for VA02 transaction, in that give the existing sales order number
    and update the Quantity and save it. Remaining steps are same what we used(LSMW) to upload data to applications.
    Regards,
    Vishvesh
    if helpful, rewards it.

  • IDOC Generation For Quantity Change in Sales Order.

    Hi to all,
    I have a very urgent Requirement,Please give correct solutions.
    Requirement:
    When a change is made in the quantity of the sales order line item,an idoc should be trigerred . I have done done all the configurations ,still no results.I am new to ABAP , GIve good solutions ,i will reward you.

    Hi there,
    Could you please explain step by step procedure of your req. coz it is not clear.
    What is BoQ?
    Customer gives raw material with out knowing the specification of sheet?
    Thanx
    Jess

  • ATP check partial Quantity allocation to Sales Orders

    Hi,
    Our client has three different sales order types for processing sales differently for the same materials.
    While doing ATP check they have a order of priority i.e ZOR1 -> ZOR2 -> ZOR3 with ZOR1 highest priority.
    For sales order type ZOR2 currently they donot have partial quantity allocation to sales orders.i.e if two orders, Order 1 created with 100 Qty and other Order 2 with 50 Qty and if ATP is 50 Qty.
    System is allocating material to Order 2 which has order quantity 50 ( Which equals ATP Qty )
    Now the client requirement is to configure system such that it does partial allocation to Order 1 ( order qty 100, where as ATP Qty is 50 ) i.e system should allocate even partial quantity to sales orders, that too in FIFO ( system should allocate ATP qty to order created first then next and so on )
    Please let me know what changes i need to do to achieve the above functionality in SAP system.
    Thanks
    Venkata Rama Reddy.K

    Dear Venkat,
    Please check the customer master for the customer which you have maintained in the 1st order. If the customer allows partial delivery, them the system will allocate the stock to the order which is created at first.
    At the time of ATP check(In Availability Screen), you do need to choose, One-time or System proposal, which will allocate the stocks partially to the 1st order as you don't have enough stock.
    Check out the settings in the customer master (for the customer in the 1st sale order) under Shipping Tab.
    Partial delivery per item  D/A/B
    Max. partial deliveries    >0
    (And more thing, you mentioned that sales document type is having priority. As of I know - there won't be any setting which will set particular sales document type with high priority. If you are really doing that kind of setting - update the same in this forum - it may help others..)
    Hope it may help you.
    (Venkat: Has your issue solved? Kindly update in the forum - if your question is answered)
    Thanks,
    Venkatesh.S.P.

  • Regarding Picking quantity over than Sales Order quantity

    Hi,
    When I am doing Picking from Warehouse the picking quantity is over Sales Order quantity. I don't want to allow it. To restrict it what are the settings I have to do.
    Please give me solution asap.
    Regards,
    Bhaskar.K

    Hi,
    You can customize this in the delivery item category by configuring the system reaction with the option "Check Over Delivery".
    Reward if convinced.
    Rgds

  • Quantity Total Stock is incorrect in the report

    0TOTALSTCK (Quantity Total Stock) is a non-cumulative key figure in the standard cube 0IC_C03 (Material Movements). The user is running a report for September month (01.09.2008 to 30.09.2008). At the end of the month i.e., 30.09.2008 the total stock is 0 in R/3, But in the BW reoprt it is showing as -19,000 which is incorrect.
    How can I check how the that value is calculated in the report? I can't see that key figure in the Infocube content preselection screen. In the definition of key figure,  it is calculated throgh Inflow and Outflow and mentioned arregation as Summation and Exception aggregation as Last Value. Is it correct? It should be linked with 0CALDAY for checking the stock day by day. How does it know?
    Any setting has to be done in the Report in order to get the correct values for the total stock qty?
    Please reply asap.

    Shiva,
    Inventory is calculated as a non cumulated KF which is aggregated based on stock receipts and stock outflows based on an opening stock marker. Think of this as something like a bank passbook where only debits and credits are entered and accordingly the balance is calculated. The Brought Forward line on your passbook is similar to the marker where once a page is completed the last available balance is updated.....
    only things which are not to be done in MM are :
    1. Compression without marker update - this corrupts the MM stock values.
    Also make sure you update the marker properly. The only solution to your case would be to do a full recon between the cube / R/3 and accordingly re-init / update the marker etc.
    Arun

  • How to retrieve delivered quantity in MSA sales document flow.

    Hi gurus,
    we're trying to retrieve the R/3 delivered quantity (for a sales order item) from the BDoc segment SALESDOCFLOW_OBJECT during the download to MSA.
    The point is that we have in that segment different rows with document type R, but only some of these are the relevant.
    In other words we want to read the delivered quantity information in MSA.
    Do you have any suggestion?
    Thanks in advance and best regards,
    Fabrizio

    solved on my own.

  • Inventory - Quantity Total Stock

    Hello Experts,
    We recently loaded the data to 0IC_C03 using 2LIS_03_BF, 2LIS_03_UM. Quantity total stock, amounts are not matching between MCBA transaction and BI cube. Please let me know how can we proceed.
    Regards,
    Jyoti

    Hi,
    Step by Step Loading Data to Inventory Cube , Please verify your steps here,
    1. Ensure Cube contents are deleted 
    2. In R/3 go to T- code LBWG and delete contents of set-up table. Choose the correct application area 03 
    3. Ensure all other users except self and ALEREMOTE or BW RFC users are locked out. ( you need an outage time in R/3 when you are loading data from R/3) 
    4. Run T-Code MCNB to set - up stocks. DataSource 2LIS_03_BX, all materials including non-valuated stock 
    5. Load the set - up table with history data if needed. 
    - T-Code OLI1BW for Material Movements 
    - T-Code OLIZBW for Revaluations 
    6. From BW load initialisation for 2LIS_03_BX to set the initial stock. Compress this load with a marker update 
    7. Run an initialisation without data transfer from BW for DataSource 2LIS_03_BF and 2LIS_03_UM 
    8. Load the historical data as full updates for 2LIS_03_BF and 2LIS_03_UM into the cube. Compress these two loads without a marker update. 
    9. Make sure that, Job control has already been set - up in R/3. 
    Hope this helps
    Sukhi

  • Code to see the total of sales

    hi expert..
    could anyone tell me what is the code to see the total of sales on this month ..?
    thank you very much..

    Please search the forum before posting.  This has been answered many times.
    thanks
    G. Lakshmipathi

  • Store Procedure required to check Quantity total

    Dear Experts,
    Kindly help me in writing Store Procedure, my requirement is to have an validation on Inventory Transfer Form where i have created two udf fields in row level as A & B contains where user enter value which is calculated as A * B  that is equal to  total Quantity,  for ex. (A * B = Quantity).
    So i need here a validation check before adding this document, that Field A value multiply by Field  B value that should to be total Quantity in case changes made in field A or Field B but not update before saving this document it would result be wrong Quantity total.
    To avoid such user entering mistakes a SP is required to check whether the Quantity total is equal to Field A value * Field B value.
    Thanking in Advance....
    Regards,
    Krishnakumar

    Hi!  Gordon,
    Already there is an FMS to Calculate Field A value * Field B value and it through it's result to the Field Quantity. Now am looking to have an validation check or control that should actually check before document get saved that the value entered in Field value A multiply by Field value B  is that get tallied with the Field Quantity.
    For ex: Field A value contain figure 100 and Field  B value contain figure 200 then the Field A * Field B = Quantity i.e. (100 * 200 = 20,000). In case if the user change the field Value of A or B without updating the Field Quantity then it result in correct Quantity.
    So I need a Store Procedure that check the field value of A & B and check the product sum Field value Quantity if it matches then it should allow to save the document other wise it should print a Error message "Calculation Error".
    I hope you understand what am exactly required, so i need  your helping hands to get this Store Procedure.
    Thanks in Advance,
    Regards,
    Krishna
    Edited by: krishnaoctopus on Jun 14, 2011 2:49 PM

Maybe you are looking for

  • Can I daisy chain macs to act as time machines?

    Say I have a lab of macs numbered between 1 - 16. All of these macs are connected via a switch so they can all see each other. What I am thinking is to partition the HDD on every mac so that there are 2 partitions each. One of the partitions will be

  • User-exit  for displaying message in LT15

    Hi, I am looking for a user-exit (or another way?) for displaying a warning message when the user tries to cancel a TO via LT15 (under certain conditions). But the only user-exit that I found that would do the thing here is ZXLTOU02, but it's perform

  • Setup a new Ship to and sold to party

    I lost my sd/pp config person and need to setup a new ship to and sold to party (HELP!!!)

  • Back to iphoto from external editor?

    I set PhotoShop Elements as my external editor so when I edit a pic in iphoto it opens up in the PhotoShop edit window. How do I save the file so it goes back to iphoto? When I hit save, I'm asked where - so where do I save to iphoto? Many thanks, M.

  • Business Intelligence in general

    Hi, Can someone provide insights particularly on how to determine what reports should be created in BI. Regards. Krishnan