Close the open Sales Orders.

Dear All,
We have created Sales Order against FGO Scheme for 76 Pkts and FGO material 3 Pkts, out of that we have despatched 50 Pkts only. Now we want to close open order, but field of order quantity is made gray hence we are unable to update the quantity.
Please suggest us, how order quantity field will open for updation.
Thanks
Prashant

Hi,
Goto sales order item data and enter a reason for rejection for the open items.
The sales order will be closed and no subsequent delivery can be created against it.
Regards,
Amit
Edited by: Amit Iyer on Jun 24, 2011 2:46 PM

Similar Messages

  • 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?

  • 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

  • Getting the open sales orders and open deliveries valies

    Hi SDNs,
    I have a requirement that i need to get the all sales orders open values and delivery values. I need to build a logic for this scenario. could you please provide the logic for getting the open sales order values for respective customer.
    Please provide logic instead of standard reports. That would be very useful
    Thanks in advance
    Regards,
    K

    Please provide logic instead of standard reports.
    Really surprising !!!!!!!!!
    But still I would like you to have a look at VA05 where both open quantity and open order value will flow.  If you still feel to get the related tables, you can consider VBBE where you can get open order quantity
    thanks
    G. Lakshmipathi

  • How to bring in the Open Sales Orders while performing Sales Order Conv

    Hi,
    Could you give some suggestions on the below:
    How to bring in the Open Sales Orders while performing Sales Order Conversion in R12.
    Thanks
    Pravin

    See http://ramugvs.wordpress.com/2011/08/27/how-to-stage-and-import-an-order-using-order-import-api-apps-wms-ebiz-11i-r12/
    Sandeep Gandhi

  • How to sets the Reason for Rejection of the Open Sales Order Lines

    Hello gurus,
              I want to set the Reason for Rejection of the Open Sales Order Lines, Case is like :
    If current date is exeed the Auto Void Confirmed Back Order Days(for item level) +  date (last responding from customer), then reason for rejection should be set, So i want the logic to find out the date is exceed or not.
    Thanks
    Anjana

    Hello anjana,
       Actually your question is some confusing, but if u want to get eldest change as active sales order then logic is as follows:
    1.  On base of OBJNR u have to get UDATE from JCDS table
    2. then write logic as:
    SORT i_jcds BY objnr stat chgnr DESCENDING.
          LOOP AT i_jcds INTO wa_jcds1.
            CLEAR lv_stat.
            lv_stat = wa_jcds1-stat.
            AT NEW objnr.
              AT NEW stat.
                CLEAR: wa_tab.
                wa_tab-objnr = wa_jcds1-objnr.
                wa_tab-stat = lv_stat.
              ENDAT.
            ENDAT.
            IF wa_jcds1-inact = 'X'.
              CLEAR lv_tabix.
              IF sy-tabix > 1.
                lv_tabix = sy-tabix - 1.
              ELSE.
                lv_tabix = 1.
              ENDIF.
              READ TABLE i_jcds INTO wa_jcds2 INDEX lv_tabix.
              IF sy-subrc = 0.
                wa_tab-chgnr = wa_jcds2-chgnr.
                wa_tab-udate = wa_jcds2-udate.
                wa_tab-utime = wa_jcds2-utime.
                APPEND wa_tab TO i_tab.
              ENDIF.
              CONTINUE.
            ELSE.
              wa_tab-chgnr = wa_jcds1-chgnr.
              wa_tab-udate = wa_jcds1-udate.
              wa_tab-utime = wa_jcds1-utime.
            ENDIF.
            AT END OF objnr .
              AT END OF stat.
                APPEND wa_tab TO i_tab.
              ENDAT.
            ENDAT.
          ENDLOOP.
          DELETE ADJACENT DUPLICATES FROM i_tab COMPARING objnr stat.
          SORT i_tab BY objnr stat udate utime.
          DELETE ADJACENT DUPLICATES FROM i_tab COMPARING objnr.
    3. now in i_tab table u'll get eldest UDATE
    Hope its work for u.
    Thanks & Regards,
    Sumit Joshi

  • Close of Open Sales Orders

    Dear Experts,
    I have a similar requirement i.e. A good Volume of Open Sales Orders which are to be Closed. The Status of these Sales Orders being Partially Delivered, Not Delivered and Being Processed. Can I have a best solution to close them via an SAP transaction or with an ABAP Program. Kindly give us a detailed Solution to proceed.
    Regards
    Hari

    Hi,
    As i understood, you want the STATUS of the orders to be COMPLETE.
    For this you have to do some settings in the ITEM CATEGORY in VOV7
    Goto the Transaction code VOV7 and select the ITEM CATEGORIES for all those documents and maintain the  *COMPLETION RULE as A.*
    Now check creating the new documents after executng the full cycle.
    thanks,
    santosh

  • How to Close Mass Open Sales Orders (Partially / not executed ) at one go

    Dear All
    We are having lots of  OPEN SALES ORDERS , few are COMPLETELY OPEN and rest are PARTIALLY used .Now my requirement is to CLOSE all such Sales Order at one go ie. MASS CLOSING OF OPEN SALES ORDER .
    Please Guide.
    Regards
    Animesh Chakroborty

    Dear Animesh
    First have those open order references in an excel sheet.
    Go to MASS, input Object Type BUS2032  and execute.  There block "Sales order header data" and click on "Fields".  There select the field "MASSSDHEAD_S-LIFSK"  and execute.
    Now click on "Multiple selection" (right arrow), copy those order references and press "Shift+F12" and execute.  There on top, assign some block and execute.  All your sale orders will be blocked.
    On the other hand, you can also change the status of those sale orders by assigning "Reason of Rejection"  in mass.  To achieve this, go to TCode MASS, input Object Type BUS2032 and execute.  There block on "Sales Order Item Data" and click on "Fields".  There block the field "MASSVBAP-ABGRU"  and execute.  Follow the same procedure as explained above.
    Now see the document flow of those sale orders.
    thanks
    G. Lakshmipathi

  • SD report for the open sales orders with items

    Hi,
    Is there any standard SAP report which display open sales order togeather with the open items. I want to have columns target quantity, delivered quantity and open quantity.
    Any tip?
    BR
    Saso

    Dear Saso,
    I think, instead using Report: VA05/ VA05N; its better to use Report: VL10C
    In this report, you will get all the Sales Orders along with Materials - relevant for open delivery, along with Open Qty. and various other options can be selected from "Change Layout - (Ctrlt+F8)".
    Best Regards,
    Amit
    Note: Don't maintain any Field-Entry (while executing the Report: VL10N; in order to list all Sales Orders. But, if you want to list Sales Orders based upon some criterias, maintain the Field-entries, as reqd.

  • Conversion program for the open sales orders

    Hi ,
         How to proceed for writing a conversion program for open sales order ??
    Please share if 've any document or idea.
    LSMW object: 0090, Method: 0000
    Business Object : BUS2032, Method : CREATEFROMDAT2,
    Message Type: SALESORDER_CREATEFROMDAT2
    Basic Type: SALESORDER_CREATEFROMDAT202
    Regards,
    Jyoti Shankar

    Dear Saso,
    I think, instead using Report: VA05/ VA05N; its better to use Report: VL10C
    In this report, you will get all the Sales Orders along with Materials - relevant for open delivery, along with Open Qty. and various other options can be selected from "Change Layout - (Ctrlt+F8)".
    Best Regards,
    Amit
    Note: Don't maintain any Field-Entry (while executing the Report: VL10N; in order to list all Sales Orders. But, if you want to list Sales Orders based upon some criterias, maintain the Field-entries, as reqd.

  • To POP up the open sales order quantity in Sales order

    Hi gurus,
    I hav a requirement that for example,I raised an order for 100 Qty and delivered 80 materials 20 is open,So when i raise an order for the same material for 50 Quantity,I need to get POP up box saying that 20 qTY IS OPEN. in Sales order.
    I am an SD consultant Please assist me in doing this requirement.
    Regards
    Narayana
    Edited by: manam narayana on Feb 6, 2008 12:08 PM
    Edited by: manam narayana on Feb 6, 2008 12:30 PM

    Hi Usha,
                    Thanks for ur early reply,can u make it clear for me.Like when i enter a sold to party  and material in VA01,This should check the open order quantities for a particular combination of sold to party and material and POP UP a message saying that the customer has open quantities for this material,So this Open quantities i found in VBBE table.Can u please explain me in clear how can i compare the values in T.code VA01 to VBBE table and how can i get  POP UP message.
    Regards
    Narayana
    Edited by: manam narayana on Feb 6, 2008 12:15 PM

  • How to convert open sales order status to close

    Hi Guru,
    There are lot of sales order in Open status and Overall status is Being processed, i have given the reasoning on Header and Line items and checked the Complete status. I also blocked the billing & delivery by using t-code VA02. when I see the open sales order in VA05 then these sales order exists in VA05 with staus A - Open.
    Please guide / help me that what i have to do to close these order or convert open sales order status in complete or short close.
    Best Regards,

    Thanx Experts,
    It is working, But it is not working in those sales order which order qty, delivery qty, confirm qty = 0, kindly let me know what is the way out to remove such sales order from the open sales order list. I try to delete but SAP says "This document cannot be deleted" Pl. help...
    Thanx for solutions.
    Regards,
    Edited by: VijayAngrish on May 18, 2010 7:48 AM

  • Close Open sale order items

    Hi,
    We have a business scenario of one sales order --> one delivery document. Any items which have not been confirmed for delivery need to be closed out so that they do not show up as open requirements.
    One way is to reject the open line items. However, rejection reduces the original customer sales order value.
    Is there any other way that the open sales order line items can be changed in status so that the pricing is intact, but the item is closed out ?
    Would appreciate inputs from the forum
    Thanks

    Hi
    In standard itself this can be achieved
    In t code OVAG itself for your reason of rejection if you maintain BLANK in the statistical column
    Then those rejected values will not be reflected in sales order
    Suppose  a sales order contains three materials say
    Material A  qty 3 units
    Material B  qty 3 units
    Material C  qty 2 units
    Each and everything is priced as 10 US dollars
    then the nett value of this order will be 80 US dollars
    Suppose if you reject Material C  qty 2 units with a reason of rejection by maintaining the settings that i mentioned above the sales order value still Will  be  80 US dollars and will not become  60 US dollars
    This is what you are looking for (i hope so)
    Please try this
    Regards
    Raja

  • 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

  • Open Sales Order Report

    Hello..
    my client wants to have the open sales Order report in following format :
    ======================================================================================================
    Customer Name | Item 1 code  | Item 2 code  | Item 3 code  |  Item 4 code  |  Item 5 code  |  Item 6 code  | Item 7 code  |
    =======================================================================================================
    Jack Inc.......................987.................865.....................654.................543.......................739..................543...................987
    Colt Inc.......................237.................213.....................799..................321.......................875...................187...................122
    IOUU LLC...................127.................535.....................654..................777.......................211...................345...................777
    =====================================================================================================
    .................................1351..............1613...................2107.................1641.....................1825.................1075..................1886
    =====================================================================================================
    pls help me to create sql query for the above
    rekha
    Edited by: Rekhatiwari on Dec 16, 2010 10:46 AM
    Edited by: Rekhatiwari on Dec 16, 2010 10:47 AM

    Hi,
    Try this:
    SELECT T0.CardName,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%2\]') Item1,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%3\]') Item2,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%4\]') Item3,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%5\]') Item4,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%6\]') Item5,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%7\]') Item6,
    (Select SUM(isnull(T1.quantity,0)) from RDR1 T1 WHERE T1.DocEntry = T0.DocEntry AND T1.ItemCode = '[%8\]') Item7
    FROM ORDR T0
    WHERE T0.docdate between [%0\] and [%1\]
    That might be the only way close to your requirement.
    Thanks,
    Gordon

Maybe you are looking for

  • Won't Boot - Tried Everything I Know

    My B & W iMac with CD slot won't boot up. I get chime and then blinking ? alternating with folder icon and spinning sound. I've tried: holding shift down booting from 8.6 bootable CD holding C down zapping PRAM (after this I got the chime back) unplu

  • N96 won't detect my captured pictures

    hi i have nokia n96 and 2-days ago i got corrupted (mass) memory error so i restarted the phone and it was ok. But now Photos application won't detect my Captured pictures. The directory tree of Images was intact after corruption (probably) so nothin

  • When importing WMV files, I only get the first few seconds of my movie.

    I'm trying to do some color correction on a wedding video.  The video was captured using Windows movie capture software and saved as a WMV file. The file is about 700MB and 50 minutes long.  When I import the file it the Project tab says the duration

  • Forms Completion Mystery

    I use a PC running Win 7 Ultimate (64bit) & Acrobat Pro X. I have created a form Using Acrobat Pro X. I gave the form Reader Extended features & sent it to multiple recipients inside & outside my LAN. When some recipients return what they believe is

  • Hiding Employee data from the Standard Compensation Page.

    Hello All- We are using the standard Iview for Compensation planning. In this page once we select the org unit for comp. adjustment we can see the list of all employees and their adjustments. If we click on any employee then a new window will popup w