Grayout of  component screen  fields in ME21N transaction

Hi experts,
   I have a problem while creating subcontracting PO i want to gray out the fields of component screen...in ME21N transaction...is it possible through the screen varient or else should i go for exit  ??...could u please help me in finding  the right procedure...........
Best Regards,
shanker

Go to the screen where u want to make the changes.
Click on System -> Status. Double click on the screen Number (like 1121).
Then on the PBO module screen click on 'Layout'. You will go to graphical screen painter.
Then DOUBLE CLICK on the column/field you want to gray out and on Attribute part, Program Input -> Not possible .(save + activate)
You will need an Access Key to change the standard SAP Screen...
Fawaz

Similar Messages

  • Adding a screen field in FB60 transaction

    Hi all,
    I just want to add a screen field in FB60 transaction. In that transaction there is a table control. I want to add a coloumn there. Can anyone help me how to do that? I am working in ECC 5.0
    Thanks in advance
    Pranav

    Hi Pranav,
    If you want to add a new column under the table control in FB60, there is a way to do it through config.
    This is how it can be done:-
    1) Go to T-Code SPRO
    2) Financial Accounting New>Financial Global Settings New>Ledgers>Fields>Customer Fields>Edit Coding Block
    3) Define your new field under "Customer defined account assignments" . Make sure the name starts with either 'ZZ' or "YY". This creates a standard structure with your custom field and also appends this new custom field in many FI related tables including BSEG so make sure to check the impact with your functional consultant.
    4) Once it is defined, you might need to change the characteristics of your field under
    Financial Accounting New>Financial Global Settings New>Document>Define Posting Keys
    (This changes your fields status from suppresed to either Optional or Required depending on your requirement)
    Hope this link also helps
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/65/ec4bd7fb0f44f6814fa790dde9a172/frameset.htm
    Reward points if helpful
    Cheers
    Sanjiv

  • Grey out of component screen fields in sub contracting PO.

    Hi!!!!!!!! Sapers
    When i am creating subcontracting Purchase order , In this i want restrict the users to add or modify the components screen fields. what i need exactly is i want to gray out  the fields of these component screen .
    Is it Possiable? Or required any user exit?
    Please suggest
    Thanks
    Prashant

    Hi Prashant
    Please fallow the below steps
    1. Goto me21n screen and note down program? and screen? using F1
    2. Use tcode SHDO, Enter transaction code as "mE21N" goto screen variant tab and enter some name in screen variant field
    3. also enter program name and screen name then click create icon
    4. It will take you to the mm01 screen Enter reqd defauls value press Enter
    5. then it will take you to another window there you can hide required field & save
    6. come to the SHDO screen and select Transaction tab & enter some name
    7. enter you already created screen variant name & save
    8. table Standard variant tab and it might alredy taken Transaction variant which was created already
    9. now you can check ME21N
    Raju

  • Custom Fields in ME21N transaction

    Hi all,
    I have added custom fields on the transaction ME21N using the screen exit in enhancement MM06E005.
    Now i need to do validations on these fields even if the user does not come to the screen. So i am using the BADI ME_PROCESS_PO_CUST for the validations.
    But this BADI gets triggered only when there is a change in a standard SAP field. If i change the value of the Custom field then the BADI does not get triggered.
    So the problem is that once i issue an error message for the custom field in the BADI .. and then change the value in the custom field, the BADI does not get called and hence the error message stays as it is...
    Any solutions for this?
    thanks,
    Ashiq Ali Ratnani

    even when we create a custom screen, the user-exits which are getting called from other screens should also get called from custom one. If this is not happeing, then you need to check in configurations where you have created this screen, that whether you have done assignment of screen at right place, not at the header level but at tab level.

  • How to Read the Screen Fields after a Transaction ?

    Hi all,
    I am working on the Transaction 'O4K_LICENSE'. After the transaction is run, it generates an Internal License number which is displayed on the screen. I tried using 'GET PARAMETER', but as the CALL TRANSACTION is called within a loop, the SAP Global memory is not getting refreshed and iam getting the same value for every loop for the Internal License Number.
    Is there any function Module other than DYNP_VALUES_READ to get the screen field values? I tried using the above function module, but in vain and it is not getting any values.
    Warm Regards,
    Vijay.

    Well .... let me explain this very clearly.
    The table OIHL has a composite primary key which is the combination of "External License Number" and "Internal License Number". The latter is generated after running the O4K_LICENSE transaction.
    Moreover, iam attaching every record with a record generated in the program. Now, the same User(ERNAM) can create records having the same External License Number.
    For example:
    If i created a record yesterday with an external License Number 123, then say an internal lic no of 3 is assigned to it.
    If i Create another record today with the same external lic no of 123, and an internal no of say 20 is attached to it, then i donot have any criterion to select the one which i have created today, as it fetches both the records.
    To add to the worst, there is no timestamp field also.
    Message was edited by: Vijay Sai

  • Is it possible to add new screen fields to the transaction /dsd/sl_cockpit

    HI experts,
          Would like to know if it is possible to add new screen fields to the cloned version of /dsd/sl_cockpit.
          I cloned the original transaction /dsd/sl_cockpit into a diff. name, now I want to know how I can include/ add those new fields to this transaction.  It looks like the screen is dynamically built using Standard ABAP classes. Need help.
    Thanks in advance

    it is not possible to add new fields via badi on /dsd/sl_cockpit.

  • Screen Field Enhancement (ME21N)

    Hi
    I have done some screen enhancement in Tcode ME21N. i made 2 fields in Customer data Tab. Data is also savin.
    But i am not able to disable the fields at the time of display mode. Is there anyone who has done some enhancement in PO or faced this same problem ?
    please do tell me the solution for this.
    Regards
    Abhishek

    T160-TRTYP =  'H'   FOR ME21N
    T160-TRTYP =  'V'   FOR ME22N
    T160-TRTYP =  'A'   FOR ME23N
    IN THE exit code
    make use of this screen conditions to differentiate for Create, Change and display mode before teh logic.
    as
       IF T160-TRTYP = 'H'.
       PROCESS LOGIC ..
       ENDIF.  
    Table is T160.
    regards,
    vijay.

  • Attaching Search Help for screen field in standard transaction

    Dear All,
    I want to attach my own custom search help for field 'Requiremenr Tracking Number (BEDNR) in PO (ME21n).
    How can i do this?
    Pls gv the stps.
    Thanks a lot.
    Kind Regards.

    Prasad, you know, when I search forum for answers, I'm really disappointed when I see people have found a solution but don't share, and as the thread was maybe one year old or later, I don't feel to ask because the guy probably don't remember what he did. So giving a little explanation immediately is always a very good idea.

  • Standard screen field validation : ME21n/ ME22n

    Hi experts,
    I have a requirement in which we are supposed to do field validations while creating or changing POs/Purchase requistions.
    Suppose if at item level in Account assignment category is 'F' and the order entered by user is of type 'Z560' then in that case user will be allowed to enter only specific G/L account for eg : 712546 or 715486.
    Please guide how can that be accompalished. I couldn't find any proper exit for this.
    Thanks
    Vishal

    Hi Vishal,
    there is a very helpful BAdI for this: ME_PROCESS_PO_CUST.
    Re: user exit/ badi for me21n
    Roy
    Edited by: RobbdB on Jun 30, 2010 9:09 AM

  • Check Screen Fields in ME21n

    Hi,
    I have to put a check on Document type and plant combination in ME21n.
    After i enter values in Doc Type and Plant and i hit enter it should perform a check.
    Check Logic:
    I have made a Z table and if the Doc type n plant combination does not exist in that Z table then it should throw an error.
    Now my query is,
    which exit or badi should i use? i cant find anything related to it.
    Thanx in advance
    Regards,
    Shraddha

    Hi shyam...
    thanks for your reply...
    me_process_po is only for internal use of SAP
    me_process_po_cust-
    actually i want plant info from item and doc type from header....which is not possible through this badi as the method in which both these parameters are there is not called at the time of enter or save.
    rest no other badi is useful.
    Do u know about any exit?
    Regards,
    shraddha

  • Greyed out screen field in transaction but modifiable by batch input

    Hi Gurus,
    I have a requirement where a custom screen field in a transaction (FK01/FK02/XK01/XK02) has to be greyed out when a user access these transactions. However, these fields will have to be modifiable when LSMW/batch input is being done.
    I hope someone can advise how I can do this.
    I'll definitely reward points for helpful answers.
    Thanks so much.
    Rgds,
    Joyie

    Declare on your layout input is 0. Or the field cannot be filled by value.
    After you have done that, create some code like this:
    Loop at screen.
         IF sy-batch is not initial or sy-binpt is not initial.
                if screen-group1 = 'ANL'
                   screen-input = '1'.
                endif.
            endif.
    endloop.
    Hope it helps solve your problem.

  • Hide or Show the Dialog Screen Field in a SAP Transaction

    Hi All,
    I am working on a SAP Upgrade Project (4.6C to ECC 5.0). In VA03 Transaction, There is a Filed Name VBAK-KTEXT with Field Text as “Description” appears in 4.6C. But it does not appear in ECC 5.0. I checked the screen Layout in 4.6C as well as ECC 5.0 and noticed that VBAK-KTEXT is available in the Layout of ECC 5.0 but does not appear in the Transaction VA03.
    I was told that there is a way in Customization to Hide or Show a Screen Field for any Transaction. Can any one please guide me through this? I need this help as soon as possible.
    Thanks,
    Kannan.SA

    Hi,
    I am not sure if there's a tcode using which you can configure all the screens the only tool I know that can do this is GUIXT. Regarding the configuration some of the fields are configurable based on document types you should check with SD functional person regarding this. Unfortunately I don't have R/3 access right now, but you can look under SPRO in SD and look for document type.
    thanks

  • Screen Badi in ME21N

    Hi Experts.....
    I have implemented a screen exit in ME21N Transaction to add custom fields. With this I could get an extra custom tab in which I have included my fields. Now my req is to get multiple tabs as the fields are more in number. So I wanted to implement this using a BADI. I have searched the BADI named ME_GUI_PO_CUST.
    in this I have passed the screen no and program name and label name along with element as PO and name of view as HEADER. But I cannot see an extra TAb in header details. I also created the subscreen and the corresponding program...
    Can anyone help me to implement a screen badi in ME21N.
    Thank you in advance

    Hi Shakti,
    The BADI ME_GUI_PO_CUST has an example implementation class CL_EXM_IM_ME_GUI_PO_CUST. Check the method SUBSCRIBE to see how the BADI can be subscribed.
    The reason why your custom screen is not appearing is probably because your BADI implementation is not active or the custom screen has not be subscribed properly.
    The code inside method SUBSCRIBE of your BADI implementation should be as follows:
      DATA: ls_subscriber LIKE LINE OF re_subscribers.
    * we want to add a customer subscreen on the item detail tab
      CHECK im_application = 'PO'.
      CHECK im_element     = 'ITEM'.
    * each line in re_subscribers generates a subscreen. We add one subscreen in this example
      CLEAR re_subscribers[].
    * the name is a unique identifier for the subscreen and defined in this class definition
      ls_subscriber-name = 'ITEMSCREEN1'.
    * the dynpro number to use
      ls_subscriber-dynpro = '0001'.
    * the program where the dynpro can be found
      ls_subscriber-program = 'SAPLMEPOBADIEX'.
    * each subscreen needs his own DDIC-Structure
      ls_subscriber-struct_name = 'MEPO_BADI_STRUCT'.
    * a label can be defined
      ls_subscriber-label = 'BAdI customer'.
    * the position within the tabstrib can be defined
      ls_subscriber-position = 5.
    * the height of the screen can be defined here. Currently we suport two screen sizes:
    * value <= 7 a sevel line subscreen
    * value > 7  a 16 line subscreen
      ls_subscriber-height = 7.
      APPEND ls_subscriber TO re_subscribers.
    To impelement multiple tabs you have to subscribe each tab differently using the parameter
    ls_subscriber-name
    of the BADI
    and also name each tab differently using
    ls_subscriber-label
    Let us assume that you have to implement three tabs, then you have to subscribe each tab with a different name and also label each tab differently.
    You can name subscribe the first tab with name ITEMSCREEN1 label BAdI customer, subscribe 2nd tab with name ITEMSCREEN2 label BAdI customer'2 and subscribe 3rd tab with name ITEMSCREEN3 label BAdI customer3.
    Mention a different positions for each tab.
    Like say for BADI customer1 ls_subscriber-position = 5., for BADI customer2 ls_subscriber-position = 6. and for BADI customer3 ls_subscriber-position = 7..
    Also append the subscribe data three times for the three tabs.
    This will display three tabs with names BADI customer1, BADI customer2 and BADI customer3.
    Hope the above information helps.
    Regards,
    Abhisek.

  • Screen exit for ME21N

    Hi friends,
      I need steps to create screen field in ME21N using the BADI ME_PROCESS_PO_CUST. Can anybody suggest me how to implement this.
      Thanks in advance
    Regards
    Srikanth S

    Hello Srikanth,
    To created a screen exit you can use either a BADI or a USER EXIT.
    BADI : ME_GUI_PO_CUST
    USER EXIT: MM06E005
    GO to transaction SMOD
    and type MM06E005 and press display.
    once inside the user exit, click on components, there you have function Module exits, screen exits and includes.
    On the screen exits, you have to decide where you want to add the screen field, whether its on header or item level.
    THE go to SE80, type the screen name as the program name. IT will give you all the objects for the particular program.
    Choose screens, and then the relevent screen. Go to layout and add the field you want. Save and activate.
    You also need to add the field in the Cl_include so that you could pass data and retrive data.
    Write the relevant code in Function Modulte Exits.
    ITEM LEVEL:
    EXIT_SAPMM06e_016
    EXIT_SAPMM06e_017
    EXIT_SAPMM06e_018
    Now you have to add the relevant code in the PAI and PBO module.
    Reward if useful.
    Regards,
    Sandeep Salaria

  • Add new item field in ME21N

    Hi all,
      I want to add a new field in ME21N transaction, please tell me how to add new field in table control in ME21n tcode. I tried by using variant but according to my requirement invisible fields are not useful. I want to add a new field called MAKE with length 25 and i want to populate some text in that and need to display in related form also.
    Please guide me any enhancement technique.
    Thanks in advance,
    Mahi

    max bianchi ,
      I already seen that BADI definitions but i don't know how to achieve my requirement by using both of that.
    Please guide me the approach.
    Thanks...

Maybe you are looking for