How To Fix 1J664 - Error occurred during calculation of next run date and due date


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 1J - BCA: Payment Order Dialog

  • Message number: 664

  • Message text: Error occurred during calculation of next run date and due date

  • Show details Hide details
  • What causes this issue?

    An error occurred when the system determined the the next run date and
    the next due date in the <ZK>Create/Change</> mode of a recurring SEPA
    direct debit order.
    The system calculates the next run date and next due date of a recurring
    SEPA direct debit order in the <ZK>Create/Change</> mode in the
    implementation of the BAdI BKK_STOR_SDD_COMPUTE_DATE, in the
    CALC_NEXT_DUE_DATE_DIA and CHECK_SDD_DATA_DIALOG methods.
    If the implementation returns the OUTPUT_E_RETURN parameter with a value
    that is not zero, or appends any errors to E_TAB_MESSAGES, then an error
    has occurred in the calculation logic in the above implementation.

    System Response

    The system cannot create or change a recurring SEPA direct debit order.

    How to fix this error?

    Change the next run date of the recurring SEPA direct debit order in the
    dialog mode, and ensure that the next run date is between the earliest
    and latest posting date for the due date.

    Procedure for System Administrators

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 1J664 - Error occurred during calculation of next run date and due date ?

    The SAP error message 1J664 indicates that there was an issue during the calculation of the next run date and due date for a scheduled job or process. This error can occur in various contexts, such as background jobs, billing processes, or other scheduled tasks within the SAP system.

    Possible Causes:

    1. Incorrect Configuration: The scheduling parameters or configuration settings for the job may be incorrect or incomplete.
    2. Missing Data: Required data for the calculation of the next run date or due date may be missing or not properly maintained in the system.
    3. Date Format Issues: There may be issues with the date format or the system's date settings.
    4. System Time Settings: The system time settings may not be correctly configured, leading to discrepancies in date calculations.
    5. Authorization Issues: The user executing the job may not have the necessary authorizations to access the required data or perform the calculation.
    6. Custom Code or Enhancements: If there are custom developments or enhancements in the system, they may interfere with the standard date calculation logic.

    Solutions:

    1. Check Configuration: Review the configuration settings for the job or process to ensure that all parameters are correctly set.
    2. Verify Data: Ensure that all necessary data is available and correctly maintained in the relevant tables.
    3. Review Date Formats: Check the date formats used in the system and ensure they are consistent with the expected formats.
    4. System Time Settings: Verify the system time settings and ensure they are correctly configured.
    5. Authorization Check: Ensure that the user has the necessary authorizations to execute the job and access the required data.
    6. Debugging: If the issue persists, consider debugging the process to identify where the calculation is failing. This may involve checking custom code or enhancements that could be affecting the standard logic.
    7. Consult SAP Notes: Check the SAP Support Portal for any relevant SAP Notes or patches that may address this specific error.

    Related Information:

    • Transaction Codes: You may want to use transaction codes like SM37 (to check job logs) or SM21 (to view system logs) to gather more information about the error.
    • SAP Community: Engaging with the SAP Community forums can provide insights from other users who may have encountered similar issues.
    • SAP Support: If the problem cannot be resolved internally, consider reaching out to SAP Support for assistance.

    By following these steps, you should be able to identify the root cause of the error and implement a solution to resolve it.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker