HR Abap - How to grey out infotype 416 'Start' date on screen 2

Hi,
For infotype 416 I want to force the user to enter the Start date on the initial PA30 screen. Therefore I have to grey out the 'Start' Date field that appears in the second screen '2000' when creating a record.
Any ideas on how to do this?
Regards,
Warren.

Hi,
In order to add additional functionality and checks to the PBo & PAI of HR infotypes you need to
implement enhancement 'PBAS0001' using CMOD . Once you
have done this you need to go to  the function modules EXIT_SAPFP50M_001 & EXIT_SAPFP50M_002
and create the includes within them i.e.  ZXPADU01 and ZXPADU02. You can now enhance the
functionality of HR infotype PBO and PAI by simply adding code to these includes. See
example below:
HR Infotype User exits
Include ZXPADU01 for the PBO module
Incldue ZXPADU02 for the PAI module
*Example code.
CASE innnn-infty. "Infotype?
  WHEN '0001'.  "infotype 0001
Processing code
  WHEN '0008'.  "infotype 0008
Processing code.
         etc.
  WHEN OTHERS.
ENDCASE.
Hope this helps.
Reward if helpful.
Regards,
Sipra

Similar Messages

  • How to Grey out cost center column in me22n screen(Account assignment tab)

    Hi All,
    I have tried many ways to do grey  out cost center column in account assignment tab of ME22N.
    i have created implementation for this class and method. 
    Class:CL_TABLE_VIEW_MM_2
    Method:PBO_TC_LINE
    Below is the my code snippet.Kindly let me know any suggestions.
    data:  l_tc type char100.
    data:  l_tabix type i.
         l_tc = '(SAPLMEACCTVI)DYN_1000TC-COLS'.
    FIELD-SYMBOLS:<fs_tcdata> type any TABLE,
                    <fs_wa> type any ,
                    <fs_lwa> type any,
                    <fs_screen> type any,
                    <fs_input> type any,
                    <fs_active> type any,
                    <fs_output> type any.
    *data:fs_wa type SCXTAB_COLUMN_IT.
       ASSIGN (l_tc) TO <fs_tcdata>.
       LOOP AT <fs_tcdata> ASSIGNING <fs_wa>.
          l_tabix = sy-tabix.
        ASSIGN COMPONENT 'INVISIBLE' OF STRUCTURE <fs_wa> TO <fs_lwa>.
           ASSIGN COMPONENT 'SCREEN-NAME' OF STRUCTURE <fs_wa> TO <fs_screen>.
           ASSIGN COMPONENT 'SCREEN-INPUT' OF STRUCTURE <fs_wa> TO <fs_input>.
           ASSIGN COMPONENT 'SCREEN-ACTIVE' OF STRUCTURE <fs_wa> TO <fs_active>.
           ASSIGN COMPONENT 'SCREEN-OUTPUT' OF STRUCTURE <fs_wa> TO <fs_output>.
           IF <fs_lwa> = space.
             CASE <fs_screen>.
                WHEN 'MEACCT1000-KOSTL'.
                 <fs_input>     = 0.
                 ENDCASE.
                 endif.
                 ENDLOOP.
    Regards,
    Hiriyappa

    As I can't see any complicated scenario in your requirement. So I suggest you can achieve this by simple standard configuration.
    Go to OME9, double click on the Account assignment category and make the field as Display.
    Then check in your PO.
    But I doubt, your requirement can not be simple like that.
    So either you didn't know the settings or your requirement is different or you are just trying to learn that can it be possible via coding.
    Let us know the appropriate reason for set it as display.

  • How to grey out Intel Graphic Media for local users?

    does anyone know how to grey out the options to stop local users changing graphics options from Intel media graphics for Mobile?
    As well if anyone know what is different in BIOS updates, any option to cancel booting devices (not only change order)

    Hi
    Sorry but something like this is not known to me. You can disable a lot of different functions but display properties and settings are always available.
    BTW: I do not see some problem there is someone change resolution or whatever if the resolution is high and symbols to small.
    As far as I know it is not possible to cancel booting devices.

  • How to Grey out the field "tracking number" during change mode in the order

    HI Expert,
    How to grey out the Tracking number (AFVGD-BEDNR) at Order -> Operation tab -> external tab ->tracking number.
    during creation IW31 = not grey out and allow entry.
    for change mode IW32 = grey out
    if i set grey out at config OIOPD, it will grey out even during creation mode.
    Please advise
    Thanks
    Regards

    Hi
    I think Using field selection it is not possible to make as display ,kindly check with screen or transaction variant -SHD0
    regards
    thyagarajan

  • In my Macbook Pro, on a few occassions, the apple menu bar blacks out. its displayed as a negative image. The desktop wallpaper get greyed out and i get a blank screen as wallpaper. No idea why this happens. I reset the system and issue gets resolved.

    In my Macbook Pro, on a few occassions, the apple menu bar blacks out. its displayed as a negative image. The desktop wallpaper get greyed out and i get a blank screen as wallpaper. No idea why this happens. I reset the system and issue gets resolved.

    AshwinVC wrote:
    I reset the system and issue gets resolved.
    How? 

  • The "Change Log" is grey out in Employee Master Data

    Hi,
    Just wonder why is the "change log" is grey out in Employee Master Data ?
    How can I track the log in employee master data ?
    Thanks

    Hi,
    Confirm that the superuser assign with pro license.
    No additional authorization assign to the superuser.
    Already created a new test company, created employee master data, try to update, and the "change log" still grey out.
    Tried on China and US localization.
    Is your side really work?
    Which version?
    Thanks

  • How to find out each Cell having Data or Not in Excel File by Using WDJ

    Hi Friends,
    I have one doubt on WDJ.
    I have to Upload Excel File. Click on Upload Button in Excel file Data will move to One Bapi. This is I was done. But my Requirement is if any empty Cell in Excel That File not uploaded it display one error message Please upload Correct Excel File
    How to find out each Cell having Data or Not in Excel File by Using WDJ. Please tell me.
    By Using this Code I have Upload Excel File
    InputStream text = null;
         int temp = 0;
         //wdComponentAPI.getMessageManager().reportSuccess("filePath Vijay:::");
         try
                   File file = new File(wdContext.currentContextElement().getResource().getResourceName().toString());     
    FileOutputStream op = new FileOutputStream(file);
                   if (wdContext.currentContextElement().getResource()!= null)
                          text = wdContext.currentContextElement().getResource().read(false);
                             while((temp=text.read())!= -1)
                                  op.write(temp);
                                  op.flush();
                                  op.close();
                                  path = file.getAbsolutePath();
                                  //wdComponentAPI.getMessageManager().reportSuccess("Path Name :::::"+path);
         catch(Exception ex)               
                   ex.printStackTrace();
    But my Requirement is If excel having any Empty Cell that excel file not uploaded.How to do this...
    Regards
    Vijay Kalluri

    Hi my friend
    I would like to share you some APACHE APi´s that i use when i have to read excel files in Web Dynpro.
    JAR = poi-3.2-FINAL-20081019.jar
    Some Example:
    POIFSFileSystem fs;
    HSSFWorkbook wb;
    HSSFSheet sheet;
    String myMexican_ValueFromExcelis = "";
    try {
             fs = new POIFSFileSystem(new FileInputStream();
             // and select the cell "y"
            cell = row.getCell( 0 );
            myMexican_ValueFromExcelis = cell.getCellValue();  
    }cach(Exception e){
    REgargds

  • In Transaction code va41 how to set default sales contract start date

    Hi ,
    In Transaction code " VA41 "  how to set default sales contract start date and end date.
    Can any one tell me the correct user exit for the same.
    Thanks
    Basu

    hi,
    u have to use user exits  or badis.
    use sutable exits mentioned below.
    SDTRM001  Reschedule schedule lines without a new ATP check          
    SDVFX006  User exit: Tax line (transfer to accounting)               
    V45A0001  Determine alternative materials for product selection      
    V45A0002  Predefine sold-to party in sales document                  
    V45A0003  Collector for customer function modulpool MV45A            
    V45A0004  Copy packing proposal                                      
    V45E0001  Update the purchase order from the sales order             
    V45E0002  Data transfer in procurement elements (PRreq., assembly)   
    V45L0001  SD component supplier processing (customer enhancements)   
    V45P0001  SD customer function for cross-company code sales          
    V45S0001  Update sales document from configuration                   
    V45S0003  MRP-relevance for incomplete configuration                 
    V45S0004  Effectivity type in sales order                            
    V45W0001  SD Service Management: Forward Contract Data to Item       
    V46H0001  SD Customer functions for resource-related billing         
    V60F0001  SD Billing plan (customer enhancement) diff. to billing plan
    Edited by: katigiri linganna on Apr 28, 2009 12:19 PM

  • How to grey out terms of payment in sales order.

    Hi,
    While making sales order ,user should not make changes in terms of payment.how we  can restrict the user for any changes.
    and what is procedure for this.
    Regards,

    you can get many treads if you had searched with your subject.Anyway please find one among them.
    payment terms-greyed out field
    I would prefer going for option of activating critical field in OVA8 if Credit management is configured in your client process.
    thanks,
    Srinu.

  • How to grey out the values in checkbox?

    Hi,
    In my library application, a "borrow book" page is available. This page displays all the books available in the library in the form of check boxes, if the available count is "0" in the database, that book will not be displayed, but ideally this is not a good apporach. I want all the books to be displayed, but the books which has the available count as "0" in the database should be greyed out, by doing this the users can see all the books available in the library, but they cannot select the "unavailable books". I have no clue, how to get this done, can someone please help me to resolve this issue.

    Hi Suzi,
    I would suggest not rendering a checkbox if it is not required.
    Otherwise, add the attribute disabled="disabled" (this may not work in all browsers).
    Regards
    Michael

  • How to grey out images in APEX

    Hi,
    Can someone let me know how can I disable/greyout images in APEX?
    I have a list of images in a horizontal way, say Image 1, Image 2, Image 3, Image 4.
    So when Image 1 is accessed, Image 2,3 and 4 should be greyed out. When Image 2 is accessed, Image 3 and 4 (not Image 1) should be greyed out and so on.
    Please let me know how can this be done?

    935799 wrote:
    Hi,
    Can someone let me know how can I disable/greyout images in APEX?
    I have a list of images in a horizontal way, say Image 1, Image 2, Image 3, Image 4.
    So when Image 1 is accessed, Image 2,3 and 4 should be greyed out. When Image 2 is accessed, Image 3 and 4 (not Image 1) should be greyed out and so on.
    Please let me know how can this be done?Hi,
    What you mean by "Image is accessed"?
    Do you mean when mouse click image or hover mouse over image?
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • How to grey out column in NewForm.aspx

    Good morning,
    I have created a custom list.  In this list, I have a Drop-Down Column with various options and also a Text Column. 
    What I am hoping to achieve is that if, for example, if Choice 3 is selected from the drop-down column, then the Text Column becomes "available".  Otherwise this column remains greyed out.
    I am no master at coding so hopefully a solution that is not too complex.
    Thanks!

    If you're building out the form in InfoPath, you can also do this with some simple rules.
    Load the form in InfoPath, and select the textbox control
    Select 'Manage Rules' from the Home ribbon
    Create a formatting rule for the text box as follows
    Conditions = If dropdown column=blank, OR dropdown column=option 1, OR dropdown column=option 2 (see below screenshot)
    Select the 'Disable this control' checkbox
    I also recommend changing the color of the textbox so that it is greyed out, otherwise people could be confused as to why they can't edit the text field. You can do this in the same rule, with the paint bucket icon
    (Where 'session' is your dropdown column and "Option 1" and "Option 2" is the text for your first two options.)
    If you want to provide even more user guidance, you could add some text underneath the textbox which is only displayed when the textbox is disabled, saying something like "This textbox is only available when option 3 is selected". To do this, add the text
    to the form and then add a formatting rule to the displayed text:
    Conditions = If dropdown column=option 3
    Select 'Hide this control'
    Hope that helps!

  • How to grey out the Account Assignment Group Fld  in Billing Doc Line Item

    Hi SD Guru's
    I have a small doubt.
    I have maintained account assignment group in material master. Now when i create an order , the account assignment group gets picked from material master into this sales order.
    Now i go to VF01 for doing the invoicing.
    Now i can still go to billing document line item against the material and change its account assignment group before raising the invoice. When i change this field, i can still post to accounts.
    I want to know is there any way in which we can restrict the way in which this field is greyed out and is made non-editable, so that only correct entries with account assignment group maintained in material master are posted.
    Answers will be appreciated.
    Kind Regards
    Ravi

    Hi,
    Sandeep can you please give me step by step process of using SHD0 in this case.
    Now if i apply this to transaction VF01 and VF02, would it apply for all billing document types? I dont want that, i want it to work for a specific billing type
    Kind Regards
    Ravi

  • How to grey out or deactivate the Conditions tab in VA01 and VA02

    Hi gurus,
    Is there a way I can grey out or deactivate the Conditions tab in VA01 or VA02?  Our objective is to attach the pricing conditons to the customer level and that no sales encoder can edit prices during encoding using t-codes VA01 and VA02?
    I also tried to solve my problem through authorization object of the user V_KONH_VKS - set to 3 (Display) but still the user was able to make revisions to the Conditions tab if he wants to.  This is an internal control issue  for our company.
    Thanks for the immediate response. 
    Frances

    Hello Francis,
    In the definition of condition types in SPRO ( T.code V/06) you can define whether a particular condition type ( example PR00) can be processed manually by the user. IF you select the option " No Manual entries" the system does not allow the users to change the condition value determined from the condition records ( Maintained in VK11).
    ALternately, if the business requirement is that of allowing a particular condition type ( example PR00) to be processed manually by the user in certain business scenarios and in others the value should not be editable then you can use the user exit in MV45AFZB " USEREXIT_SAVE_DOCUMENT". In this you can write the required logic with the help of a technical consultant.
    Hope this helps
    Warm Regards
    Prashant Joshi.

  • How to grey out Allication tool bar button of PF-status for a selection-scr

    Hi All,
    I have an urgent requirement to grey out(not to exclude) an application tool bar button in normal selection-screen PF-STATUS.
    Please let me know if any one has done something like this before.

    Hi,
    This code[mentioned in the suggested link] will deactivate the button.
    DATA itab TYPE TABLE OF sy-ucomm.
    PARAMETERS test(10) TYPE c.
    AT SELECTION-SCREEN OUTPUT.
      APPEND:
               'PRIN' TO itab,
              'SPOS' TO itab.
      CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
           EXPORTING
                p_status  = sy-pfkey
           TABLES
                p_exclude = itab.
    You can deactivate Print and Save button.

Maybe you are looking for

  • Photoshop Elements installed- but i can not start it. Why?

    I downloaded Photoshop Elements 3 days ago and inserted my serialnumber. Everything seemed to work but i can not open the program. Since i have two licences i installed it at another computer, too- there it workes. But what can i do to have it on the

  • How to put backgroud picture in firefox?

    can i put a picture that will appear as background whenever i open firefox?

  • Apple Id Security Questions Problem

    how to reset security questions,though i didnt get any link to send a mail to rescue E mail id Pls Help

  • App Server without jinitiator

    Need to set up an App Server environment which does not need to download anything to the client browser. ie running from internet cafe. Can app server 9i use the local/native jave machine instead of downloading jinititor ? Any comments would be appre

  • Pairing with problems with car radio system

    Hi I have a Blackberry 8700 which I need to pair with the Radio in a Land Rover Freelander 2 (same for Jaguar, Volvo and some other Ford based Radios). It would not connect at all and I was advised to download an applet from Blackberry and it does no