How To Fix AS_DATASOURCE012 - Archive as data source, but no files selected


SAP Error Message - Details

  • Message type: E = Error

  • Message class: AS_DATASOURCE - Dialog for Selecting Data Source

  • Message number: 012

  • Message text: Archive as data source, but no files selected

  • Show details Hide details
  • What causes this issue?

    You selected <ZK>Archive</> as data source and chose S<ZK>elect Files
    Manually</>, but did not specify which archive files are to be read.

    System Response

    No data will be read from the archive with this combination.

    How to fix this error?

    If you want to save these settings only as a sample (a variant), no
    further action is needed. Otherwise you must select archive files.
    You could also use the archive information system, by selecting the
    <ZK>Archive Information System</> option. If you choose this option,
    the system will automatically determine the files to be read.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message AS_DATASOURCE012 - Archive as data source, but no files selected ?

    The SAP error message AS_DATASOURCE012 indicates that the system is trying to archive data, but no files have been selected for archiving. This can occur in various scenarios, particularly when dealing with data archiving processes in SAP.

    Cause:

    1. No Data Selected: The most common cause is that the selection criteria for the archiving process did not return any data. This could be due to incorrect selection parameters or filters.
    2. Archiving Object Configuration: The archiving object may not be properly configured, leading to no files being available for archiving.
    3. Authorization Issues: The user may not have the necessary authorizations to access the data that needs to be archived.
    4. Technical Issues: There could be technical issues with the archiving process or the underlying database that prevent data from being selected.

    Solution:

    1. Check Selection Criteria: Review the selection criteria used for the archiving process. Ensure that the parameters are set correctly and that there is data available that meets these criteria.
    2. Review Archiving Object Configuration: Verify that the archiving object is correctly configured in the system. Check the settings in transaction SARA (Archive Administration) to ensure everything is set up properly.
    3. Check Authorizations: Ensure that the user executing the archiving process has the necessary authorizations to access the data. This can be checked in transaction SU53 or by consulting with your security team.
    4. Test with Different Criteria: Try running the archiving process with different selection criteria to see if any data can be selected for archiving.
    5. Check Logs: Review the logs for any additional error messages or warnings that might provide more context about why no files were selected. This can often be found in the application log (transaction SLG1).
    6. Consult Documentation: Refer to SAP documentation or notes related to the specific archiving object you are working with for any known issues or additional configuration steps.

    Related Information:

    • Transaction Codes:
      • SARA: Archive Administration
      • SLG1: Application Log
      • SU53: Authorization Check
    • SAP Notes: Check the SAP Support Portal for any relevant SAP Notes that might address this specific error or provide additional troubleshooting steps.
    • Archiving Process: Familiarize yourself with the general archiving process in SAP, including how to set up and execute archiving jobs, as well as how to monitor them.

    If the issue persists after following these steps, it may be beneficial to consult with your SAP Basis or functional team for further investigation.

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