Function to find quantity of a material in Open sales Order in 4.5

hi ,
is there any function to find the total quantity of a material in open sales order for an input date in 4.5
Regards

I think you may find function <b>RV_BILLING_PRINT_VIEW</b> helpful. This is the function used by the standard SAP report <b>RVADIN01</b> to assemble all the information needed to print a Sales Order. The structure and table output by this function contain all the information in the header and line items of the Sales Order.
To watch this function in action, set a break point on this function (line 1075 of RVADIN01 in my system) and print a Sales Order (SO).
I use VF31 to print an arbitrary SO during testing.
Your company may have altered the standard print configuration for sales orders in SAP. If so, you will need to note the output type of your test Sales Order in VF31 and use Transaction <b>V/83</b> to determine which program is being used to print that type of SO.

Similar Messages

  • Commited quantity but there are no open sales orders.

    Item show as x quantity committed in inventory data tab in Item Master data. There is no open sales orders for specific item though. Client is on SAP 2007 A SP 00 PL42. Anyone had this before..? Solution?

    Hi Jerusha,
    Sometimes the stock quantities can go out of sync.  Not entirely sure why, upgrading to the latest patch may help preventing it in the future.
    In order to fix this you can run the 'Restore Item Balances' for that item.
    Go to the Help Menu / Support Desk / Restore / Restore Item Balances.
    Enter the Item Number in the From and To box to ensure you only run it for the effected item.  Run the routine to recalculate the quantities.
    Regards,
    Adrian

  • How to  find the Open sale orders till date for  given plant and material ?

    Hi experts,
                     I have a requirement to calculate the open sale orders for a given plant and material. I have tried in VA05 wherein i can get only for the material and sales area combination. From the document nos obtained from VA05 i can then find the plant. But my question is how do i get the output of VA05 into my progra. (can i use submit for a module pool report ).
    Also if ther is some other standard table or Function module to find the open sale orders till a given date ,it will be even more helpful....in which case i can drop the VA05 route.
    Kindly help
    Thanks in advance
    Ashwin

    Hi Ashwin,
        You can use SAP Tables VBAK and VBUP to get to know if the document is complete or not.
       VBUK-GBSTK is the field that will give you the status of the Sales Order .
      VBUK is used at header level , whereas VBUP is used for Item level.
      So in your case what I would do is :
      Get the Sales Orders that satisy the plant and material criteria from VBAP table , take this Sales Document numbers and go to VBUK or VBUP table to get the Sales Order Status. 
       If I need to find the open quantity as well I will link to VBFA table based on the document number.
      Reward if helpful.
    Thanks,
    Imran

  • Open sale order quantity in VA05

    hi all,
    can anyone please tell me the function module or bapi or Table to find out open sales order quantity coming in VA05.
    regards.

    First of all define what is open , is it created but notdelivered , or delivered but not invoiced.
    The table VBUP has flags for statuses eg
    A     Not yet processed
    B     Partially processed
    C     Completely processed
    A for open , B for partial C for complete , so by checking this table you will find which are actually delivered or invoiced completely.
    Tcode V.02 gives u this option.

  • Quantity is not getting conformed in sales order

    HI SD Gurus,
    i have one issue we are not able to solve i need your help, it is very urgent,
    My issue:we created sales order but quantity was not getting conformed is sales order even though we have enough stock
    but it was consumed the stock in MD04,
    we ran the SDRQCR21 program but issue is still exist,
    1. we checked all the ATP configuration  every thing is fine,
    2.we replicated the scenario in  quality it is working fine
    3.we try simulated in production but not conformed the stock
    4. total stock is in unrestricted only
    5. no block in sales order
    6. same material working fine with different plant
    7. in same plant different materials working fine
    available stock level in MMBE and MD04 is 330 qty unrestricted
    sales order created for 165
    then stock reduced in MD04 to 165,and sales order displayed in MD04 with quantity 165
    but it was not conforming the schedules in sales order(with any dates)
    I am requesting you to reply ASAP if any one faced the same scenario
    BR,
    CS

    Hi CS,
    Please check the stock availability in CO09. If CO09 shows available quantity as zero then the sales order quantity cannot be confirmed.
    Please review SAP Note Number 89362 - No confirmation despite available quantity/stock for further information on this transaction.
    You will also find further information in this document:
    http://scn.sap.com/docs/DOC-58040
    I hope this helps.
    Kind regards,
    Catherine

  • Capture u201CInstallation Chargesu201D of a material sold in Sales Order

    Hi SD Gurus,
    We have requirement to capture u201CInstallation Chargesu201D of a material sold in Sales Order. The charges are quantity based and shall be shown separately in sale order & invoice. This charge shall be treated as additional revenue (with separate revenue G/L Account) and shall be maintained as optional. If included as a condition type, we do not want the item totals of the materials to be affected by this condition.
    In the existing pricing procedure, the material price field is made mandatory. We tried to enter it as a service line item and entered the u201CInstallation Chargesu201D with a new condition type with new revenue G/L Account. But it insists for a price for the material due the mentioned configuration.
    Request your valuable suggestion in achieving this requirement.
    Regards,
    Vikrant

    Hi,
    You can achieve this functionality using the Bill of Material concept.
    Create the material and its BOM. In the BOM, include the main material and the service. (Case A)
    Also maintain an alternative BOM for the same material, the BOM being the material itself and nothing else. (CaseB)
    Make the parent item relevant for pricing and child items not relevant for pricing
    In sales order, give the main material, so the sales material and service will come.
    In Case A, maintain a condition type with a reqmt routine saying that the condition will be valid only if the BOM contains the service item. Maintain the condition record. So, if the BOM contains the material and its service, this condition type will come else it will not come.
    If you don't want to charge the service, replace the BOM of case A with the alternative BOM maintained for the material to go to case B.In case B, this extra condition type will not come. Hence only the price of the main material will come.
    Hope this helps u

  • Open Sales Order quantity & value

    Hi,
    We have a requirement here of report to show open sales order quantity & value for any month (monthend). There is a datasource 2LIS_11_V_ITM which gives Open order quantity. I have created an ODS with 2LIS_11_VAITM & 2LIS_11_V_ITM which can give me desired qty & value, but only for date of last data upload and not for date in the past.(and to get that, I have to sumup all open orders quantity without using any date filter)
    I am thinking of creating a Infocube over this ODS to update the Open Order qty & value at the monthend (Snapshot scenario). But to update this, I am not able to get the logic for date to be used in time dimension.
    If anyone can think of the solution or any alternate way to develop this kind of report, your help/suggestions are most welcome.
    Thanks,
    Vikram.

    Hi Vikram,
    Find the link, which solves u r requirement
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bi/arobustdesignofopensalesorderdataflow
    Thanks & Regards
    Ramakrishna Kamurthy

  • Function module for open sales order and open PO

    hi all,
    can anyone please tell me that is there any function module to get open sale order  and also for open purchase order?
    regards saurabh.

    Hi ,
    In EKPO Table u select this fields  Purchase Document no and Item no of Purchsing Document , Material no , and Purchase Order Qty.
    In MSEG Table u select this fields Purchase Document no and Item no of Purchsing Document , Material no , and  Qty.
    Both Tables having  Purchase Document  no , So  Purchase Doucment no throguh  u will get the Material and qty , Finally u Subract the both Material Qty's .
    u will get the Open Po For particular Material.
    If ur not getting ,Inform me .
    Regards ,
    Shankar GJ

  • How can i get the open sale orders for given material no and plant

    Hi,
    I have to retrieve the open sale orders depending on the material number and plant.
    For only open sale orders at header level and item level.
    I want to use VBUK-GBSTK to find open sale order at header level and
                          VBUP-GBSTA at item level.
    Can any one suggest me the best logic as performance is concerned?           
    Thanks,
    Kumar.

    hi Prasanth,
    select werks matnr from ZVSCHDRUN into table it_plant.
    sort it_plant by matnr werks.
    select
            vbeln
            posnr
            matnr
            werks
            erdat
            kbmeng
            vrkme
            from vbap
            into table it_vbap
            for all entries in it_plant
            where matnr = it_plant-matnr and
                  werks = it_plant-werks.
    and again i have to write one more select query for vbup.
    am i right?

  • Open Sales Order Quantity

    Hi,
    Does anyone know what table & field is the open sales order quantity stored?
    Thanks.

    Hi Marc,
    U can get the open order quantity like this.
    First go to VBFA table. Give sales order number, item and document category as J(for delivery) in the fields VBELV(Preceding sales and distribution document), POSNV(Preceding item of an SD document), VBTYP_N(Document category of subsequent document) respectively. If an entry exist then that means the order has subsequent document created(Delivery in this case). If not  then that order is open.
    if it is open order then u can get the quantity from
    VBAP-KWMENG.
    Here subsequent document to the order depends on customization of ur system. In general subsequent to order will be delivery. But there is a possibility to have other than delivery as subsequent to order. So contact ur functional for more inputs on this.
    Thanks,
    Vinod.

  • BAPI or FM to get open sales orders to material like TC VA05N

    Hi,
    i'm searching for a bapi or fm to get a list with all open sales orders to a material like the tc va05n this do. Maybe some of you know such a bapi or fm.
    I tried the fm SD_SELECT_SALES_DOCUMENTS but i don't get the result i hoped.
    Would be happy if someone could help me.

    Hello Alexander,
    To get Open Sales order has VA05N use the Function Module
    RV_SALES_DOCUMENT_VIEW_3
    We need to pass value to the Importing parameters VBCOM
    To get the open sales order
    VBCOM-VKORG = sales organisation
    VBCOM-ZUART  = 'A'
    VBCOM-TRVOG = '0'
    VBCOM-STAT_DAZU = 'X'
    VBCOM-NAME_DAZU = 'X'
    VBCOM-KOPF_DAZU = 'X'
    VBCOM-VBOFF = 'X'
    VBCOM-AUDAT = Begin Date
    VBCOM-AUDAT_BIS = end date
    By passing this variable you will get the all open sales for given sales organisation and given date.

  • Update new material master weight and dimension in open sales orders and de

    Hi,
    Iu2019m maintaining gross weight, net weight, volume in material master. When the time of sales order entry in VA01 its calculating weight and dimensions based on material master and order quantity. And I create deliveries in VL01N.
    If I made a correction in the net and gross weight in material master after I created the sales order will the correct net and gross weight will pick up at the delivery creation.
    In other term is the VL01N net and gross weight is taking from which is available in SO or Material master.
    Is there any standard transaction to update already existing open sales order, delivery net and gross weight once it is corrected in material master?
    Please advice.
    Sam

    Is there any standard transaction to update
    No it is not possible to update the weight in existing sale order or delivery.  You have to change it manually or create a new sale order.   Weight in delivery will be fetched from sale order only and hence,  whatever delivery you create referencing a sale order, system will copy whatever is there.
    thanks
    G. Lakshmipathi

  • How to check the analysis of material determination in sales order

    hi,
    We are trying to create a sale order with material determination. Material determination analysis is on. After  switching this on  while adding a new line item, in an existing sales order, we are able to do analysis as the system itself takes us to analysis screen. But once  the document is saved, we need analysis to be done  at material determination for the determined materials  , something similar to  pricing or account determination analysis.Please help
    Regards,
    Aparna.

    Hi,
    If you drag the line item a little towards the right side, you will find a filed material entered. The one you see in the material filed on sales order over view screen is the one determined. You can as well double click and see the fields material entered and material determined.
    Is there anything else you are expecting to see as part of analysis ?
    Regards
    Sadhu Kishore

  • How to change the status of material while creating sales order via BDC

    Hai.
    In BDC while creating sales order( va01 posting ) it is stucking up in middle saying material is new. I.e Sales order (va01) is not  getting created because  of material status is new . I want to create sales order  (va01) even  material status is new.
    pls give me out the solution. Points will be rewarded.
    thanks & regards,
    sami.

    Hi,
    If you drag the line item a little towards the right side, you will find a filed material entered. The one you see in the material filed on sales order over view screen is the one determined. You can as well double click and see the fields material entered and material determined.
    Is there anything else you are expecting to see as part of analysis ?
    Regards
    Sadhu Kishore

  • Steps to dispatch a Material against a Sale Order

    Dear Sir,
    We have created a Sale-Order . The Material to be dispatched is available in the Stock .
    Pl guide us as what steps are rqeuired to be followed to finally dispatch & Invoice this Material against the Sale Order .
    Also pl guide , the steps involved incase the Material is Exciseable and Excise Duty is also to be paid .
    We assure to give full points for the suggested solution pl .
    Regards
    B Mittal

    Dear Mittal
    Please follow the steps
    -  Go to VA02, input the sale order and execute.  There go to schedule line tab and see whether the stock is flowing under the tab Confirmed quantity.  If not do availability check and save.
    -  Go to VL01N, give shipping point, sale order reference and execute.  There click on Picking tab and input the quantity to be delivered in Picked Qty column.  Press Post Goods Issue on top.  Make a note of the delivery reference.
    -  Go to VF01 by default, the delivery reference will flow in your screen.  Press F8 and check whether the conditions are flowing correctly and if so, save the billing document and make a note of the billing reference.
    -  Go to J1IIN, click on From Billing here again by default the billing reference will flow; if not give the above billing reference and execute.  Save the document.
    The above steps are applicable whether the material is excisable or not.  The control is in J1ID.  If the material is excisable, you have to select Material and Chapter ID combination in J1ID and for that material, maintain 1 under the tab Declared.  If excise duty is not applicable, dont maintain any value there.
    thanks
    G. Lakshmipathi

Maybe you are looking for