Diabling a field in the screen

Hi Friends,
I am developing a screen in SE51 (Screen Paiter).  My requirement is that, on opending the screen, a particular field (Eg. Plant Field) should be in disabled mode.  But, on entering some value in the other field (Eg. Company Code field), the disabled field should become enabled.
Kindly guide me as to how to do this.
TIA.
Regards,
Mark K

HI,
TRY LIKE THIS,
PARAMETERS: P1(10) TYPE C,
                          P2(13) TYPE C.
IN PBO MODULE.
AT SELECTION-SCREEN OUTPUT.
   LOOP AT SCREEN.
       IF SCREEN-NAME = 'P2'.
               SCREEN-INPUT = 0.
                MODIFY SCREEN.
       ENDIF.
    ENDLOOP.
IN PAI MODULE
AT SELECTION-SCREEN .
        IF  P1 IS NOT INITIAL AND .
             LOOP AT SCREEN.
                     IF SCREEN-NAME = P2
                        SCREEN-INPUT = 1.
                         MODIFY SCREEN.
                      ENDIF.
              ENDLOOP.
             ENDIF.
     IF HELPFUL REWARD SOME POINTS.
WITH REGARDS,
SURESH ALURI.

Similar Messages

  • How can i post the fields in the screen by selecting a record

    Hi,
      I have a problem in dialog programming.
      I need to populate the fields in the screen by selecting a single record.
      For example,
        Screen consists of 'CARRID, CONNID,FLDATE... fields.
        By pressing F4 in CARRID field it will display the contents from database table and display the records. If i select the record LH 0400 ... record then automatically the connid field should fill with the contents of the record i.e., 0400 and similarly the remaining fields.
       How can i do this in dialog programming?
       I tried with F4IF_INT_table_.. function module. There is a table parameter DYNmapping. But dont know how to use it? Can any body explain me how to use it?
       Thanks in advance..
       Suvan

    Hi Vinod,
      Thanks for your reply. I solved my problem. It is working with the table parameter 'DYNPFLD_MAPPING' in the function module 'F4IF_INT_TABLE_VALUE_REQUEST'.
      With your logic we can't decide which record is selected. Because there can be multiple records for a single CARRID.
      My question is how to post the entire record into the screen fields at a time? It is possible with the parameter I specified inthe above said function module.
      With dictionary reference it will fetch the entire entries from the Check table.
      Thanks again for your co-operation.
      Suvan.<b></b>

  • Regarding input output field of the screen painter

    Hi Experts,
    I want to increase the height of the input output field in the screen painter.
    ie, multiline input output field.Is there any means?
    Or is there any alternative other than the input output field?
    Thanks & Regards,
    Soumya.

    hi,
    when u drag n drop some fields in the screen goto to one of the corners of dat fields drag to the extend u want to increase.
    or in attributes section  for u length n width of dat fields are available just increase to your wish.
    if helpful reward some points.
    with regards,
    Suresh Aluri.

  • How to make a field on the screen of any transaction 'display only' in BADI

    Hello All,
    I am working on BADI. The requirement is that for a specific condition, the user should not be able to change the 'plant' field on the screen of the standard MM transactions ME22N or ME23N.
    The field 'plant' should be grayed out and the user should not be able to even enter anything in that field. Is that possible? If yes, how?
    Please help, it is urgent.

    hi radhika
    yes u can do that
    probably u will have to do the customization  using exits
    the possible exits fotr these trxns are
    <b>Exit Name           Description</b>
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MEVME001            WE default quantity calc. and over/ underdelivery tolerance
    MM06E001            User exits for EDI inbound and outbound purchasing documents
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release orders
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MM06E011            Activate PReq Block
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processing
    MMAL0004            ALE purchasing info record distribution: Inbound processing
    AMPL0001            User subscreen for additional data on AMPL
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a GR
    LMELA010            Inbound shipping notification: Transfer item data from IDOC
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001            Customer-Specific Source Determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition release
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn.
    M06E0004            Changes to communication structure for release purch. doc.
    M06E0005            Role determination for release of purchasing documents
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    regards
    ravish
    <b>plz dont forget to reward points if useful</b>

  • In BDCs, after adding one field to the screen, which one is the better proc

    Hi,
    My client requirement In BDCs, after recording the legacy data by using MM01, After some time adding one field to the screen, How can we record the  for the new field.
    If any one knows pls help me total process.
    Warm regards,
    Venkat.

    Identify the screen in which this new field is added and simply add one more line to add the bdc record for this field in that screen.
    If the screen is also entirely new, then you have to identify the previous screen, the okcode to go to this new screen and finally the next screen and the okcode to go to the next screen along with the field BDC record.
    I don't think it is necessary to redo all the recording as long as you can follow the existing code.

  • NUMC field in the screen

    Hi all,
    I have an NUMC field in the screen. when there is no values in that field( field is initial), It is displayed as "0".
    I dont want that "0' to be displayed.
    Is there any way to do it.
    Santhosh

    just look at the third write statement .
    use  <b>no-zero</b>
    after write.
    in a report,,
    data : val type n.
    val = 5.
    write:/'value is', val.
    val = val * 0.
    write:/ 'value is', val.
    write:/ 'value is', val no-zero.
    in a module pool ..
    if u r trying to remove it from the screen then declare the screen fields as char type and move the numc field to char type. this will do .
    regards,
    vijay
    Message was edited by:
            vijay k

  • Change the value of the field on the screen

    Hello All,
    I want to change the value of another field on the screen when the user selects the value for a particular field.
    For eg: If i select ship-to-party value on the screen by F4 based on that the sales office and sales group values should change on the screen.
    I am modifying the internal table that has these values, but its not showing the new values on the screen.
    Please let me know how to resolve this issue.
    Points gauranteed.....
    Thank You,
    Suresh

    hi
    use at selection-screen on help request for field1
    OR  on value request for field1.
    Use selection screen events.
      AT SELECTION-SCREEN OUTPUT
      AT SELECTION-SCREEN ON sel_opt1.
      AT SELECTION-SCREEN ON test1.
    AT SELECTION-SCREEN ON END OF sel_opt1.
    AT SELECTION-SCREEN ON HELP-REQUEST FOR sel_opt1-low.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR test2.
    AT SELECTION-SCREEN ON BLOCK block1
    AT SELECTION-SCREEN ON RADIOBUTTON GROUP rad1.
    Regards,
    Prasanth
    *Reward points if helpful

  • How to decrease size of field in the screen

    Good noon everyone,
    I am unable to decrease the size of a input field in the screen. It is of length 30. But I want to show only length 15. Even if I decrease the visible length the field is again becoming big. How to make it small.
    thanks.

    Is this difference not working for you?
    Tables:mara.
    Select-options: s_matnr for mara-matnr visible length 10.
    Select-options: p_matnr for mara-matnr .
    Parameters:text(20) type c visible length 10.

  • Field Length of the text field on the screen

    Hello Experts,,
    I have field with its label on the screen. Now the label text is picked up from data dictionary as defined.
    Data element       J_3ARQDA                       Active
    Short Description:  Requested delivery date
    Length           Field   Label
    Short             10       RqDlv.date
    Medium         16       Req.deliv.date
    Long              20      Requested deliv.date
    Heading         5        Dldat
    Now the text in different laguage say russian is quite bigger in length as compared to english ones. Now on the sales order screen i have the text 'Dldat', but the russian user needs a bigger word than just 'Dldat'.
    Approach :  I changed the heading length to some '25' from '5' to accomedate the russian text in DDIC for data element. But if i have to adjust the same on the screen with new text length i have to extend the screen border as well.
    Is this right approach ? If not how do we actually accomedate the other language texts on the screen with out altering the screen borders ( length and breadth).

    Hi Radhika,
      I tried doing that with a couple of invoices but I dont see the Long text printed on the check after the automatic payment run. Can you please suggest me if I am missing on anything. I inserted a long text and a '*" before this to have it printed on the check which does not seem to work. Can you please suggest me alternative solution.
       Thanks in advance.
    Ramya

  • Modify the text of a data field on the screen

    Hi,
    I am looking to change the text of a  SAP data field on the display screen for an infotype 106. I have the required object key for it. When I entered the key it logged me successfully, however it displayed a message that I am not authroized for changes. Infact as a developer my user profile has the highest authroization level 'SAP_ALL'.
    I am looking to modify the module pool MP010600 and screen number 0100 on the infotype screen 106.
    It displays the message:
    "you have no authroizations for the authroization object 'S_DEVELOP' which would allow you to change the screen'. I checked with the admin guy. He did not have a clue either. Am I missing something?
    Any thoughts how to resolve it?
    It would be very helpful.
    Thanks in advance,
    VG

    Thread closed.

  • Add one field on the screen.

    hi ,everybody.
    i want to add one field on the progam SAPMV10A,it is VD05,The screen number is 300.the field name is TVLV-ABRVW.How can i do,thank you.

    Check here:
    SPRO --> Financial Accounting --> Accounts Receivable and Accounts Payab;e --> Customer Accounts -> Master data --> Preparations for creating customer master data --> Adoption of Customer's own master data fields --> Businees Add-in:....

  • How to make Standard SRM fields as display fields on the screen

    Hi,
    I would like to make standards SRM field "PRODUCT ID" as the display field under the "BASIC DATA" tab.
    Is there any way to control the standard SRM fields on the Basic data of the SC?
    I have done it with custom fields with the BADI-BBP_CUF_BADI but it would not work for Standard SRM field.
    Thanks in advance.
    Mrudula Patel

    OK here is the solution.
    Create a Transaction variant via SHD0 Tcode
    In the transaction screen variant make the field display only.
    activate the transaction variant
    All the best.
    Let me know if any problems.
    Get me ur email id --- maybe i can you a document on how to create a screen variant and activate it.
    Message was edited by:
            Gummadi

  • How to debug a custom field on the screen.

    Hi All!
    I had created a custom field on the SAPMV45A screen no. 4459.Now if the user inputs data on the field through VA03 the values should update the corresponding tables.
    But my field is not getting updated in the respective table.Now how to get this debugged.I had handled this field through corresponding user exits.
    Please advise.
    Regards
    Praneeth.

    Hi praneeth,
    1. User-exit will only give
       pre-defined inputs.
    2. in debugging mode, try this out.
       in the same format.
      where programname = your programname of transaction
           fieldname   = fieldname on screen(struct-fieldname)
    (programname)fieldname
    regards,
    amit m.

  • Problems printing field on the screen

    Hello folks,
    How can I print a field on the my main BSP htm page from the "OnInitialization" event handler?
    In other words, let's suppose I have field from an internal table called 'vendor' (it_table-vendor)...
    I want to show the particular content of this field in my output screen. How do I do this?
    Please advise,
    Thanks,
    Ol Pom.

    To print internal table in screen, you need to loop at the internal table into work area & then display..
    sample code..
    <% loop at it_table into wa %>
    <%= wa-vendor %>
    <% endloop. %>
    <i>* Reward each useful answer</i>
    Raja T

  • Dynamic generation of fields in the screen

    Hi all,
    I have to generate dynamic screen fields.
    The scenario is , i will have a selection screen for choosing the fields.
    The selected fields has to showed in the new screen.
    Yours help will be more appreciated.
    Thnz for the help in advance.
    Cheers
    Faheem

    Hi,
    Copy paste this code in se38 and check if this is useful.
    parameters: p_nofld(10) type c,
                p_field1(10) type c modif id 1,
                p_field2(10) type c modif id 2,
                p_field3(10) type c modif id 3,
                p_field4(10) type c modif id 4,
                p_field5(10) type c modif id 5,
                p_field6(10) type c modif id 6,
                p_field7(10) type c modif id 7,
                p_field8(10) type c modif id 8,
                p_field9(10) type c modif id 9.
    at selection-screen output.
      loop at screen.
        if screen-group1 > p_nofld.
          screen-active = '0'.
        endif.
        modify screen.
      endloop.
    Regards,
    Senthil

Maybe you are looking for

  • How do I add a search web part to search ONLY a subsite?

    I'm trying to add a search web part into a subsite that will search ONLY that specific subsite for documents. Not the entire site collection or anything else.   Everything I've looked at doesn't address this specifically.  I want a user to be able to

  • IMovie 9.0.6 Crashes When Generating Thumbnails or Importing Video

    I just got a new Macbook Pro Retina Display - 16GB RAM, 2.7 GHz quadcore i7, 512 GB SSD. After transferring apps from my old MBP, I tried opening iMovie. When it attempted to render video thumbnails, it crashed. This is repeatable and never fails. Wh

  • Problems after downloading itunes update

    I downloaded the itunes update so my computer would quit asking me if I wanted to. Now about half of my music library is missing. There seem to be pieces of it in the music folder and on various playlists, but there are several duplicates, so I know

  • Lenticular Printing

    I need to understand how to calculate how many lenticular images I need to interlace if my printer resolution has 9600 x 2400 dpi and the lens has 200 lenses per inch? I think that I am doing a mistake using the manufacturers dpi resolution and that

  • Cp5 playing wrong audio in Quiz

    I have a Cp4 PowerPoint project that was upgraded to Cp5.  The project has one quiz pool of 17 questions.  I narrate the quiz questions for accessibility purposes.  When previewed in Cp5, the audio for another quiz slide plays.  They don't match up.