How To Fix AJ798 - Billing period from sec. installation &1 does not match prim. inst. &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: AJ - Billing program

  • Message number: 798

  • Message text: Billing period from sec. installation &1 does not match prim. inst. &2

  • Show details Hide details
  • What causes this issue?

    Billing documents from secondary installation &V1&
    are required for billing
    primary installation &V2&.
    These billing documents must correspond to the
    billing period of the primary installation. This means that the
    unprocessed billing documents of the secondary installation must be
    within the interval &v3& to &v4&. This interval is made up of the
    billing period of the primary installation and the
    <DS:DE.LMARGIN_SUB>interval of the secondary installation before and
    after the meter reading date</>. However, secondary installation &v1&
    contains an unprocessed billing document that
    is not in this interval. This can be a real billing document or - if
    secondary installation &v1& is
    <DS:DE.DISTREL>distribution-relevant</> - a billing document
    created by the simulation of a billing order.

    System Response

    The billing procedure for primary installation &V2& is cancelled.

    How to fix this error?

    There can be several causes for this:
    You entered a periodic meter reading result for the secondary
    installation and the meter reading date of this result is too far away
    from the meter reading of the primary installation. This means it
    exceeds the predefined meter reading intervals. If this is the case,
    change the meter reading date of the secondary installation.
    You entered a delayed move-in for the secondary installation. The
    move-in is in a period for which the primary installation has already
    been billed. Therefore, the start of the billing documents billing
    period is too far back in the past.
    The delayed move-in might reveal that the previous billing of the
    primary installation was incorrect. If this is the case, you must
    reverse the previous billing of the primary installation. Otherwise you
    have to delete installation &v1& from the installation group for
    the period for which the primary installation has already been billed.

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

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message AJ798 - Billing period from sec. installation &1 does not match prim. inst. &2 ?
    The SAP error message AJ798 indicates a mismatch between the billing periods of a secondary installation and its primary installation in the context of SAP IS-U (Industry Solution for Utilities). This error typically arises when there is an inconsistency in the billing periods defined for the installations involved.
    
    Cause: Mismatch in Billing Periods: The primary installation (e.g., a main meter) and the secondary installation (e.g., a sub-meter or a related service) have different billing periods set in their configuration. Configuration Errors: Incorrect configuration in the installation data or billing settings can lead to this error. Data Migration Issues: If data was migrated from another system or if there were changes made to the installations, it could result in inconsistencies.
    Solution: Check Installation Data: Go to the installation data for both the primary and secondary installations. Verify the billing periods set for both installations. They should match. Adjust Billing Periods: If you find a mismatch, adjust the billing period of

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant