Mindfulness

How to Change Prompts in SAP BO

Updated · By the Relaxmid editors

Reading time
6 min
Sections
9
Topic
Mindfulness

Changing prompts in SAP BusinessObjects (SAP BO) lets you adapt your reports to the data you have right now. This takes about 15 to 30 minutes, costs no extra money, and is medium difficulty. You will use the Report Designer to edit the prompt field, not the report itself, so the change applies every time someone runs the file.

Check If You Can Change Prompts

Before you start, confirm you have the right permissions and access level. You must be able to edit the report object, not just view it. Ask your system administrator for permission to modify the report in your specific universe and environment.

Decide which prompts you want to change. Common reasons are:

  • You need more or fewer answer choices.
  • You want to change the prompt type from a list to a date range.
  • You want to change the prompt name or question wording.
  • You want to remove a prompt and make the data static.

If the prompt is part of a complex universe with many dependent objects, changes may affect other reports. Ask your administrator if the universe is used by other users before you edit it.

Open the Universe in Report Designer

Open the SAP BusinessObjects Report Designer application on your computer. This is usually found in the Start menu or via the SAP BusinessObjects launchpad. Do not use the Web Intelligence tool for this task; use the desktop client.

  1. Start Report Designer.
  2. Click File > New > Universe.
  3. Select the universe that contains the report with the prompts you want to change. If you do not know the name, ask your administrator.
  4. Click Open.

Wait for the universe to load. The workspace shows tables, joins, and objects. Do not close the universe until you save your changes.

Find the Prompt Object in the Universe

Prompts in SAP BO are usually created as objects in the universe, not directly in the report. You must find and edit the object itself.

  1. In the left pane, expand the folder that contains the table or query that has the prompt. For example, expand “Sales” > “Query 1”.
  2. Look for a prompt object. It usually has a small icon next to it that looks like a dialog box or a field with a question mark. The name often contains words like “Prompt”, “Filter”, or “Selection”.
  3. Right-click the prompt object and select Properties from the context menu.

Change the Prompt Type and Options

The Properties dialog box lets you control how the prompt behaves. This is where you make the actual change.

  1. In the Properties window, find the type of prompt you want to change. Common types are:
  2. List of Values (LOV): The user picks from a fixed or dynamic list.
  3. Date: The user picks a single date or a range.
  4. Text: The user types free text.
  5. Yes/No: The user chooses between two options.
  6. Select the appropriate tab for the type you want to use. For example, if you want to change a text prompt to a list, select the LOV tab.
  7. To change the list of values:
  8. Click the ellipsis (…) button to open the List of Values dialog box.
  9. Choose the source for your list. You can select from:
  10. Query: Use another query in the universe to create the list.
  11. List of Values: Create a fixed list of values manually.
  12. Table: Use data from a table in the universe.
  13. Follow the prompts to define the list. For a fixed list, type each value on a new line. For a query, select the table and columns that provide the values.
  14. Click OK to save the list definition.
  15. Back in the main Properties window, you can also change the prompt name. This name is what users see when they run the report. Type the new name in the Name field.
  16. Change the question text in the Description field. This is the question users will answer, such as “Enter the country:” or “Select the product category:”.
  17. Click OK to save the prompt properties.

Save the Universe and Update Reports

Saving the universe is the last step. The report will use this new prompt definition the next time it is refreshed.

  1. Click File > Save to save the universe file (.unx or .unv).
  2. Do not skip this step. If you do not save, your changes will be lost.
  3. Now, open the report that uses this prompt in the Web Intelligence tool.
  4. Refresh the report. The new prompt will appear with your new name and options.

Changing a Country Prompt to a List

Imagine you have a report that prompts users for a country, but they sometimes type “USA” and sometimes “United States”. This causes duplicate rows in your results. You will change the prompt to a fixed list of countries.

  1. Open the universe in Report Designer.
  2. Find the “Country” prompt object in the folder structure.
  3. Right-click the object and select Properties.
  4. In the Properties window, click the LOV tab.
  5. Click the ellipsis (…) button to open the List of Values dialog box.
  6. Click the New List button.
  7. Give the list a name, such as “Country List”.
  8. Click OK to return to the List of Values dialog box.
  9. In the main list of values area, type the following countries, one per line:
  10. United States
  11. Canada
  12. United Kingdom
  13. Germany
  14. France
  15. Click OK to save the list.
  16. Back in the main Properties window, change the Name to “Country Selection” and the Description to “Select the country for your report:”.
  17. Click OK to save the prompt.
  18. Save the universe.
  19. Open the report and refresh it.
  20. The prompt now shows a list of five countries instead of a text box.

What to Do Next After Changing Prompts

After you change a prompt, you should test it to make sure it works as expected. A prompt is only as good as the data it presents.

Test the prompt in a new report. Create a blank report and drag the universe object that has the prompt into the report. Refresh the report. Check that the prompt looks correct and that the list of values is accurate.

Check for data consistency. Run the report with different selections from your new list. Compare the results with the old prompt results. The new list should give you cleaner, more consistent data.

Communicate the change. If your prompt affects other users, let them know. Tell them the new question they will see and the new options they will choose from.

Review dependent reports. If you changed a prompt object that is used in multiple reports, open each one. Refresh each report to ensure they all display the new prompt correctly.

Symptom / Cause / Fix Table

Symptom Most Likely Cause Fix
The prompt shows a list when you expected a text box. You changed the prompt type to LOV in the universe. Use the prompt in the report as designed. If you need a text box, change the prompt type back to Text in the universe.
The list of values is empty when you run the report. The query or table you used to create the list contains no data. Check the query in the universe. Ensure it pulls data for the values you want to show.
The prompt name is not updating in the report. You saved the universe but did not refresh the report in the Web Intelligence tool. Close the report and open it again. Refresh the report to pull the latest universe definition.
You cannot edit the prompt object. You do not have edit rights for the universe. Contact your system administrator to request edit access.

How to Check If Your Changes Worked

After you save and refresh, you can verify the change in a few simple steps.

  1. Open the report in the Web Intelligence tool.
  2. Click the prompt field to open the selection window.
  3. Check that the question text matches what you wrote in the Description field.
  4. Click OK to select a value.
  5. Look at the report output. The data should reflect the value you selected.
  6. Run the report again with a different value. The data should change accordingly.

If the prompt does not appear or the list does not show, check your connection to the universe. Ensure you are using the latest version of the universe file.

Related

General information for everyday wellbeing, not medical advice. If something affects your health, sleep or mood for more than a short while, talk to a qualified professional. Read more

Spotted an error? Tell us and we will correct it (corrections policy).