How To Fix SGT_01307 - A new row is added, but a record number hasn't been generated


SGT_01307 - Overview

  • Message type: E = Error

  • Message class: SGT_01 - SGT_01

  • Message number: 307

  • Message text: A new row is added, but a record number hasn't been generated

  • Show details Hide details
  • What causes this issue?

    <ZK>Record Number</> is a unique key for each record in the
    <AB>SGT_DYNCAT </>table. It's generated when a new entry is created.
    You're seeing this message because you haven't defined a number range in
    the Customizing settings.

    System Response

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

    How to fix this error?

    Define a number range in the Customizing activity
    <DS:SIMG.SGT_SRNUM>Define Number Ranges for Default Segment Values</>.
    under Logistics - General > Segmentation.

    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 SGT_01307 - A new row is added, but a record number hasn't been generated ?
    The SAP error message SGT_01307, which states "A new row is added, but a record number hasn't been generated," typically occurs in the context of SAP's Global Trade Services (GTS) or similar modules where data records are being managed. This error indicates that while a new entry is being created in a table or database, the system is unable to generate a unique record number for that entry.
    Causes:
    
    Database Constraints: There may be constraints in the database that prevent the generation of a new record number. This could be due to issues with the underlying database schema or configuration.
    Missing Configuration: The system may not be properly configured to generate record numbers. This could involve missing settings in the GTS configuration or related modules.
    Technical Issues: There could be technical issues such as database locks, connectivity problems, or other system errors that prevent the record number from being generated.
    User Authorization: The user may

    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'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