Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix SO2_API021 - Initial BSP &1 of application &2 is not marked as Start BSP


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SO2_API - O2: Error Messages for Object Check

  • Message number: 021

  • Message text: Initial BSP &1 of application &2 is not marked as Start BSP

  • Show details Hide details
  • What causes this issue?

    The XSRF protection is activated for the BSP application "&V2&" (see
    checkbox "XSRF Protection" on the "Properties" tab in the Web
    Application Builder for the BSP application). In addition, the page or
    the controller "&V1&" is stored as the Start BSP.
    However, the indicator that the page can serve as a Start BSP for XSRF
    protection is not set for the page/controller "&V1&".

    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?

    Set the indicator "Start-BSP" for "&V1&" (Checkbox "Start BSP" on the
    "Properties" tab in the Web Application Builder for "&V1&").
    Refer to the documentation on the "XSRF Protection" indicator.

    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 SO2_API021 - Initial BSP &1 of application &2 is not marked as Start BSP ?

    The SAP error message SO2_API021 indicates that a Business Server Page (BSP) application is not properly configured to be recognized as a "Start BSP." This typically means that the BSP application you are trying to access does not have a designated entry point or starting page defined in its configuration.

    Cause:

    1. Missing Start BSP Configuration: The BSP application does not have a designated start page marked in its settings.
    2. Incorrect Application Structure: The BSP application may not be structured correctly, or the main page is not properly defined.
    3. Transport Issues: If the BSP application was transported from another system, the configuration might not have been correctly set up in the target system.

    Solution:

    To resolve this error, you can follow these steps:

    1. Check BSP Application Configuration:

      • Go to the BSP application in the SAP GUI.
      • Navigate to the BSP application settings and ensure that the initial BSP page is marked as the "Start BSP."
      • You can do this by accessing the BSP application via transaction SE80 or SE41 and checking the properties of the BSP application.
    2. Define Start BSP:

      • If the start BSP is not defined, you can set it by:
        • Opening the BSP application in the BSP Workbench (transaction SE80).
        • Right-clicking on the application and selecting "Properties."
        • In the properties, specify the initial BSP page that should be marked as the start page.
    3. Check for Transport Issues:

      • If the application was recently transported, ensure that all necessary components and configurations were included in the transport request.
      • Re-import the transport request if necessary.
    4. Testing:

      • After making the changes, test the BSP application again to ensure that the error is resolved.

    Related Information:

    • BSP Applications: Business Server Pages are used in SAP for web-based applications. They allow for the creation of dynamic web content using ABAP.
    • Transaction Codes: Familiarize yourself with transaction codes like SE80 (Object Navigator) and SE41 (BSP Application) for managing BSP applications.
    • Documentation: Refer to SAP Help documentation for more details on configuring BSP applications and troubleshooting common issues.

    If the problem persists after following these steps, consider checking SAP Notes or reaching out to SAP support for further assistance.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


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