SO created is Open or Close Sales Order

<b>Hi
I hav ot write a report for SD , In this for sales order I hav to check that - Is this Sales order is Open or Close order ,
Select-optoins are SALES ORDER , DATE , PLANT , St location .
if it is a close sales order , Then this report should pass a message to The MM consultant  abt the stock ...
Regards ,
Narender .</b>

Hi,
     Just to add, a sales order is open till such time all the line items are delivered completely with respect to the quantity ordered. This you can find in the VBUK ( Header status ) where the GBSTK field value is " C ".
     Even if the goods are shipped or not, it does not influence the sales order completeness. Its only a delivery that happened or not influences the sales order status. Also you can take help from VA05 t.code which shows all the open sales orders by checking the " Open sales orders " button.
Hope it helps. Pl reward if useful.
Thanks & Regards
Sadhu Kishore

Similar Messages

  • Error while creating and opening a ERP sales order in SAP CRM

    Hi,
    I am getting an error while creating or opening a ERP sales order from SAP CRM.
    "Creation of the ERP Transaction failed" this is the error i'm getting while creating. when i try to open an existing sales order I'm getting a dump.
    Attached the dump screen shot. From the dump analyasis it seems the transactions are not loaded through LORD framework.
    The RFC connection seems to fine as i have tested accessing an ECC RFC FM through a sample program and its successful..
    please help..
    Thanks
    Krishna

    Hello Krishna,
    Did you get a solution to this? I have the same dump message.
    As a matter of fact, we already use ERP Sales Order and it works fine. But I have recently configured a new sales order document type, and the dump occurs only for this new Z order type.
    Thanks a lot,
    Luis.

  • Open quantity in Sales Order did not update after cancelling Reserve Invoice

    Client created Credit Memo with reference to Reserve Invoice but this did not update the open quantity in Sales Order. Client is using SAP B1 8.82 PL9. I tested this in SAP 9.0 and still same behavior. Is there a work around other than creating another SO?
    I checked Document Settings and "Reopening Doc by creating credit memo based on Doc" is enabled.
    Thanks in advance.

    Thanks for the reply. How will the client be able to make new reserve invoices from the SO? They are trying to make partial reserve invoices from the sales order. I already suggested to just change the quantity in the reserve invoice before adding. But I have doubt because the SO might close prematurely before they complete the quantity in the SO because open quantity is much less then the quantity in SO.
    SO Quantity: 100
    Open Quantity: 40
    Reserve Invoice 1: 60
    Reserve Invoice 2: 40
    SO closes before they can make Reserve Invoice 2

  • Trying to create a query that shows Sales Order/Invoice Totals as well as Paid/Outstanding/Available Down Payments

    Currently working on SAP B1 v8.82
    I'm looking to generate a query that will give an overall report for a given customer that shows Sales Order No, Invoice No, Sales Order Total, Invoice Total, Amount Paid on Invoice, Amount Remaining on Invoice, Down Payments Available, Open on Sales Order.
    I'm not sure what the best way to select the columns in bold above.  Invoice Total should be self-explanatory.  Amount Paid should be any down payments or applied payments on the invoice.  The balance due on the invoice (which seems to be T0.DocTotal if I'm not mistaken) should = 'Invoice Total' - 'Amount Paid on Invoice'. In the Down Payments Available column I want the total amount of money on the account or on down payments that aren't tied to a Sales Order.  If a client overpaid in the past for instance and there's a credit on their account, then it should contribute to this sum.  Open on Sales Order should be pretty easy.  I guess it's just the sum of everything that is still open on the Sales Order.  I'm just not sure what the best way to sum all the un-delivered freight, tax, and line items is.  Here's what my query looks like so far.
    SELECT DISTINCT T4.[DocNum] [Sales Order No],
    T0.DocNum [Invoice No],
    T4.DocTotal [Sales Order Total]
    T0.DocTotal [Amount Outstanding],
    FROM OINV T0
    INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN DLN1 T2 ON T1.BaseEntry = T2.DocEntry AND T1.BaseLine = T2.LineNum
    INNER JOIN RDR1 T3 ON T2.BaseEntry = T3.DocEntry AND T2.BaseLine = T3.LineNum
    INNER JOIN ORDR T4 ON T3.DocEntry = T4.DocEntry
    INNER JOIN OSLP T5 ON T4.SlpCode = T5.SlpCode
    WHERE T0.CardName Like '%%[%0]%%'
    GROUP BY T4.DocNum, T0.DocNum, T0.DocTotal, T4.DocTotal
    I tried doing a little searching around for queries similar to what I need, but I could find exactly what I was looking for and I'm very unfamiliar with OJDT, JDT1, and ITR1 tables which I think might be important to finding unapplied payments...

    Thanks.  There's a few problems though.
    1)  It seems that OINV DocTotal != Balance Due.  I'm seeing a number of invoices where there was a balance due, but we applied additional money (either we took another incoming payment and applied it or applied money from the account balance, etc.) and yet it still shows a total.
    2)  It's pulling incoming payments from different customers.  I think this is because the table was joined based on "RCT2 T4 on T4.[DocEntry]  =  T3.[DocNum] and T4.[InvoiceId] = T2.[LineNum]"  In one example I have 2 incoming payments 446 and 614.  Both have the DocEntry 542, but one relates to A/R Invoice 542 (for a different client) while the other relates to Down Payment Invoice 542.  *I was able to fix this by adding WHERE T5.CardCode = [%0]*
    3)  I'm going to work with this a little bit and see if I can alter it to make it work for me.  Basically this query falls a little short on the following:
    -  Doesn't include incoming payments that aren't linked to a down payment invoice.
    -  Does not give the Invoice Total (I'd like to know how much of the SO was invoiced.  DocTotal seems to give me Amount Invoiced - Down Payments.  I'm not sure the best way to get this number.  Maybe I could do the sum of each line * tax + freight)
    -  Does not give the outstanding amount on an invoice.  The ARtotal [DocTotal] column gives me how much was owed when the invoice was created, but it doesn't tell me what is currently owed.
    -  Lastly it may complicate the query too much and could be left off, but it would be nice to see if they have any money from credits or incoming payments that has not been applied.  Perhaps this would be easily accomplished by simply pulling in their account balance.

  • WHAT IS SALES ORDER -OENSALES ORDER AND CLOSE SALES ORDER

    HI....
    WHAT IS SALES ORDER -OENSALES ORDER AND CLOSE SALES ORDER
    WHAT IS MB1C AND  MB1B TCODES

    Hi
    If the sales order is made with a Qty of 10 items in it , if the all 10 items are delivered to customer then that is called as Closed Sales order
    Means if Sales order Qty (vbap-kwmeng) = Delivery qty (lips-lfimg) then that is losed other wise out of 10 qty 5 are supllied and 5 are yet to be supplied then that is open sales order
    MB1C = Goods receipt for others
    MB1B = Transfer Posting for Material Moving
    Regards
    Anji

  • How to create a daily report for sales order

    hi
    how to create a daily report for sales order. what fields it must consists of. what are the tables it need?

    Hi
    You have to use the sales order tables VBAK,VBAP and VBEP
    So keep date field on selection screen
    and treat this date as Order creation data audat field in VBAK.
    based on this fetch the data from VBAK and VBAP  with the following fields like
    VBELN, KUNNR,NETWR,POSNR, MATNR,ARKTX,KWMENG,WAERS  etc and display in the report
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How  to create one delivery for two sales orders?

    Hi Experts,
    I need to create one delivery for two sales orders. But it fails.
    The route, shipping point, ship to party are same for both orders but INCOTERMS are different.
    Delivery date, Good issue date, loading date,material availability date, transportation planning date for 1st order is 12/07/11 and for second order is 14/07/11.
    I have created delivery on 14/07/2011 but the delivery is created for 1st order only, the second order is missing in the delivery.
    It not happened because of incorterms.? different dates
    Kindly help regarding this.
    Thanks
    Raghu

    Hi
    To understand splitting behavior, see SAP Note 546668 - FAQ: Delivery split when creating deliveries. And yes, incoterms happens.
    I think that with the help of question 6 you can try to force the merging of SO. Then, see SAP Note 166397 - Delivery split according to customer field ZUKRL, and handling the field ZUKRL in a VOFM in the copy rule I think that you can try to do it.
    Finally See  Note 4505 - Duprec when adding delivery (VL04, VL01, VL10*) to avoid problems while you are merging.
    Regards
    Eduardo

  • How to create one delivery for multiple sales order

    Hi!! Friends,
    Can some one explain the steps to be followed in creating one delivery for multiple sales order in SAP SD.
    Regards
    AKASH
    Message was edited by:
            AKASH TAMBI

    Hi.,
                  You can combine different orders in to one delivery ,But for the customer Order combination should be checked in  the sales area data of the shipping tab,we can combine orders but the ship to party,Route,Inco terms,Shipping date,shipping point should be same,you can do in T.code VL04 & VL10
    REWARD if helpfull
    Thanks & Regards
    Narayana

  • Create a new field in sales order

    HI folks i want to create a new field in sales order item level how can i create

    Hi,
    Hope this will help you,
    User exits in the screens
    Additional header data is on screen SAPMV45A 0309, additional item data on screen SAPMV45A 0459. These screens contain the Include screens SAPMV45A 8309 or SAPMV45A 8459 as user exits.
    Fields which are also to be included in the sales document for a specific installation should be included on the Include screens for maintaining. If an application-specific check module is needed for the fields, this can be included in the Include MV45AIZZ. The module is called up in the processing logic of the Include screens.
    For field transports, you do not have to make changes or adjustments.
    Example
    A new field, VBAK-ZZKUN, should be included in table VBAK.
    If the check is defined via the Dictionary (fixed values or check table) the field must be included with the fullscreen editor in the Include screen SAPMV45A 8309. In this case, no change has to be made to the processing logic.

  • Open items in sales order

    what is the open item in sales order?
    how  can i list them if i am inputting the sales order?
    which tables should i use?

    Hi,
    Open Sales orders are nothing but the sales orders which are not Billed  or which are not Delivered.
    For this you can use the tables vbak,vbap,vbuk.
    first you can fetch the all the vbeln from vbuk by using the
    Lfstk and Fkstk as the filter criteria.
    LFSTK-Delivery status
    FKSTK-Billing status.
    then you can get the open order items from vbap and vbak.
    SELECT vbeln
               lfstk
               lfgsk
               fkstk
    FROM vbuk
        INTO TABLE i_vbuk
       WHERE ( ( lfstk EQ 'A'
         OR lfstk EQ 'B')
         OR (  fkstk EQ 'A'
         OR    fkstk EQ 'B' ) ) .
    Regards,
    Raj.

  • Close Sale Orders via DTW

    Hi,
    I want to close Sales Orders using DTW but I got an error:
    Document rows Cannot be closed concurrently.
    I read some threads:
    Link: [Document rows Cannot be closed concurrently - Purchase Orders;
    Link: [How to close a row in a Sales Order?;
    Link: [Closing Order rows;
    Link: [Documents rows cannot be closed concurrently with the other document modify;
    and many more but couldn't solve problem.
    I work on 8.8 version and try to close Sale Order that has few rows. I can close line via UI ( right mouse button and choose close line) but when I try to do it via DTW I have an error.
    I disabled all formatted searches and it didn't help.
    Need help.
    Reagrds
    Szymon

    Hi,
    the problem now is not the error message. The problem is: what about the sales order which should be lost after we regenerate the program RSM13000?
    We installed the following support packages:
    1.     SPAM and SAINT      from 26 to 38
    2.     SAP Basis:           From SAPKB62047 to SAPKB62068
    3.     SAP_ABA:          SAPKA62047 to SAPKA62068
    a.     And 2 CRT
    4.     SAP_APPL          SAPKH47022 to SAPKH47033
    5.     SAP_HR:          SAPKE47024 to SAPKE47099
    6.     SAP_IPPE:          SAPKGPIA06 to SAPKGPIA28
    7.     PI:               SAPKIPZI55 to SAPKIPZI59  
    8.     PI_Basis:          SAPKIPYI57 to  SAPKIPYI59 
    9.     ST_PI:               SAPKITLQG7 to SAPKITLQG8 
    10.     EA_APPL:          SAPKGPAA06 to SAPKGPAA29
    11.     EA_FINSERV:          SAPKGPFA06 to SAPKGPFA29
    12.     EA_GL TRADE          SAPKGPGA06 to SAPKGPGA29
    13.     EA_HR               SAPKGPHA10 to u2026u2026  SAPKGPHA99
    14.     EA_PS               SAPKGPPA06 to SAPKGPPA29     
    15.     EA_RETAIL:          SAPKGPRA06 to  SAPKGPRA29
    Thanks in advance
    Hanseatik

  • Automaticaly created invoice related to the sales order

    Hi gurus,
    I have question for you.
    I will create the automatic creation of sales order via BAPi, but after creation of sales order I would like to have also automatic creation of SD invoice. Is there any setting that the invoice can be issued immediately after sales order creation or I need to use another BAPI to do this.
    Is there any chance to create invoice for services (without delivery note) automaticaly after Sales order creation.
    Thanks in advance
    Saso

    Hi gurus,
    Is there any chance to create invoice for services (without delivery note) automaticaly after Sales order creation.----> Yes u can create SD invoice without Delivery note , but it depends upon ur Config Setting ?
    I have question for you.
    I will create the automatic creation of sales order via BAPi, but after creation of sales order I would like to have also automatic creation of SD invoice. Is there any setting that the invoice can be issued immediately after sales order creation or I need to use another BAPI to do this-->Better Option is Use Another BAPI to create SD Invoice.
    Regards
    Prabhu

  • Budget control in project WBS'e  while creating the auto PR from Sale order

    Hi experts,
    we are creating the auto pr from sales order for trading process with budget wbs element. but commitment is not posted in project wbs were as pr is created through sale order
    pls suggest if any additional setting is required  to post commitment while creating auto pr from sale order.
    rgds
    rajesh

    Check account assignement categories in SD for PR creation and See if you can make PR to be created with WBS as account assignement like we do in OPTT.

  • Create Delivery with reference to Sales Orders

    Hi All,
    I have a requirement to create a program which extracts sales orders - schedule lines and check in hand inventory for a schedule line which is due to delivery and further create a delivery and do PGI (all the activities through the program automatically).
    Challenge is that I have to check availability in batches and the batch should not be split to meet the delivery.
    My scenario is as below.
    Sales order - 01234.
        Item 1 ----> Total Ordered quantity ---> 20
            Schedule line 1 -----> Quantity -----> 10 (delivery is due today)
            Schedule line 2 -----> Quantity -----> 10 (delivery is due today)
    E.g. In hand inventory in batches:
    Batch 1 ----> 30
    Batch 2 ----> 10
    Batch 3 ----> 50
    In this case Batch 2 is meeting my requirement, so that I can proceed to deliver Schedule line 1 with Quantity 10.
    I have referred some BAPIs and FMs but none has a provision to provide batch as the input (along with sales order and Item and quantities).
    BAPI_DELIVERYPROCESSING_EXEC
    BAPI_OUTB_DELIVERY_CREATE_SLS
    RV_DELIVERY_CREATE
    Is it possible to propose batch number while creating delivery by using any BAPI / FM. Appreciate your help
    Thanks,
    Somu

    You can pass Sales Order Batch in REQUEST -BATCH Table of BAPI BAPI_DELIVERYPROCESSING_EXEC.

  • Cannot create reservation for a closed sales order

    Hi,
    IN the mtl_resrevation_interface errors iam getting the message as Cannot create reservation for a closed sales order for most of the items .
    when i check the details of the sales order line it is already closed.
    but why it is trying to insert the line in mtl_reservation though it is already closed.
    i want to know what would be the reason.
    Thanks,
    Vinod

    You may have a custom program that creates the records in the reservations interface table.
    That program may have a bug.
    Hope this helps
    Sandeep Gandhi
    Independent Techno-functional Consultant

Maybe you are looking for