Ignore Save as Draft just consider Add Sales Order

Dear all,
I got a problem that the following code:
If BusinessObjectInfo.FormTypeEx = "139" And BusinessObjectInfo.EventType =                              SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD Then
If BusinessObjectInfo.BeforeAction = False And BusinessObjectInfo.ActionSuccess Then
XXXXXXXXXXXXXXXXXXXXX
End if
End if
I just want to assign a value to the field before user "Add" Sales Order.  However, even though user didn't ADD the Sales Order and just Save As Draft but program still run into the ' IF Statement".  How can i ignore the above process when user press "Save As Draft".
Please help.
Regards,
Anna

Hello Anna,
You can filter it with BusinessObjectInfo.Type
Object ,             ObjName ,  ID
Document draft  ,   DRF         ,  112
Sales Order     ,     RDR  ,          17
Regards, Yatsea

Similar Messages

  • How to Add Sales order from one database to another database

    Hi All,
    I am trying to add sales order with sales order object.
    I have completed connectivity from one database to another database.
    but i am unable to post sales order with orders object.
    My code is
    ObjSales = objMain.objUtilities.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
                ObjSales.DocDate = Date.Parse(System.DateTime.Now().ToString("d"))
                ObjSales.DocDueDate = Date.Parse(System.DateTime.Now().ToString("d"))
                ObjSales.TaxDate = Date.Parse(System.DateTime.Now().ToString("d"))
                ObjSales.CardCode = "C0006"
               ObjSales.Series = 92
                ObjSales.PaymentGroupCode = 3
                ObjSales.Comments = "vivek"
               ObjSales.Lines.Add()
               ObjSales.Lines.SetCurrentLine(1)
               ObjSales.Lines.ItemCode = "5127"
               ObjSales.Lines.Quantity = 100
               ObjSales.Lines.UnitPrice = 10
               ObjSales.Lines.WarehouseCode = "01"
                ObjSales.Lines.TaxCode = "0"
                ObjSales.Lines.DiscountPercent = "0.00"
                ObjSales.DocTotal = 1000
                 If ObjSales.Add <> 0 Then
                   objMain.objApplication.SetStatusBarMessage("Sales or Not Posted", SAPbouiCOM.BoMessageTime.bmt_Short, True)
                   Exit Sub
                else
                  objMain.objUtilities.ShowSuccessMessage("Sales Order Posted successfully")
                End If
    The above code is executing successfully.But the Sales order is not getting added.
    Thanks in advance.

    Hi Vivek,
    If the code you posted is not throwing any errors, then the order really does get created. Apparently just not to both databases, am I correct ?
    vivek.Y wrote:
    > I have completed connectivity from one database to another database.
    That means that apparently you have not gotten this bit right.
    Generally speaking if you want to create an order into two databases, you first need to connect to both databases and create separate order objects for each database. So you need to do this bit twice; once for each database. Something like this:
    ObjSales1 = objMain.objUtilities1.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
    ObjSales2 = objMain.objUtilities2.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
    Then at the end you also need to add both objects separately:
    If ObjSales1.Add <> 0 Then
    etc.
    If ObjSales2.Add <> 0 Then
    etc
    Good luck,
    Johan

  • Forecasting Based planning, consider incoming Sales orders, Consume PIR's

    Hello Guys:
    I am in real Problem about this one: I am implementing forecast-based MRP for our client which is a trading company: buys, keeps in storage and sells goods (R/3 ECC 6). We are using material forecast on a monthly period, and run MRP on a weekly period since POs are to be created weekly (therefore we also use the "Splitting indicator" to split monthly forecast values to weekly requirements)
    The way MRP calculates future stocks in this situation (MRP type VV) is like this:
    Current stock
    + Open POs to arrive
    - Forecast Requirement
    = Future stock
    The problem with that one is that if there is an SD order or delivery in the future, SAP does not count in that one as well. It is a real problem, just imagine that in two weeks we have a forecast of 10 pieces of a material. SAP will propose Preqs based on this 10 piece consumption, even if we have an SD sales order for that week on 30 pieces. (by the way the SD order is in the list of MD05 but SAP does not count in that one for future stock reductions).
    If I modify the MRP type in customizing OMDQ, I can make SAP to count in real consumptions (sales orders) in the future stocks: I set "MRP procedure" to PD (MRP) or "R1" (Time-phased materials planning). In this case MRP calculates like this:
    Current stock
    + Open POs to arrive
    - Forecast Requirement
    - Real future requirements (sales orders)
    = Future stock
    So in this case SAP will recommend double quantities to purchase: once for the forecast reqs and on the other hand for the real sales orders.
    It is a trap, SAP should reduce the forecast requirements with the real requirements. The really bad news is that there is a switch for this in OMDQ for the MRP types called "Reduce forecast" but it is not working: I have tried all the combinations of codes in the frame "Use forecast for MRP" but it can only decrease req for the current month and only on a timely basis code "2" for MRP procedure "PD" or "R1".
    Thanks for Help.
    Sweth123

    Hi Mario:
    I am using MRP type PD , Running the forecast using MP30 which generate the forecast requirement.
    I go to MD61 , I Slected Material Forecast option and Copied the forecast requirements as planned independent requirement,
    AFter that when i run MD02 and go to MD04 Screen.
    System Displays MRP Element: UnPlrq----Forecast quantity  --1000
                                MRP Element VSF for Planned Independent requirement -1000.
    Based upon historical consumption data , if there ia requirement of 1000pc , system is proposing 2000 pcs to buy.
    Is there any config setting i need to change so that system won't double the requirement quanitities?
    Please clarify
    Sweth.

  • Add sales order type and switch off fields in webshop

    Hi all!
    Got questions for you!
    Does anyone know how to add possible sales order types in shop management. For now the only possible entry is ISBC, I have created a copy of this one with some other control functions, ZISB. What are the steps to make this a possible choice in Shop Management.
    I would also want to know if there is a "standard" way of switching of visibility of some of the fieds in the webshop.
    CRM 5.0, ECC 6.0, Scenario B2C.
    Thankful for input!
    Best Regards,
    Roland

    Hi Roland,
       I meet many problem in webshop configring, would you kind enough to give me some advise?
       1. SAP CRM5.0 SP2
       2. I use the standard order type:ISBC
    The first problem is:
    When I register a user from webshop.
    I can add the product into basket, but when I check it out, the system give me an error: 99  can't use partner xxx. (But we can check out the basket before, I dont where be changed.)
    Second:
    After check out, the system will create an order, but price of the order is zero, I dont know to resolve this question.
    Thank you very much.
    Eric

  • How to save a document on Web Ui Sales order screen after pressing Print

    Hi All,
    I am tyring to save the whole Sales Order document from Web Ui screen and want to send this document by email.
    But when I click the standard print button, it generates a html file but I am not able to save this file . Also there is no option to convert the whole file into pdf.
    Do we have any way to save the whole Sales order from Web UI screen into a document ( HTML or PDF or any other format.)
    Thanks
    PG

    Hello
    It is a little more complicated than that. For technical reasons, it is not possible to print from a BSP application, so the workaround is using print preview and a printing action.
    [SAP Note 1323062|https://service.sap.com/sap/support/notes/1323062] and related notes explain this better than me. Also you can find important information in [SAP note 616762|https://service.sap.com/sap/support/notes/616762]
    Regards
    Joaquin
    Edited by: Joaquin Fornas on Oct 11, 2011 8:07 AM
    Edited by: Joaquin Fornas on Oct 11, 2011 8:08 AM

  • "No matching records found" trying to add sales order in SBO8.8

    Hello.
    Sometimes only, we get the following error (the most)
    "No matching records found - 'Warehouse' (ODBC -2028) [Message 131-183]" trying to add a new sales order when, with the filled document, we push the buttom "Add".
    It shows certain similarity with
    Note 1501421 - After upgrade to 8.8 - exporting to word ends in error
    https://websmp230.sap-ag.de/sap%28bD1lcyZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=1501421
    because of the previous upgrading and kind of error.
    Sometimes it happens because of an article but if you take it alone, the order is added normally and after that never happens again with it but with others.
    Can anybody please help me?
    Thank you very much.

    Thanks for answering, Gordon.
    I have sure saw it in SBO8.8 SP00 PL03 and PL05.
    But I do not think we are the only ones who happened something like this ... :S
    Of course, I did not find any pattern on BP or items.
    The problem is you have to enter that sales order again.

  • Add Sales order items to Purchse order by Categorywise using Customization

    Dear experts,
    I have 4 item group say grp1,grp2,....
    There many items in groups.
    I have added 5 itmes of grp1,4 itms of grp2 & 9 itms of grp3 in Sales order.
    I have taken 1 udf say Category which display grp1,grp2,gpr3,grp4,grp5 At PO level.
    In PO when i select grp1 in Category. I want to add 5 items of grp1 which i have taken in Sales order in PO's detail part through customization.
    Is it possible!!!!!
    Plz give me some suggestion
    Regards,
    Pravin

    hello Anthony,
    Did you have maintained your problem? I can add a sales order successful, but update the order which I add was unsuccessful. The xml which I sended to the DI Server and the response as follows:
    Request XML:
    <?xml version="1.0" encoding="UTF-16"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><SessionID>CC07DB5A-4B64-CB89-D84D-B1C60B26C669</SessionID></env:Header><env:Body><dis:UpdateObject xmlns:dis="http://www.sap.com/SBO/DIS"><BOM><BO><AdmInfo><Object>oOrders</Object></AdmInfo><QueryParams><DocEntry>64</DocEntry></QueryParams><Documents><row><Address2>100021</Address2><CardCode>C00001</CardCode><Comments>DD</Comments><DiscountPercent>0</DiscountPercent><DocDate>20040403</DocDate><DocDueDate>20040403</DocDueDate><DocType>dDocument_Items</DocType><PaymentGroupCode>3</PaymentGroupCode><TaxDate>20040403</TaxDate></row></Documents><Document_Lines><row><DiscountPercent>0</DiscountPercent><ItemCode>A00005</ItemCode><UnitPrice>1651.5</UnitPrice><Quantity>1</Quantity><VatGroup>X1</VatGroup></row></Document_Lines></BO></BOM></dis:UpdateObject></env:Body></env:Envelope>
    Response XML:
    <?xml version="1.0"?><env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Body><env:Fault><env:Code><env:Value>env:Receiver</env:Value><env:Subcode><env:Value>-1013</env:Value></env:Subcode></env:Code><env:Reason><env:Text xml:lang="en">Invalid valid value '' in Enum 'BoYesNoEnum'</env:Text></env:Reason><env:Detail><Object>17</Object><ObjectIndex>1</ObjectIndex><Command>UpdateObject</Command><SessionID>CC07DB5A-4B64-CB89-D84D-B1C60B26C669</SessionID></env:Detail></env:Fault></env:Body></env:Envelope>
    And I am sure that it updated successful in SBO, but I can't find which property I must handle in the xml, if you can find the problem, please tell me, my e-mail address is :[email protected], thank you very much.

  • Production planing time needs to be considered in Sales Order document

    Hi,
    Each finished good will be manufactured in a plant.If we receive the sales order more than the available quantity for the finished good system should give the message of next available timing(Considering stock in hand plus Production planing details) of the material. 
    can we map this functionality using SAP standard feature?
    Kindly advise.
    Regards,
    Vikram
    Edited by: Challa Vikram Reddy on Feb 9, 2009 10:06 AM

    Hi Vikram,
    Have you tried MRP yet?  That is the built-in function for your production planing.
    Thanks,
    Gordon

  • Raw material stock to be consider against sales order in md50(i.e mrp run)

    when i run MD50 against particular sales order, it is not considering stock of raw material. it is creating planned order for raw material which is already in stock. my problem is that when i run mrp it should consider my raw material stock.
    manish.

    Hi Manish,
    Correctly said by all our Experts (Mr.Brahmankar , Mr.Dharma)
    Now all you have to decide whether you want to go for this individual or Collective requirment type.Because on one hand
    - If you select individual requirement then system will not consider available stock and generate Proposals for every single requirments.
    Also you will find PR and Plan order with account assignment of Sales order (in case of MD50)
    - If you select collective requirement then system will not generate planing proposals through MD50.In that case you have to go for individual MRP (MD02 / MD03 / MD41 / MD42).
    Regards,
    Dhaval

  • Ignore the number of schedule lines in sale order item when run MRP

    Dear All,
    I have a problem when I create production order (discrete manufacturing)
    When I create a sale order with one sale order item and 3 schedule lines for this sale order item.
    After that, I run MRP for this sale order, what I get is 3 planned orders for 3 schedule lines. It means that I will have 3 production orders for 1 sale order item.
    I want  create one production order for one sale order item whatever the number of schedule lines in sale order item.
    I think I have to config in MRP. Please help me.
    Thanks in advance

    Dear
    Check in OPPQ then look in Master data Availability Check & strategy for material also check whether u have maintained strategy for same material and see did u extended sales views for other material
    As u said 3 schedule lines for this sale order item check whether u have extended sales views for next material
    With Regards
    Pushpalas

  • Can you save R/3 documents (attachments to sales orders) in KM?

    We have R/3 version 4.6c and KM version 2004.  We would like to have R/3 Sales Order document attachments that are currently stored in the Knowledge Provider - Document Management System to be stored in a NetWeaver 2004 KM Repository.  Has anyone done this? or know how to configure this?

    Tracy, I am not sure if you can store the document attachments in KM but using the KM DMS Connector you can access them from portal KM.
    Cheers,
    D.

  • How to club the following COGS / Sale report, and add sale order value also to this report

    ------------------------------COGS-----------------------------------------------------
    SELECT X.Cardname, SUM(X.Jan) JAN, SUM(X.FEB) FRB, SUM(X.MAR) MAR, SUM(X.APR) APR, SUM(X.MAY) MAY 
                  , SUM(X.JUN) JUN, SUM(X.JUL) JUL, SUM(X.AUG) AUG, SUM(X.SEP) SEP, SUM(X.OCT) OCT 
                  , SUM(X.NOV) NOV, SUM(X.DEC) DEC, SUM(X.GT) GT  
        FROM ( 
        SELECT T0.Cardname 
                  , CASE DATEPART(m,T0.DocDate) WHEN 1 THEN T0.CogsVal ELSE 0 END JAN 
                  , CASE DATEPART(m,T0.DocDate) WHEN 2 THEN T0.CogsVal ELSE 0 END FEB 
                  , CASE DATEPART(m,T0.DocDate) WHEN 3 THEN T0.CogsVal ELSE 0 END MAR 
                  , CASE DATEPART(m,T0.DocDate) WHEN 4 THEN T0.CogsVal ELSE 0 END APR 
                  , CASE DATEPART(m,T0.DocDate) WHEN 5 THEN T0.CogsVal ELSE 0 END MAY 
                  , CASE DATEPART(m,T0.DocDate) WHEN 6 THEN T0.CogsVal ELSE 0 END JUN 
                  , CASE DATEPART(m,T0.DocDate) WHEN 7 THEN T0.CogsVal ELSE 0 END JUL 
                  , CASE DATEPART(m,T0.DocDate) WHEN 8 THEN T0.CogsVal ELSE 0 END AUG 
                  , CASE DATEPART(m,T0.DocDate) WHEN 9 THEN T0.CogsVal ELSE 0 END SEP 
                  , CASE DATEPART(m,T0.DocDate) WHEN 10 THEN T0.CogsVal ELSE 0 END OCT 
                  , CASE DATEPART(m,T0.DocDate) WHEN 11 THEN T0.CogsVal ELSE 0 END NOV 
                  , CASE DATEPART(m,T0.DocDate) WHEN 12 THEN T0.CogsVal ELSE 0 END DEC 
                  , T0.CogsVal GT 
        FROM dbo.OINM T0 
        WHERE T0.DocDate BETWEEN [%0] AND [%1]) X 
        Group By X.Cardname
    ---------------------------------------Sale ----------------------------------------
    SELECT X.CardName, SUM(X.Jan) JAN, SUM(X.FEB) FRB, SUM(X.MAR) MAR, SUM(X.APR) APR, SUM(X.MAY) MAY 
                  , SUM(X.JUN) JUN, SUM(X.JUL) JUL, SUM(X.AUG) AUG, SUM(X.SEP) SEP, SUM(X.OCT) OCT 
                  , SUM(X.NOV) NOV, SUM(X.DEC) DEC, SUM(X.GT) GT  
        FROM ( 
        SELECT T0.CardName 
                  , CASE DATEPART(m,T0.DocDate) WHEN 1 THEN T0.DocTotal ELSE 0 END JAN 
                  , CASE DATEPART(m,T0.DocDate) WHEN 2 THEN T0.DocTotal ELSE 0 END FEB 
                  , CASE DATEPART(m,T0.DocDate) WHEN 3 THEN T0.DocTotal ELSE 0 END MAR 
                  , CASE DATEPART(m,T0.DocDate) WHEN 4 THEN T0.DocTotal ELSE 0 END APR 
                  , CASE DATEPART(m,T0.DocDate) WHEN 5 THEN T0.DocTotal ELSE 0 END MAY 
                  , CASE DATEPART(m,T0.DocDate) WHEN 6 THEN T0.DocTotal ELSE 0 END JUN 
                  , CASE DATEPART(m,T0.DocDate) WHEN 7 THEN T0.DocTotal ELSE 0 END JUL 
                  , CASE DATEPART(m,T0.DocDate) WHEN 8 THEN T0.DocTotal ELSE 0 END AUG 
                  , CASE DATEPART(m,T0.DocDate) WHEN 9 THEN T0.DocTotal ELSE 0 END SEP 
                  , CASE DATEPART(m,T0.DocDate) WHEN 10 THEN T0.DocTotal ELSE 0 END OCT 
                  , CASE DATEPART(m,T0.DocDate) WHEN 11 THEN T0.DocTotal ELSE 0 END NOV 
                  , CASE DATEPART(m,T0.DocDate) WHEN 12 THEN T0.DocTotal ELSE 0 END DEC 
                  , T0.DocTotal GT 
        FROM dbo.OINV T0 
        WHERE T0.DocDate BETWEEN [%0] AND [%1]) X 
        Group By X.CardName

    Hi,
    Use Mr. Gordon's query and concept to create above report for only for Jan month.
    If you need for particular year and for all months, use below query:
    SELECT X.CardName, SUM(X.JanCOG) 'Jan-Cogs', SUM(X.JanINV)  'Jan-Inv',SUM(X.FebCOG) 'Feb-Cogs', SUM(X.FebINV)  'Feb-Inv',SUM(X.MarCOG) 'Mar-Cogs', SUM(X.MarINV)  'Mar-Inv', SUM(X.AprCOG) 'Apr-Cogs', SUM(X.AprINV)  'Apr-Inv', SUM(X.MayCOG) 'May-Cogs', SUM(X.MayINV)  'May-Inv',SUM(X.JunCOG) 'June-Cogs', SUM(X.JunINV)  'June-Inv',SUM(X.JulCOG) 'July-Cogs', SUM(X.JulINV)  'July-Inv',SUM(X.AugCOG) 'Aug-Cogs', SUM(X.AugINV)  'Aug-Inv',SUM(X.SepCOG) 'Set-Cogs', SUM(X.SepINV)  'Sep-Inv',SUM(X.OctCOG) 'Oct-Cogs', SUM(X.OctINV)  'Oct-Inv',SUM(X.NovCOG) 'Nov-Cogs', SUM(X.NovINV)  'VNov-Inv',SUM(X.DecCOG) 'Dec-Cogs', SUM(X.DecINV)  'Dec-Inv'
    FROM
    (SELECT CardName, [1] JanCOG, 0 JanINV,[2] FebCOG, 0 FEBINV,[3] MarCOG, 0 MARINV,[4] AprCOG, 0 AprINV,[5] MayCOG, 0 MayINV,[6] JunCOG, 0 JunINV,[7] JulCOG, 0 JulINV,[8] AugCOG, 0 AugINV,[9] SepCOG, 0 SepINV,[10] OctCOG, 0 OctINV,[11] NovCOG, 0 NovINV,[12] DecCOG,0 DecINV
    FROM (SELECT T0.[CardName], T0.CogsVal,
    MONTH(T0.DocDate) Month FROM OINM T0 where year(t0.docdate) = 2014
    ) S
    PIVOT(SUM(CogsVal) for Month in ([1],[2],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12])) P
    UNION ALL
    SELECT CardName, 0,[1] JanINV, 0,[2] FebINV, 0,[3] MarINV, 0,[4] AprINV, 0,[5] MayINV, 0,[6] JunINV, 0,[7] JulINV, 0,[8] AugINV, 0,[9] SepINV, 0,[10] OctINV, 0,[11] NovINV, 0,[12] DecINV
    FROM (SELECT T0.[CardName], T0.DocTotal,
    MONTH(T0.DocDate) Month FROM OINV T0 where year(t0.docdate) = 2014
    ) S
    PIVOT(SUM(DocTotal) FOR Month in ([1],[2],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12])) P) X
    GROUP BY X.CardName
    Thanks & Regards,
    Nagarajan

  • DI cannot add Previous Period Sales Order

    Hi all,
    Currently, I had a big problem. My client is running SAP B1 2004.2B PL 50 with DI API installed. They are running a very simple customize program to add Sales Order into SAP B1. The customize program simply read a text file (Tab delimiter) and in turn create a Sales Order. It was working fine when their SAP B1 2004.2B is in Patch Level 15. However, after the upgrade to Patch Level 50, the customize program prompt error while adding Sales Order. Error Message: "Date deviates from permissible range [ORDR.DocDate]"
    Anyone have any idea why this occurs? My client cannot downgrade back to lower patch as PL 50 solve the bug on Closing Production Order. Furthermore, it is a very simple coding, just that this PL 50 do not allow posting of eariler documents.
    Anyone can help?
    Below is the coding:
    Private Sub TESTING()
        Dim vcmp As SAPbobsCOM.Company
        Set vcmp = New SAPbobsCOM.Company
        Dim err As Long
        Dim errmsg As String
        With vcmp
            .CompanyDB = "TestingDB"
            .Server = "Server"
            .DbUserName = "sa"
            .DbPassword = "sa"
            .UserName = "manager"
            .Password = "manager"
            .LicenseServer = "Server"
            err = .Connect
            If err <> 0 Then
                Call .GetLastError(err, errmsg)
                MsgBox (errmsg)
            Else
                Dim oSO As SAPbobsCOM.Documents
                Set oSO = .GetBusinessObject(oOrders)
                oSO.CardCode = "CH0002"
                oSO.DocDate = "17/10/2006"
                oSO.DocDueDate = "17/10/2006"
                oSO.DocType = dDocument_Service
                oSO.Lines.AccountCode = "_SYS00000000377"
                oSO.Lines.Price = 100
                err = oSO.Add
                If err <> 0 Then
                    Call vcmp.GetLastError(err, errmsg)
                    MsgBox (errmsg)
                Else
                    MsgBox "Successful"
                    vcmp.Disconnect
                End If
            End If
        End With
    End Sub

    Hi there,
    Answer to your questions:
    1) The period I wanted to post to is set to current/default period.
    2) All the period is active and not locked.
    3) The document date entered is within the period I set to current/default period. (Meaning I want to post a Sales Order in period 2006/08 and the current period had set default to 2006/08, and the document date is in 01/08/2006 (dd/mm/yyyy), but the system date now is 06/11/2006.)
    Now my question is even though I did not set my posting period to the period that I want to post the Sales Order. As long as the period is active and is not locked, I should be able to use DI to post the Sales Order right? When my SAP B1 2004.2B is in PL 25, I can do it without any problem. After I upgraded to PL50 and even PL55, I cannot even post it.
    Lastly, when using DI I shouldn't be bothered about setting the posting period to the correct posting period as DI do not have this function and the customize program is not run within SAP B1.
    Anyone can help?

  • When is a Sales Order considered closed on the system

    Hi,
    At which point does the system consider the Sale orders are closed:
    1. When the delivery document is created?
    2. When the billing document is created?
    3. When the customer's account uis posted to the Account Receivables?
    If you were to check for open or closed Sales Orders, would you check the line item status or any of the specified 'When' stated?
    Is this SAP standard configuration or it depends on the SAP clients' requirements?
    Thanks

    Dear Yosemite Sam,
    At which point does the system consider the Sale orders are closed:
    sales order is considered to be closed, when the total order qty is completely referenced
    i.e,completely delivered if there is delivery
    or
    completely invoiced if its a service order
    If you were to check for open or closed Sales Orders, would you check the line item status or any of the specified 'When' stated?
    if a line item is completely referenced, it does not mean that the order is completed.
    The sales order is complete, if all the line items are completely referenced.
    Hence you may take the header status for completion.
    TABLE : VBUK
    Is this SAP standard configuration or it depends on the SAP clients' requirements?
    It is SAP Standard.
    NOTE:There will be threads on this, hence please search the forum before posting your queries.
    Thanks & Regards,
    Hegal K Charles

  • Sales order stock is considered for requirement

    Hi,
    We are using STO scenarion and the material was subjected to MRP and we are creating STO with sales order as account assignment.
    The Problem here is when the material master MRP 4 BOM explosion / dependent requirement is set to 2 while STO creation it is not considering Sales order stock.
    So we normally change the material master to BOM explosion / dependent requiremt to 1 and Copy the old PO line and creating a new line then we delete old  PO lines. Now the sales order stock is considered for requirement.
    I want to know how the changes in material master BOM explosion / dependent requiremt 1 or 2 should update the stock and requirement automatically to considered the sales order stock or not.
    Kinldy provide me the tips if you have
    Regards
    palani

    HI,
    If you change the individual / collective requirement field to 1, and if the settings for MRP type / lot size are PD /EX, system will always consider it as a special stock material.
    Now it will be a business decision whether to consider this material as a special stock material or plant stock material. Based on this you can change the individual / collective field value.
    Please write back in case you need any additional information.
    Thanks...

Maybe you are looking for

  • HP LaserJet p1505n Error: Load Paper msg

    I have had no problems with my year and a half old (minimally used) hp 1505n printer until recently. Now, when I click the print icon (on WordPerfect) after the Preparing Document messages flashes on and disappears a large message in a window appears

  • WebLogic Server can not start after upgrade from 10.3.3 to 10.3.5

    Hi all, I get follwoing errors after upgrade fmw-share libraries (WLS 11.1.1.3 to 11.1.1.5), if I want to start AdminServer. It seems CLASSPATH is not updated correct. How can I solve this issue? <Jan 19, 2012 8:31:34 AM EST> <Critical> <WebLogicServ

  • Final Cut Pro Freezing

    When I open Final Cut Pro, it opens fine. I check out sequences for about 30 mins without any issues. Then I edit something in one sequence. I am able to do my editing just fine. But then I get a message that the project is loading. I thought that th

  • Install/Upgrade from 9.3.3 to 11.1.2.1

    Gurus, We are upgrading from 9.3.3 to 11.1.2.1(Distributed environment) and have gone through the 11.1.2.1 start here , installation and configuration guides. Existing environment: Machine1(Windows 2003 R2): Hyperion Shared Services, EAS webapp,Essba

  • INSERT into BLOB

    I want to insert image/bFile into blob data. I need the insert statement on that data. Thanx.. Ratan