How to Overrride ATP values during sales order creation

Hi all,
How i override ATP values during sales order creation.
The scenario is that we need to migrate open orders from an existing legacy system to SAP.
While migrating these orders, we need to make sure that dates on the schdule lines are same as they are in the old system. Hence we need to override ATP.
Any suggestion welcome..
Regards,

Hi Kantur Shekar madhuri,
Would you confirm the whether in your schedule line category is activated for "Product Allocation" or not.
if not please activate and re run your scenario.
Regards
Arun

Similar Messages

  • How to delay stock confirmation during sales order creation

    We have following requirement -
    Whenever an order is created, even though stock exists, it should not confirm it right away. We need the delivery date to be current date + 7 days.
    This will help us avoid new orders consuming the stock.
    For example:
    Order 1 created; There was no stock; Hence no confirmation
    Order 2 created; There was no stock; Hence no confirmation
    Order 3 created; There is stock; At this stage, the order quantity should not be confirmed even though there is stock since there are 2 old orders waiting.
    Therefore whenever an order created, delivery date should be in future so that older orders get first preference when stock is available. This is material specific i.e., for  some it might be 7 days and for few it might be 10 days.
    We either want the delivery date to be a future date or the order quantity should not be confirmed even though there is stock.
    We saw that there is lead time in the sales order type customizing, but this will be applicable to all the materials which is not what we want.
    Is there any way we can achieve this by just customization and not use user exits.

    Hi Kantur Shekar madhuri,
    Would you confirm the whether in your schedule line category is activated for "Product Allocation" or not.
    if not please activate and re run your scenario.
    Regards
    Arun

  • Dump during sales order creation for a config material (uding order BOM)

    Dear all,
    I am getting the following error during sales order creation for a configurable material
    When I click on 'Engineering' tab in the characteristics value assignment for the parent material i.e. sales order material I get dump with following message,
                                   'Field symbol has not yet been assigned'
    Thanks,
    Yogesh

    Yogesh,
    what was the problem ?
    Thanks,
    Pavan Verma
    Edited by: Pavan Verma on May 11, 2010 9:31 AM

  • Capacity check during sale order creation

    hi,
      i have the following doubts,
    1. During sale order creation i need capacity availability check for that i make settings, its working good,if i put the order in the evening time but system take the start time as morning shift starting time.can any one guide me to take the time as the order creation time. and also help me how the system check the capacity.
    2. During sale order creation , if suppose capacity is loaded means it will show a pop up with the name capacities with overload,
      Here i need the clarification how the system calculate the requirements and requirements order, capacity load, from where the system get the information for these calculation.
    Muthamil

    Hello, you are working with a make to order scenario, that means that a planned / production order must be created to address specifically your customer requirement ??
    By standard SAP you can have a capacity availabily check once the production order is in the creation phase....but this should be too late for you.....

  • Update error in  RV_SALES_DOCUMENT_ADD during Sales order creation

    I get an Update/ ABAP runtime error during Sales order creation. The error occurs during processing of the update module -RV_SALES_DOCUMENT_ADD.
    This error does not occuring always, as I am sometimes able to create a Sales order without getting update error. I am getting the error of all types of Sales orders and even contracts.
    Am I missing any configuration parameters?
    Thanks,
    Chitra

    Yes , I can see the error in ST22.
    While exceuting VA01 (Oder type OR, Entering Sold-to-party, Purchase order NO, Material, Qty, Plant),
    - I get run-time error "Run-time error "GETWA_NOT_ASSIGNED" occurred".
        Analysis of error shows:
         Update terminated in "Update module: RV_SALES_DOCUMENT_ADD"
          Fails in the Read table in one of the form
            Termination occurred in the ABAP program "SAPLV45U" - in "VBAP_BEARBEITEN"
    The main program was "RSM13000 ". In the source code you have the termination point in
    line 147 (READ TABLE FYVBAP WITH KEY VBAP_KEY.)
    of the (Include) program "LV45UF0V".
    The ABAP's say the functional module is trying to do an 'UPDATE' instead of 'INSERT" in the internal table FYVBAP.
    Thanks,
    Csuman

  • 100% advance payment during sales order creation

    Dear Experts,
               One of our international client is having one requirement for collecting the 100% advance payment from customer during sales order creation itself. Our customer is in Germany.
    For high risk customers they want to collect the advance payment for 100%. And if this 100% advance payment was not paid by customer then, sales order should not be processed.
    And during regular sales invoice creation the same down payment also needs to be displayed in the invoice as advance payment.
    Is it possible to setup this process using milestone billing.?? .or some other process is available to setup this process.
    Thanks for your cooperation.
    Warm Regards,
    Velmurugan

    Hi
    Try with this with Credit management.Put High Risk with Error message.
    When ever you will Create Sales Order it will Block due to Credit Chech.For this scenario Enter the Parking  Vale at F-66.
    Then make a entry for Customer-CR to BANK-DR.
    This may solve ur requirement.
    Regards
    JS

  • How many table are affected when sales order creation(O2C)

    Hi all,
             HOw many table are affected when sales order creation, can any one please help ,and please give me a description indepth please please. I know some of the table affected
    Thanks&Regrads,
    Surya

    Hi Kantur Shekar madhuri,
    Would you confirm the whether in your schedule line category is activated for "Product Allocation" or not.
    if not please activate and re run your scenario.
    Regards
    Arun

  • User Exit during Sales Order Creation - New Line Item needed

    I have a situation during the process of sales order creation. If a Material in a line item has say 27 EA and the Base Unit is EA. But the Sales Unit is CSE. Then whenever the user enters 27 EA and presses enter he should get two line items.
    The first line item needs to convert to maximum number of CSE posible and the rest will be the second line item with the remaining EA. The order isn't important but that is what is needed. Question is how do I approach this problem and code my user exit accordingly and where do I code it.
    I was looking at SAPMV45A and saw the program MV45AIZZ which is meant as a user exit for any PAI event handling. If anybody has encountered this kind of requirement can you please share your view on this.
    I will definitely reward points for useful answers.
    Clark

    Hello Mahendra
    The requirement is as follows :
    PART 1:
    Sales Order Enter: 
    1.     When a line item is entered on a sales order (VA01 or VA02), at enter, check the sales unit of measure (VBAP-VRKME).
    •     Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP.  TANN are free goods that should not be considered for consolidation.  TAPS & ZTAP are lower level materials as a result of product selection.  They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
    •     Do not check items where VRKME <> EA
    2.     If VRKME = EA, go to MARM for MATNR.
    3.     Go to record where alternate unit of measure (MEINH) = CSE, get the value from the numerator field (UMREZ).
    4.     Divide the order quantity (VBEP-WMENG) by UMREZ.
    5.     If the result is greater than 1.0, the customer has ordered more than one case and a new line item needs to be added to the sales order for the case quantity.
    6.     Add a new line to VBAP for the same material with the case quantity.  If not a whole value, the remainder of eaches (bottles) should update the qty on the first item on VBAP.
    •     Part 1 is relevant for order types ZCA, ZOR, ZSO, RE, ZSM
    PART 2:
    Batch Job to run prior to the Delivery Due List:
    1.     Read VBUK for Delivery Status (LFSTK) = A (delivery not processed).  Get all of the document numbers (VBELN).
    2.     Go to VBEP for those document numbers to get the goods issue date for the order.  There will be many records in VBEP for the same sales order.  Look at all orders with a goods issue date (WADAT) of next day.
    3.     Go to VBAK for those document numbers to see if there are multiple sales orders for the same Sold To party (KUNNR).
    4.     For customers who have more than one order in VBAK, search all line items (for all orders).  If there are no duplicate materials across sales orders, do nothing.
    •     Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP.  TANN are free goods that should not be considered for consolidation.  TAPS & ZTAP are lower level materials as a result of product selection.  They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
    •     Do not check line items where reason for rejection (VBAP-ABGRU) is not blank
    5.     If there are duplicate materials, go through the same logic as in part 1.  If the quantity across the sales orders adds up to greater than one case, add the appropriate quantity to a new line item on the first sales order.   If there is a remainder qty, update the line item on the first sales order with this qty. In this case, the quantities on the second sales order needs to be closed out with a reason for rejection code of 50, ‘Line Item Consolidation’. If there is no remainder,  update the qty on this item directly.
    •     Part 2 is relevant for order types ZOR, ZCA, ZSM
    •     This batch job will have to be run manually for Day Pick orders.  The end of this program should automatically kick off the delivery due list for Day Pick orders, shipping condition 02.
    Business Justification:
    The business requires that like order line items be consolidated to one line item prior to the order going to the warehouse for picking.  This will aid in picking at the warehouse as well as result in the customer invoice not reflecting more than one line item for the same material.  In the case where the customer has truly ordered more than a case, i.e;, 1 case, 2 bottles, the documents in SAP will still reflect 2 lines.

  • Replacing Profit Center value while sales order creation process - VA01

    Hi,
    Profit Center replacement   in Tcode VA01 and VA02
    I want to replace the profit center value (COBL- PRCTR) in Account assignment TAB in sales order creation time VA01 and VA02 by using custom logic (Line item Material Group and Sales District VBKD-BZIRK).
    Can anyone tell me what exit or BADI I can use for this ( I tried some of them and not working properly).
    1.     In Exit I need to have the value of Sales District VBKD-BZIRK and Line item u2013 Material Value  - These 2 field values I need in the exit.
    Thanks in advance.
    Rajesh.

    What do you mean this is not correct user exit. That is an include and there are user exits within that include.
    Have you tried save document prepare?  If yes, what have you done?
    Don't just blindly say 'that is not correct' or don't expect someone code for you. You better try in different way and learn how to do it. I just got it worked in my system just in 5 minutes in debug.
    You are not going to change COBL-PRCTR but you should change XVBAP-PRCTR.
    put a break point in userexit_save_document_prepare in include MV45AFZZ
    Loop through XVBAP and change PRCTR as per your logic.... This changed PRCTR carried till end (billing document/accounting document). I can see the profit center document with changed profit center.
    Good luck... if that solves. Mark this thread appropriately.
    Most importantly, you better close your previous threads if they are answered. if you solved by yourself post the solution so that others can benefit from that. 
    @moderator, please check this guy posts
    Edited by: Sampath Kumar on Apr 28, 2011 1:16 PM

  • Sap afs - how to customize matrix grid in sales order creation

    Hello,
    can anyone help to understand how to customize the matrix grid shown at sales order creation/change (VA01 - AFS Item overview tab - Matrix entry pushbutton). Here system, starting from inserted material nr, shows all possible combination from material's sales grid. The requirement asks to manage the matrix grid before it is shown to the user.
    Thanks in advance for your help
    maurizio

    Hi
    It depends on master data of your material
    Max

  • BADI triggered during sales order creation

    Hi,
    Can any one please let me know the BADI triggered during sales oredr creation and  sales order change.
    Thanks

    <b>BADI for VA01:</b>
    ALV_SWITCH_GRID_LIST     ALV: Customer Exit for Switch Grid to Li
    BADI_ISPS_GRANT     BADI for IS-PS Grant Management
    BADI_SD_DMC_ORDER     BADI for Dispute and Collection Manageme
    BADI_SD_DPBP     Extensions in SD for DP90 with Billing P
    BADI_SD_DSD_ORDER     BADI for Direct Store Delivery
    BADI_SD_MENUE_FM     Menu Enhancement for Fund Management (FM
    BADI_SD_MENUE_TPM     Menu Enhancement for TPM Retrofit
    BADI_SD_SALES     General Enhancements for Sales Order Pro
    BADI_SD_SALES_BASIC     Enhancements for Sales Order Processing
    BADI_SD_SALES_ITEM     Enhancements for Sales Order Processing
    BADI_SD_TAB_CUST_H     Tab Page for Own Details - Header Detail
    BADI_SD_TAB_CUST_I     Tab Page for Own Data - Item Detail Orde
    BADI_SD_TO_FM     Commitments Management in SD for Funds M
    EHS_DG_002     EHS: Template Material Processing - Inte
    EHS_PS_002     EHS: Call Report Information System from
    EHS_PS_002     EHS: Call Report Information System from
    EHS_PS_002     EHS: Call Report Information System from
    SD_COND_ACCESS_A     Access in Pricing (replacement)
    SD_KONV_SELECT     Addition to Data When Reading KONV
    SD_PRICING_COPY     Enhancement for Copying Document Conditi
    VBX_SO_SEL_CRITERIA     Batch Selection Criteria in Sales Order
    <b>BADi for VA02</b>
    ALV_SWITCH_GRID_LIST     ALV: Customer Exit for Switch Grid to Li
    BADI_ISPS_GRANT     BADI for IS-PS Grant Management
    BADI_SD_DMC_ORDER     BADI for Dispute and Collection Manageme
    BADI_SD_DPBP     Extensions in SD for DP90 with Billing P
    BADI_SD_DSD_ORDER     BADI for Direct Store Delivery
    BADI_SD_MENUE_FM     Menu Enhancement for Fund Management (FM
    BADI_SD_MENUE_TPM     Menu Enhancement for TPM Retrofit
    BADI_SD_SALES     General Enhancements for Sales Order Pro
    BADI_SD_SALES_BASIC     Enhancements for Sales Order Processing
    BADI_SD_SALES_ITEM     Enhancements for Sales Order Processing
    BADI_SD_TAB_CUST_H     Tab Page for Own Details - Header Detail
    BADI_SD_TAB_CUST_I     Tab Page for Own Data - Item Detail Orde
    BADI_SD_TO_FM     Commitments Management in SD for Funds M
    EHS_DG_002     EHS: Template Material Processing - Inte
    EHS_PS_002     EHS: Call Report Information System from
    EHS_PS_002     EHS: Call Report Information System from
    EHS_PS_002     EHS: Call Report Information System from
    SD_COND_ACCESS_A     Access in Pricing (replacement)
    SD_KONV_SELECT     Addition to Data When Reading KONV
    SD_PRICING_COPY     Enhancement for Copying Document Conditi
    VBX_SO_SEL_CRITERIA     Batch Selection Criteria in Sales Order
    Regards,
    Nilesh

  • How to trigger an Idoc from Sales order creation and change

    We are trying to trigger Idoc from sales order creation and change we have done following setting mentioned below:
    Follow the below steps:
    1. Go to NACE transaction
    2. Select V1 application and select OUTPUT TYPES
    3. Select the required output type and double click on Processing routines.
    4. Enter Medium as DISTRIBUTION ALE, Program as RSNASTED and Routine as ALE_PROCESSING.
    5. Save it.
    message type ORDERSP in the distribution model (BD64).
    Follow the below steps to configure the condition records:
    1. Go to NACE
    2. Select V1 application and select CONDITION RECORDS
    3. Select the requred output type and click on Condition records
    4. Selection screen will be displayed.
    5. Go for execution. In that screen enter the selection criteria. For eg Condition record is based on Sales document type. Then
    Sales doc type = OR
    Funt = SP
    Partner = blank. It means there is no restriction on partner numbers.
    Medium = A
    date/time = 4
    Lan = EN.
    Note: partner is left blank means, the sales order of type OR can be send to all partners.
    6. Save it.
    We also done ALE configuration.
    We are facing problem that from VA02 "No output has been selected for printing Message no. V1102"
    Kindly suggest the solution.
    Regards,
    Sharad Dixit

    Hi ,
    Please check the total error description and diagnosis as below :
    InVa02 enter SO  go to extras->output->Header->edit.You can find a table with all the triggered output types. Choose the output type BA00 with medium Distribution ALE and go for 'Processing log'. It will show you the error description.
    Please paste the diagnosis .
    Thanks and Regards,
    P.Bharadwaj

  • One Time Customer Mandatory field during Sales Order Creation

    Hi
    My client has lots of one time customer and they need to capture the phone number  and name of the individual customer at the time of sales order creation using one time customer code.
    They want only "NAME & PHONE NO" as mandatory field so that the Person who creates a Salesorder should enter the NAME & PHONE NO" . Please let us know where the configuration for teh above is?
    We have tried in Account Group One time customer settings which is working at the time of creation of order and not at the time of creation of Sales Order, please help us on the above..
    Regards
    Anis

    Hi Anis,
    In the Account group , if you check the one-time customer then while creating the sales order itself it will appear to change the address for that customer.
    By the time you can enter your required fields.
    I think you mentioned as
    We have tried in Account Group One time customer settings which is working at the time of creation of order and not at the time of creation of Sales Order, please help us on the above..
    Order creation and creation of sales order are both same.
    May be you would have confused.
    regards,
    santosh

  • How to get PERSON_RESP value? (Sales Order)

    Hello experts,
    I am extremely new to ABAP programming. I am learning BOL programming, creating BAdI's and all that stuff and to be honest I don't really get it.
    First of all I would appreciate directions where I may find valuable information. How to determine which table do I need, what method is designed to do what thing.
    Right now I am struggling with creating a BAdI (actually modifying the order_save one). I want to put into DESCRIPTION field the following values: CREATED_AT, CREATED_BY, current date (date-sylo) and PERSON_RESP. I wrote or actually copied from the Internet most of working code. Now my BAdI works almost what I wanted it to work except it doesn't put into description PERSON_RESP value, because I don't know where to find it. There is no PERSON_RESP value inside crmt_orderadm_h_wrk table.
    I will be very grateful for any clues and advices.
    Looking forward hearing from you.
    Thank you in advance

    hi
    Once deleted it is not possible to know the details of sales order.
    for deleted sales orders and who deleted check table <b>"cdhdr" and "cdpos".</b>
    goto se16 and try with the above tables
    chages header and item respectively
    regards

  • How to pass condition values fom sales order to packing list

    Hi!
    I need to show price amounts on the packing list printout from VL03N based on the condition value from the sales order document. Can anyone suggest how this can be achieved?
    Thanks!
    Cholen

    I think I have found a solution:
    - select vbak-knumv from sales order of delivery then select the condition values from table konv where vbak-knumv = konv-knumv.
    One can filter by kschl (condition type) if only particular amounts based on condition type need to show up.

Maybe you are looking for