Symptom
An error occurs when previewing an attachment in the Registered Products facet of the Customer work center view.
Environment
SAP Cloud for Customer core applications
Reproducing the Issue
- Go to the Customers work center.
- Navigate to the Accounts view.
- Open customer XYZ.
- Go to the Registered Products facet of customer XYZ.
- Open registered product ABC.
- Navigate to the Attachments section of registered product ABC.
- Add an attachment to the registered product.
- Upload an image file as the attachment and select Save.
- Select Actions and then choose Preview.
The system triggers an error while previewing the attachment.
Cause
- If the application does not pass a country code, the framework determines the country based on the logged-in user's organizational assignment and the corresponding company country. The framework then checks whether a form is maintained for that country.
- By default, only one standard form for US and language EN is delivered by the system. The issue occurs because no form is available for the country that is currently scoped in the system.
Resolution
- Go to the Organizational Management work center.
- Navigate to the Org Structures view.
- Open an organizational unit whose default country matches the country scoped in the system.
- Go to the Employees facet.
- Assign the affected business user (the user experiencing the issue while previewing the attachment) to the organizational unit.
- Verify in Business Configuration that the scoped country matches the country maintained in Step 3.
- Additionally, scope the country United States and save the changes.
- Go to the Application and User Management work center.
- Navigate to the Form Template Maintenance view.
- Search for the form using the following search criteria:
Template Group: A02 - Registered Product - Select the form maintained with:
Country: United States
Language: English - Select Copy and choose As New Variant.
- Maintain the following values:
Country: Default country scoped in the system
Language: English - Select OK to create the new variant.
- Return to Business Configuration and remove the scope for United States, keeping only the default scoped country.
- Open any Registered Product instance and select Preview again.
The attachment preview will now open successfully without any error.
Keywords
Previewing an Attachment, Registered Products, Customers, Accounts, framework, Country, language, Template, Organizational Management , KBA , LOD-CRM-ACC , Account , How To
Product
SAP Cloud for Customer core applications 1711
SAP Knowledge Base Article - Public