Restrict materials by sales order type

Dear Gurus,
I would like to know if there are any way of restrict materials by sales order type.
I need to create a sales order and i want to set an error message if i insert a material which is not allowed for the sales order type.
is it possible?
Best regards!

Hi,
Here in the Listing and Exclusion you have to enter the Listing or Exclusion procedure for your Sales document type in SPRO
Then in VB01 maintain all the Material you want to list for that particular customer.
Now try to process the Sales order with the Material other than  listed for the Customer, in the sense enter the material which was not maintained for the customer, then it will throw an error stating
  the Material not listed and therefore not allowed.
This is how listing and Exclusion functionality will work
Please check and revert back
regards,
santosh

Similar Messages

  • Is it possible to restrict Sales Order Type by Plant/User ?

    Dear all,
    Is it is possible to restrict sales order type while creating sales order by plant / User ?
    Any solution for above issue ?
    Jeyakanthan

    Hi,
    To my knowledge it is possible through SHDO tcode.
    Also, you can have a look on this link:
    [User Spcific Transaction Variant|Re: User specific transaction variant;
    In that look for the Step by step guide fior the Variant.
    Regards
    Edited by: SAP2020 on Nov 23, 2009 3:00 PM

  • How to activate sale order type in CFM1

    Hi,
    I want to include Sale order type in CFM1 transaction to restrict specific Sale order types along with Plant.Is there any report or Tcode which will enable this field or we can only achieve through exit.
    Thanks
    Venkadesh

    Hello,
    Please check BAdi CIF_INT_MODEL method MODIFY_OBJECT_LIST Modifying list of filter objects.
    BAdI solution although it fulfills the general selection options.
    Also refer consulting note   902968 - No user exit/BADI to influence selection in CFM1
    Best Regards,
    R.Brahankar

  • Restrict creation of sales order for specific customer

    Hello All,
    I want to restrict creation of sales order (of particular sales order type) for specific customer, please let me know how can I do it.
    Your early reply will be highly appreciated.
    Thanks & Regards,
    Mahavir

    HI
    As per My knowledge it is not possible in Standard SAP , you need to go with Enhancement
    Go to SE38 : MV45AFZB, User Exit: USEREXIT_CHECK_VBAK
    Regards,
    Prasanna

  • User exit or badi to restrict PROO in Sales Order for certain sales organisation

    Hi SAP SD experts,
    I would like to know the User exit or badi to restrict PROO in Sales Order for certain sales organization. This can be done by making condition type as D but will affect all sales org and we to restrict for a certain sales org only.
    thanks,
    SG 

    Kindly  explained  how  you have  solved  others  may benefit..
    regards
    Arunkumar

  • Disable Availability Check Based on Sales Order Type

    Hi All SD experts,
    Usually ( correct me if i'm wrong ) availability check is set via schedule lines item type. Is there any way that I can disable the availability check based solely on Sales Order Type ? Meaning no matter what item category or schedule lines assigned to materials, availability check will still be disable.
    Besides setting in schedule lines type, what are others config that might trigger availability check ? MRP settings ? Movement type ?
    Any valuable feedback will be great and much appreciated. A big thank you in advance.
    Warmest Regards,
    Edie

    HI EDIE
        In order for the availability check to happen,the following configuration settings are required.
    Availability check:
         a) you have to define requirement class & requirement type.
         b) you have to activate at scheduline category level
         c) in deleviry item.cat ,there is availability check off field,,,,, if  u dont mention any values here,then system checks for availability.if u mention 'x' here,then system dont check for availability.
        d) you define checking group and checking rule ,these determine how availability check is going to be performed
    MRP:
       MRP determines how material is planned,whether it is inhouse production or external procurement.MRP also determines the time taken for the material to become available for ready use.When ever an order is rised,the requirement is passed to MRP through  transfer of requirements(TOR), here MRP determines the inhouse production time or external procurement time.
    Movement Type: Movement type determines the type of material movement ,whether it is Goods Issue ,,, or ,, Goods Recipt,,,,, stock transfer between two plants etc.Movement type is determined in schedule line category level.
                      Award points if it is useful
                        Prasad.G

  • How to block sales order creating manually for a sales order type

    Hi SD gurus,
    My client wants for EDI orde type, the sales order should not be processed manually
    how can i restrict this. I know to i can restrict this by not giving authorization
    I want globally to maintain this.
    thanks

    Hi.
    I think that the best way to do this is to create a field exit to data element AUART.
    You will need an ABAP'er to create this field exit and associate the field exit to program SAPMV45A.
    Doing this, you need create a customized table to maintain the sales order type permitted to manual creation.
    You can use the program RSMODPRF to see all active field exits.
    I believe that EDI orders in your process are created through BAPI, correct?
    Waiting for response.
    regards.

  • How to 'fix' an special procument key according to sales order type ?

    Hi Gurus,
    I need some help to solve an issue: how to "force" MRP to use a special procurement key (SOBLS) when the demand was originated by sales order type = "XYZ".
    Limits:
    - this is a MTO scenario, so MRP area is not an option (as far as I know)
    - due to the huge quantity of materials we cannot consider create new materials.
    Scenario:
    1. 'Plant A' and 'Plant B' can produce material 'AAAA'
    2. Only 'Plant A' is allowed to invoice.
    3. Material 'AAAA' produced in 'Plant A' cannot be sold, they will be used as components to other materials.
    4. Any external demand (sales) of material 'AAAA' must be handle by 'Plant B'.
    In other words: If a sales document (order type 'XYZ') ordering 10 units of material 'AAAA' is posted, my MRP (on plant 'A') must undestand that a purchase requisition (stock transfer, special procurement key 'Z1') needs to be created. All other demands will create Planned Orders (to be converted to Production Orders).
    I already tried to evaluate BADIS: MD_CHANGE_MRP_DATA, MD_ADD_ELEMENTS, MD_MODIFY_SOURCE, MD_PLDORD_CHANGE and MD_MRP_PARAMETERS ... with little success.
    Any clue will be appreciated.
    Regards,
    Jone.

    - "material AAAA" is a spare part and, also, an item BOM of "FG 1010"
    Lets imagine that:
    - "material AAAA" has MARC-BESKZ = 'E', MARC-SOBSL = '' and MARC-SBDKZ = '1' in both Plants,
    - no stock is avaliable,
    - there is a MTO Production Order of 'FG 1010' is demmanding 3 units of "material AAAA",
    - there is a sales order (spare parts) is requesting 7 units of "material AAAA".
    After a full MRP running (with RM61X-BANER=3), we would like to have:
    Plant A:
    Sales order segment 1 (MTO from 'FG 1010'):
    - Planned order of 3 units
    Sales order segment 2 (Spare parts sales Order):
    - Purchase Requisition of 7 units.
    Plant B:
    Sales order segment 2 (Spare parts sales Order):
    - Purchase Requisition of -7 units.
    - Planned order of 7 units.
    Sales org does the invoicing not the plant and you can set the delivering plant as plant B directly in the material master. But that's not feasible. Right now I would suggest you try creating (if they don't already exist) two special procurement keys first 40 and assign it in material master for plant A. Then other 52 assign it in item detail for the component in the BOM for the FG since it is MTO. For plant B not SPK is required from what you mentioned.
    Edited by: Jeevan Sagar on Jan 11, 2012 3:49 PM

  • Sales order type & requirement planning

    Hi PP Gurus,
    I want to restrict requirement planning on the basis of sales order type. For perticular order type I do not want MRP & for another order type I want planning. Can I do such a setting on the order type? If yes, please tell me.
    Jayesh

    Dear Jayesh,
    -->From sales order MRP get trigger through schedule line ctaegroy so,
    -->You can get this requirement through maintaining different schecduling line categories for non MRP type order and MRP relavented sales orders.
    -->Standard schedule line ctaegeory *without MRP is CN*
    -->Schedule line category will get determine based in these combination
          Item category+MRP type--->Schedule line category
    -->So if you want to define different scedule line categories for different order types you need to define different item categories for that order types through VOV7 transaction.
    -->Then you need to determine those itemcategories through VOV4 transaction for the respective sales document type.
    ->Now you define schedule line categories with MRP and with out MRP through VOV6 transaction.
    For Non MRP schedule line category you remove the check for Req./Assembly in detail screen of schedule line category.
    -->Finnally you do the determination of the schedule line categories through VOV5 transaction.
       Item category of MRP related Order+MRP type-->MRP related schedule line category.
       Item category of Non MRP related order+ No MRP Type-->non MRP related schedule line category.
    Now when you create sales order system consider the schecduline category based on the order type-->itemcategroy in the sales order.
    I hope this will help you,
    Regards,
    Murali.
    Edited by: Murali Mohan.Tallapaneni on Dec 10, 2008 7:30 AM

  • Sales Order Type "Kit" in GATP

    Hi All,
    It is possible to use Sales Order type Kit to make availability check?
    Example:
    Item: Inital Kit
    Childs: Mat A, Mat B and Mat C.
    When I input this Inicial Kit, yours childs are generated, but the system do not check the availability.
    I need that the system makes this check, through the GATP.
    To another materials (without kit), the system make this check, through the GATP.
    Could you help me withi this issue?
    Thanks in advance.

    Hi,
      Please go through the link
    http://help.sap.com/saphelp_scm2007/helpdata/en/0f/44ac41b98cd934e10000000a1550b0/content.htm
    Regards,
    Santosh Kumar Mishra

  • Question on Search Help and Authorization Check for Sales Order Type

    Question 1:
    When I go to VA01 and click the search help, it shows only order type that are not blocked.
    However, when I have sales order type in select-options of a Z program,
    S_AUART FOR VBAK-AUART
    I click on the search help, it gives all the sales order types. How can I have a list with unblocked sales order type only?
    Question 2:
    I want to check whether a use can extract data from a sales order type (e.g. OR and RE)that he/she authorized to use.
    I have include the following in my program:
    AUTHORITY-CHECK OBJECT 'AUART'
    ID 'AUART' FIELD 'OR'.
    It always returns SY-SUBRC = 12.
    But order type 'OR' is granted to the user (he/she can create order with type OR in VA01)
    Please kindly give me some ideas, thanks.

    hi,
    ad1
    use following code:
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR auart.
      PERFORM auartGet.
    FORM auartGet.
        CALL FUNCTION 'RV_HELP'
             EXPORTING
                  KEY            = VKORG
                  KEY2           = VTWEG
                  KEY3           = SPART
                  KEY4           = '0'
                  NUMBER         = '008'
                  FIELD_IN       = AUART
             IMPORTING
                  FIELD          = AUART.
    ENDFORM.
    ad2.
    example:
       AUTHORITY-CHECK OBJECT 'V_VBAK_AAT'
             ID 'AUART' FIELD 'OR'
             ID 'ACTVT' FIELD '01'. "01-create order, 02-change, 03 display
    check sy-subrc eq 0.
    regards,darek

  • Link Sales Order Type to Customer

    Hi gurus,
    Do you know if there is anyway of linking a customer to a Sales Order Type?
    So that if selling to that customer, everytime that Sales Order type is determined?
    Please consider scenario where Sales Orde type is created through DP90 from service orders.
    Thanks and best regards,
    Víctor Liedo

    hi victor,
    in standard SAP there is no direct link as such for customer to sales order type.
    what is the business logic for the same.
    you are linking the sales areas for the document types - not to the customer level - that is one type of control which SAP is providing.
    but here you need to enter the sales order type manually before entering the customer for the sales order.  so MV45AFZZ : USER EXIT SAVEDOCUMENT_PREPARE.
    you can write a piece of code for the same.
    you need to hard code account group of the customers & sales document type, so that when ever before saving the sales order the system will check the sales order type used for that particular customer is correct or not and then saves the sales order or else it throws an error
    hope this clears your issue
    balajia

  • User-Exit for Checking Customer and Sale order type in Sales Order Creation

    Hi Experts,
      While creating the Sales Order once i enter sold-to-party and enter line item, i have to check the customer against the sales order type.
    Please suggest me if any user-exit or enhancement or BADI available for it.
    Thanks & Regards,
    -VM

    Hi
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    mark if helpful
    Regs,
    Tushar Mundlik

  • How to exclude sales office for combination sales order type/division?

    Hi experts,
    I would appreciate if you could advise: How to exclude sales office for combination sales order type/division in ECC 6.0 ?

    Hi
    Standard SAP functionality would not be able to cater to this. Ideally create a Z table with sales order type and sales office combination. Put in entries for combinations that are allowed. In Sales order program MV45AFZZ use the exit USEREXIT_MOVE_FIELD_TO_VBAK. In this exit write down the logic passing the sales office determined and the order type and check if the entry is there or not. If the entry is there then it should go on to the next step. If it does not then pass an error message. You need to use the help of your ABAP er for this.
    Thanks
    Indranil

  • Restrict deletion of sales order line items

    Hi,
    I need to restrict deleting of sales order line item, I think we can use the user exit, MV45AFZB, USEREXIT_CHECK_XVBAP_FOR_DELE.
    But when i set the flag to 'X', even though it does not delete at tht instance when the sales order save is clicked again the line item gets deleted.
    ANy idea , to prevent that?
    Thanks
    Keshi

    Hi Keshi,
    That is the correct exit, we are using the same without any problem. Just set US_EXIT  = CHARX.
    Regards,
    John.

Maybe you are looking for

  • Is there a way to import metadata to wav files in my library?

    Is there a way to import metadata to wav files in my library? I have about 1,500 .wav files that are presently in my iTunes library, but as most of you are aware .wav files have their limitations with regard to how iTunes translates their specific tr

  • Bill of Lading for Shipment

    Hi All, Is there any smartform for Bill of Lading for shipment. if the shipment had four deliveries in two stages two deliveries to each ship to parties. i need the print the first two deliveries and first ship to in the first page and second two del

  • Restoring entire disk from Time Capsule archive?

    I've archived my Time Capsule to an external drive. Is it possible to restore an entire disk from the archive? On a more general note, just what good is the archive if one can't use Time Machine with the external archive disk mounted on a Mac?

  • TextInput box maximumLength does not allow to lose focus

    Hello, I have a textInput box with a maximumLength set to 4000. I want it to prevent the user to put any values past 4000 characters. It does stop the user right at 4000, however if there are 4000 characters in the box, the user cannot click out of t

  • Question about texting photos

    My iPhone has been working fine, but recently when I go to my photos and try to send a photo via text , the blue send button won't press enabling me to send it...... But I can go to messages and attach a photo and it will send it just fine. What's th