How To Fix TSGEN228 - Generation stopped due to & generation errors (see long text)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: TSGEN - Messages For Transaction SGEN

  • Message number: 228

  • Message text: Generation stopped due to & generation errors (see long text)

  • Show details Hide details
  • What causes this issue?

    Unable to generate many objects (the generation status displays the
    value 'E', meaning that no syntax errors are involved). There are
    several reasons for why these generation errors may occur. The most
    frequent cause is that the tablespace containing the load tables is
    full.

    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?

    Generation Status in the Database Table GENSETC
    You can use the generation status of the objects in the database table
    <DS:TB.GENSETC>GENSETC</> to determine how many objects:
    Were generated successfully (GENSTATUS ='X'),
    Are currently being processed (GENSTATUS ='P'),
    Are still in initial status (GENSTATUS ='I'),
    Showed a syntax error durin generation (GENSTATUS ='S')
    Showed an error of a different type (GENSTATUS ='E').
    Clarifying the Cause
    The SysLog (transaction SM21) can be helpful when determining the cause
    of generation errors. Here you also see entries if the most frequent
    cause for a large number of generation errors was that a tablespace did
    not have enough space for the load tables. You can check how much free
    space is available in the tablespaces by calling transaction DB02.
    Resuming Generation after Revealing the Cause of Error
    To resume the generation after it has been stopped, choose the
    generation task 'Regenerate the objects of the last run' when you
    recall transaction <DS:DT.TX_SGEN_INFO1_PARA>SGEN</> and then choose
    'Resume'. The servers that you select for parallel generation must have
    the same machine type as those before the generation was stopped. The
    transaction now resets the generation status of all objects with
    generation errors (GENSTATUS ='E') to 'I' (initial). If you now restart
    the generation, all objects that have not yet been edited (GENSTATUS
    ='I') are generated.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message TSGEN228 - Generation stopped due to & generation errors (see long text) ?




    • 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author