ESS Information errors if end date is less than system date

Hi to all,
I have create an WD Java aplication to create new entries in infotype 0023.
First problem: At the beginning I couldn't create new entries if start date is less than system date. To solve this problem I used:
The transaction SPRO to go to Personnel Management>Employee Self Service>Service Specific Setting-->Change Default Start Date
In HRXSS_PER_BEGDA I changed BEGDA to 01.01.1900 in the DEFAULT_DATE method and i solved the first problem.
Now I need solved the second problem - we couldn't create new entries if end date is less than system date.
In this method DEFAULT_DATE I can't change ENDDA because ENDDA isn't a parameter in this method.
MOLGA (Importing)
PERNR (Importing)
INFTY (Importing)
SUBTY (Importing, optional)
BEGDA (Changing)
Can anybody helps me about this second problem?
Thank a lot for your help.

I am creating an aplication WD Java:
- This application uses a R3 Function Module HRXSS_PER_MODIFY_PNNNN
- This FM uses the method CALL METHOD xss_adapter->modify
- This Method uses IF_HRPA_PERNR_INFTY_XSS~MODIFY
- This method uses:
  IF buffer_entry-container->a_pskey-endda < user_today.
    msg-msgid = 'PG'.
    msg-msgty = 'E'.
    msg-msgno = '016'.
    msg-msgv1 = 'Data valid only for past is not'(009).
    msg-msgv2 = 'allowed;'(010).
    msg-msgv3 = 'correct'(011).
    msg-msgv4 = 'end date to a date today or future date.'(012).
    CALL METHOD message_list->if_hrpa_message_handler~add_message
      EXPORTING
        message = msg
        cause   = xss_adapter_generic.
  ENDIF.
How can I change the value user_today?
This value is a parameter for the method GET_INSTANCE in CL_HRPA_PERNR_INFTY_XSS, but I don't know when this method is called.
Can you help me?

Similar Messages

  • ESS Bank Information errors if end date is less than system date

    Hi to all,
    We have create an WD Java aplication to create new entries in infotype 0023. We have used a standar component DC (PersInfo).
    The first problem - we couldn't create new entries if start date is less than system date and we used:
    In transaction SPRO got to Personnel Management>Employee Self Service>Service Specific Setting-->Change Default Start Date
    Business Add-In HRXSS_PER_BEGDA. You can set the date in the DEFAULT_DATE method.
    Parameters of the method DEFAULT_DATE:
    MOLGA (Importing)
    PERNR (Importing)
    INFTY (Importing)
    SUBTY (Importing, optional)
    BEGDA (Changing)
    We have solved the first problem with begda.
    The second problem - we couldn't create new entries if end date is less than system date.
    Can anybody helps me about this second problem?
    Thank a lot.

    Can anybody helps me?
    Thank a lot.

  • ESS Bank Information errors if start date is less than system date

    Hello Developers,
    We are unable to create a new Bank Information record of type "Other"  from ESS Web Dynpro ECC 6.0 when we set the begda field to a date earlier than the system date.  When we attempt this we get the message: "Start date should be after <todays date> or later".
    Is there a configuration setting that will allow new records to be created with the begda set to a past date when creating new "Other" bank type records?
    Our payroll runs bi-weekly and we need to set the beginning date of a new record to the start date of the payroll cycle, which can be earlier than the creation date.
    Thank you

    Terry,
    In transaction SPRO got to Personnel Management>Employee Self Service>Service Specific Setting-->Change Default Start Date
    Business Add-In  HRXSS_PER_BEGDA. You can set the date in the DEFAULT_DATE method.
    Parameters of the method DEFAULT_DATE:
    MOLGA (Importing)
    PERNR (Importing)
    INFTY (Importing)
    SUBTY (Importing, optional)
    BEGDA (Changing)
    Regards
    Sarath

  • Error 0x8026007 CPU running at less than 1GHz

    I'm trying to install the latest preview build, I'm currently on 9860. However because my pc keeps stepping the cpu down to 800MHz instead of running at the full 4.6GHz I keep getting the error message above. How can get around this? FYI I'm running an
    Asus Z97 Pro Wi-Fi board with i7 4790K 4.0GHz overclocked to 4.6GHz and 8GB of RAM.

    Have you tried to change the processor speed manually in BIOS?
    Additionally please check if you are using the latest BIOS version.

  • Week End Date calculates dates in table issues

    Greetings All,
    I'm working on a LiveCycle Designer ES4 document that has a Week Ending Date MM-DD-YYYY (which need to always be a Saturday) selected in a subform.
    I need this Week End Date to then calculate and display the selected Saturday and the previous days in a seperate subform with a table. The days need to display in seperate columns below the header.
    This is what I have so far:
      TopmostSubform.Page1.Requestor.WeekEndDate::exit - (FormCalc, client)
    var endDate = Date2Num($,"MM-DD-YYYY")
    var dayOfWeek = Num2Date(endDate, "E")
    if (dayOfWeek <> 7) then
       xfa.host.messageBox("Ending date must be a Saturday")
       $ = null
       xfa.host.setFocus("$")
    endif
    Page1.#subform[1].InputTable.Row1[0].Date7 = Num2Date(endDate - 0, "DD")
    Page1.#subform[1].InputTable.Row1[0].Date6 = Num2Date(endDate - 1, "DD")
    Page1.#subform[1].InputTable.Row1[0].Date5 = Num2Date(endDate - 2, "DD")
    Page1.#subform[1].InputTable.Row1[0].Date4 = Num2Date(endDate - 3, "DD")
    Page1.#subform[1].InputTable.Row1[0].Date3 = Num2Date(endDate - 4, "DD")
    Page1.#subform[1].InputTable.Row1[0].Date2 = Num2Date(endDate - 5, "DD")
    Page1.#subform[1].InputTable.Row1[0].Date1 = Num2Date(endDate - 6, "DD")
    However I keep getting an error on the WeekEndDate when selecting a Saturday.
    Does anyone have any idea what I'm doing wrong?
    Thank you for any help!
    -Michelle

    Well, I never got an answer from the forum here, but to help out others - here is what I did:
    This was all done in FormCalc.
    The object WeekEndDate Date/Time Field has a set pattern date{MM/DD/YYYY} in the Object Field Pattern in LiveCycle.
    BUT, the Scripting required the pattern to be YYYY-MM-DD
    Why? I have no flipping clue. It won't work any other way for me.
    Also this item requires a Saturday Date to be chosen. Days of the week are designated by numbers (Sunday = 1, Monday = 2, etc.)
    The line <>7 means that if the day is not Saturday (7) then the error message "Ending date must be a Saturday" will appear.
    This is the Exit event Script:
    TopmostSubform.Page1.Requestor.WeekEndDate::exit- (FormCalc, client)
    var endDate = Date2Num($,"YYYY-MM-DD")
    var dayOfWeek = Num2Date(endDate, "E")
    if (dayOfWeek <> 7) then
         xfa.host.messageBox("Ending date must be a Saturday")
         $ = null
         xfa.host.setFocus("$")
    endif
    The individual Date cells are set to a Date/Time Field with no pattern set in the Object Field Pattern in LiveCycle.
    The coding below designates a MM/DD pattern.
    Each individual field has it's own scripting, with the appropriate minus calculation  - #
    This is the Calculate script for the Sunday cell:
    TopmostSubform.Page1.#subform[1].InputTable.Row1[0].Date1::calculate - (FormCalc, client)
    var dateNum = date2num(TopmostSubform.Page1.Requestor.WeekEndDate.formattedValue,"MM/DD/YYYY") - 6
    $.rawValue = num2date(dateNum,"MM/DD")
    And the Saturday cell, that needed to display the Saturday End Date has the following Script, with NO minus number:
    TopmostSubform.Page1.#subform[1].InputTable.Row1[0].Date7::calculate - (FormCalc, client)
    var dateNum = date2num(TopmostSubform.Page1.Requestor.WeekEndDate.formattedValue,"MM/DD/YYYY")
    $.rawValue = num2date(dateNum,"MM/DD")
    Why did I include this all here?
    Because this whole project has been gawd-awful, and hopefully these insights can help another struggle forms designer understand the FormCalc scripting used.
    -M

  • Delivery quantity is less than minimum delivery quantity

    Hello Experts,
    I received an error log "Delivery quantity is less than minimum delivery quantity 20 EA" when I first tried to create delivery using sales order. Well the reason for the error log was because of the CMIR record maintained in the system with min quantity set as 20 (Ordered Quantity = 10 in the sales order).
    After realization, I did delete the CMIR record and then tried to create delivery for the same sales order but I'm still receiving the same error log "Delivery quantity is less than minimum delivery quantity 20 EA".
    How can I overcome this issue.
    Any help will be highly appreciated.
    Thanks in advance

    Hi Hegal,
    Thanks for your quick response.
    But I've one more question regarding the same error log.
    Initially the Ordered Qty was 10 and CMIR record was with 20 and it gave me a error log (which works as expected).
    I deleted CMIR record and it still gives the same error log "Delivery quantity is less than minimum delivery quantity 20 EA".
    Later when I increased the sales order quantity to 20 or more, I'm not getting any error log even though CMIR record is not maintained in VD52. This is something which is unusual and I feel there is some place in the file where this information is stored and later compared against the sales order quantity.
    This is something which I would like to know for my own understanding.
    I did ask user to delete the sales order line item and reenter the same product and now everything is working as expected.
    Thanks

  • Err "Only absence less than 1 day are allowed for this absence type

    Hi Experts,
    When I am creating IT2001 record for EL an error is coming, "Only absence less than 1 day are allowed for this absence type". Although Counting rule is defined properly and in check for Condition of absence <1 day & full day both are checked.
    Regards,
    Tomesh

    Hi Nalla,
    The remaining amount for Casual leave is not updated even after we apply the casual leave .
    Suppose there are 20 CL quotas available. If we apply for 2 CLs then remaining should be 18.
    Regards,
    Tomesh

  • Overall Budget is less than distributed budget

    Hi ,
      I am getting a error that " Overall Budget is less than distributed Budget" while returning the budget amount.
      I am trying to return the distributable amount . I feel the distributable amount is not utilised.
    Thanks
    Dasa

    Hi,
    If u r facing this problem from internal orders - use report KO31
    If u r facing this problem from WBS Element - use report cjbn
    it will adjust the incosistancy in tables ....
    Still if u r not resolved please let us know ...
    all the best
    Prasad

  • Numbers less than 0

    I am new to Numbers and have a cell that subtracts the values of one cell from another. If the sum ends up being less than "0" how can I make that value "0".
    The equations in the cell is currently:
    =SUM('8” Ordered' Red-'8” Delivered' Red)
    or
    =SUM(B2-C2)
    The resulting value is (15) however I need it to be "0".

    Hi -- the forum is a great way to learn new techniques
    I offer two solutions:
    IF(B2-C2<0,0,B2-C2)
    If the difference is negative, the result is 0, otherwise it is the positive result.
    or
    IF(B2<C2,0,B2-C2)
    If I subtract a larger number from a smaller number enter 0, otherwise enter the difference

  • Error while updating reimbursements Journey start date / End date missing

    Dear All,
    From ESS employee requested for Reimbursement of LTA from Benifits & Payments - Reimbursements & Claims.
    There is 3 level approval process and got the approval for reimbursement. We maintained Earned leave record for 6 days  in 2001 - Absences infotype.
    But while running the report HRPBSIN_AC_INFU - Advanced Claims: Infotype Update Report system is giving the error Journey Start date / End date is missing.
    help me how can I solve this issue.
    System details: ECC 6.0 - EHP1 and SP 63.
    Portal Details: Netweaver 7.0
    Regards,
    Potru.

    Hi Sangu,
    See if the following notes help you:
    Error when calling API from SQL*Developer, eg. ORA-01403 in API OE_ORDER_PUB.PROCESS_ORDER (Doc ID 1054295.1)
    Cancellation Of Transfer Orders Is Not Possible - ORA-01403: no data found in Package OE_Order_PVT Procedure Process_Order (Doc ID 391307.1)
    Thanks &
    Best Regards,

  • Getting error when trying to end date the element links

    When i am trying to end date the element link and i am getting a error message as ORA-01403: no data found if i click on the details button the following message is displayed:
    ORA-01403: no data found
    FRM-40735: ON-DELETE trigger raised unhandled exception ORA-01403.
    If i click on Ok button it bringgs another popup message that reads as follows:
    An Unexpected Error- 1403 has occured.An alert has been sent to the system administrator.
    ORA-01403: no data found
    I am really not getting why my link is not end dating.
    Could anyone advice me on how i can end date my element links.
    NB:the date track i am using is 01-DEC-2009 and no prayroll or quick pay has been processed as of this date

    Pl see if enabling an Forms Runtime Diagnostics (FRD) trace can help identify the cause
    MOS Doc 373548.1 - How To Collect And Use Forms Trace (FRD) in Oracle Applications Release 12
    MOS Doc 167635.1 - How To Perform Forms Runtime Diagnostics (FRD) Tracing in Applications 11i
    HTH
    Srini

  • My calendar will no longer let me add new event or delete them, it comes up with an error saying "cannot save event, no end date set" or "event does not belong to that event store". can anyone help with this?

    my calendar will no longer let me add new event or delete them, it comes up with an error saying "cannot save event, no end date set" or "event does not belong to that event store". can anyone help with this?

    Hi,
    To configure your ODBC DataSource, go to Control Panel ---> DataSources(ODBC) (If you are in a Windows environment).
    Select the tab System DSN. If you have not added your data source, then do so by clicking on the Add button. If you have added the datasource, click on the Configure button to configure it.
    Give the datasource name, then the database name.
    You have to give the hostname, service name and server name. I guess, in most cases, the datasource name and host name will be the same, service name and server name will be the same. If you are using TCP/IP, the protocol will be onsoctcp.
    There will be a file named Services under C:\WINNT\system32\drivers\etc where you have to give the port number for accessing this server.
    It will be like this <service name> <portnumber>/tcp
    Hope this helps...
    best wishes,
    Nish

  • Error OTF end command // missing in OTF dat

    Hi
    I am converting a smartform of a PO into a PDF. when i am using the option of pint immediately in message option of PO. I am getting this error OTF end command // missing in OTF dat . when i am using option 3 which in not print immediately. i am able to convert it into pdf file and save in my local folder. please advice.

    when you click the message button while creating a PO. it will take to next page where you add your output type that is output, partner etc.. after you add and click on further data button there you will have option for dispatching here when you add slect option 4 whihc is print immediately. then i am getting the error. if i am using the other options i am able to down load into pdf but not able to see print preview. please advice

  • Getting error while invoking ADF Start and End Dates

    Hi,
    I am new to developing ADF Application.
    Into :
    I am developing a search Page which has a select (drop down), startDate and endDate and a 'GO' Button
    when user selects 'data from Drop Down', selects startDate and endDate and Presses 'GO' Button
    Based on the Selected combination of Data i should get the Data.
    Problem :
    I am getting the following Error
    WARNING: JBO-25058: Definition TheStartDate of type Variable not found in FastTelcoQueryTransactionDetailsVO1
    What i have done / doing
    Jspx -
    <af:selectInputDate label="Start Date" value="#{FastTelcoTransactionBean.startDate}"></af:selectInputDate>
    <af:selectInputDate label="End Date" value="#{FastTelcoTransactionBean.endDate}"></af:selectInputDate>
    Bean File
    I am converting the this.startDate and this.endDate (both Date format) (which i have taken startDate & endDate as Dates and Generated Getters & Setters for them ) to String format.
    DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(this.startDate);
    map.put("_startDate", startDate);
    map.put("_endDate", endDate);
    VOImpl File
    public void getTransStartEndDate(Number transTypeId, String startDate, String endDate)
    TransactionDetailsVOImpl QueryVO = getQueryTransactionDetailsVO1();
    QueryVO.setNamedWhereClauseParam("MstTransTypeId", transTypeId);
    QueryVO.setNamedWhereClauseParam("TheStartDate",_startDate);
    QueryVO.setNamedWhereClauseParam("TheEndDate",_endDate);
    QueryVO.executeQuery();
    BindVariables Used
    TheStartDate - String format
    TheEndDate - String format
    SQL Query in VOIMPL - JDEV
    SELECT DISTINCT
    TransactionDetail.TRANS_TYPE_ID,
    MstTransaction.TRANS_DESC,
    TransactionDetail.TRANSACTION_NUMBER,
    TransactionDetail.CREATOR_NAME,
    TransactionDetail.CREATOR_EMAIL,
    TO_CHAR(TransactionDetail.TRANS_DATE, 'MM/DD/YYYY hh:mm:ss') TRANS_DATE,
    Error.ERROR_SH_MSG,
    Error.ERROR_DETAIL_MSG
    FROM
    TRANSACTION_DETAIL TransactionDetail,
    MST_TRANSACTION MstTransaction,
    ERROR Error
    WHERE
    (TransactionDetail.TRANS_TYPE_ID = MstTransaction.TRANS_TYPE_ID)
    AND (TransactionDetail.ERROR_ID = Error.ERROR_ID)
    AND MstTransaction.TRANS_TYPE_ID=(:MstTransTypeId)
    AND MstTransaction.IS_NOTIFICATION_REQ='Y'
    AND TransactionDetail.TRANS_DATE BETWEEN (TO_DATE((:TheStartDate), 'MM/DD/YYYY')) AND (TO_DATE((:TheEndDate), 'MM/DD/YYYY'))
    order by TRANS_DATE
    NOTE : TheStartDate & TheEndDate are not in Attribute list of JDEV
    i think i made it clear ...
    anybody as a solution or Idea please provide
    Thanx in advance
    regards,
    anvv sharma

    Hi,
    I have started developing the code with the following SQL Query -
    Query 1
    SELECT DISTINCT
    TransactionDetail.TRANS_TYPE_ID,
    MstTransaction.TRANS_DESC,
    TransactionDetail.TRANSACTION_NUMBER,
    TransactionDetail.CREATOR_NAME,
    TransactionDetail.CREATOR_EMAIL,
    TO_CHAR(TransactionDetail.TRANS_DATE, 'MM/DD/YYYY hh:mm:ss') TRANS_DATE,
    Error.ERROR_SH_MSG,
    Error.ERROR_DETAIL_MSG
    FROM
    TRANSACTION_DETAIL TransactionDetail,
    MST_TRANSACTION MstTransaction,
    ERROR Error
    WHERE
    (TransactionDetail.TRANS_TYPE_ID = MstTransaction.TRANS_TYPE_ID)
    AND (TransactionDetail.ERROR_ID = Error.ERROR_ID)
    AND MstTransaction.TRANS_TYPE_ID=(:MstTransTypeId)
    After that there is a change in the Requirement to add "Start Date" and "End Date" with a "Go Button" --> Clicking on this Go Button displays the Data Based on
    "Drop Down" box, "Start Date" & "End Date" --> Corresponding Data is Picked From Database and Displayed....
    Now, i have Updated the VO (From JDEV Design Time) with the latest Updated Query (added Start Date and End Date in the Query),
    also check the Corresponding XML file is also Updated with the latest Query.
    Query 2
    SELECT DISTINCT
    TransactionDetail.TRANS_TYPE_ID,
    MstTransaction.TRANS_DESC,
    TransactionDetail.TRANSACTION_NUMBER,
    TransactionDetail.CREATOR_NAME,
    TransactionDetail.CREATOR_EMAIL,
    TransactionDetail.TRANS_DATE,
    Error.ERROR_SH_MSG,
    Error.ERROR_DETAIL_MSG
    FROM
    TRANSACTION_DETAIL TransactionDetail,
    MST_TRANSACTION MstTransaction,
    ERROR Error
    WHERE
    (TransactionDetail.TRANS_TYPE_ID = MstTransaction.TRANS_TYPE_ID)
    AND (TransactionDetail.ERROR_ID = Error.ERROR_ID)
    AND MstTransaction.TRANS_TYPE_ID=(:MstTransTypeId)
    AND MstTransaction.IS_NOTIFICATION_REQ='Y'
    AND TransactionDetail.TRANS_DATE BETWEEN (TO_DATE((:TheStartDate), 'YYYY-MM-DD')) AND (TO_DATE((:TheEndDate), 'YYYY-MM-DD')) order by TRANS_DATE
    So now at Design Time i have Query 2, but Strangely at RUN Time Query 1 is Excecuting asking for "Start Date" Binding Variable NOT Found (as there is no Start Date Bind Variable in Query 1)
    for this i have to re-Design the required Part...to make it work
    can any body explain why it behaved like this ??
    regards,
    anvv sharma

  • TRIP END DATE greyed out while creating Travel Request IN SAP ESS Portal

    Dear Friends,
                               I am trying to create a Travel Request from my ESS Portal,when I am entering the trip details as follows:
    General Trip Data  (header)
    Start: *    (Have to enter trip date)
    End:        (greyed out)   **** problem with this field
    First Destination:  Country/Region:     open field
    Reason for Trip:    open field
    Activity:     open field
    Estimated Cost:
    Previous Step  Review     Exit  (these are all tabs)
    The problem is that the END DATE is greyed out ,how do we enable it,is it a configuration setting or some code change in the function module
    PTRA_UTIL_GENERAL_DATA_FIELDS
    My portal consultant said that this FM is called in the backround R/3....please let me know ure views on this...
    Thanks,
    Best Regards,
    Karthik

    Hi Kartik,
    We are getting the same problem. Can you please share how did you solve this.  It is urgently required.
    Thanks,
    Vishal Patel

Maybe you are looking for

  • How can I combine multiple variations of the same library?

    While I have become accustomed to the new Library format/function there are still things that boggle my mind.  Case in point is that I now somehow have multiple versions of the same event showing up although I didn't create them.  And there is also a

  • HP Touchsmart 600-1370a Black Screen

    Touchsmart 600-1370a  product no. BU140AA Win 7 64 Bit A few weeks ago the PC would give prolonged beeps when turned on, so I would power off and on again and sometimes beep would continue or it would start normally. Whilst watching a short video cli

  • SPDIF-In on X-Fi Plati

    Hey all. I just bought an X-Fi Platinum. I have a PS2 hooked up to the SPDIF-In plug on my I/O module (and my tv card), and I was wondering how I could get the sound from there to play on my speakers. I expected it would happen automatically, but it

  • Cover Art Not Displaying in Artwork Tab

    I am having a problem with the cover art as follows: 1. I have added cover to each song be it a downloaded song from an album or a ripped song from a CD. I did this by (a) downloading/getting the album cover art (b) copying the cover art from the ART

  • General error won't open

    for a few months now, i've had a problem that, every week or so, won't allow me to save. I've since gotten over it (i never found a solution) by exporting it to a quicktime file every time it happens, so i can re-import the changes i've made that day