SAP Knowledge Base Article - Public

3510258 - When trying to add an item to a library, the system returns the error "The current item cannot be added to any libraries because it does not have a SKU"

Symptom

The system administrators have identified items without SKU numbers. As a result, the system does not allow adding them to any library. When attempting to do so, the system displays the following error message:

"The current item cannot be added to any libraries because it does not have a SKU."

Environment

SAP SuccessFactors Learning

Reproducing the Issue

  1. As a Learning Administrator >
  2. Navigate to System Administration >
  3. Configuration >
  4. System Configuration >
  5. FINANCIAL >
  6. Note that the setting "autoCreateMasterInventory" is maintained as "false" >
  7. Create a new Item Entity >
  8. Note that the option "Available in Library" is set to "No" (Not Changeable) and "Library SKU" is blank (Not Changeable) >
  9. When trying to add the item to a library, the system returns the message "The current item cannot be added to any libraries because it does not have a SKU"

Cause

With the setting "autoCreateMasterInventory" maintained as "false", the system does not create an SKU number when an item is created. The Stock Keeping Unit (SKU) is a unique inventory ID for the selected item. Without this number, the system does not allow the entity to be managed in the system's library.

Resolution

Currently, the system prevents learning administrators from manually adding the "Library SKU" to an existing entity. If the setting "autoCreateMasterInventory" is changed to true, it will only affect the entities created after the change. This means that the setting is not applied retroactively.

To resolve the issue, you can attempt to copy the item or create a new item revision. Please follow these steps:

Suggestion 1: keeping the "autoCreateMasterInventory" as "false"

Note that the "Library SKU" field is empty.

Copy:
Go to Actions and choose Copy >
Please note that the field "Library SKU" is visible in the initial step of the wizard for the admin to input the SKU number.
Revise:
Go to Actions and choose Revise >
Please note that the "Library SKU" field is visible in STEP 4 of the revision wizard for the admin to input the SKU number.

Suggestion 2: changing the "autoCreateMasterInventory" to "true"

Note that the "Library SKU" field is empty.

  1. Navigate to Learning Admin >
  2. System Administration >
  3. Configuration >
  4. System Configuration >
  5. FINANCIAL >
  6. Change the setting "autoCreateMasterInventory" to "true" >
  • Copy:
  1. Go to Actions and choose Copy >
  2. Please note that the field "Library SKU" does not appear to the admin. After completing the copy process, the system automatically generates the SKU number.
  • Revise:
  1. Go to Actions and choose Revise >
  2. Please note that the field "Library SKU" does not appear in STEP 4 of the revision wizard. Once the revision process is completed, the system automatically generates the Library SKU number.

Notes:

  • With "autoCreateMasterInventory" set to "false," system administrators can copy or revise items without entering a "Library SKU" number. However, the system will still prevent the item from being in a library.
  • Once the item receives the SKU number through the revision process., all previous and subsequent revisions of the item will have the same Library SKU number. Therefore, the system will no longer display the "Library SKU" field for the admin to select in STEP 4 of the revision wizard, even if the "autoCreateMasterInventory" is set to "false".
    When entering the SKU number using the Copy function, the copied item will receive a new number, but the original item will remain without an SKU number.

---

If this topic is important for your company and you would like a different system design, we recommend submitting an enhancement request to have this functionality considered in future development cycles. You can do this on our Customer Community Portal at http://community.successfactors.com/. For detailed steps on how to raise an enhancement request, you can also refer to the KBA 2090228.

See Also

Action Copy:

Action Revise:

Keywords

SKU, library, libraries, current, item, cannot, added, because, not, SKU, The current item cannot be added to any libraries because it does not have a SKU, revise, copy, autoCreateMasterInventory, true, false , KBA , LOD-SF-LMS-ITE , Items , LOD-SF-LMS-ADM , System Admin, Global Variables, References , LOD-SF-LMS , Learning Management System , LOD-SF-LMS-CAT , Catalog , Problem

Product

SAP SuccessFactors Learning all versions