How To Fix SOTR_MESS004 - Context flag was checked for &1 short texts and for &2 long texts


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SOTR_MESS - Messages in and for the Online Text Repository

  • Message number: 004

  • Message text: Context flag was checked for &1 short texts and for &2 long texts

  • Show details Hide details
  • What causes this issue?

    Multiple texts in one language exist for one concept. These can be
    contexts or "old" texts that also have an entry in the SOTR_TEXT-OBJECT
    or SOTR_TEXTU-OBJECT field.

    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?

    For these texts the context indicator (field CNTXT_FLAG) must be set so
    that the correct text for the context (system context or cus
    tomer-defined context) is displayed at runtime.
    The context indicator is set with program SOTR_DEFAULT_CONTEXT_FLAG_SET.

    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 SOTR_MESS004 - Context flag was checked for &1 short texts and for &2 long texts ?




    • 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:
  • SOTR_MESS003 The text is not in your namespace
    Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...

  • SOTR_MESS002 Save the data first
    Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...

  • SOTR_MESS005 Error with the translation
    Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...

  • SOTR_MESS006 Invalid concept
    Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...

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