How do know sales order  completed  or not

Hi Gurus,
I have created  Sales order with  materials and quantity,and ,
could u tel Any Field for   sales order complete or incomplete status and Table
Thanks in Advance.
Sivakumar

Check the Table VBUP whether the Delivery Status(LFSTA for sales order/RFSTA for inquiry) is 'A' (A - NOT YET PROCESSED , B-PARTIALLY PROCESSED, C-COMPLETELY PROCESSED)
SELECT SINGLE VBELN        
                 POSNR        
  FROM  VBUP
  INTO   (LW_VBELN,
          LW_POSNR)
  WHERE VBELN  = I_VBELN
  AND    POSNR  = I_POSNR
  AND    LFSTA   =  'A'.
IF SY-SUBRC = 0 MEANS SALES ORDER NOT YET PROCESSED.
IF YOU WANT TO FIND THE SUBSEQUENT DOCUMENT FOR THE SO ,YOU CAN FIND IN THE TABLE VBFA.
REGARDS,
R

Similar Messages

  • How to check Sales Order complete or incomplete in program?

    Hi, Gurus:
    In the program, how to check Sales Order complete or incomplete based on Order Number vbeln?
    Thanks,

    You can check the status table VBUK for this.
    VBUK has all the status related fields in it.
    Search for the field which suits to your specific requirment.
    Regards,
    Naimesh Patel

  • Sales order completion status not triggering output

    We have setup order confirmations to generate and email to customers as
    soon as the order is complete. We have a few cases where
    the order was completed, delivered and even invoiced yet output was not
    proposed automatically. If we open using va02 and save(making no
    changes at all) it proposes the output.
    Using the status overview menu path, we see that although the header
    status is completed, the completeness status says Incomplete Header
    Data. Using menu path Goto->Header->Status shows everything as
    complete. We're lost as to why it doesnt propose the output
    automatically when the order is completed.
    Any ideas?

    HI,
    I just had a similar issue with a custom routine where the output wasn't determining because the requirements of the routine were not satisfied.
    From the output screen on the sales order select Goto-> Determination analysis.  This will tell you what happened with the output.  If the condition record was found and if the routine requirements were met.
    In my situation the requirements were not met because the routine was reading fields that were updated on save and not available when output determination was executed.
    Good luck.

  • How to make the status of a sales order complete of which PART DELIVERY

    How to make the status of a sales order complete of which PARTIAL DELIVERY has already done. <b>(Assigning rejection status not accepted)</b>

    Hi Gyana
    There is no document with me. But I can confidently say that because I am using this functionality.
    In my case I have created a Order Reason as "Short Closed". once you short close this order only the balance quantity gets rejected (provided you have already made previous delivery and PGI).
    Try it in one of your test clients if you have. Once it is short Closed it wont also show in the orders due for processing in Production.
    Also you can generate reports based on this if your customer wants to know how many order he has short closed, qty of item short closed etc.
    Try it.
    Rgds
    Sunil

  • How to pull sales orders based on a Campaign??( I have created one Campaign and i need to know,for how many orders it was applicable)

    How to pull sales orders based on a Campaign ID??( I have created one Campaign and i need to know,for how many orders it was applicable)

    Hello,
    as far I understand you are talking about campaign determination. Once a sales order is generated having a campaign determined the campaign creates a reference to the sales order. The best way to track the assigned sales orders is using the related transactions function:
    The same feature is available for trade promotions as well.
    The data is available in table CRMD_BRELVONAE - you can also write a report selecting on OBJGUID_A_SEL with the campaign or TP guid and OBJTYPE_A_SEL with BUS2010020 for campaigns and BUS2010030 for trade promotions.
    Is this answering your questions?
    best regards,
    Johannes

  • How to cancel an order if transaction not complete

    How to cancel an order if transaction not complete

    Presuming you're referring to a purchase from the iTunes Store, go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report the issue to the iTunes Store. Refunds are not guaranteed, but iTunes support should be able to help you in one way or another.
    Regards.

  • How to get rid this Warning=Sales order (SOBKZ = ) is not provided for this

    Dear Concerns
    In MB1C, Mov Type=521E, and the batch no=A.
    After entering all the required entries the systen gives me the warning and the system  save the transaction after pushing the enter button five to six times.
    Sales order (SOBKZ = ) is not provided for this goods movement.
    I want to get rid of this warning .
    So that the system could save the transaction in one click.
    Regards:Vijay

    Hi
    Can u please tell me the solution of that issue as in my case the item has to be received
    and reserved against the sales order.
    can i make my sales order item cate mark with the special stock indicator and
    does it help to solve my problem
    Yes this will only solve the problem. You need to mark your sales order item cate with special stock indicator E
    Then PGI will be smooth otherwise you can expect problem
    This reply is for the other friend
    In-IMGMaterials ManagementInventory Management and Physical Inventory---Define Attributes of System MessagesSettings for System Messages----
    Here in the new entries add message M7---374 with version as 00 and make that as error message and save it
    Regards
    Raja

  • How to compare sale order bom and production order bom.

    i would like to provide report with respect to comparation of sale order bom and production order bom, but i am not familiar with SD and PP, can anyone give me some clue? i only know sale order bom is created via 'CS61', afterwards run mrp to get production order, the process appears complicated, i needn't know the process detail, just want to know how to get sale order bom and relative production order bom. please guide me.

    Hi,
    Check Tcode:CS14 to SD/PP BOM's
    Chidambaram

  • How to list Sales Order with credit block

    Hi, Gurus,
    I really don't know how to list sales orders with credit block?
    Is there any way for end user to do it?
    If so, is it possible to list SO with credit block for certain period of time such as one month?
    Any help would be appreciated.

    HI
    Check T-Code VKM2 (Released documents)
    You need to check VKM1 (Blocked Documents)
    Sorry before i gave wrong information , myself i corrected VKM2 for released not for blocked list (Due to non Availability of SAP access )
    Regards,
    Prasanna
    Edited by: prasanna_sap on Feb 7, 2012 7:12 AM

  • How to get sales order number before saving in VA01 by using parameter

    Hi,
    Please let me know how to get sales order number in transaction VA01 before saving it by using parameter in SU3.
    I tried to set parameter in SU3 "AUN", but it is not working as required, means sales order number is not appearing before saving.
    can you please suggest how to do it?
    Thanks & Regards.
    Rahul Verulkar

    Hi,
    In case of Support project, we get the high severity issues from users and needs to be closed withn 2 hours... so what we do we get the requirement from user and checking the same in production from our id, but we can not save the sales order as we are not authorized to do the same, so in such cases it is required to get the sales order number before saving... where we can guide the users.... but actuallly it is not getting saved in the table until and unless u save it manually. It works like a material master... when u create material master, the material number appears in advance in material number field "MATNR"
    If it is possible can you please suggest step by step to work on parameter in SU3 for sales order number before saving.
    Thanks & regards,
    Rahul Verulkar

  • Sales Order number is  not showing in MD04

    Hi Gurus  ,
    I have got one case where  Sales order number is not showing  in MD04 screen  . This sales order , line item  has already delivered , PGI &  billing document also been generated  . Moreover accounting document is also been created .As cheeked & found that it is not shwoing in MD04 screen  because at  the time sales order creation  availability check “01” was maintained  which has sum up all the  requirement in one  particular day ( Also as
    per SAP note -70408) .
    Now because  all the subsequent document has been generated  for sales order so we can not mark it for “Rejection for rejection “  & to create new  sales order  with  availability check “02” in material master .
    Please let  me know the possible solution for the same or  if any  sap note would  be required to get the sales order number in MD04  .
    Thanks  ,
    Aman

    Hi Kiran ,
    Actually  before running the  report in “SDRQCR21”  in PRD I wanted to  run it in “Quality “ .
    In quality I am not able to simulate the same  .
    Please refer below points related to my testing result .
    1.Mainatined availability check group “01” .
    2 . Created Sales order 
    3. Check in MD04 screen & as expected  sales order  was coming blank  with negative Qty .
    4. Run the MRP which generated PR
    5. PR converted to PO  & GRN was done which updated the stock
    6. Created delivery  & checked the same in MD04  . It was also coming blank  . No delivery  document  numbe was showing in screen  but  it was coming with negative  Qty .
    7. Done the PGI  & blank  delivery document number  was removed & it become  normal .
    In PRD .
    There are 3 sales order
    One sales order is already marked reason for rejection & two sales order delivery , PGI has been done  .
    But still it is showing  blank sales order with negative Qty  & after MRP run it is generating the PR also  .
    I don't why it was  showing with negative values  .
    Please refer attacehed screen shot  .
    Thanks,
    Regards ,
    Aman

  • WMS :  How to Process Sales Order Released before Turning on WMS

    Hello Gurus,
    How to process sales orders released before WMS enable flag is turned on in the  new WMS enviournment in Oracle 11.5.10 ?

    Helios,
    Thanks for the document.
    I m looking for how to perform Pick confirm transactions for already printed Pick slips before WMS enabled flag is turn on for the org.
    One option is to close all the deliveries  but if there is no on hand at that point the they will remain option.
    Other option is to Back order those deliveries and re release them post wms enable flag is turned on... The only issue i see here is that if there are more new orders for one of the items  and the orders are released then which orders will get allocated/reserved if there is limited on hand quantity to statisfy the SO need.
    Let me know if you can think off some alternative solution.
    Apprecite help !!
    Thanks,
    Sam

  • 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

  • Block return sales orders or credit notes?

    Hi,
    Could someone please explain how I block return sales orders or credit notes?
    Also is there a way of searching which sales order documet types have been used for credit notes?
    Thanks

    Hi Friend,
    The billing block is comming from the tx. VOV8 -> choose the Order type  -> billing
    block -> you could set billing block here.
    In Shipping column, there is also a field Delivery block where you could set delivery
    block for the order type.
    Or you could also set delivery block and billing block manually when you create the order.
    You could check order type which is used as return or credit memo request by following way:
    SE16 -> TVAK -> use selection criteria VBTYP = H and K
    H  Returns
    K  Credit memo request
    Then excecute, you could get the order type you want.
    Best regards,
    Alex

  • Display invoice print (PDF) in sales order(Credit/Debit note) attachement for Validator

    Hello Expert,
    I would like to know if is there any possibility to display invoice print (PDF) in sales order (Credit/Debit note) as attachment.
    Issue:  Customer raise the credit note with the reference of invoice, sometimes user don't explain the reason for credit and don't attach any reference document in sales order(credit request).
    Customer requirement: Customer want to display reference invoice print (PDF)in sales order(Credit request) for validator so validator can cross check with invoice and validate the credit note.
    Could you suggest the best solution?
    I am thinking to give mandatory text box (Text determination)at sales order(Credit request)
    Vipin

    Hi,
    You can enable Document Management System (DMS)
    Please refer below links for details:
    http://scn.sap.com/thread/459101
    http://scn.sap.com/thread/2096563

Maybe you are looking for