Which field stores the Cancelled Sales Order Status

Hi,
      I am checking for duplicate PO No in sales Order header VBAK. The criteria is Slaes Order must not be a cancelled one. I am searching VBAK to find the status field to determine the whether its cancelled or not.
Thank U for Ur time.
Cheers,
Sam

Hello Sam,
to find out whether a sales order item is cancelled - better rejected - (if it is cancelled there is no VBAK or document any more) you could use the field reason for rejection on item level which is the field VBAP-ABGRU.
Best regards, Baerbel

Similar Messages

  • BDOC's to update the custom fields in R/3 from the CRM sales order

    Dear All,
    I need a small help.
    My requirement is as follows.
    When ever a sales order is created in CRM, an outbound delivery will be automatically created in the R/3 system.
    There are some fields in the CRM sales order which are not there in the R/3 system.So I have to create these fields in the LIKP and LIPS tables in R/3 which is not a problem.
    But I have to copy these fields from CRM to the LIKP and LIPS tables in R/3 when ever a sales order is created and saved in CRM. (This should happen automatically)
    So could anyone tell me whether there are any BDOC’s available to update the sales order info in the LIKP and LIPS tables and also any BADI which can be trigger for this purpose.
    Thanks in advance.
    Regards
    Shafath

    Hi,
    Thanks a lot. You have given a good solution.
    But a small correction.
    Sales Order is not transferred from CRM to R/3. The system is creating (automatically) a delivery in the r/3 system for the sales order created in CRM (Here we will not have the sales order in R/3), so we don’t have an entry in VBAK and VBAP tables.
    When we create a sales order in CRM and save , the delivery in R/3 is created and the sales order is not transferred to R/3.
    So while saving the sales order itself in CRM, I need to trigger a badi to update the LIKP and LIPS tables by calling a RFC (which needs to be developed in R/3).
    So I need a badi which triggers when the sales order is saved and which tells whether the sales order is saved without errors or not (because delivery in R/3 is created for only those orders which are created and saved without errors in CRM)  and returns the sales order number.
    It will be helpful if you can send some info on this.
    Any how thanks a lot for your quick response.
    Regards
    Shafath

  • Please tell me table that stores texts in Sales Orders

    To everyone,
    Does anybody know which table stores text in sales orders(VA01 screen -> item data -> under texts tab)?
    I would like to create a query or ABAP report to check data entered in the text field but I don't think it is in VBAK or VBAP.
    Thank you very much in advance.
    Best regards,
    Miki

    Hi Miki,
    Sales text is stored in encrypted form in the database table. You cannot directly read it from database table. but you can use the function modue READ_TEXT to do so. The related table is STXH and STXL
         try using the  FM READ_TEXT.
    double click on the text>Goto>Header. Here you can find the text id & text object.
    Thank you,
    Pavan.
    Edited by: PAVAN CHANDRASEKHAR GANTI on Aug 18, 2009 7:26 AM
    Edited by: PAVAN CHANDRASEKHAR GANTI on Aug 18, 2009 7:27 AM

  • IN which table stores the Value of sales orders Net Value

    IN which table stores the Value of sales orders Net Value

    Hi Lakshmi,
    Check Following Tables:
    CRMD_PRICING_I
    CRMM_PR_SALESA
    CNCCRMPRSAP00090
    Reward Points if Helpful.
    Srini.

  • How to cancel sales order which I placed?

    How to cancel sales order which I placed? And this order had not been delivered.

    Rejection SO & Cancellation SO both are same. So please follow the below steps-
    1. Use Tcode VA02
    2. Enter Sales order number which you want to cancel.
    3. Click "enter"
    4. Click the icon "Reject Document"
    5. Select suitable u2018Reason for rejectionu2019.
    6. Save
    Many Thanks & Regards,
    Susanta K Senapati

  • In which Table we will see the Blocked sales order stock

    I tried in MARD Storage Location Data for Material here i can able to see the unrestriced stock but i am not able to see the
    blocked sales order stock.
    Field : SPEME Blocked here blocked stock is not updating  though we can see in MMBE
    Can any one help me to find out the sales order stock
    Note: sales order stock is different this i am getting in MSKA: Sales order stock
    Edited by: balashowry raju on Sep 3, 2010 10:12 AM

    Hi,
    Are you talking about qty reserved by system for sales order wich are blocked for some reason like credit check? In this case, system does not block any qty for blocked order.
    If you are looking for confirmed qty for sales order then you can see in CO09 transaction, confirmed qty against sales order.
    Regards,
    Mukul

  • Which table stores the value of status column in leave request.

    Which table stores the value of status column in leave request.If i give pernr ,absence type and date how would i get the status
    Thanks
    Bala Duvvuri

    Hi,
    PTREQ_ACTOR      -              Request Participant
    PTREQ_ATTABSDATA    -           Request Data for Attendances/Absences
    PTREQ_BATCH              -      Time Stamp for Run of Background Jobs
    PTREQ_CKEY_MAPP      -        Cache Assignment Table
    PTREQ_HEADER             -      Request Header
    PTREQ_ITEM_TYPES       -        Request Item Types
    PTREQ_ITEMS                  -  Request Items
    PTREQ_NOTICE                -   Note for Request
    PTREQ_STATUS_CHK      -         Check Methods for Status Transitions
    PTREQ_STATUS_TRA      -         Status Transfers
    PTREQ_TYPE                    - Request Types
    PTREQ_XFEREVENTS       -        Permitted Status Transitions
    PTREQ_XFEREVNT_T        -       Texts for Status Transitions
    Value of staus column you can check it PTREQ_STATUS_CHK

  • Re: Cancelling the entire Sales Order

    Hi Guys
    I wanted to know if there is a way to cancel the entire Sales Order @header level?
    Out business can have items as many as 150+ placed on a sales order. And cancelling each item individually by entering the Reason for Rejection might be inefficient.
    Can anyone suggest another way of acheving the same.
    Thanks
    Vinit

    Dear Mr.Lakshmipathi
    The CRTL + F 10  if you give Reason of rejection it straight away assign the same reason of rejection to all the line items in the sales order not for  the first line item only as you mentioned
    I have personally tested this with 15 line items just  now
    I am extremely sure of what i have written
    This functionality has been suggested by  to our clients in practical scenarios and tested by me now also
    When i suggest something i am doubly sure of that and test it and then suggest
    Moreover this Reason of rejection in all the line items  (in all the 15 in my case)
    are in the editable mode only so that we can change it someother key for one or two line items if we want
    sir
    when you have asked  or suggested something i am doubly sure if my reply
    Regards
    Raja

  • Cancelled sales order

    Hi,
    Through which table and field , we can know that a sales order is cancelled?
    I need to give this information to technical consultant for making the report.So that cancelled sales order wont be displayed in the report.
    regards,
    sathya

    Hi,
    We are creating a sales report. I dont want to show the cancelled or deleted sales order in that report.
    If thats the case which table and field to be given to technical consultant......
    regards,
    sathya

  • Sales Order Status Report

    Hi,
    Can you please guide me for Sales Order status report extractors?whether some standard extractors would be used or customized or standard is available which can further be enhanced.
    Scenario is- I have to populate report columns like
    0-25000     25001-50000     50001-100000     100001-200000     200001-500000     500000>
    And analysis has to be shown in the report rows : Sales District. In Columns only number of sales order in each district would be entered as a number. Example- of for district ZMJT there are 3 order are in pending stage having quantities 35000 then entry 3 will come in first column and so on. Following are other columns for drill down purpose.
    Input Fields:
    Date Range
    Company Code
    Currency Type
    Sales District
    Sales Group
    Analytical Fields-
    Sales Org.
    Distribution Ch.
    Division
    Sales Order No.
    Sales Order Dt.
    Sales District
    Tube Dia
    Tube Length
    Laminate Structure
    Application Category
    Customer
    Customer Group
    Sales office
    Sales region
    Sales Order Qty
    Sales order Value
    Regards,
    Ritika

    Hi,
      We have standard extractor 2LIS_11_VASTI (Sales Document Item Status) for getting the status.
    Regards,
    Vamsi Krishna

  • 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

  • How to avoid that two or more people alter the same Sales Order same time

    I'm looking for a way to avoid that two or more people altering the same Sales Order at the same time.
    If someone has entered a Sales Order in the system and something needs to be adjust it can be done by two or more people at the same time. The problem is that when someone is saving these changes, the changes of another person, who is still working on the same order, get lost.
    So what we need is an alert that someone is already using this order and that no other person can make any changes at that time. So the order needs to be blocked for altering for any other person at that time.
    To avoid this I think you have to do something with the Stored Procedure. Or has someone a more simple and better solution.
    I've already put this thread in the Business One forum and someone suggested to put it in the Business One SDK forum, as there isn't a solution in Business One itself.
    So if someone can give me a direction for a solution I would be very pleased.
    Best regards,
    Tim

    Hi Tim,
    The only thing that comes close to what you want in standard SBO is Data Ownership. However, this can't stop someone editing a document that is already being edited.
    You can't use stored procedures to track which document is open because the SBO_SP_TransactionNotification proc (which is the only one that you are able to customise) is triggered when a document is updated or added (or cancelled or closed) and not when the document is actually being edited in the user-interface.
    You could do this by writing an addon that uses the UI API to trap events in the sales order form. In theory, a sales order is being edited if the sales order form is in Update mode (ie in order for the form to be in Update mode, the user must have selected an existing document and changed the value of at least one field). You can trap the event of the user changing a value and then log the user and document in a table. When other users try to edit the same document, you could check the table and then prevent them changing values. When the first user clicks on the update button (or cancels the update or closes the form etc etc) you can remove the lock on the document. However, I have doubts as to how robust it would be. The problem with this kind of locking solution is that you sometimes get 'stranded' locks (eg user was editing a document when their workstation crashed) and the solution can end up being more troublesome than it is worth.
    Kind Regards,
    Owen

  • Cancel Sales Order lines that are picked

    Hi
    1. I'm trying to cancel sales order lines through process order api that are picked and delivery status is Staged/Pick Confirmed. The error is
    You are not allowed to cancel Order Line because:
    Line has been pick confirmed/staged.
    I'm unable to perform by below means
    1.There is a processing constraint on the field SCHEDULE_ARRIVAL_DATE.
    Delete the processing constraint and retry the cancel line process - Processing constraint form the fields are protected against update
    2.Navigate to the shipping transaction form and query the order. Select the line and enter 0 at shipped quantity.Save the record.Ship confirm the line, this will cause the line to be backordered.Query the order line in the order entry form and cancel this. - Shipping transactions form the fields are protected against update
    2. Is there a way to cancel Internal Sales Order(ISO) lines of one OU and the corresponding internal requisition is another OU
    Thanks
    kumar

    If you are in R12, there are some enhancements from Oracle that allows updating/cancelling certain Internal requistion fields and Internal orders automatically. You may need to disable few processing constraints too.
    As of Now Oracle support change to following attribute at OM side
    1 Order Quantity
    2 Request Date
    3 Schedule date
    4 Arrival date
    Similarly if we make changes in following fields in Approved IR
    1 Quantity
    2 Need by Date
    These changes will got reflected in ISO
    Plus cancel the IR line or ISO line, the other one gets cancelled automaically.
    To cancel the picked line, first undo the pick confirmation process by back ordering. or unassign the delivery details from the delivery (if created already) and cancel the delivery.In either case, you need to manually trasnfer the qty from staging area to original locations. Oracle doesn't automatically move the qty back, (undo move order transaction).
    Ganesan.

  • How to use of API for Cancel Sales Orders

    Hi....
    I want to use API for Cancel Sales Orders. Plz give me advice how we can cancel orders. I know that there is procedure provide in ORACLE APPs (i.e. OE_ORDER_PUB.process_order). But in this procedure i know the how to create and update sales order, but how to Cancel order with the use of this API.
    Plz send me soultion as soon as possible. ITS VERY VERY URGENT BASE.
    Thanks in Advance.

    Hi all,
    We are importing Sales Orders on 11.5.9 using OE_Order_PUB.Process_Order API .We have supplied most of the mandatory fields and the same data works from the front end. When we use the API it throws a Ora 20001.
    A snapshot of the error message.
    SQL> exec pk_process_object.process_order('1o');
    Message Count is :2
    Message is RA-20001: User in Package OE_Header_Util Procedure Get_Order_Number
    Message is :User-Defined Exception in Package OE_Header_Util Procedure
    Pre_Write_Process
    Return Status is ErrorU
    PL/SQL procedure successfully completed.
    --------------------------------------------------------------------------------------------

  • Sale Order Status Change after delivery of materials from projects

    have ETO sccenario which consists of all modules such as SD,PS.PP etc. Materials will be procured from external vendors & manufactured inhouse through project systems. After delivery of materials from project systems, billing & invoicing will be done at sales level.
    On delivery of materials from projects, sale order status remain open. Request you to look into the matter & suggest about status change of sale order after delivery / billing.
    Regards,
    Ranjan

    Hi,
    In sale order, WBSE is assigned. Delivery of materials are through cns0. then subsequently picking / packing / billing will happen at sales level. Billing is of delivery related. Please suggest to fix the issue.
    Thanks & Regards,
    Biplab Ranjan

Maybe you are looking for

  • Trouble Printing Multiple Pages in Quick Succession - LaserJet P4015x - Networked Printer

    Hi, We are currently experiencing problems printing multiple pages in quick succession. We use a bespoke Microsoft Access Database to run our Sales Order Processing. As part of this software we print 3 part invoices, credit notes etc on different col

  • Intermittent behavior and Error Code: -600

    I would first like to state, I have not any issues in the last 5 years. I went from Jaguar to Tiger, without a hitch. Of course, this is very old G4/450 [Will be getting a Mac Pro fairly soon]. For the most part, everything has been near perfect. How

  • How to decrease the size of a 52 page document?

    InDesign Help:  Original 52 page document (5.5" x 8.5"- .25" margin) needs to be be reduced to 5.375"x .375" with a .375" margin.  Is there an easy way to fix this?  I created alternate page layout with the new dimensions, but margins are off.  I don

  • EPrint servers accept jobs from some email addresses and NOT others

    I have an HP Photosmart Premium C410b which works a treat apart from when I try to use ePrint. I use my own (register.com hosted) domain email address for nearly all of my email. And when I send emails to @hpeprint.com I get the following bounce back

  • HT1386 Syncing issue

    My Mac Mini recognizes my iPhone as a camera but it suddenly stopped appearing in iTunes.  I have not had this problem before.  I tried changing usb ports in the Mac Mini also.  I tried powering off iphone and back on.  Latest version of Itunes is lo