Ess display regarding validity

Dear All,
We are facing a problem regarding Leave data display message in employee service portal. Suppose an employee was having 12 PL quota accrued & 3 Deducted from the period 01.01.2007 to 31.12.9999 in R3, now it has been updated & is like 01.01.2007 to 31.12.9999 is leave accrued 21 & deducted 3.
Now the problem is the ESS is showing both the records while we want the latest one only.
Can you please help to solve the issue?
Thanks in advance

Hi Raj Aitha ,
As Julius said , authorization object P_PERNR allows you to restrict the employees from maintaining self data.
With in the this object you need to maintain the info type field value. Check the below link for details :
http://help.sap.com/saphelp_47x200/helpdata/en/ec/f74492fa63f749afc3b3ff6b656b32/frameset.htm
Regards
Kanti

Similar Messages

  • Display all valid items and select multiple items

    Let us say I have valid items in table. For each purchase user can select few items from the list. I have to display all valid items from table and user should able to check items to buy. What is the best way we can implement this in forms.
    Thanks, lalitha

    For all the valid items you can create LOV as i understood then user can choose what he wants. But this sentence ti still confusing to me. Or what is the tricky things in you scanerio if only you have to show the valid item then use LOV.
    Lalitk wrote:
    and user should able to check items to buy.-Ammad

  • Help with Conditional Display and Validation

    Version 4.1.1.00.23
    Hello,
    I'm having a difficult time with a conditional display and validation I'm hoping someone can help with.
    Requirements:
    When the Start Date (Datepicker) and/or End Date (Datepicker) change then display the Change Reason (Select List) and Change Description (Textbox)
    If the page is saved without entering a Change Reason display a validation error message that the Change Reason cannot be empty (NULL)
    What I've tried
    Create a Dynamic Action on the Start Date
    Event: Change
    Selection Type:Item(s)
    Items(s): P51_START_DATE
    Condition: none
    True Action Section:
    Action: Show
    Fire on Page Load: Checked
    Show all page items on the same line: No
    Affected Items Section:
    Selection Type:Item(s)
    Item(s): P51_CHANGE_REASON,P51_CHANGE_DESC
    I've also created a Dynamic Action with similar settings for the P51_END_DATE.
    I created a Validation for the P51_CHANGE_REASON as Function Returning Error Text:
    DECLARE
        v_start_date    work_items.start_date%TYPE;
        v_end_date      work_items.end_date%TYPE;
    BEGIN
        SELECT start_date
              ,end_date
        INTO   v_start_date
              ,v_end_date
        FROM   work_items
        WHERE  work_items_id = :P51_WORK_ITEMS_ID;
        IF ( (v_start_date != TO_DATE(:P51_START_DATE,'DD-MON-YYYY') OR v_end_date != TO_DATE(:P51_END_DATE,'DD-MON-YYYY') ) AND
              :P51_CHANGE_REASON IS NULL ) THEN
            RETURN 'Change Reason must have a value';
        END IF;
    END;
    The Issue
    I tried to create another Dynamic Action to hide the P51_CHANGE_REASON and P51_CHANGE_DESC fields on page load, but when either of the date fields are changed and the validation is fired the P51_CHANGE_REASON and P51_CHANGE_DESC are hidden again.
    There are two buttons to submit the page: 'SAVE' will submit the page and stay on the page and 'SAVE_CHANGES' will submit the page and branch to the previous page (which is a report with EDIT buttons to edit the record).
    I can't get the page load Dynamic Action to NOT fire when the validation is fired.
    I hope this is clear and if not what information can I provide?
    Thanks,
    Joe

    Phil,
    Thank you for looking at this.
    Yes if the Change Reason is NULL when the edit page is displayed then the Change Reason and Change Description fields are hidden. If the Start Date (Datepicker) and/or End Date (Datepicker) change then display the Change Reason (Select List) and Change Description (Textbox). If the page is saved without entering a Change Reason display a validation error message that the Change Reason cannot be empty (NULL).
    The problem I'm having is that if no Change Reason is entered and the page is saved thereby firing the validation the Change Reason and Change Description fields are hidden again (because of the On-Load Dynamic Action to hide them). So now the user can't put in a Change Reason...unless they change one of the date fields again which isn't going to be accepted.
    Is there a way to determine if a validation error was fired and be able to use that on the On-Load Dynamic Action to hide the two fields? Something like...If the validation fired then don't run?
    Please let me know if I'm still confusing you.
    Thanks,
    Joe

  • Regarding validation

    Dear All,
    I have a question regarding validation (tcode OB28).
    While postinf a document I got to know that a validation rule is set on document type KX and KE that "Posting Date lower than Last Posted Document is not allowed".
    I check in tcode OB28 about that validation rule. I could see the check and message field but prerequisite field was empty.
    I couldn't find any where mentioned about document type KX and KE. Is it possible to keep prerequisite field empty, then how to set validation on specific document type.
    Please help me in this case.
    Thanks,
    Nidhi

    Hi,
    Make sure that in pre-requisites there is no user-exit mentioned, because the logic could be there. If it's empty, it basically says that there are no pre-requisites and the check will be performed in all cases. If you want to set it up for specific document types, you can set them as pre-requisites (obviously, it won't be empty anymore).
    Regards,
    Eli

  • ESS US Address Validation

    What is the best way to add custom validation to ESS, e.g, the length of Address 1?  I can add the validation in onFlush() method, so the error message is displayed in Review, however user still can save the record. 
    Thanks,
    Rong

    You can add the Validation in the isConsistent() method of the Component Controller VcPerAddressUSDetail.....
    Regards,
    Shikhil

  • The message not completely displayed in validation

    Hi,
    I have created a new step in validation; this is when the post document without entering Reference key 1 (XREF1) will pop up this error message
    in the message i have given " Select a valid value into the field &" and in message variable given BESG-XREF1.
    but when the trying to post with no value in reference key 1, i am getting only the message "Select a valid value into the field"
    and the character '&' is not replaced by field BSEG-XREF1.
    what could be the reason for it.
    thanks in advance,
    Shwetha

    Dear,
    This is correct.
    & is variable. BSEG-XREF1 is used as variable, if this field is blank then message will be displayed as & only.
    For e.g if validation is set for company code and business are. Company code ABCD one thousand can not post business are other that 1000. And I have written a message Company Code & is not allowed to use business area & if business area is other than 1000 for company code ABCD.
    In variables.
    1. BSEG-BUKRS
    2. BSEG-GSBER
    Now when company code ABCD use business are 3000 then message will be displayed
    Company Code ABCD is not allowed to use business area 3000.
    In your case BSEG-XREF1 is blank so system is showing no value (&)
    Your message should be Select a valid value into the reference field
    Regards,
    Chintan Joshi.

  • BEx query based on virtual cube donu00B4t display a valid List of Value (LOV)

    Hello
    I have a problem with an invalid LOV. The scenario is the following; There´s a BEx query based on a virtual cube. The query has an exit variable on caracteristic that is based on 0CALMONTH.
    At Universe Designer I simply create a connection, a universe based on this query and export.
    At Web Intelligence (also at Live Office), when I try to execute de query, the prompt to fill my exit variable display a list of value that doesn´t match with the values of the caracteristic at the cube.
    Actually, the list at the prompt starts with 01.0000 and finishes with 05.0968.
    In Universe Designer, the option to edit the list of values is not available. But I think that editing the LOV is not the correct way.
    I´ve tried creating a new query based on the DSO that is the source of the virtual cube. In this case, I had a valid list. Unfortunately, I can´t use this DSO.
    Did anyone already have this problem?

    Hi James,
    can you explain what you mean with "input length for that filed" ?
    The field in the table is varchar2(120). I coudn't found options for the List of value.
    Thanks for your response
    Carsten
    null

  • JDeveloper 11.1.2.4: Is it possible to only display custom validator IDs defined in faces-config.xml

    I have many custom validators and do not need to see the default values as listed in the below screen shot:
    http://i.imgur.com/xOQgxeZ.png
    Is it possible to only show the custom validators I define within faces-config.xml?
    Thanks,
    Wes

    Deepak,
    don't understand this sentence:
    "Do not specify the binding attribute value in the f:validator tag for the bindings not to display."
    Wes,
    The answer to the question seems to be "no" you cannot suppress the other validator entries as they too are configured in a faces config file - though not the one in the application
    Frank

  • Alv grid display regarding

    hi all,
    i have an issue in which i fetch data from mkpf and mseg tables into my final internal table everytin is fine and i want to display the data in alv and download it to excel sheet so the problem is while im running the prog im gettin an error in reuse_alv_list_display the code is as follows:
    it_final_tab is my final internal table
    wt_fieldcat is for building field catalog
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       I_CALLBACK_PROGRAM     = wlv_repid
       IS_LAYOUT                         = wls_layout
       IT_FIELDCAT                       = wt_fieldcat[]
       I_DEFAULT                         = 'X'
       I_SAVE                               = 'X'
       IT_EVENTS                         = wlt_events[]
    TABLES
        T_OUTTAB                          = it_final_tab[]
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2
    the error is "field string is not yet set". its eatin  my brain so can any one plz help me out. Point are rewarded for correct solution
    thanks in advance
    anupama.

    Hi Anupama,
    Fieldcatalog information through your internal table wt_fieldcat[]
    is not being passed properly. That is causing the problem.
    Can I have ur fullcode so that we can check it out. Otherwise refer sample code on ALV grid.
    REPORT  zvenkat_alv_grid.
    TABLES:t001.
    "Types
    TYPES:
          BEGIN OF t_1001,
            bukrs TYPE t001-bukrs,
            butxt TYPE t001-butxt,
            ort01 TYPE t001-ort01,
            land1 TYPE t001-land1,
          END OF t_1001.
    "Work area
    DATA:
          w_t001 TYPE t_1001.
    "Internal table
    DATA:
          i_t001 TYPE STANDARD TABLE OF t_1001.
    " ALV Declarations
    * Types Pools
    TYPE-POOLS:
       slis.
    * Types
    TYPES:
       t_fieldcat         TYPE slis_fieldcat_alv,
       t_events           TYPE slis_alv_event,
       t_layout           TYPE slis_layout_alv.
    * Workareas
    DATA:
       w_fieldcat         TYPE t_fieldcat,
       w_events           TYPE t_events,
       w_layout           TYPE t_layout.
    * Internal Tables
    DATA:
       i_fieldcat         TYPE STANDARD TABLE OF t_fieldcat,
       i_events           TYPE STANDARD TABLE OF t_events.
    *&    start of selection
    START-OF-SELECTION.
      PERFORM get_data.
    *&    end-of-selection.
    END-OF-SELECTION.
      PERFORM build_fieldcatlog.
      PERFORM build_events.
      PERFORM build_layout.
      PERFORM list_display.
    *&      Form  get_data
    FORM get_data .
      SELECT bukrs
             butxt
             ort01
             land1
        FROM t001
        INTO TABLE i_t001
        UP TO 30 ROWS.
    ENDFORM.                    " get_data
    *&      Form  build_fieldcatlog
    FORM build_fieldcatlog .
      CLEAR:w_fieldcat,i_fieldcat[].
      PERFORM build_fcatalog USING:
               'BUKRS' 'I_T001' 'BUKRS',
               'BUTXT' 'I_T001' 'BUTXT',
               'ORT01' 'I_T001' 'ORT01',
               'LAND1' 'I_T001' 'LAND1'.
    ENDFORM.                    "BUILD_FIELDCATLOG
    *&      Form  BUILD_FCATALOG
    FORM build_fcatalog USING l_field l_tab l_text.
      w_fieldcat-fieldname      = l_field.
      w_fieldcat-tabname        = l_tab.
      w_fieldcat-seltext_m      = l_text.
      APPEND w_fieldcat TO i_fieldcat.
      CLEAR w_fieldcat.
    ENDFORM.                    " build_fieldcatlog
    *&      Form  build_events
    *       text
    FORM build_events.
      CLEAR :
            w_events, i_events[].
      w_events-name = 'TOP_OF_PAGE'."Event Name
      w_events-form = 'TOP_OF_PAGE'."Callback event subroutine
      APPEND w_events TO i_events.
      CLEAR  w_events.
    ENDFORM.                    "build_events
    *&      Form  build_layout
    FORM build_layout .
      w_layout-colwidth_optimize = 'X'.
      w_layout-zebra             = 'X'.
    ENDFORM.                    " build_layout
    *&      Form  list_display
    FORM list_display .
      DATA:
            l_program TYPE sy-repid.
      l_program = sy-repid.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = l_program
          is_layout          = w_layout
          it_fieldcat        = i_fieldcat
          it_events          = i_events
        TABLES
          t_outtab           = i_t001
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " list_display
    *&      Form  top_of_page
    FORM top_of_page.
      DATA :
       li_header TYPE slis_t_listheader,
       w_header  LIKE LINE OF li_header.
      DATA:
            l_date TYPE char10.
      WRITE sy-datum TO l_date.
      w_header-typ  = 'H'.
      CONCATENATE sy-repid ':' 'From Date' l_date INTO w_header-info SEPARATED BY space.
      APPEND w_header TO li_header.
      CLEAR w_header.
      w_header-typ  = 'S'.
      w_header-info = sy-title.
      APPEND w_header TO li_header.
      CLEAR w_header.
      w_header-typ  = 'A'.
      w_header-info = sy-uname.
      APPEND w_header TO li_header.
      CLEAR w_header.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = li_header.
    ENDFORM.                    "top_of_page
    I hope that it helps you.
    Regards,
    Venkat.O

  • Doubt Regarding validation of IDOCS

    Hi Gurus,
               I have some doubts regarding IDOCS.
    1. If we are sending a IDOC from XI to R/3, where does we do validations from R/3 side and how do we do that.  Suppose if we are sending a Purchase order IDOC form XI to R/3, how to do validations for that particular IDOC for PO number and some other fields  from R/3 side.
    2. Do we need to do validations in a aABAP Program.
    please clarify me these Questions. Thanks in advance..
    santosh.

    Hi Santhosh,
    If you want to do any validations in ur IDOC,then from XI just push the IDOC,dont post it.
    (ie)Send the IDOC from XI in status 64 :IDoc ready to be transferred to application.
    Once R/3 Received this status then thru your ABAP progream just get this IDOC no: and do the validations then Post the IDOC manually.
    Thanks.
    Note:Reward Points if you find useful.

  • How to display all validator messages at the same time?

    Hi Guys,
    I have a form with validators attached to a couple of my input boxes. I tried to write validators which are reusable in other parts of my app ie. social security number check etc. I also then customized the messages and it all works fine.
    But when I submit the form it displays the messages one at a time, in other words every validator is performed and if there was an error the form is rendered. I believe this is how it should behave and that's fine.
    But what if I want all validators to be performed when I submit the form?Then all messages are displayed at the top of the page and the user can make all his changes and try again. This makes more sense to me.
    So my question is whether there is a way to force the page to perform all validators when the page is submitted and then display all error messages in a h:messages tag?
    Cheers and thanks alot
    p.s. i know about and use the hidden input field validator hack which does all validations, but if I do it that way I duplicate the code which does the social security check for all applicable forms.

    Strange, I was under the impression that all validators were run by default. In my JSF apps, all the validators run and output their errors without any special confguration to make this happen.
    I wonder why yours are just running one at a time? Could you show some of your JSP code, and the hidden field validator code?
    CowKing

  • Regarding validation in oracle forms

    I have a requirement that in oracle forms i need to validate that i enter the data in one record and the same data in next record also with the checkbox checked for both rows . And when i enter the same data in next record i.e 3rd record it should not allow to checkbox for 3rd record.This should be the frond end validation in oracle forms .
    My requirment looks like this
    A B C --> columns in oracle forms
    1 ab ab --> checkbox checked
    1 ab ab --> checkbox checked
    1 ab ab ---> when i check the checkbox it should not allow as only any of the two rows only should be checked
    Please help me out?
    Regards
    Prasad

    hello
    Change/ modify the properties of the check box item;
    for the check boxes :
    1. Make the data type of the check box as number;
    2. fill the functional a.)value when check = 1 b.) value when uncheck = 0;
    3. add new item to summarize the value of the checkbox;
    change properties of the new added item
    datatype number;
    calculation summary
    summary function :- sum
    summarize block :- your block
    summarize item :- your check box item.
    used :----> when checkbox change trigger
    if nvl(:item_summry,0 > 2 and //double entry of data then
    your code......
    .... message..
    raise..
    else
    your code.....
    end if;
    For Duplicate Item data entry :-
    see this for the duplicate entry for item :-
    duplicate records in  a multi record block
    modify my given code & modify the said link information to satisfied your requirement.
    charles

  • Display regarding  ME23N corresponding to purchase order

    Hello Experts,
                      I am a fresher and i have got a requirement for a standard me23n tcode . In me23n there is free checkbox in the item when we check the checkbox for free we won't get the item in the invoice .  so i went through the code for it and when free is checked a function call is not invoked were as when we don't check free checkbox that function call is invoked. so , kindly give me some suggestion so that the item description should be displayed even though the checkbox for free is checked.
    Regards,
    mnarar.

    Hello,
            when i don't check the checkbox free the below perform is invoked
    PERFORM GET_MAIN_DETAILS IN PROGRAM ZMM_PO_DETAILS .
    (ZMM_PO_DETAILS) is the copied program from standard version .
    and when i check the free checkbox the above perform is not invoked . So,plz help me out to resolve my issue .
    Regards,
    mnarar.

  • Regarding Validation on Charactersticites of given Configurable Material.

    Hi All,
               I am working on BDC in whcih I am getting the charactersticites of the configurable materials in Flat File. Now the Problem I am facing is that when a particular characterstic is not associated with that configurable material the program is not updating any of the charactersticites associated with that configurable material.
    How can we check the validity of the given charactersticites for that configurable material ? Or is there any other logic how I can update the charactersticites for that configurable material.
    Points would be rewarded....
    Thanks in Advance.
    With Regards
    Jitendra Gujarathi.

    no clues

  • ESS Display/Print pop-up missing scroll bar

    We are on EP 6.0 SP 17 and trying to implement the ESS ERP2004 business package.  Under Travel and Expense -> My Trips and Expenses, when we select an existing expense report and hit the Display/Print button, the expense report launches in a new window but depending on the user's desktop screen resolution, the scroll bar may not appear even when scrolling needs to occur to see the entire expense report.  Has anyone encountered this issue and found a resolution?  We cannot control a user's screen resolution.
    Kim

    You can now find the pop-up block icon on the right side of the location bar.

Maybe you are looking for