How to restrict Material Class in Sales Contract Doc

Hi,
I need to restrict Material Class in Sales order based on Item catagory, Material group4 and Sales contract Document type.
If the above 3 fields having a particular value then the system should restrict all the other classes of that material and display only a particular class and it's related characteristics.
If any one come across such a senario then pklease let me know.
Regards
Ajay

Hi,
You have to make few configuration settings before you actually restrict at the object level. The solution is clearly discussed in the below thread:
how to restrict material master by material type  t-code MM01
Hope this helps!!
Regards,
Raghu

Similar Messages

  • How to restrict saving of a sales order without a material.

    Hi Gurus
    Please advice How to restrict saving of a sales order without a material. That is the system saves the order even if no item is assigned to it.

    Hi Raghu,
                 In standard SAP we can not do that. Even for some requirements of the customer this feature is required, specially in case of milestone billings, custom materials etc. client after saving the empty sales order they may create materials based on that sales order number.
                 If it is mandatary for u to save sales order only after the entry of the materials, u can try user exits or go for a code with the help of an ABAPer.
    Regards,
    Ravi Duggirala
    Edited by: ravi duggirala on Jun 20, 2008 11:11 AM

  • How to Restrict Material Type in MM01 ?

    *Hi experts,*
    *How to restrict material type ? i wanted to restrict the end-user not to access any other material types than Raw material,Semi-finished goods. it means when end user trying to create material then if he enters other than these two material types then he should get error saying that "your not authorized to select that xyz material type".*
    *I have tried to restrict the object M_MATE_MAR(Material Master : Material type) but am unable to do so. is there any other object which take care of Material types ? did i selected correct object or not??*
    *can anyone help out.*

    Hi,
    You have to make few configuration settings before you actually restrict at the object level. The solution is clearly discussed in the below thread:
    how to restrict material master by material type  t-code MM01
    Hope this helps!!
    Regards,
    Raghu

  • How to modify the Standard BSP sales contract  application.

    Hello,
    we need to do some modification on User Interace as well as on backend level of Sales contract module which is called from CRM_BSP_FRAME BSP application.
    To do the User Interface changes we have CRMDesigner but,
    How to copy the sales contract module from CRM_BSP_FRAME BSP application to do backend changes?
    Regards
    ravi

    Hello,
    as Brian already mentioned, theres no simple answer to that, but copying the whole application seems not to be a useful solution.
    I'm trying to give you some hint/ideass (no ready build solution). Doing it that way will work without modifaction. But you stille have to be ware of changes in the superclasses.
    In the customizing for the PC UI you can change the involved classes, structures and so on.
    If you want to insert a new field on a screen, you can copy the original structure for the field group and make an append.
    You can then change the structure for the Business Object (for a specific event and view) in "Define Application Layout". Don not forget to enter change mode and import the table entries!
    e.g.
    Original Fieldgroup: ACT_ADVANCED_SEARCH_F4
    Bus.-Obj.: CRMD_BUS2000126_F4
    Event:     Init
    Position:  Search Area
    Do not forget to rerender the layout structure afterwards (Customizing - Fieldgroup - Layout generation)
    For bringing in a new class try the following.
    Take the existing class as the superclass for your new one... Let's say ZCL_CRM_BSP_AM_HEADFM_1O will derive from CL_CRM_BSP_AM_HEADFM_1O.
    Redefine the needed methods.
    Last step is to replace the "pointer" to the new class.
    Go to Customizing - Application set, Choose the Business Object and go to Model Access. Here you can enter your ZClass.
    Voila.
    Hope that helps.
    kind regards
    Frederic Heinemann

  • How to restrict the Number of sales orders in theTCode:VL10A whil creation

    I'm creating the Delivery by using the batch job with program: RVV50R10C Here I need to restrict the number of sales orders numbers while creating deliveries for sales orders
    Like system should pick the sales orders (sales documents) from 1 to 100 OR 100 to 200
    Please advise me how to do it and what changes I need to do it

    Hi,
    Aslo, you can see Note 198137 - VL10: Customer-specific enhancements / user exits. As is for SO, check subroutine LV50R_VIEWG03. If cf_subrc = 1 thin this SO isn't seen in list.
    ***INCLUDE LV50R_VIEWG03 .
    *&      Form  POSTAB_VEPVG_FILL_USER
    FORM POSTAB_VEPVG_FILL_USER
         USING    IX_LIST_PROFIL    TYPE      SHP_VL10_LIST_PROFIL
                  IX_PARAMETERS     TYPE      SHP_VL10_PARAMETERS
                  IX_SELECT_OPTIONS TYPE      SHP_VL10_SELECT_OPTIONS
                  IT_ENQUEUE        TYPE      SHP_VL10_PACKAGE_T
                  IX_SD_ORDER       TYPE      SHP_VL10_SD_ORDER
                  IS_VEPVG          TYPE      VEPVG
         CHANGING CS_POSTAB         TYPE      SHP_VL10_ITEM
                  CF_SUBRC          TYPE      SYSUBRC.
    CF_SUBRC = 0.
    *  cs_postab-zzfield = ......              "add new field to List
    *  if xxxxxxx = yyyyyyy.
    *    cf_subrc = 1.                         "Exclude this index from List
    *  endif.
    ENDFORM.                    " POSTAB_VEPVG_FILL_USER
    I hope this helps you
    Regards
    Eduardo

  • How to block material issuing after sales order invoiced?

    As the subject mentioned,  could be a possible to block material issuing since sales order invoiced, or
    in the another words, after the sales order completed?
    Or could be a possible to set sales order as closed, and then material issuing related with this sales order are
    forbidden?
    Thanks in advanced,
    Zhou Zhen

    Dear Friend
    A sales order is created say order no 10000 and for material X say 10 units this order is delivered and PGIed and invoiced and the payment too has come
    That means the order 10000 is closed
    Case 1
    Now an user goes to VA02 t code and put this order no 10000 and changes the material X qty from 10 to 12 and opens up the whole order once again
    This can be controlled by using t code OVAH choosing message class the V4 message no 083 and change from warning to error
    Case2
    But to avoid the user to add material Y to the existing order say 10000 then i think we have to go for user exit
    Because the system doesnot even throw a warning message too in case 2 (according to my knowledge) and allows another line item to be added in the same order
    But you can test it if it throws any warning message we can try to convert that error
    But in case 2 it is not happening(even warning is not there)
    Regards
    Raja

  • How to change material discription at sales order item level ?

    Dear Gurus,
            We have some requirement need to change material description at sales order item level , but in system it is in disable mode how to change that  into change mode in sales order item level?
    Thanks in advance
    Regards
    Venkat

    Not possible in SAP Standard.
    Instead why not create a Customer Material Info Record in T-Code - VD51?
    Alternatively it the requirement to change the Description is only for few Sales Order then create a Text ID & Enter the Description in Text Feild. Then in Smartform program wrie a code which will check for Material Description in the Text first & if not found then take from normal material Description in Sales Order.
    But Customer Material info Record seems to be the best solution.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • How to restrict material master by material type  t-code MM01

    Hi,
    how to restrict Materilal master by Material type in t-code MM01
    I do restrict by M_MATE_MAR authorization object . After i see there not restrict.
    Amit

    >
    sapvinithbasis wrote:
    > hi
    > plz help me out in solving this issue
    > regards vinith
    Vinith,
    I have explained in great detail exactly what you need to do at every stage.  The steps I have outlined are the same that I follow every time that I want to apply material type restrictions. 
    I strongly recommend that you contact your security admin to help with this, alternatively engage the services of a trained/experienced security admin who can come on site and go through this with you. 
    If you have done the following then it will work:
    1. Assign auth group to material type via OMS2
    2. Verified that check for M_MATE_MAR is active
    3. Ensured that M_MATE_MAR does not contain the auth group/s which you assigned via OMS2 (that includes *)
    This is the last comment I will make on this topic.
    Cheers
    Alex

  • How to validate material status in physical Inv Doc creation using MI01

    Hi Experts,
    I would like to know how to validate material status while creating physical inventory document using MI01 transaction.
    I tried to figure out a suitable BADI and customer exits ,but it didnt work out well.
    Kindly share your thoughts on how this can be achieved.
    Regards,
    Mohammed Aslam Rasheed

    Do you really create your inventory documents with this MI01 transaction manually by entering material for material?
    The real transaction for physical inventory is MI31. How do you want SAP to react if hundreds of materials are selected and inventory documents are created in a batch process?
    SAP takes care about the material status in MI04 and MI07 transactions.
    I am not aware of any exit for MI01 maintenance, you may consider Explicit and Implicit Enhancement Options

  • 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.

  • SD-how to process material packing before sales order entry?

    Hi,Guys,
    If materials are packed before sales order is created, like:
    materia A,  10 batches was put in one bag,
    how to model it in R/3? Handling Unit Management can still be used?
    Best regards,
    Cherie

    Maybe I should tell the scenario more clearly.
    Following is the physical process in a High-tech company:
    10 finished goods:  A , were produced.Batch is 001.
    In the plant, they are packed into one bag. And this bag has a packing lable number:100
    now comes the sales order for one bag of material A. Stock worker go to the warehouse to get the packing number:100 to deliver this sales order.
    This scenario is different from the standard one using HUM. Because the standard scenario packing the materials when doing order entry,but this one is before order entry.

  • How to link Material Document with Sales Order

    Hi,
    When we receive stock through MFHU transaction it becomes sales order stock. The movement type used to receive these into stock would be 131 for MTS & 131 E for MTO. My question is how link Material Document (MKPF/MSEG) with Sales Order because later using that sales order and line item I want to get the planned order number in SAP from PLAF table.
    Thanks & Regards,
    Balaji Viswanath.

    Hi,
    To refer to Sales order you have to go to Purchase order .
      Step1 -From MSEG table you can get  the EBELN ( PO)  EBELP 
      BWART (Movement  Type).
      Step2-Now go to EKPO and retrieve all the PO EBELN, LABNR corrresponding
      to the PO  found the MSEG table.
      Step3-Now go to the VBAK for Sales order Header record and compare the field 
      VBELN = EKPO-LABNR+0(10) and to rerive Sales order item go to VBAP and
      copmpare the fields  VBELN = EKPO-LABNR+0(10)  and
       POSNR = EKPO-LABNR+10(5).
    Thanks
    PK

  • How to update Material group code in contracts ?

    Hi,
    We implemented SAP in my company a year ago. AS you can imagine we need to do some cleaning now we know how it works...
    We have change the Material Group code for over 1100 items.
    Thing is, the material group code in the contracts do not update automatically.
    I see two ways to handel this :
    1- re-enter contract
    2- delete lines that needs to be changed and recreate them...
    I know for sure that both solutions would work but they are time consuming so I was wondering if one of you had another idea ( a quick or at least a massive one would be appreciated...)
    Thanks for your help.

    Hi,
    You can use transaction MEMASSCONTRACT for mass changes to contracts
    Caution:- Please use this transaction if you know, else first practice it in sandbox and then use in production environment
    Thanks
    Diwakar

  • How to Restrict Confirmed Quantity in Sales Order (Based on Batch Expiry)

    Dear SD Experts,
    Currently our sales order confirms any amount of quantity if stock is available. And only during delivery it checks for the expiration of the batch and reduces the delivery quantity to batches available in stock within expiry.
    But since we are doing a bulk creation of deliveries at the end of the day, the check for expired batches is happening too late and no visibility for the data entry operators of stock that cannot be delivered during creation of the sales orders.
    So I am looking for solution to restrict the confirmed quantity in sales order to actually confirm only stock what can be delivered. i.e. based on expiry of the batch.
    Thanks!

    hi
    in Logistic general - batch mangement - batch determination allocation and check activation - maintain allocate SD search Procedure/ activate check
    check this for your sales area and sales document type and then in the search procedure maitain the strategy to check the Expiration date.
    regards,
    Sudhir

  • How to add material characteristics in sales order via BAPI?

    Hi all!
    I'm trying to use BAPI_SALESORDER_CREATEFROMDAT1 to create a sales order with one item that has some characteristics, but i can't seem to get it work. It creates the salesorder with the item but without characteristics data. Can somebody tell me what could be wrong?
    Here's the code:
    header-doc_type   = 'TA'.
    header-sales_org  = '3000'.
    header-distr_chan = '10'.
    header-division   = '00'.
    items-itm_number = '000010'.
    items-material   = 'CP-12'.
    items-req_qty    = '1000'.
    APPEND items.
    partners-partn_role = 'AG'.
    partners-partn_numb = '0000050000'.
    APPEND partners.
    c_ref-posex     = '000010'.
    c_ref-config_id = '000001'.
    c_ref-root_id   = '00000001'.
    APPEND c_ref.
    c_ins-config_id = '000001'.
    c_ins-inst_id   = '00000001'.
    c_ins-obj_type  = 'MARA'.
    c_ins-obj_key   = 'CP-12'.
    c_ins-complete  = 'T'.
    c_ins-consistent = 'T'.
    c_ins-quantity  = '0'.
    c_ins-quantity_unit  = 'ST'.
    c_ins-class_type = '300'.
    APPEND c_ins.
    c_val-config_id = '000001'.
    c_val-inst_id   = '00000001'.
    c_val-charc     = 'CP_12_ADD_ON'.
    c_val-value     = 'F'.
    c_val-valcode   = '1'.
    APPEND c_val.
    c_val-charc     = 'CP_12_COLOUR'.
    c_val-value     = 'M'.
    APPEND c_val.
    c_val-charc     = 'CP_12_MODEL'.
    c_val-value     = 'M'.
    APPEND c_val.
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
      EXPORTING
        order_header_in           = header
        convert_parvw_auart       = 'X'
      IMPORTING
       salesdocument             = salesdoc
       return                    = return
      TABLES
        order_items_in            = items
        order_partners            = partners
       order_cfgs_ref            = c_ref
       order_cfgs_inst           = c_ins
       order_cfgs_part_of        = c_prt
       order_cfgs_value          = c_val

    BAPI_SALESORDER_CREATEFROMDAT1
    "(obsolete from 4.6 version)
    BAPI_SALESORDER_CREATEFROMDAT2
    please see the version  and change the BAPI
    reward  points if it is usefull ....
    Girish

Maybe you are looking for

  • How do I get spouses and children on to printed labels and envelops?

    I store spouses and children in the fields provided for these names. When I go to print labels, Address Book puts the primary name and one randomly selected child name on the first line. So if the person is Jane Smith, I have her spouse listed as Joh

  • Tranforming columns into rows taking to long

    Hi, Please help me in tuning the query. I am trying to transform rows into columns. Its taking lots of time almost 13hrs for 500k records. select decode ( r,           1,Col_1,           2,Col_2,           3,Col_3,           4,Col_4,           5,Col_

  • What is Programme_Id in the table rcv_shipment_headers

    Hi, In RCV_SHIPMENT_HEADERS and RCV_SHIPMENT_LINES,there is a column like programme_Id .I want to know what is the relation between programme id and applicationid and Function_id Please let me know Thanks

  • Widget Foundation: URL for Web Start installation seems to be invalid

    Hi, the URL from the Widget Foundation installation document for the JAVA Web Start installation (http://nvpal168.pal.sap.corp:1080/wfws/foundationWS.jnlp) can not be resolved. Is the server actually running ? Maybe it is a wrong URL ? Any help is ap

  • Migrating existing site content to UCM

    We looking for any tools, APIs that help in migrating the existing content of web sites to UCM. The site content is structured and needs to mapped to WCM content in UCM. The site has static as well as dynamic content. For dynamic content we are assum