Make quantity field of Free goods as non-editable.

Hie!
I have free goods scheme of 9 + 1 .If quantity of main material is 10 then it will split into 9 + 1 where 1 is free of cost.
While making the sales order the free goods quantity field is editable. So the users are able to change the free goods quantity. I want to make this field as non-editable.
Please suggest how to do this.
Thankyou.

Hi Pallavi
If you change the manual qty which is automatically determined by the system then there will be a message thrown by the system
Suppse in your case if 9+1 you change the qty manually to 2 from 1 there is a message V1 no 737 thrown by the system
You need to change the message class thro ABAP development only not possible thro customization
Not only this in delivery also it is possible to change the free qty and this also has to be controlled by the ABAPer only
Regards
Raja

Similar Messages

  • New Fields For Free Goods Determination

    Hi everyone.  We need to add a new field for FG determination.  According to the documentation in SPRO, the new field should be added in SE11 KOMK under include KOMKZ for free goods.  However there is no KOMKZ include in KOMK.  How is this supposed to work?  We have succesfully added fields for pricing, shipment cost, listing and exclusion without any problems.
    "New fields for free goods determination are added in the following INCLUDES:
    Header data in KOMKZ (INCLUDE in KOMK, KOMG)
    Item data in KOMPZ (INCLUDE in KOMP, KOMG)"
    Thanks!

    Hi Rodrigo..
    As mentioned the include is KOMKAZ and not KOMKZ.. Just wanted to check if code has been written in the user exits to populate that fields..
    Ex:
    FORM USEREXIT_PRICING_PREPARE_TKOMK in include MV45AFZZ .
    It worked for me.
    Best Regards,
    Pradeep.

  • Problem adding new field to free goods Determination

    Hi everyone. We need to add a new field for Free Goods determination. According to the documentation in SPRO, the new field should be added in SE11 KOMK under include KOMKZ for free goods.
    However there is no KOMKZ include in KOMK. How is this supposed to work? We have succesfully added fields for pricing,using KOMKAZ but... I cant find KOMKZ, the is a error in SPRO documentation or what Im doing wrong?
    "New fields for free goods determination are added in the following INCLUDES:
    Header data in KOMKZ (INCLUDE in KOMK, KOMG)
    Item data in KOMPZ (INCLUDE in KOMP, KOMG)"
    Someone could tell me how u do it to add a field for Free Good determination ?
    Thanks!

    It seems to ve a Typo Is not KOMKZ  I used KOMPAZ include and worked fine after checking the customozing.

  • Where is INCLUDE KOMKZ for adding field to Free Goods Determination ?

    http://help.sap.com/saphelp_46c/helpdata/en/0e/9e466f0e18d311ae620060b03c9bbe/content.htm
    This page is the info in SPRO for adding a field for Free Goods Determination.
    New fields for free goods determination are added in the following INCLUDES:
    Header data in KOMKZ (INCLUDE in KOMK, KOMG)
    Item data in KOMPZ (INCLUDE in KOMP, KOMG)
    I checked and the struture KOMKZ doesnt exist, only a data element exists. So... I was wondering if it´s a error in SAP Documentation.
    When u add the field in that include it will be in KOMK, I allready added a field for Pricing determination...in INCLUDE KOMKAZ, so I add also the field for Free Good in that structure...but it doesnt work, I know that in the end is just a field in KOMK, but perhaps there is some kind of validation... because Pricing determination works, but Free Goods doesn´t and I think that is because the field is in the wrong Include Structure.
    Some1 could give me a hand with this ?
    Thx

    Hi Rodrigo..
    As mentioned the include is KOMKAZ and not KOMKZ.. Just wanted to check if code has been written in the user exits to populate that fields..
    Ex:
    FORM USEREXIT_PRICING_PREPARE_TKOMK in include MV45AFZZ .
    It worked for me.
    Best Regards,
    Pradeep.

  • Payment Term field to be set as Non Editable in Sales Order

    Hi,
    I have a requirement, in which the user wants to make the Payment Term field in Sales Order as Non Editable in case the Payment terms is copied from Customer Master to Sales order.
    In case no value is copied, it should be editable.
    Is there any setting to make this happen.
    Can anyone help on this?
    Please advise.
    Regards,
    Harsh

    Harsh,
    2 Options,
    1 by changing screen variants by SHD0
    2. By modifying USEr Exit.
    Thanks,
    Raja

  • How to make quantity field in puplic templates editable?

    Hi SDN,
    we are implementing SRM 5.0.
    We have a change request to make the quantity field in public templates  (or when you chose approved (old) shopping carts for a new order) ready for input.
    What I tried so far is to go to the corresponding template, which is
    SAPLBBP_PDH_SEARCH 4001 and exchange
    `SUBLIST-QUANTITY[n].value`
    by
    <input type="text" name="SUBLIST-QUANTITY[n]" value="`SUBLIST-QUANTITY[n].value`">
    Debugging the corresponding dynpro 4001 of function group BBP_PDH_SEARCH
    PAI: MODULE mark_read_from_web. 
    there:
    LOOP AT <sublist> INTO <lfs_sub_wa>.
    shows, that the new quantity I might set on the webfrontend does not get transferred to <sublist>-quantity in the dynpro.
    Even though in the debugger I manually changed the incoming quantity, it does not show up on the next webscreen with the shopping cart...
    any ideas welcome,
    regards, matthias

    Hi Atul,
    the need for the requirement is very obvious, also we had this modification in the old release - and I am merely trying to rebuild it.
    But for the business case: Just imagine you have 100 or more articles in a public template and maybe you have to chose new articles from different public templates. Then it is really painful if you have to recheck the shopping cart after you have filled it, just to change the quantities. This modification saves a lot of time and work for the users. Also I am wondering why it is not already standard behaviour.
    regards, matthias

  • Variant CO11N & CO15 good movement non editable

    Hi team
    I need you HELP!!
    I have generate a transaction variant for tcodes: CO11N and CO15 then I have assigned some users to both transactions.
    in SHD0
    First I set the users to CO11N variant --> assign variant and set proposal.
    with the same group of user i set the variant for tcode CO15.
    when testing I realized the the field quantity in Good movements was non editable in CO15 (the last configuration for the list of users).
    but in CO11N it was editable
    I know there is an option to active the variant at the begginig of the transaction but this is not a solution since it makes for ALL non editable and not only the listed users. Also it affected all the plant.
    How can I make it non editable in CO11N and CO15 at the same time for the list of users??
    thks in advance!!

    PLS help!!!
    I have analized the variant again.. but i can not find how to make non editble the quanty field in TCODE CO11N and CO15 at the same time.
    I test with 2 different users:
    user1 has the variant assigned and not user2
                                   co11N                            co15
                  user1           editable                       non editable
                  user2           editable                       editable
    I can not active the variant because it will be non editable for ALL the users without taking care the assignment.
    pls help!!!

  • To make the dynamic text eg. & GV_VALUE& non-editable in text modules

    Hi Experts,
                My requirement is to make the dynamic text in the text modules non-editable i.e, static text can be edited by the user but dynamic text should be made non-editable. Could you please help me out in doing this.
    Regards,
    Payal G

    Hi Amrendra,
    The reason why it gets read only its because you are deleting the object thus the binding becomes null (because the object is gone!!!). So if you don't want it to be gone, it needs to refers to anything but null. So, if once you delete the object you expect it to remain editable then you can do:
    - Instead binding the inputText to the VO, bind it to some other variable (in a bean or in a binding variable) and do the logic to update the VO when required OR
    - Once you delete the row, Execute a CreateInsert operation from your VO. This will allow you to create a new Row (which is going to have all values blank) but at least the binding wont be null and your input text wont get read only.
    Maybe if you share in more details what is what you want to achieve in term of why do you expect the input text to remain editable (can you create a new row??)
    Regards

  • How to make the Pager for table view as non editable?

    Hi,
    I am using an HTMLB pager for my table view .
    It appears as Page '1' of 2 for examle.
    But '1' is dispalyed in an input field.
    How do I make this input field as disabled.
    I just want to use the Vertical and horizontal indicators to traverse through the pages of the table view.
    I do not want the user to enter the page number ..
    Thanks,
    Sachin

    Look at SBSPEXT_XHTMLB sample, pages pager.bsp and pagerX.bsp.
    If you use the external pager, then you can specify a format where a text string will only be displayed without an inputfield for editing.

  • How to make the field in the output ALV report editable ?

    Hi,
       I have a requirement to make fields like MATNR,WERKS in the output ALV report editable . Could any of you help me with this ?.
    Thank you.
    Moderator Message: Search.
    Edited by: kishan P on Sep 6, 2010 6:35 PM

    Hi
    Please for available information on SCN. There are a lot of information on SCN about ALV wit hEDIT functionality.
    Regards
    Abhii

  • Create New Field - Package is null and non editable

    7.0 when choosing the Create New Field in the UI, I get a window where the Package is empty and I can not edit it, the Namespace contains a Z and is not editable.
    I select ORDERADM_I but when I select OK I get the message the Package is Required.
    I am guessing I need to do something in EEWB? but not quite sure.  I did find any other forum questions with this issue.

    Hi,
    I assumed you are using Application Enhancement Tool.
    The prerequesite to use Application Enhancement Tool is you have to maintain the system settings in transaction AXTSYS.
    Here you can define a default value, which will be displayed in WebUI.
    Regards,
    Steve

  • ME22N - Make MEPO1211-EEIND non editable

    Hello Experts!
    I have the requirement to make non editable the field EEIND in ME22N.
    The Screen is 1211 in program SALMEGUI,
    I've seen others thread but didnt work for me ( becouse other thread was about addin fields )
    Any idea of an Enhacement or Exit to this problem?
    Thanks!

    Hello friends,
    I'm trying to make the field Collective number ( ekko-submi ) non editable only for a specific document type, using the logic above.
    I change the badi ME_PROCESS_PO_CUST method FIELDSELECTION_HEADER with the code below. My problem is this method is not called in program LMEPOBADIU07 (FM MEPOBADI_FS_HEADER), becouse the insert command fails in the following code. Anybody already know this problem?
       LOOP AT ch_fieldselection ASSIGNING <fs1> WHERE metafield GE mmmfd_cust_01.
         INSERT <fs1> INTO TABLE lt_fieldselection.
       ENDLOOP.
       IF sy-subrc IS INITIAL.
         CALL METHOD l_instance_cust->fieldselection_header
    The values in mmfd_cust_01 is '  90000000' (with 2 spaces in left side) and ch_fieldselection is
    METAFIELD     FIELDSTATUS
             9 |.                                                            
            11 |+                                                            
            12 |.                                                            
            13 |+                                                            
            14 |.                                                            
            27 |.                                                            
            29 |.                                                            
           303 |.                                                            
           304 |.                                                            
           305 |.                                                            
           306 |.                                                           
           307 |.                                                            
    Code writen in BADI:
    METHOD if_ex_me_process_po_cust~fieldselection_header .
      DATA: l_persistent TYPE mmpur_bool,
            l_changeable TYPE mmpur_bool,
            mmmfd_coll_no TYPE mmpur_metafield VALUE 016,
            mmmfd_doc_typ TYPE mmpur_metafield VALUE 201,
            l_header TYPE mepoheader.
      FIELD-SYMBOLS: <fs> LIKE LINE OF ch_fieldselection.
    * if the item is already on the database,
    * we disallow to change field badi_bsgru
      l_persistent = im_header->is_persistent( ).
      l_changeable = im_header->is_changeable( ).
      l_header = im_header->get_data( ).
      IF l_changeable IS NOT INITIAL AND l_header-bsart EQ 'FI'.  "(me22n) AND OTHER CONDITIONS
        READ TABLE ch_fieldselection ASSIGNING <fs>
            WITH TABLE KEY metafield =  mmmfd_coll_no.
        <fs>-fieldstatus = '*'. " view
      ENDIF.
    ENDMETHOD.

  • Fields in Creation of free goods VBN1

    hi everybody,
    Can somebody expalin in detail the fields in creation of free goods(T-vbn1) like free goods quantity,additional quantity,documnet quantity and calculation rule....
    <b>Please dont copy paste anything form SAP help....I read that one......</b>
    I would appreciate if u explain with your sentence..
    Will reward point if it helps.
    Ghassan

    Hi Gafoor,
    Material
    Material, for which free goods is to be
    granted
    Minimum quantity
    Minimum quantity for which free
    goods can be granted
    From
    Quantity of sales material
    FGQ--- Quantity unit of free goods material
    Free goods -- Quantity of free goods with reference to the quantity and quantity unit of the sales material.
    AQU - Quantity unit of the free goods additional quantity
    Rule - Calculation rule
    Prorata
    whole units
    unit related
    D -- Delivery controlling -  it tells how you can manage the delivery of free goods with respect to the main item ordered.
    Additional material -  Additional material (only available for entry in exclusive free goods)
    Hope it helps. Please reward if helpful.
    Thanks & Regards
    Sadhu Kishore

  • In Free goods how to restrict the quantity to not to alter.

    Dear All,
    I have maintain condition record for free goods in VBN1.EX.102.While creating sales order for 20 quantities system populates 204.But if am changing this as 152 or 205,system is allowing to do.Same is the case at delivery.How can we restrict the system to not to allow the changes in sales order in case of free goods .Please guide me.
    Regards,
    Deepti

    Hi
    KIndly check the  below user exit and make the free goods item as in display mode
    MV45AFZZ 'USEREXIT_FIELD_MODIFICATION'
    to change the SCREEN-INPUT = 0 to make it display  for free goods item category Tann
    By doing above if any one changes main item  system will accordingly change the free goods item also
    Regards
    Damu.

  • Free goods determined in Delivery over Order Quantity in Sales Order Item

    Hi Gurus,
    I've a problem about using free goods determination.
    First I created free goods master record with following information
    ZG1010012060075 From 100 PC -> Free good ZG1040012060075 2 PC
    Free goods Category = '2' (Exclusive)
    Free goods delivery control = 'E' (Delivery proportional to quantity in main item)
    Then I've created Sales Order with
    Item 10 ZG1010012060075 4,000 PC.
    Item 11 ZG1040012060075(Free good) has been automatically determined for 80 PC
    Then I've splitted Item 10 into 4 deliveries. The result of free goods determine in each delivery are as follow:
    Delivery#1)
    Item10 ZG1010012060075 = 1,176 PC
    Item20 ZG1040012060075 = 24 PC
    Delivery#2)
    Item10 ZG1010012060075 = 1,176 PC
    Item20 ZG1040012060075 = 24 PC
    Delivery#3)
    Item10 ZG1010012060075 = 1,176 PC
    Item20 ZG1040012060075 = 24 PC
    Delivery#4)
    Item10 ZG1010012060075 = 472 PC
    item20 ZG1040012060075 = 9 PC
    *Remark : Total quantity of 'ZG1040012060075'(free goods) = 92424+24 = 81 PC
    (Greater than 80 PC)*
    I think the system determined free goods in Delivery#4 correctly due to rounding up. But It might not be over the order quantity in Sales Order Item 11. Even though I've set the item category in delivery with Check overdelivery = 'B' (Situation rejected with an error message), the free goods are determined over order qty. BUT if I change delivery qty in delivery#4 Item20 from 9 PC -> 8 PC -> 9 PC, the error message occurred.
    My point is to fix the system not determine free goods in delivery items over order quantity in sales order item.
    Has anyone met this situation before? Do you have any idea about this issue?
    Best Regards,
    Prachya Lalitnorasate

    Dear Sai,
    Thank you for your advice, but it didn't solve my problem.
    I would like the system to determine free goods with proportional to main item AND In the last delivery main item delivered completely free goods must be determined equal to remaining open delivery item.
    Do you have any idea about configuration/customization?

Maybe you are looking for

  • Captivate 4.0 - Need best practice tips on panning, templates, resolution, etc.

    Hi all, Been searching all over in case someone has already published Best Practices for Captivate 4.0 (particularly the new/enhanced features), but coming up empty. My client's in house graphics person has been tasked with creating a template for us

  • My Cannon mf8580cdw wont send emails,

    we cant email documens via scan, the contacts on the address book is greyed out.  SO i cant select them.  help would be much appreciated.

  • Another App Store bug?

    I downloaded, long time ago, a free version of WhiteNoise, then the app became shareware. Today I got a message from AppStore telling me it was updated but if I try to download it, either from mac or iphone, I get the error "item is no more available

  • Ale, partner profiles

    Hi,       I'm not able to create partner profiles, i'm getting log  'no messages defined for selection condition in model'. I'm creating it using BD82 transaction. no i dont have any conditions defined Message was edited by: veeresh kinagi

  • Can't Compare Two Photos Side by Side!

    Is it me, or iPhoto 11? If this is a missing feature in iPhoto 11, it is a serious, serious blunder! I am forever doing before and after comparisons of two photos- always been able to do it by selecting 2 photos, and then hitting the "full screen" bu