How to Avoid sales orders from getting released

Hi,
We have done following :
1. Created sales orders in AT org.
2. Ran ASCP plan
3. Sales order is considered as demand and the corresponding planned order is created in AT org.
4. corresponding Internal Requisition is created in AT org and internal sales order is created in BE org (The sourcing rule for AT suggests to transfer 100% from BE).
5. Now again the ASCP plan is run.
6. The same sales order is again considered as demand and all the corresponding documents are also created (means, planned order, internal requisition, internal sales order).
The requirement is that the sales order should continue being considered in the plan run as the demand so that it can be taken in the ATP calculation, but the corresponding IR should not be created each time the plan is run.
I have modified the Visible_demand_flag of sales order line as 'N'. but problem is that orders are not even getting considered as demand till the flag is again reset as 'Y'.
Please help is this. This has to be displayed in UAT to users.
Regards.

1)     Planning should not recommend new planned order if there is already a requisition to fulfill SO demand. Did you see that every time, a new planned is created for same SO demand ? Then you would need to ensure that Requisitions are being collected.
2)     To prevent releasing the Planned Order – this can be done by populating item attribute ‘Release Time Fence’ – Kanban Item (Do Not Release)

Similar Messages

  • How to stop sales orders from contracts from qualifying for Rebates.

    We have set up rebate agreements for customers and they are working as expected.
    Now our sales people want to start using contracts for some special deals for certain customers and products. But they DO NOT want these sales orders from these contracts to qualify for rebates.
    Does anybody know how we can set this up or if it is at all possible?

    Hi Zoya,
    I got one more idea and so try it out.If it sounds foolish please ignore.Instead of going for userexits its better you go for a different sales order type whenever you refer to a contract.And make sure you assign a different pricing procedure which does not contain the condition type BO03 at all.Ofcourse this new sales document should have a different document pricing procedure.
    Regars
    Ravi Kiran

  • How to delink sales order from a discrete job.

    Hi,
    I wanted to know how we can delink sales order from a discrete job.
    Thanks

    Go to the reservations screen in inventory; find the reservation using item number or sales order #
    Delete the reservation.
    Alternatively, you can go to the wip job and click on reservations and delete it.
    Hope this helps,
    Sandeep Gandhi

  • 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

  • How to remove sales orders from VL10A

    HI All,
    I had an issue from production system. Few orders are already delivery and accounting completed, still those orders are being displayed in VL10A. I have checked those orders and there are not schedule lines due for shipping. Sales order/delivery/invoice shows completed in the document flow.
    For the timebeing i have given workaround solution to exclude those orders from selection screen in VL10A.
    Could you suggest the permanent solution not to display those orders in VL10A, which are already shipped and no due for shipping.
    Thanks in advance and waiting for your suggestion.
    Regards,
    Vamsi.

    HI Raghu,
    Thanks for your inputs of the program, but it has no options to choose.
    Analysis:
    This could have happened due to Inconsistency in delivery due index tables.
    I referred OSS Notes: 128947 & 178328, executing  the reorganizing program u201CRVV05IVBu201D for the problematic sales orders to remove inconsistency.
    Please ensure to execute the report with proper selections in the initial screen even online i.e on business hours..
    Hope this would help to anyone in future.
    Regards,
    Vamsi.

  • How to exclude Sales Orders from a planning run

    Hi,
    I run MD02 and i discover that planned orders are being created as procurement proposals for sales orders and the planned independent requirement.
    I want planned order to be created only for the Planned independent requirements ONLY.
    Is there a way that sales orders can be excluded from the planning run?
    Thanks in advance for your suggestions.

    Dear,
    Check the requirement type of your sales order line item in VA02 procurement tab it should be Reqmt type of customer reqmt   KSL
    Also check the strategy assign in material master and MRP group OPPR and then check the setting of strategy 10 in OPPS there should be
    Customer Requirement planning
    Reqmt type of customer reqmt   KSL  Sale frm stck w/o ind.req.red.
    Requirements class  030  Sale from stock
    Allocation indicat.     No consumption with customer requirements
    No MRP   :-               1 Requirement not planned, but display.
    Please try and come back.
    Regards,
    R.Brahmankar

  • How to avoid sales order creation for expired contract

    Hello,
    Is there any way to prevent creation of sale order reference to expired contract?
    Please suggest.
    Thanks,

    Hi,
    As Shadu says,  create your own VOFM subroutine using '001' as a model and set it in VTAA. You can see in this subroutine this coding:
    * Check the validity period of the reference document
      if vbak-angdt > 0 and
         vbak-angdt > sy-datlo.
        write vbak-angdt to bp_datum_ausgabe.
        message w008 with bp_datum_ausgabe.
      endif.
    Replace the warning message (it's hardcoded) by other and use the field of date that you need.
    If you need something else, dont hesitate to tell us.
    Regards,
    Eduardo

  • How to right a logic to get sales order from agnetry in salesordercreateBAPI

    I am working on a Agentry project where I need to get the Sales Order number from backend SAP, for any newly created SalesOrder. When the User creates a new Sales order, he gets a local order id on the client device. When the user transmits data, the Original Sales Order number should be fetched from the backend.
    Kindly help me to create the JAVA coding for this task.
    Regards,
    Sumit Goyal
    Tags edited by: Michael Appleby

    Hello Surya,
    There is no such direct way to get the data but you can follow the below process.
    You can get this details by defining/designing a new Query.
    To develop a new query
    1. use SQ01 through infoset create query
    2. Use SQVI direct query by giving table.
    Purchase Requision :-
    Use Table EBKN  for the same and give field VBELN as selection field. Input your sales order it will give you the purchase requisitions exist against the sales order at output level.
    Purchase Order :-
    Use Table EKKN  for the same and give field VBELN as selection field. Input your sales order it will give you the purchase orders exist against the sales order at output level.
    Hope it will help.
    Regards
    AG.

  • 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

  • Blocked sales order is not released from VKM3

    Hi
    We are using credit management and when a sales order is created with the amount, which is more than credit limit, system is blocking the sales order for delivery. Values are getting updated in FD32 and S066 and S067. When i tried to release the sales order from VKM3, sales order was displayed, but when i selected the release flag and saved it, still the order is not released. Order is having credit limit block in sales order in shipping tab at header level. Why system is not releasing the sales order even it is displayed in VKM3
    Please respond
    Regards
    Srinivas

    hi,
    check the following steps of assignment you did right or not
    1)first check in  t- code FD32 U  assigned authorization person & each credit limit U shud assign
    an authorization person along with credit limit
    2) check - conditon records with KRML output is there or not
    please read standard SAP config help as a check point doc.....[Credit mgmt|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/SDBFCM/SDBFCM.pdf]
    let me know if it is soling your issue
    Regards,
    Rajeev

  • How to create a Sales order from multiple quotations?

    Hi All,
    Please tell me how to create one sales order from multiple quotations?
    Regards,
    Maddy

    Hello Maddy,
    To create the sales order from multiple quotation, you should put the value "F - Only at item level: Always with selection option" under Quotation determination in your sales transaction type.
    It will give you a pop-up to choose your quotations item while creating the sales order.
    Some per-requisites are there:
    1. Copy control should be maintained between your quotation and sales order.
    2. Quotation should be error free and should have the status "Released"
    3. Sold to party and Organization should be same in both transaction.
    For more information you can check the below link:
    Processing Quotations - Sales Transactions - SAP Library
    Best Regards,
    Dinesh

  • I want to load a sales order from xml file. How can I do.

    Hi,
    I want to load a sales order from XML  file. How can I do ? how can i create the sales order?
    what are the necessary  setting for  create the sales orders.
    with Regards,
    Prakesh.

    Three options come to my mind.
    Option 1: Use SAP transaction SXDA_TOOLS (Object Type BUS2032), Program Type (BAPI) and Program (CREATEFROMDAT2).
    Option 2: Use SAP transaction SXDA_TOOLS (Object Type BUS2032), Program Type (DINP) and Program (RVINVB10).
    Option 3: Translate the xml to IDoc so that ORDER04 / ORDER05 Idoc can be used to create Sales order (WEDI transaction).

  • Sales orders from CRM are not getting blocked with credit check

    Hi All
    I have configured ECC in such a way that , if cutomer does not have enough creditlimt, then those sales order will get blocked. Our orders will come from CRM, and some times some orders are not getting blocked with credit check even though the customer does not have credit limit. And at the same time some orders are blocked with credit check...what are all the things that should be checked to diagnose the problem.
    Thanks in advance for looking into this

    Please check if you have any custom code/user exit in ECC which uses transaction code (VA01 , VA02 or VA05 etc) prior to invoking credit checks. 
    Orders created via CRM will not have transaction code set (SY-TCODE).

  • Releasing Sales Orders from SNP to DP at correct levels

    We have a requirement where we want to do month to date tracking of sales orders in DP compared with the forecast. We have three important characteristics in DP at which we want the data to be released - Product, Location and Customer. Is there a way to release Sales Order data from SNP to DP at such a detailed level ? A product at a location could have sales orders from multiple customers.

    why would you want to send Sales Orders from SNP to DP
    Why not load it into DP planning area through a cube in the DW workbench directly
    As far as i know you can only trasfer from SNP to DP in Product Location (or similar characterstic Level) 
    DP to SNP demand transfer can use descriptive characteristics but dont think you can do it in reverse

  • Block Sales order from production and shipping.

    Hi Experts,
    I have a requirement to block sales order from production and shipping if the credit limit of the customer is beyound the allowed value.
    Also sales order should not show demand for production until it has been released.
    Can someone throw light on how to acheive this?
    Regards
    Balu
    Edited by: balu umapathy on Sep 13, 2010 6:39 AM
    Moderator message: please work yourself first on your requirement, ask specific question later if required, always search before posting.
    locked by: Thomas Zloch on Sep 13, 2010 1:10 PM

    I will pass only the Prod Order as input. And I should get the Sales Order information... Very important is I need the schedule Line Number along with the Sales order and item.
    To recap once again,
    In MD04..or in BAPI MD_STOCK_REQUIREMENTS_LIST_API, I pass the input
    WERKS - Plant Code
    MATNR - Material Id
    Output should be like this,
    MRP element                                     MRP Element Data
    PrdOrder                                           OrderNumber/OrderType
    CusOrder                                          Salesorder/Item/ScheduleLine1      
    CusOrder                                          Salesorder/Item/ScheduleLine2
    PrdOrder                                           OrderNumber/OrderType
    so with the output, how can I find the Salesorder/Item/ScheduleLine for a particular prod order? I think I am clear with my question.

Maybe you are looking for