Item Status can be controlled for open Sales Order

Hi All,
Is there anyway we impose restriction on changing the status of the item if there are any open Sales Order against it? Example: If an item A is in Active Status and has a Sales Order with Awaiting Shipping Status. Before the order is booked if someone changes the item status to Inactive, is there anyway we can prevent it from changing the status if there are any open Orders against it?
Version: 11.5.10.2
This is urgent please.
Thanks,
Ashish

Hi Sandeep,
Thx for the quick update. I have tried to update the status of an item to obsolete when Sales Order Line exist against the item. It is giving the following error. I have tried with Custom Code off. So my assumption is there should not be any personalization. Can you please look into it further.
This is quite urgent, pls.
Error: "This field can not be updated as there are either Open Sales Order Lines or Pending Delivery Transactions"
Thanks,
Ashish

Similar Messages

  • Transaction code for Open sales order other than VA05

    Hi all,
    Can any one tell me what is transaction code for open sales order other than VA05.
    Please help me .
    Thanks & Regards ,
    Srikanth P.

    Hi Srikanth,
    You can try below options.
    1- VA05N - This can be run for multiple sold to party & multiple material, etc which was not in VA05. But this doesn't have all columns in VA05 report.
    2 - You can check the sales order tables from transaction SE11 or SE16N
    Try with below tables for your requirement.
    Sales order Header data - VBAK
    Sales order Item data - VBAP
    Schedule Line Data - VBEP
    Business data - VBKD
    Status header - VBUK
    Status items - VBUP
    Best regards,
    Anupa

  • Tables related for open sales orders

    Hi all,
    I need to fetch the list of open sales orders
    based on the range of customers.  I have seen va05
    but in that only single customer
    is allowed. I want for range of customers based on that list of open
    sales orders.
    can any tell me for this requirement is any std tcode available if not
    what tables  I have to use to fetch data.
    any suggestion will be rewarded.

    Hi ,
      can you check these tables in sales
    Name Description Uses
    LIKP Shipped Lines header
    LIPS Shipped Lines detail
    VBAK Order header Every order (unless archiving)
    VBAP Table fields Every line item (unless archiving)
    <b>VBBE</b> Open sales order line items Great file, but be careful. Contents don't reflect orders that do not affect purchasing (go figure).
    VBEP Schedule line item
    VBFA Document flow Let's you move from order to shipping document to invoice.
    VBUK Order status
    VBUP Line item detail status
    VBFK Invoicing header
    VBFP Invoicing detail
    <b>Reward pts if found usefull :)</b>
    regards
    Sathish

  • Transaction for Open Sales Orders

    Hi Experts
       can u let me know the Transaction for Open Sales Orders.
    Regards,
    kumar

    you can check the tcode
    VA05.
    vijay

  • FM For Open Sales Orders

    Can someone tell me if there is any FM to list out the Open and Closed Sales Orders as per indicator?
    Thanks,
    Archana.

    you can check this program.... SDEWUORD
    It contains the logic for open sales orders. you can check the routine FORM FILTER_OPEN_ORDERS in th above program it might be helpful for you.
    siri...
    check this fm also..........OPEN_ORDER_SALES

  • New Report for Opens Sales order and P.O from Plant and S.Loc

    Dear Gurus
    We have repory requiement for Open sales order and P.O to deliver from particular plant and S.Loc.
    If you have already developed this kiond of report help me inthis case.
    Thanks
    ramki

    closed

  • Collective deliveries for open sales orders

    Is there any process or transaction code  for creating the collective Picking  for open sales orders.
            In my company we are not using the Warehouse management, so we pick the goods manually.
           If there is any way plzpost the answer.

    Check if VG01 helps you if you enter "K" as Group Type
    Cheers

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

  • Report for open sales order

    Dear all,
    I need to create a open sales order report. Could you please tell me from which table i can get open sales order. Its standard report is VA05 and also I checked in table VBBE. but all record which i get from VA05 are not visible in VBBE table. It means VBBE doesnt carry all pending open records.
    Please guide me from which table i can get it or what is the sriteria to get it?
    Thankyou very much in advance
    Punnet Sharma

    hi,
    my logic goes like this:
    Note: Open cursor is used since we are dealing with huge amnt of data:
    * Select orders based on their Delivery status
      SELECT  vbeln
      FROM vbuk INTO TABLE git_vbuk
          WHERE lfstk = 'A' OR lfstk = 'B' .
    * Filter selected orders
    * Selection using open cursor
      DATA: lwa_op_sal_ord1 TYPE gt_comtab.
      IF sy-subrc = 0.
        OPEN CURSOR c1 FOR
          SELECT vbap~matnr
          FROM vbap INNER JOIN vbak
          ON vbap~vbeln EQ vbak~vbeln
          FOR ALL entries IN git_vbuk
          WHERE vbap~vbeln = git_vbuk-vbeln AND
                vbak~vbtyp = 'C'.
        DO.
          CLEAR lwa_op_sal_ord1.
          FETCH NEXT CURSOR c1 INTO CORRESPONDING FIELDS OF lwa_op_sal_ord1.
          IF sy-subrc = 0.
            APPEND lwa_op_sal_ord1 TO li_op_sal_ord1.
          ELSE.
            CLOSE CURSOR c1.
            EXIT.
          ENDIF.
        ENDDO.
      ENDIF.
    here filter orders based on 'A' and 'B' from VBUK...
    then frm header table VBAK get order for vbtyp ='C'.
    now li_op_sal_ord1 will have open sales orders..
    Moreover as per ur query y do u need the item data frm VBAP as u are only concerned abt VBELN.
    If u need item u hv 2 run another select.
    regards,
    ags

  • Logic for Open Sales order qty

    What should be the logic given to determine "open sales order qty" during designing a report.
    Note the criterias are as under:
    1) Open sales order qty is the confirmed qty less the delivery qty.
    2) The delivery qty should be delivery order qty (The delivery should not necessarily be pick, packed & PGI)

    sorry it doesn't work for services, since they do not create requirements.
    in this case you can use VBFA table, subracting all the delivered quantities VBFA-RFMNG with VBFA-VBTYP_N = J and VBFA-VBELV/VBFA-POSNV = to your order/item from the ordered quantities
    hope  this help you.
    Roberto

  • Report for Open Sales Orders

    Hi..
    my client want the report for all open sales orders in following manner :
    CUSTOMER NAME         ITEM 1      ITEM 2     ITEM 3  ITEM 4
    Customer 1                     23             45           54          76
    Customer 2                     10             20           30          50
    Customer 3                     40             10           30          10
    TOTAL                            73             75          114        136
    please let me know the sql query which i can put in crystal report to creat this report
    Regards
    Rakhi

    hI rAK
    HERE IS UR QUERY FOR OPENSALES ORDER  I THINK THIS WILL SOLVE UR PROB
    SELECT T0.[DocNum], T0.[DocDate], T2.[CardCode], T2.[CardName], T0.[DocTotal],
    (T0.[GrosProfit]/(T0.[DocTotal]-T0.[GrosProfit])*100)'PROFIT%', T2.[CntctPrsn], T2.[Phone1], T3.[GroupName]
    FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode
    INNER JOIN OCRG T3 ON T2.GroupCode = T3.GroupCode
    WHERE T0.[DocTotal]!= T0.[GrosProfit] and T0.[DocStatus] ='O'
    GROUP BY T0.[DocNum], T0.[DocDate], T2.[CardCode], T2.[CardName], T0.[DocTotal],
    T0.[GrosProfit], T2.[CntctPrsn], T2.[Phone1], T3.[GroupName]
    REGARDS
    JENNY

  • 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

  • Table for open sales order

    hi all,
    i want to take open sale order in my report coming in tcode VA05, so can anyone please tell me from which table can i get it?
    regards saurabh.

    Hii,
    not sure but check in this table
    check the table VBBE, it stores open items in the order. VBUP gives the details of the line tiems in the order.
    VBBE for open orders and for G/L Account, you can consider tables like BSAD, BSID, BSIS.
    regards,
    Archana

  • Open Order Quantity for open sales orders

    Is there a standard SAP Report that gives the open order quantity for every open sales order.   "Open" is defined as any order quantity that has not shipped.  Delivery creation is not the same as shipment.   VA05 Report does not contain enough information to calculate the open order quantity for an ERP-based backlog report.

    Try VA05 schedule lines standar variant...include status fields and both ordered qty and confirmed qty. In SAP standard system order status, status A means open orders fully (Nothing shipped, everything opened). Status B means in process orders (Partially processed - shipped). Status C means complete orders (Nothing opened). As there is no delivered qty in VA05,  you need to download to excel the file and calculate the difference between both qty fields for each A and B status. That is a way to get the missing qty to be delivered or open qty as you stated.
    Hope it helps.
    Jorge Fernandez

  • MRP not considering open purchase orders when planning for open sales order

    Dear Experts,
        1.I have open sales orders as well as planned Independent requirements for finished goods for the current month. Also I have open puchase orders for raw materials which is part of the Bill of material of the finished goods for the current month.
    Please what do i need to do to make MRP consider my open purchase orders when the system is planning for the open sales orders.
    2 what tcode can I use to delete all purchase reuisitions in the sytem

    There was no response to these questions so i had to close it to make space for another

Maybe you are looking for

  • Using DBMS_LOCK  in function gives error

    Dear Guru's I need to use the DBMS_LOCK.sleep. Hence to get more info i searched the forum and I found this code from the forum CREATE OR REPLACE FUNCTION sleep (secs_in IN INTEGER) RETURN NUMBER is BEGIN DBMS_LOCK.sleep(secs_in); RETURN secs_in; END

  • How to control the cursor position on a text item..

    Hello, How can we control the cursor position programmatically on a text item. i.e. how do we move the cursor to home or end of the text item. TIA, Hiten

  • SDK Credentials -

    Running IAS Rel 2 (10.1.2) on Windows XP to try out Content Management SDK. Database is on linux server. From IAS home I click on the CMSDK link and it takes me to a page prompting for credentials (details below). According to the installation manual

  • Adding a physical standby using GridControl failed

    Hi I am trying to add a physical standby DB to a 10.2.0.4 database. It failed at the end on the 'Step: Create Standby Database' This is the log for this step ( step #79 ) - after backing up and restoring and after the recoverDatabase step Output log

  • How to use add-on?

    I have installed FVD Downloader Add-on. How can i use that? While downloading videos it does nothing. Not only that but also other add-ons . In