Want to disable few fields im SM30

Hi Gurus ,
I have a requirement to maintain a  ztable thorugh t-code. This all have to be done by one program .
In the program selection we have to radio button - a.)  Maintain   and b.)  Validate.
What the program is doing is just calling sm30 t-code for that z table.
Now if user have selected a.) Maintain  -    he should able to see and edit few fields.
if he select  b.)  Validate  - he will be  able to see all the fields and able to change them.
Please help me with the steps to achieve this.
Regards,
Sowmen

Hi,
You can work on this with 2 ways:
Option 1:  modify the Function group which is created by table maintanance genration according to ur requirement.
it is fast and easy but dont go for this way .AS if someone by mistakely Re- genrate that table maintanance in that all youe changes will go.Changes means the modification you have done for validation and all.
Option 2:  go for the Z development. and achieve ur functionality
thnaks.

Similar Messages

  • Want to disable a field (1..unbounded) at target side dynamically.

    Hello,
    I want to disable a field (1..unbounded) at target side dynamically in message mapping on the basis of a condition.
    Please help me out. I serached in existing threads but culdnt find it.
    regards,
    Rahul

    Hello,
    I want to disable a field (1..unbounded) at target side dynamically in message mapping on the basis of a condition
    You can't really disable it using normal mapping because at least it will occur once. What you can do is to change the occurrence to 0..unbounded or use XSLT/Java Mapping.
    Hope this helps,
    Mark

  • Disable few fields me21n, if the PO is creating with ref to PR

    Hi All,
    hw can i make disable few fields like vendor etc, while creating PO with the reference to the PR.
    hw to change the screen elements.. what is the exit for this..
    thanks

    thanks for the reply..
    based on condition i have to make it disable.. in field exit hw can i do this..
    when the po is creating without ref of PR than those fields should be enabled.
    hw can i do this..
    thanks

  • Disabling the field in SM30 based on some condition

    Hi all,
    I hv 11 fields in my custom table.I have a field called STATUS in it. The data into the table is automaticcaly generated when v run a report. when v go to SM30 only 3 fields are enabled. User has the provision to change only those fileds...
    The STATUS field may be 'C' or 'P'. If it is 'C', i shd make it as disabled,
    and if it is 'P' , when changed to 'D' shd be disabled.
    For this i hv taken the program name & screen no...in se51 i had created a new module in PAI.
    MODULE disable_flds1.
    module DISPLAY_FLDS1 input.
      IF ztest-zstatus EQ 'C'.
        LOOP AT SCREEN.
          IF screen-GROUP1 EQ 'STA'.
            screen-input = 0.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    endmodule.                 " DISPLAY_FLDS1  INPUT
    But the above logic is not workin...
    Can anyone help me..
    Thanx...

    Hi all,
    I hv 11 fields in my custom table.I have a field called STATUS in it. The data into the table is automaticcaly generated when v run a report. when v go to SM30 only 3 fields are enabled. User has the provision to change only those fileds...
    The STATUS field may be 'C' or 'P'. If it is 'C', i shd make it as disabled,
    and if it is 'P' , when changed to 'D' shd be disabled.
    For this i hv taken the program name & screen no...in se51 i had created a new module in PAI.
    MODULE disable_flds1.
    module DISPLAY_FLDS1 input.
      IF ztest-zstatus EQ 'C'.
        LOOP AT SCREEN.
          IF screen-GROUP1 EQ 'STA'.
            screen-input = 0.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    endmodule.                 " DISPLAY_FLDS1  INPUT
    But the above logic is not workin...
    Can anyone help me..
    Thanx...

  • Disabling certain fields on the selection screen.

    Hi all,
              I want to disable certain fields on selection screen of my program, also i want to display certain fields on selection screen only if a particular field on the selection screen is checked or selected. Please guide me how this can be achieved via coding in a program.
    Thanks & regards,
    Chetan.

    Hi Chetan,
    try this.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: pa_file TYPE rlgrap-filename MODIF ID abc,
    pa_lifnr TYPE lfa1-lifnr MODIF ID abc,
    pa_vkorg TYPE vbak-vkorg MODIF ID abc.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS: pa_kunnr TYPE vbak-kunnr MODIF ID def.
    SELECT-OPTIONS: s_lifnr FOR gs_lfa1-lifnr MODIF ID def,
    s_date FOR gs_lfa1-erdat MODIF ID def,
    s_augru FOR gs_vbak-augru MODIF ID def,
    s_vbeln FOR gs_vbak-vbeln MODIF ID def.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pa_upd RADIOBUTTON GROUP g1 USER-COMMAND uc01 DEFAULT 'X'."#EC *
    SELECTION-SCREEN COMMENT 3(60) text-004 FOR FIELD pa_upd.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pa_rep RADIOBUTTON GROUP g1 ."#EC *
    SELECTION-SCREEN COMMENT 3(60) text-005 FOR FIELD pa_rep.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b3.
    IF pa_rep EQ gc_x.
    LOOP AT SCREEN.
    IF screen-group1 = gc_abc.
    screen-input = gc_zero_num.
    ELSEIF screen-group1 = gc_def.
    screen-active = gc_one_num.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    ELSEIF pa_upd EQ gc_x.
    *For Reprocessing
    LOOP AT SCREEN.
    IF screen-group1 = gc_def.
    screen-input = gc_zero_num.
    ELSEIF screen-group1 = gc_abc.
    screen-active = gc_one_num.
    ENDIF.
    MODIFY SCREEN.
    CLEAR pa_upd.
    ENDLOOP.
    ENDIF.
    REPORT zrich_001.
    PARAMETERS: p_rad1 RADIOBUTTON GROUP grp1 DEFAULT 'X'
    user-command chk,
    p_rad2 RADIOBUTTON GROUP grp1.
    SELECT-OPTIONS: s_datum1 FOR sy-datum MODIF ID d1,
    s_datum2 FOR sy-datum MODIF ID d2.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF p_rad1 = 'X'
    AND screen-group1 = 'D2'.
    screen-active = '0'.
    ENDIF.
    IF p_rad2 = 'X'
    AND screen-group1 = 'D1'.
    screen-active = '0'.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    reward if useful.
    regards,
    sravanthi.

  • Enabling / Disabling a field on a Form

    Hi, I would like to enable a field for user input query value,
    but once the data is returned to the form, I want to disable that
    field so that it cannot be editable. (i.e. it is the PK for that
    table). Anyone has any suggestions / Ideas.
    Thanks
    Srini

    Hi,
    If you can find the form element in Javascript using
    document.forms[0].elements[i] - where i is the element number
    then you can disable it by
    document.forms[0].elements.disabled=true;
    and enable it by
    document.forms[0].elements[i].disabled=false;
    the javascript would be something like:
    if (document.forms[0].elements[i].value > "") {
    document.forms[0].elements[i].disabled=true;
    this will disable the field if it has a value.
    you should put this in AFTER displaying the form since otherwise
    the form is not there for the code to run on.
    Regards Michael

  • Disable a field at Item level for SC confirmation Screen

    Dear All ,
    PLEase help me with a step by step instruction on how to disable field at Item level of  confirmation screen of SC .
    I tried in Webdynpro component : Web Dynpro Component:/SAPSRM/WDC_DODC_CONF_IBD in se80 and below is what I get ;
    When I click on Display it asks me for an access key which I dont have ..
    When I click on the enhancement option it asked me to create an implemenation which I did as seen in yellow below and still the enabled field is not getting editable so tha I can uncheck and make the field dissapper .
    Please can some one really help me in understanding what exactly I am doing wrong ?
    Also  Please let me know if the SPRO path related in this to be able to do in any which way ... I tried expanding
    Configure field control .. and it doesnt expand so dont know which other option to use ..
    Thanks for your help in advance .
    Kindly let me know !!
    Regards
    Vinita

    HI Laurent .
    1. Thanks for your input . I wasnt able to open the SPRO path coz I was using SAP 720 and when I installed 730 I was able to use it .
    2. I am still not able to udnerstand how to configure it through Meta data .. What does Final_Entry mean .. I want to disable the field Last del indicator and its flag box and the label as well ..
    3. I tried through component configuration and it worked ..as below :
    I went to the webdynpro component and started the component configiurator :
    Here I made both the field and Label insisible and was able to do this .
    Please can some one help ,me know how to configire this through Meta data concept as well .. I wanted to try that method as well for my understanding ..
    Would appreciate your help and would be closing this post soon ..

  • To disable one field of standard sap screen.

    Hi,
    I want to disable one field of standard SAP screen for example
    tran code : MD61
    Field : Version.
    Can Anybody suggest me with simple coding.
    thanks
    naresh

    Naresh,
    I guess this can be done using Transaction Variant SHD0.
    Just try to check the links related to transaction variant.
    1.go to SHD0
    2.give the transaction as MD61     
    3.Transacation variant as zmd61
    4.now press create button
    4.Here you will get to see the initial screen on MD61
    5.Press enter
    6.You will get to see the field attributes in a screen called 'Confirm Screen entries"
    7.There you can make a field as required/invisible/ouputonly.
    Do check other links available in SDN for more info.
    K.Kiran.

  • Disable mapping fields

    Hi
    Is there any way to disable the fields in mapping.
    I am using same Message Type for source and target. But i want to disable some fields in source structure... is there any way to disable the fields in source structure.
    Thanks & Regards
    Sowmya....
    Edited by: Sowmya on Jun 2, 2008 11:20 AM

    HI,
    To Disable fields from Source structure will not make any logic as either the Source structure fields are mandatory or optional and you will be sending any data to it by any means either directly or by UDF, only target side Structure is important. Thus you can disable the fields in Target Structure.
    Right click on any of the field in Mapping -> Mark Disable filed option to disable the field
    Thanks
    Swarup
    Edited by: Swarup Sawant on Jun 2, 2008 8:03 AM

  • In the component overview screen of CO01 I want  to disable all  the field in  screen of table control.I want to make it as output screen only.

    Hi all
      In the component overview screen of CO01 I want  to disable all  the field in  screen of table control.I want to make it as output screen only.
    Thanks & Regards,
    Rajib.

    Isn't that just exactly what transaction CO02 does? CO01 is for creating production orders so what sense does it make to have it display mode only?
    Maybe your goal is to stop then end user changing the component assignment that is automatically  detected by the system. If so, personally I think a better starting point would be PP configuration or user authorizations rather than looking to change the screen by whatever method. As we don't know what you are trying to achieve it's hard to offer much more advice maybe all you need is to change transaction to CO02

  • Enable / disable classification fields in material master?

    Hi experts
    We hope to assign one group who could change the matieral master fields on classification.
    Like one gropu who could change the classification fields- date, on mateiral master . others only could display
    Is that possible to modify the program to enable or disable one field ?
    Now we have mm02 for normal user and zmm02 for specific user.
    Thanks
    ALice

    Hi
    When you create a role with transcation MM01, the Authorisation objects related to Classification are inherited from the transaction.
    If you want to give the user only diplay options maintain the Activities as 03 for the authorisation object C_KLAH_BKL & give the Class Type Z01.
    For the Chracteristics (Class maintenance)in the authorisation object C_TCLS_MNT maintain Activity 03 & Class type Z01
    Similarly create another role & assign it to the user whco is authorised to create or chnage values, Give hm the activiies 01,02 & the class type Z01.
    I feel that there is no requiremnt of changing the Program, as the authorisation objects are laready available.
    Thanks & Regards
    Kishore

  • Disable certain fields during the creation of SC using "create limit item"

    Hi,
    I have a requirement to disable certain fields from the role "SHOP" associated with the operational purchaser role. I would like to disable the fields "Unlimited check box", "Service Agent", " Invoice Only radio button", "Unknown account assignment radio button" from the screen I get during creation of SC using the option "Create Limit Item". Also i need to disable the option "Good / Service" entry box as we are using only free text items and donu2019t want this option to be seen in the screen when using the operational purchaser role.
    Please advise how can I achieve this.
    Regards
    GGL

    Hi,
    I have a same requirement to disable certain fields from the Shopping Cart Limit Item. I would like to disable the fields  "Service Agent", "Unknown account assignment radio button" from the Detail  screen. during creation of SC using the option  Limit Item .  Also i need to make default Value "Known" and "Invoice Only". But this is in SRM 7.0. Notes You have mentioned supports only Release 5.5, But I am in Release 7.0. Any idea?
    I appreciate your help
    Thanks,
    Monica

  • How to disable the previously entered user ID's that automatically appear. For example ; when logging into email , first letter of user ID promts the previously used email user IDs... Want to disable this feature---How can ot be done ?

    Question
    How to disable the previously entered user ID's that automatically appear. For example ; when logging into email , first letter of user ID prompts the previously used email user IDs... Want to disable this feature---How can it be done ?

    *Click the (empty) input field on the web page to open the drop down list
    *Highlight an entry in the drop down list
    *Press the Delete key (on Mac: Shift+Delete) to remove it.
    *http://kb.mozillazine.org/Deleting_autocomplete_entries
    * Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
    * Tools > Options > Privacy > History: "Remember search and form history"
    * https://support.mozilla.com/kb/Remembering+passwords
    * https://support.mozilla.com/kb/Form+autocomplete

  • Disabling a field based on value of three dff fields

    Hi,
    I am trying to disable a dff field based on the value of three dff LOV fields. User selects the value of these three dff from lov. I am using the below code in processRequest method of the controller but its nt giving me desired result. Kindly help me.
    Code:-
    OAMessageLovInputBean selectedSiteUseDetailDFF1 = (OAMessageLovInputBean)paramOAWebBean.findIndexedChild("SiteUseDetailDFF1");
    OAMessageLovInputBean selectedSiteUseDetailDFF2 = (OAMessageLovInputBean)paramOAWebBean.findIndexedChild("SiteUseDetailDFF2");
    OAMessageLovInputBean selectedSiteUseDetailDFF3 = (OAMessageLovInputBean)paramOAWebBean.findIndexedChild("SiteUseDetailDFF3");
    OAMessageLovInputBean selectedSiteUseDetailDFF4 = (OAMessageLovInputBean)paramOAWebBean.findIndexedChild("SiteUseDetailDFF4"); --want to disable this
    String contextVal = null;
    String lobVal = null;
    String atmVal = null;
    String defVal = "ATM Data Fields";
    String defLobVal = "ATM";
    String defAtmVal = "ENV";
         if (selectedSiteUseDetailDFF1!= null && selectedSiteUseDetailDFF2!= null && selectedSiteUseDetailDFF3!= null)
                        contextVal = selectedSiteUseDetailDFF1.getText(paramOAPageContext);
                        lobVal = selectedSiteUseDetailDFF2.getText(paramOAPageContext);
                        atmVal = selectedSiteUseDetailDFF3.getText(paramOAPageContext);
                   if(contextVal == defVal && lobVal == defLobVal && atmVal == defAtmVal)
                        selectedSiteUseDetailDFF4.setDisabled(true);
    Regards,
    Rajeev

    Rajeev,
    Can you try printing the below value to check whether it's returning the expected value. let me know if its returning the screen value.
    contextVal = selectedSiteUseDetailDFF1.getText(paramOAPageContext);
    lobVal = selectedSiteUseDetailDFF2.getText(paramOAPageContext);
    atmVal = selectedSiteUseDetailDFF3.getText(paramOAPageContext);
    Regards,
    Gyan

  • Disable a field of a detail block

    Hi. I am working on master-detail form.i want to disable my detail block field when execute.
    But no error no changes.Here is my code
    TRIGGER:POST-QUERY
    IF :XXTT_KONTRAT_LINES_V.TIP=2 THEN
      fnd_message.set_string('1');fnd_message.show();
    --SET_ITEM_INSTANCE_PROPERTY('XXTT_KONTRAT_LINES_V.SS_NO', CURRENT_RECORD, enabled, PROPERTY_true);
    SET_ITEM_INSTANCE_PROPERTY('XXTT_KONTRAT_LINES_V.SS_NO', CURRENT_RECORD, insert_allowed, PROPERTY_true);
    SET_ITEM_INSTANCE_PROPERTY('XXTT_KONTRAT_LINES_V.SS_NO', CURRENT_RECORD, update_allowed, PROPERTY_true);
    SET_ITEM_INSTANCE_PROPERTY('XXTT_KONTRAT_LINES_V.SS_NO', CURRENT_RECORD, NAVIGABLE, PROPERTY_true);
    else
      fnd_message.set_string('2');fnd_message.show();
    SET_ITEM_INSTANCE_PROPERTY('XXTT_KONTRAT_LINES_V.SS_NO', CURRENT_RECORD, insert_allowed, PROPERTY_false);
    SET_ITEM_INSTANCE_PROPERTY('XXTT_KONTRAT_LINES_V.SS_NO', CURRENT_RECORD, update_allowed, PROPERTY_false);
    END IF;

    mustafa_yilmaz wrote:
    Hi. I am working on master-detail form.i want to disable my detail block field when execute.
    --SET_ITEM_INSTANCE_PROPERTY('XXTT_KONTRAT_LINES_V.SS_NO', CURRENT_RECORD, enabled, PROPERTY_true);
    You can't ENABLE or DISABLE an item in a multi-row block using the Set_Item_Instance_Property() built-in.  Take a look at the Forms Help system on this built-in and you will find that you can only set the following properties using this built-in:  BORDER_BEVEL, INSERT_ALLOWED, NAVIGABLE, REQUIRED, UPDATE_ALLOWED, and VISUAL_ATTRIBUTE.
    In order to make a field in a multi-row block disabled, you have to emulate a disabled field.  In other words, you can set the INSERT/UPDATE_ALLOWED properties as you are doing and I would recommend you also set the NAVIGABLE property to FALSE in your ELSE clause as well.  If you need the field to appear as if it is disabled, then I recommend you create a set of visual attributes; one for a disabled field and one for an enabled field.  Something like: DISABLED_FIELD and ENABLED_FIELD.  Then you can use the Set_Item_Instance_Property() built-in to set the visual attribute in addition to the other properties you are setting.  This will give the field the appearance that it is disabled.
    Hope this helps.
    Craig...

Maybe you are looking for

  • How to Aoid \ charcters in the stored properties file

    I m using the code to store into .properties files but it adds \ before : How can i avoid this Properties prop = new Properties(); prop.setProperty("URL", "jdbc:oracle:thin:@:host:port:schema"); properties.store(new FileOutputStream(db.properties), n

  • Today's (June 12) Software Updates Will Not Install

    Anyone else having this issue?  It downloads today's two updates to Snow Leopard (iTunes10.6.3 and AirPort Utility 5.6.1) and then proceeds with the progress bar which reaches a point 2/3 of the way and never progresses after 30 minutes.  At that tim

  • Internal error: SO_OBJECT_MIME_GET Exception: 3

    Hi, When I try to send email attached a text file, I am getting the error above. What is the problem? Thanks. deniz.

  • Sorry for the dumb question...

    Sorry for the dumb question but I've never used two hard drives on a mac. On my second installed hard drive on my new Mac Pro, I can not create a new folder (the option is greyed out). What do I do?

  • 0COUNTRY Hierarchies

    Hi all, I was wondering where in ECC are the hierarchies maintained for InfoObject 0COUNTRY. And is there a standard DataSource for this? What is the best way to load a bunch of hierarchies into this InfoObject? South America -Brazil -Argentina Centr