Restrict discount only for 10 orders

Hi
i want to restrict discount for only 10 customer for that i did some seeting in v/06 condition type and activated the condition update but when am creating condition record and in additional data there is option called Max no of orders when am entering 10 its throwing error enter a valid value. so kindly help me.
thanx

Hi there,
If the requirement is to give discount only to 10 specific customers, then check the key combination of the condition record.
If the condition type has a key combination of sold-to / ship-to partners, then maintain the condition type only for those customers to whom you want to give the discount.
If your requirement is to give discount to any first 10 customers, then logic is different. In that case you can define the condition type as manual. Since it is only for 1st 10 customers, then the order entry person will manually give the discount only to first 10 customers.
If you dont want manual intervention, then you can do this. Check for what sales area / order type you want to give this discount. Then in the requirement routine of that condition type write a customized code. In the code put a logic such that the system takes a count of VBAK entries in that salea area for that order type. If the count of VBAK <= 10, only then the condition type will apply.
Hope thsi works.
Regards,
Sivanand

Similar Messages

  • How to restrict the GR for Production Order when Goods Issue is not done

    Hi Gurus
    How to restrict the GR for Production Order when all the required components for production order are not issued with all required quantity. Even for partial issue system should not allow GR with 101. The user status with RMWA, RMWF & CGFB is not working.
    Pls suggest best solution.
    Abhijit.

    Hi,
    You can club together the GI nad GR at the time of confirmation..
    I.e Backflush for the components and auto GR for the Product.
    So that you can stream line the Process.
    The best Option would be to use the User Exit:
    Enhancement - MBCF0002
    Functional Module - EXIT_SAPMM07M_001
    Include - ZXMBCU02
    Refer below link for further details..
    How to stop the goods receipt before issueing the goods for production orde
    Regards,
    Siva

  • VA01 Item category display only for specific order type

    Hi,
    I have a requirement to deactivate(display only) item category field in VA01 table item for certain order type . I tried the user exit  MV45AFZZ(USEREXIT_FIELD_MODIFICATION). This is working only if the table item has a value. i.e I could able to enter an item category first and then enter the material and quantity.
    So please suggest any alternative how to make the item category field(VBAP-PSTYV) column display only for centrain order type.
    Regards
    Aromal R

    Hi,
    Create a Custom Authorization Object so that you can control it for certain users.  2. Write implicit enhancement spot in the include TCS MV45AF0T_TCTRL_U_ERF_AUFTRAG_I,
    FORM TCTRL_U_ERF_AUFTRAG_INIT
    AUTHORITY-CHECK OBJECT 'ZITMCAT'
              ID 'ACTVT' FIELD '02'.
    IF SY-SUBRC NE 0.
    *    DATA: WA_COLS LIKE LINE OF TCTRL_U_ERF_AUFTRAG-COLS.
    LOOP AT   TCTRL_U_ERF_AUFTRAG-COLS INTO WA_COLS.
       IF WA_COLS-SCREEN-NAME = 'VBAP-PSTYV'.
       WA_COLS-SCREEN-INPUT = 0.
       WA_COLS-SCREEN-OUTPUT = 1.
      MODIFY TCTRL_U_ERF_AUFTRAG-COLS FROM WA_COLS.
       ENDIF.
    ENDLOOP.
    ENDIF.
    Regards
    Aromal R

  • A report to show the discount given for each order

    Is there a standard report that will list the discount given for an order and also how much (in terms of percentage) as compared with the total sales value?
    Thanks

    Hi,
    I believe that this discount is a condition in your pricing procedure, and not a dicount given in FI, right?
    If is a condition in your pricing procedure, you can create a LIS structure to save this discount in a cumulative way.
    Or, you can construct your own report through a query (SQ01) or a Z report based on the Logical Database (SLDB transaction), logical database AAV is the more indicated.
    I hope that this helps you.
    Regards.

  • Restricting Access only for APPS account using SQLNET

    Dear Friends,
    Recently we have an incident that a functional consultant has cracked the Apps password. I don't know how.
    Now what we are planning is to restrict the database access to only the dba team using sqlnet.ora file and its tcp.validnode_checking parameter.
    However, the problem is that we want to continue the APPSRO(which is an Apps Read Only Account) access to them.
    Is there any way possible to restrict access only for a particular database user account using sqlnet.ora
    please help.
    Thanks.

    Recently we have an incident that a functional consultant has cracked the Apps password. I don't know how.
    Now what we are planning is to restrict the database access to only the dba team using sqlnet.ora file and its tcp.validnode_checking parameter.
    However, the problem is that we want to continue the APPSRO(which is an Apps Read Only Account) access to them.
    Is there any way possible to restrict access only for a particular database user account using sqlnet.ora
    Now what we are planning is to restrict the database access to only the dba team using sqlnet.ora file and its tcp.validnode_checking parameter.
    However, the problem is that we want to continue the APPSRO(which is an Apps Read Only Account) access to them.
    Is there any way possible to restrict access only for a particular database user account using sqlnet.oraNo (and even if it exists, I believe this does not fix the main issue with the apps password which could be cracked again).
    The proper way would be changing the apps password and meet the security requirements in these docs.
    Secure Configuration Guide for Oracle E-Business Suite 11i [ID 189367.1]
    Secure Configuration Guide for Oracle E-Business Suite Release 12 [ID 403537.1]
    FNDCPASS Utility New Feature: Enhance Security With Non-Reversible Hash Password [ID 457166.1
    Thanks,
    Hussein                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • I want to give sales discounts only for the first five sales order

    The scenario is that I have to limit the sales discount to first five sales order that is executed, from the 6th the system should not allow any sales discounts

    Hi,
    If I understand your requirement correclty you want to pass discount for a particular item for a customer only for the first five sales orders irrespective of the quantity you sell on this order. As I understand this way of limiting discount by way of the count of sales orders is not possible.
    What is though possible is to limit the discount per customer or per article or per customer and article combination to either a certain fixed value of discount or limit the discount to certain fixed quantity sold for that article.
    The config required is
    Condition type  : Scale basis -Either value scale or quantity scale. Scale type -leave this blank.
    Condition record  :Chose the scale type as "B- To Scale" and at the time of condition record creation you can define your own Calculation type -either fixed amount,percentage,quantity etc.
    All the best.
    Kartik Shah

  • PS - Set Commitment only for Purchase order

    Hi experts,
    I would like to know if its possible set in the Customizing, the  Commitment just for Purchase Order.
    Because, currently we have fixed Purchase Requisition and Purchase Order.
    Thanks in advance.
    Nacho

    Hi,
    SAP Note:955107 addresses this problem. You may refer the note, but for easy reference, relevant portios of the note are quoted below:
    Quote begins:
    Symptom
    The purchase requisition commitment should not be taken into account in the availability control.
    How can this be achieved?
    Reason and Prerequisites
    This is a customer request.
    It should be possible to enter purchase requisitions with any amount and only the resulting purchase orders should be checked by an availability control.
    Solution
    For Releases 4.6C, 4.70, 5.00 and 6.00 first implement the corrections from Note 955106 if you have not already done this.
    Afterwards proceed as follows.
    1. Create a utility program ZBPFCI21 of the 'Subroutine Pool' type. For the source code of the program refer to the attached correction instruction 488705.
                  Caution: Do not use a different name than ZBPFCI21.
    2. Adjust the source code within the utility program ZBPFCI21 as follows:
                  When the residual order plan should not be included in the assigned value of the availability control, activate the line
                           CLEAR cd_flag_pr_commitment_avac.
                  (That is, delete the sign '*' in front of the line.)
    3. Save and activate the ZBPFCI21 utility program.
    4. Reconstruct the assigned values of the availability control (Transactions KO31 for orders or CJBN for projects).
    Quote ends.
    Kindly acknowledge, if it meets your requirement.
    Muraleedharan.R

  • How to restrict status profile for sales order.

    Dear Friends,
    Pl suggest me for follwoing scenario
    ►     As per business process for tender/ institutional sales and exports, the order is complete once the complete delivery and invoicing for the same has been performed.
    ►     It was also observed that a sales order may be modified (material, quantity, price etc) even after complete invoicing of the same has been performed in SAP.
         The requirement is  Possibility to enable a control to restrict any amendments to the sales order after complete delivery and invoicing will be explored as per business requirements.
    Is there any solution above scenario without writing any code.
    Regards,
    Atul
    Edited by: atul thakur on Oct 28, 2009 5:09 AM

    Mr Atul,
    My understanding is, you don't want your user to be able to change the pricing and order quantity once the order is complete, i.e Delivered and Shipped.
    The status profile will not help you in the above scenario, Price/Quantity changes will not come up as Business transactions that can be controlled at Status profile.
    Standard SAP restricts the price changes to a completed item of the order, so no need to worry about this.
    But order quantity can be increased any time.
    So to restrict the user to increase the order quantity you need to use the User-Exits that SAP provided.
    Use the MV45AFZB user-exit program and form  FORM userexit_check_vbap to code this.
    Hope this helps you.
    Regards,
    Aj.

  • Show quantity discounts only for wholesale

    I have consumer and wholesale pricing set up. Wholesale has quantity discounts which work when you login and add a quantity to the field. The problem is the way I have it now you can't see what those price breaks are. My question is, how do I display those price breaks without also showing them to consumers? Consumer price is $9 per item. Wholesale prices are $4.50 for up to 99 and $3.25 for 100 to 200. Thanks

    The only way would be to create a wholesale set of products and catalogues and place those behind the secure zone so that only people who are logged in can see them. Then you can use RRP field or custom fields to display that data.
    -m

  • Backflushing only for Production Order Quantity

    HI All
    I have a situation of positive yield i.e If the Production Order is for 100 BO then at the time of Confirmation we have 105 BO that are actually produced.
    We have unlimited over delivery tolerance. Hence we can confirm for 105 BO. But here is what happens.
    At the point of confirmation the system proposes an additional line to backflush more quantity for the components then was orginally requested for to produce the 100 BO.
    ie, it adds a new line to backflush the needed component quantity for the extra 5 BO of finished goods.
    Is there a way we can prevent this in standard SAP. We only want it to backflush for the orginal component quantity needed to produced 100 BO and classify the extra 5 BO as true yield .
    Regards
    Aju Paul

    Dear,
    I hope this is the only simple solution, other solution is do the confirmation w.o any component.
    Then in MB1a, follow the menu path
    Create issue w.r.t order
    enter order,
    system will prapose the qty as per the component planned qty in order which is nothing but component qty ratio * 100(order qty).
    hence you will issue the correct qty of component w,r,t 100 and not 105.
    I hope you got the point.

  • Quantity field to be shown on 1ST line only for purchase order items in ALV

    Dear All,
    I am fetching data from purchase order history table (EKBE) where PO line items contains multiple times. User does not want to view  fields that are repeating multiple times in all lines, but in the top line. By sorting the same in ALV , I can do the same with character type fields, but how to do the same with quantity fields. One way out is converting the same into character fields. Is there any other way. Please give me some solution. Also while sorting , the number which gets repeated (i.e Items in PO for different PO's ) does not gets displayed. I want my program to display them.
    Thanks,
    Debopriyo Mallick

    Try this
    loop at ist_mseg into wa_mseg.
      ON CHANGE OF wa_mseg-con.
        move '111' to wa_mseg-con1.
        modify ist_mseg from wa_mseg.
      ENDON.
    endloop.
    loop at ist_mseg into wa_mseg.
      if wa_mseg-con1 ne '111'.
        move 0 to wa_mseg-menge.
        move 0 to wa_mseg-netpr.
      endif.
      modify ist_mseg from wa_mseg.
    endloop.
    mseg-con is the concatenation of ebeln and ebelp values.
    pk

  • Restricting Material for particular Order type

    Dear Guru's,
    Is it possible to restrict particular material for particular order type in CO01.
    E.g. Material A is used in CO01 for order type X
           Material B is used in CO01 for order type Y
    I want to restrict CO01 should not allow production order creation of material A with order type Y.
    Regards
    Chandan.

    Hy,
    By the use of production scheduling profile you can set default order type for the required materials.But it doesn't restrict the other order type. During the manual order creation if user has select other order type then , there is no restriction.So as Mr. Shiva said put restriction over manual order creation, if possible.other option may be by using User Exit.
    Now in your case you want to restrict materials not material type. So it is quite complicated for Abaper to write code , because the for every new material Abaper has to change code.
    So there is one option by grouping perticuller materials under one production scheduler and then it is more convient for Abaper to create code for User Exit.
    Pls refer below thread which may give some more inputs  for your requirments.
    [Ugent: How to restrict a Material Type for a Specific Process Order Type;
    Regards,
    Dhaval

  • Determine Plant and Sloc for Purchase Order Creation

    Hi Gurus,
    I want to determine while create a Purchase Order (ME21N), I can restrict the Purchase Order only for specific Order Type , specific Plant and specific Storage Location.
    The business needs is to prevent human error while create Purchase Order with wrong Order Type, Plant and SLoc combination.
    Is there any Exit related ?
    Thx in advance.
    Tri W

    Hi ,
    This is MM question
    In MM , you could use authorzation in PFCG to limit the plant selection and document typefor a specific  user .
    This would also have effection to the ME21N .
    For the storage location ,then please to set the field as display only and then add a default value to the user in
    the personal setting.
    I hope this will help you a little bit apart from the  BADI.
    Regards
    Summer Wang

  • Automatic batch management for Production order receipt

    Hello ,
    I have a requirement to setup & activate Batch Management only for Production order Good Receipt . I am looking out for what all configuration / data setup will be required to complete this .
    To start with I have following questions .
    1. Whether such activation is possible only for Production order Good receipt - 101 mov.type
    2. IF yes , is Batch management activation status be at material or plant level .
    3. As I need automatic assignment , should I be selecting Internal batch management .
    4. What should be selected for valuation for Goods movement in Inventory management.
    5. Is it necessary to have batch determination by maintaining Condition tables / Access sequence
    6. What would be standard Class / characteristics to be maintained for automatic determination.
    Also I will have to work with the running system where Material are already active and have stock in system . What precautions will I have take if I have to activate the Batch Management in a running system.
    Appreciate all your expert advise.
    Regards,
    Lawrei

    Thanks Adler for your comments .
    With reference to your point , need further clarifications
    1. If batch management is selected to material , this means that it will be active for all movement types for Inventory and cannot be restricted to 101 mov.type .
    I see that in config node
    +Define Batch Creation for Goods Movements+
        +Using this function, you can define for each movement type whether a new+
        +batch is created for a goods receipt and how it is created.+
    Can I not restrict batch creation only for 101 movement , but again here I don't have options to select only for Good receipt for order - Tran/Ev type - WF .
    & what about below config node
    +Define Batch Creation for Production Order / Process Order+
        +In this step you can make the following settings in batch management for+
        +the existing production control profiles:+
    Is it possible in this node .
    Please advise.
    Regards.
    Lawrei

  • Dectivate pricing condition for sales order not service order.

    Hi,
    We are on ECC6.0 and CRM5.0
    I need to add new condition type to the existing pricing procedure.It should be activtaed only for service orders and not for sales order.I can achive this by adding new requirement in pricing procedure to limit this condition type based on order type.
    Example:  if KOMK-AUART eq ORDER_TYPE.
                    sy-subrc = 0.
    But I don't want to do this,because I would need to change this requirement everytime I add new service order type.
    Is there any field in Pricing structure KOMK bu using which we can achieve this. ?
    Please suggest any other idea by which I can achieve this
    Thanks
    Dona

    Currently ,we have one pricing procedures for both the scenarios...
    We control if the perticular condition type to be active or not by writing a requirement which checks the order types.
    This has been done this way because we  built the pricing procedure in ECC and tranfer it to CRM.Also we donot have service orders in ECC.
    any further alternatives guys..

Maybe you are looking for