Condition value need to change at quotation level not in sales order

Hi,
As client requirement, Condition value and new condition type can be added at Quotation if Sale Order is created with reference of same Quotation than system should not be allowed for editing or adding new condition type.
If Sales Order is created without reference than system should be allowed for edit or add condition.
Please resolve my query.
Thank You!
Chakradhara

Hi Chakradhara,
you need to define a requirement in VOFM where you check table VBFA field VBELV.
If system retrieves data when accessing to this table with VBELV equal to your quotation number and VBTYP_N equal to C (sales order) means that sales orders have been created from your quotation. If so, then field sy-subrc should be equal to 4.
When you add your new condition to your price schema, don´t forget to place the requirement created in column requirement.
Ask for the help of an abaper for coding the requirement.
Regards,
JM

Similar Messages

  • Make-to-order. Requirement linked to Quotation and not to Sales Order

    After we have changed our Make-To-Order Materials from unvaluated sales order stock to valuated Sales Order Stock we do face a problem with the Requirement for those Sales Orders lines which are started with a Quotation. After running MRP a planned Order is created (ok) but the Planned Order is linked to the Quotation line and not to the Sales order line. When converting the Planned order to a Production order the AFPOD-KDAUF field is the number of the Quotation and unfortunately not the Sales Order number.
    The Quotation looks ok. Item category is AGN and Schedule line category is BN (no MRP). When converting the Quotation into a Sales Order the Item category change to TAN and schedule lin category is now CP.
    The copy rules QT -> OR (VTAA) shows copying requirement = 501 Schedule qty >0 and DataT = 201 General Schedule line Data
    Anyone got a clue about where to look? ¨
    Thanks in advance
    Ken

    Hi Guys
    Thanks for your proposals.
    The Materials involved are standard items (FINI -> NORM) and our Set-up with item category TAN works perfectly when we create a Sales Order without a Quotation first. And the way we solve the problem manually right now is to convert the Quotation and delete in line item and recreate them manually. 
    I found that if i delete the requirement type in the Quotation and then convert the Quotation into a Sales Order then the Planned with be linked to the Sales Order = perfect.
    Any other ideas
    Best
    Ken

  • Cash discount calculation at invoice level not at sales order level

    Dear Friends
    while i am executing the sales cycle creten Cash discount conditions are calculating in the Invoice directly not in sales order.
    can you please let us know your views oin what basis iot calculating directly in the invoice, since payment terms is there in both sales order and invoice level. but discount is only appearing at invoice level, not in the sale order level..
    where these setting incurred in this process. i have verifies all the routies, there is no such kind of logic to calculate in a particular palce.
    treat this one as high priority and let me know.
    Thanks
    Raju.

    Hi
    while i am executing the sales cycle creten Cash discount conditions are calculating in the Invoice directly not in sales order.
    can you please let us know your views oin what basis iot calculating directly in the invoice, since payment terms is there in both sales order and invoice level. but discount is only appearing at invoice level, not in the sale order level..
    Please check your Pricing Procedure, whetehr against your Cash Discount Condition Type, Requirement 24 or 23 is maintained? If it is maintained remove these requirements and save. Then try to run the transaction.
    Regards,
    Amitesh Anand

  • Incompletion log Profitability Segment at item level in the Sales Order

    Hello Sapians,
    We recently activated the "Sales Order value flow to COPA". When we create the Sales Orders the Profitability segment for the item is getting picked up automatically and have no issue in saving the Sales Order.
    But when we edit the Sales Order and then try to save it, Sales Order has incompletion log which is leading to Profitability segment in the item level.
    When I click the little box in Sales Order Item > Account Assignment tab> Profitability Segment forward arrow--> "continue" or "derivation" in the populated screen, then the Forward arrow in the profitability segment is deriving the characteristics, then system lets us to save the Sales order with out any incompletion log.
    I checked the OSS notes 114520, in this OSS note, my sitiuation is exactly first point but could not get any clue how to resolve automatically.
    Why it is happening only when we edit the Sales Order? How to update bulk of Sales Order automatically?
    Any inputs?
    Thank you.

    Hi
    Since you have activated the Sales order flow to COPA, any change in the sales order triggers a Prof Segment redetermination.... Thats why you are able to save it once you redetermine the Prof Segment....
    Ideally, if no Chars like Plant/Org Elements/etc are changed - It need not trigger the Prof Segment redetermination...
    Refer  Note 729381 - When is a profitability segment supposed to be determined?.... With ref to this note, raise an OSS msg to SAP and check if it is possible to avoid the redetermination of PSG as long as none of the relevant chars are changed in the sales order....
    There is a similar issue in MTO where by, even if you change the Header text of sales order, it triggers the Sales order cost estimate.... SAP provided a note to stop this... Note 1548608 & 1260868.... Your case is similar to this.... Raise an OSS to SAP and ask them if they can provide such a note for your case.... I feel, it should be possible for SAP to give this!
    br, Ajay M

  • Any Change in PR00 should block the sales order

    Dear All,
    i have a requirement that whenever anyone changes the price(PR00) in the sales order, it should be blocked. Basically we want to control any price changes at order level.
    Can someone please suggest any other option how to control the same....
    Thanx in advance...

    Hi
    One of the option is to handle the requirement using user exits. Since the value can be changed manually during create and change of sales order, the logic should be different for the two scenarios.
    During create(VA01), if the value for the field KOMV-KHERK (Condition Origin) is 'C-Manually entered'  then the document should be blocked. You can see this field in the sales order by selecting the condition and click on the blue lens. This option is not useful for VA02 because this field will always have C and every time when the order is saved from VA02, the order will be blocked.
    During sales order change (VA02), the system should check the current value of PR00 and the value exisitng in the table KONV (passing the document condition number) and if there is a difference, then the document should be blocked.
    This is one of the alternative. You can also find a better field that can handle both the scenarios.
    Thanks,
    Ravi

  • Change in an LOV query of Sales Order Form not working

    Hi,
    I wish to change the the Order Type (in the Sales Header) displayed in the Sales Order Form when viewed from a particular Responsibility.(11i Instance)
    To be specific only certain order types should be displayed in the LOV when the User tries to create Order from that Responsibility.
    In that process I created an FP with Action --> Builtin -->Create Record Group From Query
    Then in Property-->Object Type-->LOV and Target Object -->ORDER_TYPE Value-->Name of my Query Group
    I downloaded the Sales Order Form and modified the Query of the Group keeping the columns selected and the view used same and added in the Group I created.
    But it didn't work out.
    I tried out by changing my Target Object to SRV_ORDER_TYPE and its corresponding query from the Oracle Form.
    But still it didn't work.
    Please tell me where I'm going wrong.
    Am I not choosing the correct target record group LOV?

    Hi Robert,
    I have successfully accessed a matrix using Visual Basic .Net. It has been quite a challenge while I was at it.
    One important thing to understand is that (unless you access the datasource) in order to access a particular control in a matrix object, this control needs to be visible and enabled. It is like simulating a user accessing the matrix via GUI... if a control is not enabled, you cannot access it (as said via control). That might explain question 1.
    Short sample on matrix handling is here:
    http://www.itwiki.net/ow.asp?SboHowToReadFromAndWriteIntoMatrix
    <b>Q2 - Cell count:</b>
    I have personally never used the Cells count method. It should always return the number of rows. My only guess here is that you are using an old reference on the matrix object in which the rows are not there yet.
    Dim oMatrix As SAPbouiCOM.Matrix
    Dim oColumn As SAPbouiCOM.Column
    Dim oEditText as SAPbouiCOM.EditText
      oMatrix=YourSboForm.Items.Item(38).Specific
      oColumn=oMatrix.columns.item(strColumnname).specific
      oEditText=oColumn.items.Item(1).specific
      Msgbox(oEditText.String)
    The above code should get you the first cell of the first row of the given matrix.
    HTH Lutz Morrien
    P.S.: If you need any more sample code, check with the SAP matrix sample or send me a mail (adress see Http://www.itwiki.net)

  • Shipping point at Item Level of a Sales Order

    Dear Gurus,
    Can anyone explain to me step by step how can I copy:
    1- The shipping point
    2- The route
    At Item level of a Sales Order in VA01
    Many thanks
    Regards
    Chris

    Dear Gurus,
    Can anyone explain to me step by step how can I copy:
    1- The shipping point
    2- The route
    At Item level of a Sales Order in VA01
    Many thanks
    Regards
    Chris
    Hi Chris,
    Answer to your Question,
    Please understand that Shipping Point and Route will be automatically determined based on the configuration settings we make. However we can even override the values manually in sales order screen (Va01 / Va02). See below the config settings to be made for  Shipping point and Route:
    1. Shipping Point.
    Based on the combination of below three parameters, Shipping Point will automatically populate while creating a Sale order. (VA01)
              Shipping Condition
              Loading Group
              Delivering Plant
    SPRO- Logistics Exceution - Shipping - Basic Shipping Functions - Shipping Point and Goods Receiving Point Determination - Assign Shipping Points
    2. Route
    Based on the following Four factors from configuration:
    Departure Zone of Shipping Point
    Destination Zone of Customer (Shipto)
    Shipping Condition from Customer master.
    Transportation Group from Material Master.
    Hope this Solves your Issue.
    Regards,
    VBASHA

  • Monitor the changes of Ship to address in Sales Order

    Hi,
    My client has an requirment which they would like to monitor whether the ship-to-address has been modified after the order were save. 
    e.g. 
    Sold-to 12345
    Ship-to 12356
    SAVE the order
    After the order are sale and sometime later, the user went in VA02 and update the ship-to-address to 23456
    now
    sold-to 12345
    ship-to 23456
    It there anyway we can have a report to check if the ship-to has been changes? 
    thanks,
    Rebella

    Hello Rebella,
    The best option of monitering the changes incurred fro the Ship-to-Party details of a SALES ORDER are as follows:
    If you are interested to pick up the information of changes values of Ship-To-Party from a Sales Order then i think you can use the table VBPA. This table will contain the updated value of Ship-To-Party partner function of a Sales Order.
    Second option would be to use a program which actually run when you open a Sales Order in VA03 --> Environment --> Changes. You can develop a t-code which shall call this program.
    You can also use the T-code AUT10 for tracking changes for a Sales Order.
    Hope these infotmation helps you in resolving your issue and please don't forget to mark your thread as closed.
    Regards,
    Sarthak

  • Quotation missing error in sales order

    Hi ,
    While saving the Sales.Order in crm  i am getting the error "Mandatory Quotation Missing",  i have preceding document  as Quotaion and billing doc replicated in r/3.
    How to solve this error?? i have checked every thing.
    Kindly help iam i missing anyy thing.

    Hi Shoki
    Did u check  your Quot. Determination has assigned to your  salesorder transaction type
    you  have to assigned following quotation determination to ur sales order transaction type
         No Quotation Determination
    E     Only at Item Level: Assign Immediately if Unique
    F     Only at Item Level: Always With Selection Option
    check Copying Control for Business Transactions
    Hope it answers your Query
    Thanks & Regards,
    srikanth.naga

  • Adding Variant in Header Level in the Sales Order

    Field "Card Verification Value" (CVV) is part of the Standard from Support Package SAPKH47028 onwards. But if you like you can use a variant for screen SAPMV45A4440 and set
    field "Card Verif.Code" to invisible in this variant.
    This is the reply from SAP after implementing the new support pack. Now there is an additional field in VA01 that I am trying to remove.
    I can add the variant in Table Settings but that is on Item Level in the Sales Order (VA01). How do I do it in Header Level?

    Hi,
    Go to SHD0 ,write down the Transaction code , transaction variant then go to Tab " With Processing'.
    Now you will be in T Code VA01 ,press enter and you will get all the variants maintained in Header Level.
    Now you can activate / deactivate as per your requirement.
    Best Regards,
    Ankur

  • Scehdule Line Date getting change to future date once the Sales Order is saved

    Hello Experts,
    Good Morning to you all,
    This is with respect to the Issue we are facing for the Orders having Product Allocation on multiple materials. Please find enclosed the detials below.
    Issue : Scehdule Line Date getting change to future date once the Sales Order is saved. These Order's are having Product Allocation on multiple materials.
    Description:
    We have implemented Product Allocation few months back.
    We have Product Allocation on multiple materials which are in demand and has been reserved for the Customers of different PA behaviors.
    When we are trying to create the Sales Orders for the normal customer who is not on Product Allocation. The Order Schedule Line is getting changed to future date once the Sales Order is saved after initial creation.
    These Order's are having materials of Product Allocation.
    I have enclosed the sample screen shot of the error we are getting which saving the Sales Order and also the Order Schedule Line screen shot showing future date.
    Error Message : There may be Product Over Allocation in Delivery Group 001.
    Message No : VV023
    This is a random behavior we are coming across and out of 10 Order 2 or 3 Orders is getting this Issue.
    Please share your inputs how to rack this Issue.
    Your suggestions will be highly appreciated.
    I am unable to upload the attacments dont know what the reason.
    Thanks,
    Farhan.

    Check whether you need to carry out the coding corrections as recommended in the following note:-
    Note 52067 - Message VV023/VV024, but no prod.alloc.processing    
    But I wonder this is for older versions and not sure whether this would help you to overcome from the issue.
    G. Lakshmipathi

  • Do not change the payment term created a Sales Order with reference

    Hi Gurus,
    Do not change the payment term created a Sales Order with reference to a contract where the payer of the change in Sales Order.

    Hello ,
    As per my understanding , you do not want the payment terms to be changed even if the payer partner function is changed ,
    as standard sap redetermines the payment terms with change in partner function, you may use the exit
    USEREXIT_MOVE_FIELD_TO_VBAK- header level
    USEREXIT_MOVE_FIELD_TO_VBAP- Item level
    in this you could write a small code which will not change the payment terms when payer is redetermined
    hope this helps
    Thanks
    akasha

  • Issue while updating(Changing) quantity on line at quick sales order form

    Hi,
    I am facing a issue while changing quantity ordered on the order line in quick sales order form. (R12.1.3)
    Although the same logic works exactly as required in 11.5.9.
    There is a custom logic, post booking line status is Awaiting Shipping.
    Now when quantity is changed +(Saved), the status changes to a custom state but at the same time a new row is created with the same line id but different reservation id in the MTL_RESERVATIONS.
    The quantity here is the difference between the original quantity and the new entered quantity.
    And post completion of the custom logic the original row is updated, but being there a additional row the quantity reserved at the shipping tab comes wrong.
    Our requirement is of update which is happening but not the additional insert which is going into MTL_RESERVATIONS.
    The logic is perfect in 11.5.9 and no additional insert is being made.
    Kindly help and give some ideas for the possible reason the issue.
    Please ask for more information if required.
    Thanks,
    Vishal

    Hi Mahendra,
    I have gone through the note id that you have given. sorry to say that, that is refering to diffrent issue.
    Actually what i did is, At form header level, I have hide the fileds using the folder options. once after changes I have closed the form and re-opened it. by that time I can see that Button names got changed in bottom of the "Quick sales order form". Not sure how it become changed. there five buttons over the form, only two button names got changed.
    Kindly suggest any other options.

  • Billing date at line item level in a sales order

    HI!
    Can anyone let me know the significance of billing date being present at the line item level in a sales order?
    And why does it get changed as per the Requested delivery date if the Prop. Pricing date in the maintanenece of sales doc type is set  as 'A'?
    Can it be different for different line items?

    Hello Asha,
    Can anyone let me know the significance of billing date being
    present at the line item level in a sales order ???
    The comprehensive information is available at SAP technical help(F1) for the "BILLING DATE" field at Sales Order line item level...Before raising these type of questions, i would urge to  conduct initiate analysis and then post at SDN forum if you are unable to find out answers...For your quick reference, i have extracted the same description for Billing date from SAP techincal help (F1) and pasted below.
    Billing date for billing index and printout
    +The date on which the billing is processed and booked for
    accounting purposes.+
    Use
    +You can use the billing date as one of the selection criteria
    when you process billing documents collectively.+
    Procedure
    +If invoice dates are defined for the customer, the system proposes
    the billing date from the invoice date calendar. If no invoice dates are
    agreed, then the actual goods issue date is formed on the basis of
    delivery related billing. In order related billing, the billing date of the
    order forms the basis of the billing date.+
    +If you are billing services, the system proposes the date of services
    rendered. You can change the date manually in the sales document.+
    +If you are using a billing plan to bill a project, the system can propose
    billing dates for the billing plan on the basis of planned or actual dates
    in the corresponding milestone.+
    +In a billing plan for a maintenance or rental contract, you can specify rules
    by which the system determines billing dates on the basis of other dates in the contract.+
    Regards,
    Sarthak

  • I need a Badi that is triggered when saving Sales order in both Va01 and Va

    Hi
    I need a Badi that is triggered when saving Sales order in both Va01 and Va02
    I tried with the following BADI's
    BADI : BADI_SD_SALES
    Implementation : /BEV1/SR_SALES_ORD_1
    Method SAVE_DOCUMENT
    Now when i want to put my peice of code in this (SAVE_DOCUMENT) method.
    It is asking for Access key. Which i do not have.
    Should i create a implementation and then create a method and then put my code there?
    Anybody plz help.

    You will probably not find a BADI to suit your needs.  However if you look at include program MV45AFZZ you should find two subroutines:  USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT.  You can put the code you need directly into these subroutines.  If these have not been changed yet on your system, you will need an access key to make these changes.
    Please read the documentation in the header of the subroutines for furtner information on when they are called.
    Best Regards,
    Chris H.

Maybe you are looking for

  • Multiple persistence.xml files

    I've got a situation where I have one persistence.xml file with many persistence-unit's. My problem is that during deployment not all of the persistence-units are useable, so I get errors. My question is can I use multiple persistence.xml files in an

  • Save point with POJO DataControl not saving model state

    Hi Guys, JDEV 11.1.1.6 64bit I was able to get save points working with ADF BC (AppMod, View & Entity objects) but when I tried to do the exact same with Pojo DataControls, I won't save the current state of the model - meaning things are not "selecte

  • CIC and CAD (CTI Integration)

    Hi, I am new in the topic of CIC enhancements and now I have to create the following functionality: I want to use the confirm button in the BP Search of the CIC to sent the business partner information back to the connected CTI. This information is t

  • Acrobat Pro and no menu in office 2011

    I recently switched to a Mac with office 2011 and bought acrobat x pro.  There is no ability to pdf a group of emails (as an archive) with embedded attachments which I found very useful on my old PC with office 2003 in tandem with acrobat pro 8 or 9.

  • Installing photoshop elements13 on a Mac

    i am having continued issues installing PSE13 on my mac keep getting adobe application manager quit unexpectledly then it tells me i don't have permissions to write to applications feeling extremely frustrated