Deactivating the field for input

Hi friends,
I want to deactivate ( to make it read only) a field in standard Tcode for specific company codes.
( For example I want to deactivate company code field in ME22n -> Org data tab )
We have around 20 company codes and this change should be done for only one company code.
Using transaction variant we can deactivate it but change applies for all company codes.
Plz suggest how can we do this. Also suggest whther we can use field exits for same.
Thanks,
Madan Shinde

Hi
You can achieve this by using an implicit enhancement
in the class CL_BASIC_MODEL_VIEW_MM,
Method MODIFY_SCREEN.
There LOOP AT SCREEN and modify the SCREEN.

Similar Messages

  • The Submitter form cannot be validated if I don't fill the fields for each member of team (3). is it means that a team less than 3 persons cannot participate ??

    The Submitter form cannot be validated if I don't fill the fields for each member of team (3).
    is it means that a team less than 3 persons cannot participate    ??

    A team with less than 3 persons is eligible. One, two and three member teams are all eligible. I will remove the requirement to fill out the information for all three participants.

  • How can i find the fields for &DOPOS_CPY-WRBT1(I13.0)&

    Hi All,
    In sapscripts, what is the meaning for (13.0)?
    how can i find the fields for &DOPOS_CPY-WRBT1(I13.0)&?
    Thanks.

    meaning for (13.0) is write to form this variable's 13 character non decimal and 0 character decimal places.
    shortly not write decimal places.
    DOPOS_CPY-WRBT1 is exist in form caller program. check in abap program not in sapscript.
    take care
    Çağatay

  • What is the field for good receipts?

    hi friends
    i got the requirement to create the goods receipts
    what is the field for good receipts
    plz tell me how to create it
    thanks in advance
    Edited by: Alvaro Tejada Galindo on Feb 25, 2008 5:33 PM

    adapt this to your own requirements.  
    Structures for BAPI
    data: gm_header type bapi2017_gm_head_01.
    data: gm_code type bapi2017_gm_code.
    data: gm_headret type bapi2017_gm_head_ret.
    data: gm_item type table of
    bapi2017_gm_item_create with header line.
    data: gm_return type bapiret2 occurs 0.
    data: gm_retmtd type bapi2017_gm_head_ret-mat_doc.
    clear: gm_return, gm_retmtd. refresh gm_return.
    Setup BAPI header data.
    gm_header-pstng_date = sy-datum.
    gm_header-doc_date = sy-datum.
    gm_code-gm_code = '01'. " MB01
    Write 551 movement to table
    clear gm_item.
    move '101' to gm_item-move_type .
    move '000000000040001234' to gm_item-material.
    move '1' to gm_item-entry_qnt.
    move 'EA' to gm_item-entry_uom.
    move '0004' to gm_item-plant.
    move '4000' to gm_item-stge_loc.
    move '201' to gm_item-move_reas.
    Determine cost center per plant
    case xresb-werks.
    when '0004'.
    move '0000041430' to gm_item-costcenter.
    when '0006'.
    move '0000041630' to gm_item-costcenter.
    when '0007'.
    move '0000041731' to gm_item-costcenter.
    when '0008'.
    move '0000041830' to gm_item-costcenter.
    endcase.
    append gm_item.
    Call goods movement BAPI
    call function 'BAPI_GOODSMVT_CREATE'
    exporting
    goodsmvt_header = gm_header
    goodsmvt_code = gm_code
    importing
    goodsmvt_headret = gm_headret
    materialdocument = gm_retmtd
    tables
    goodsmvt_item = gm_item
    return = gm_return.
    call function 'BAPI_TRANSACTION_COMMIT'
    exporting
    wait = 'X'.

  • Need help with re-prompting the user for input .

    I am trying to wright a code the re prompts the user for input if they enter anything but an integer but I keep getting a "char cannot be dereferenced" error when I try to compile.
    Here's what I have got:
    import java.util.Scanner; // imports Scanner methods
    public class SandBox
      public static void main(String[] args)
          // re-prompting test
          Scanner in = new Scanner(System.in);
          System.out.println("Please enter an integer: ");
          String i = in.nextLine();
          for(int a=0; a<i.length(); a++)
              if( (i.charAt(a).isDigit()) ) {
                  System.out.println("Thank you!");
                  break;
                } else {
                    System.out.println("Please try again");
                    continue;
          int b = Interger.parseInt(i);
      }// end of class
    }//end of main method
     

    Sorry for double posting but it won't let edit my last post.
    I would prefer to go through it without using try catch because it takes longer though I will use it if I cannot get the other way working. I currently have two versions of the code both using try catch and the other way but both say that they "cannot find symbol" when I try to parse. here are both versions of the code:
    import java.util.Scanner; // imports Scanner methods
    public class SandBox
      public static void main(String[] args)
          // try catch test
          boolean inputIsFaulty = true;
          int inputInt = 0;
          Scanner in = new Scanner(System.in);
          do {
             System.out.println("Please enter an integer: ");
             String i = in.nextLine();
             for(int a=0; a<i.length(); a++)
                if (Character.isDigit(i.charAt(a))) {
                  System.out.println("Thank you!");
                  inputIsFaulty = false;
                } else {
                    System.out.println("Please try again");
            while (inputIsFaulty);
          inputInt = Integer.parseInt(i);
      }//end of class
    }//end of main method
    import java.util.Scanner; // imports Scanner methods
    public class SandBox2
      public static void main(String[] args)
          // try catch test
          boolean inputNotOK = true;
          int inputInt = 0;
          Scanner in = new Scanner(System.in);
          do {
             System.out.print("Please enter an integer: ");
             String inputStr = in.nextLine();
             try {
                inputInt = Integer.parseInt(inputStr);
                // this line is only reached if the parse works
                inputNotOK = false;
             catch (NumberFormatException e) {
                System.out.println("You didn't enter a proper number.  Please Try again.");
          while (inputNotOK);
          inputInt = Integer.parseInt(imputStr);
      }//end of class
    }//end of main method
     

  • I'm not able it to type into the field for the serial number.

    I have a Mac Book. I purchased a download card from Fry's. After pressing "accept" for the terms on my computer I'm not able it to type into the field for the serial number. What's wrong?

    Are you sure it's a serial number and not a redemption code? A PSE serial number is 24 digits beginning with 1057. If you have a redemption code, here's what you need to do:
    http://helpx.adobe.com/x-productkb/policy-pricing/serial-number-retrieval-process-faq.html

  • What is the field for sales order type?

    pls tell me what is the field for sales order type??
    and from which table........urgent

    Hi,
    Field for sales order type is AUART in table TVAK
    the Parent table for Sales order type is TVAK.
    Best regards,
    raam

  • Where in the legal terms is the field for "agree"?  Downloaded a tv she terms and conditions popped up but cannot find "agree"

    Where in the legal terms is the field for "agree"?  Downloaded a tv she terms and conditions popped up but cannot find "agree"

    Did the terms pop-up or did you click on them in downloads tab in the iTunes app ? If you clicked on it then it's just for info - your TV show should have downloaded into the Videos app.

  • Disabling the Qty field for Input for Sub items in Sales Order and Delivery

    Hi..
    I have a requirement, where by we need to disable the qty field vbap-kwmeng for input for sub items of the BOM.
    I am planning to use the user exit USEREXIT_FIELD_MODIFICATION...in the include MV45AFZZ for sales orders.
    But i need to disable the input only after the BOM Explosion and item category determination in the sales order.
    Can i Use the same exit ?? what additional conditions i need to take into account.
    also we need to disable the delivery quantity field also for the sub items of this sales bom.
    I see that this User exit is not available in delivery procesing.  How to acheive the required functionality in the delivery processing...
    your advice is much appreciated in this matter.
    Regards
    Srini

    hi,
    Route is determined
    1.Country of Departure & Departure Zone taken from Shipping Point
    2.Country of Destination & receiving Zone from Ship to party
    3.Shipping condition from CMR
    4.Transportation Group from MMR
    5.Weight Group which is optional.
    Check the above.
    Route is determined in delivery.
    ASHA

  • How to Change the Fields from Input mode to display mode

    Hi experts,
    Here is my business requirement. I need to show certain fields in the PRICING TAB OF SALES ORDER  in display mode. Now for this i am using the BADI definition CRM_PRICING_BADI.
       Now, can anybody tell me how to change the field type from input mode to change mode?

    Hi Karan,
      In your BADI has a parameter CT_INPUT_FIELD_NAMES with one field called CHANGEABLE with values:
         Field Can Be Changed
    A     Field Cannot Be Changed
       Assing this values to your fields according with your requirements.
    Regards.
    Manuel

  • Hiding and Protecting Fields for Input in SRM 4.0 (BSP) Shopping Cart

    On the Shopping Cart transaction(s) BBPSSC01 to BBPSSC03, the HTML templates are under ITS SERVICE BBPACCOUNT, and the main HTML template is called saplbbp_pdh_acc_2000_1. We want to grey out the G/L Account field and hide the business area field.Is there any other way to satisfy this requirement besides making an actual change to the HTML/BSP page and publishing. After researching this for quite a while I could not find another mechanism to grey out or hide fields. If the page has to be changed it looks like they have a code check if the field is disabled, can we simply set that field to true and the field will be Greyed Out and protected from input?
    SAP ECC 5.0 WAS 6.40
    Thanks

    Rb,
    Did you come up with a solution to your problem? I am wanting to do exactly what you have described in your message. The only way that i can think of is:
    To create a Screen Variant using transaction code SHD0 for those transaction codes i.e. BBPSC01 etc.
    SAP ECC 5, WAS 6.4, SRM server 5 / EBP 5

  • How to deactive the hyperlink for product

    In quotation,item level
    for each item,there's hyperlink for the product.
    For some reason,we don't want the user to enter the material master data.
    Then how could I deactive the hyperlink.
    Thanks
    Best regards,
    JiaoQian

    Hi,
    If you want deactivate the hyper link of product , Press f2 on that field and take the component name , then goto component workbench T code  as BSP_WD_CMPWB and enter the component name
    Go to the VIEW next, go to Context Node ,Then select the attribute , then expand the getter and setter methods .
    select the Get_p method then check the property of that attribute
    iv_property holds the property comment the one which you don't need.

  • Enabling the field for path

    Hi gurus,
    I am having 2 radio buttons in a group.
    If I click on the second radio button a field for path should appear i.e enabled or else the field should be in disable mode if it is first radio button.
    Please send me the code.
    promise to reward
    Mac

    Hi
    See the sample code and do accordingly
    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.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Logging takes in the field for multi-camera set-up with OL

    Is there any way to designate separate cameras or link shots (to be labeled as CamA or CamB) to advance takes and make notes simultaneously?
    OL doesn't really seem set up to use with documentary style shooting with multiple cameras, but maybe there is some way around this?
    I just want to be able to add takes in OL to multiple cameras without a lot of typing between each take...and add notes that are applicable to multiple cameras within one shot and one take.
    Any ideas?

    OnLocation CS5 has an entirely new feature set known as the File-Based Workflow that may be just what you are looking for. The basic steps are as follows:
    PRE-PRODUCTION (IDEALLY)
    1) Create a placeholder for one camera angle of a given scene/shot. (Consider using Adobe Story to prepare your script. Then you can hand the script off to OL and have it automatically broken down into scene-level placeholders. You will then still need to break those placeholders down to the shot level)
    2) Use the Camera Name property to designate the camera for that shot. If you use the "auto-matching" process, which you will likely want to do if you're entering notes per take, then this data point will be used to automatically mate a set of clips from, say Camera A to the correct set of placeholders.
    3) Fill in any other metadata that is common to other camera angles.
    4) Duplicate the placeholder for other camera angles & shots of the scene. To do this, you can use either the Duplicate Placeholder command or, to create multiple duplcates, the Break Out Scene command, both of which are available in the context menu when you right-click a row in the shot list. Note that both commands work with multiple rows selected.
    5) Customize each duplicate as appropriate.
    6) Repeat for your other shots.
    DURING THE SHOOT
    1) [Strongly recommended] For multi-cam shoots, synchronize the date/time on all the cameras. Ideally, synch them all to the date/time on the computer running OnLocation. This greatly simplifies the auto-matching process by saving you the hassle of repeatedly changing the camera date/time in OnLocation.
    2) Select placeholder(s) or clip(s) for the next shot.
    3) At any time between starting and stopping recording of the take, click the Timestamp button (upper left corner of the Project/Shot List panel). This step applies a timestamp to the placeholder, which makes it possible for the auto-matching mechanism to determine which clip belongs with which placeholder.
    4) Optional: Add temporal comment markers to timestamped placeholders, which will be aligned to the clip when you auto-match. (Note that PPRO does not recognize comment markers added in OnLocation.)
    5) Repeat steps 1-3 for subsequent shots
    AFTER TRANFERRING CLIPS TO THE COMPUTER
    1) In the Media Browser panel, navigate to the folder where you copied the content.
    2) Select the clips.
    3) Click the Auto-Match button at the top of the panel. This opens the Auto-Match dialog.
    4) if this is a multi-camera shoot, check the appropriate box and select the name of the camera that this content came from. The list for the Camera Name setting is populated from what you entered in the Camera Name field for all timestamped placeholders. [Be alert for unintended variants. For example, if you entered "Camera A" for some shots and "Cam A" for others, you'll see both versions in the list. Before proceeding, you should standardize the entries.]
    5) Set the Camera Date/Time. If you synched the cameras' date & time to the computer's, then this step is not necessary (unless you previously set a Camera Date/Time offset in OL, in which case you will need to reset the Date/Time to match the computer's.)
    6) Click OK to proceed with auto-matching. OnLocation will proceed to find the placeholder whose timestamp fits within the Start and Stop Recording times of one of the clips and, if relevant, whose Camera Name matches your selection. All metadata from that placeholder will be merged into the clip.
    [Please note that all of the foregoing is from memory--I don't have OL CS5 installed on this home computer--so I may have gotten the names of some of the controls wrong. I'm pretty confident that the basic workflow is sound, however.]
    Here's the help page for this feature. I'm afraid it's does not really cover the particulars for a multi-camera workflow. http://help.adobe.com/en_US/onlocation/cs/using/WS89e4fde9608114f41e5eb2de124b454ea2b-8000 .html
    As for entering the same string in the Comment field (or any other metadata property) for multiple placeholders or clips simultaneously, simply select whichever rows in the Shot List that you want to edit, then in the Metadata panel edit whichever properties you choose to. Your changes will be applied to all selected rows (assuming they're editable--i.e., not read-only or offline, both of which apply only to clips, not to placeholders)

  • Webservice  got the error 'For input string: "NEW" '

    Hallo Experts.
    Since 2 weeks I've tried to understand the whole stuff about CAF... And I meet so much problems und the part of problems I've solved... But some others I cannot..
    So I post some questions on the forum...
    I've developed the application services and exposed it as webservice. After that in the webservice navigator I see this service in the list. But if I click on the service I get the error message: For input string "New".
    I dont't know what it does mean, So I take a look in the log...I see the following:
    Error starting web application [AdmManagerWS].
    The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Cannot get web DD object from configuration for [AdmManagerWS] web application. It is missing.001B789235DE003400000738000012401CBD85C8893708AE
    I don't know what ist web DD object? Please tell me how I can solve this problem.
    And exactly I don't need to expose this application service as Webservices... because in the service Browser (CAF testing service) I can't not test the methods in the application service and I got the advice from one forum thread to make the test in the web services. But it also doesnot run.. I'm out of idea and disappointed.
    Thanks for any help and
    Kind Regards!
    Ping

    I have found out the error
    I exposed the application service to the web service and one data type in WSDL is short but I have given the string value "NEW".
    Thus I got this error if I call the web services.
    But the test methods of the application service in the service browser I haven't got it yet.. I think it is somehow impossible.
    Kind Regards
    Ping

Maybe you are looking for

  • Is there a hotkey to ADJUST Audio levels/gain?

    I really miss my "adjust by 1 or 3 db" hotkeys in FCP7.  I can't find anything similar in Premiere Pro CC - Anyone know of a way to quickly adjust individual clips by small increments with a hotkey? Thanks

  • Imovie/Final Cut project compatibility

    Can you open Imovie digitized movie clips/bin in Final Cut Pro. I hope so because, I've digitized a ton of media into Imovie, which I'm going to end up editing on Final Cut Suite.

  • Having problems with iTunes in Mac OS X 10.7

    I am now using Mac OS X 10.7 and what iTunes version is compatible with it? I tried iTunes 10.4.1 but it kept crashing.

  • Hyperlink to Word document on network drive

    I am setting up a webpage for internal use only. The purpose is for easy navigation for Policies and Procedures. I am using an Accordion widget for ease of use. The problem is I can't get the hyperlinks to open up the Word documents on the network dr

  • Cant see photos on icloud

    cant see photos on icloud