SAP Knowledge Base Article - Public

2587184 - Mandatory Parameter in URL Mashup

Symptom

When creating a URL Mashup and selecting an Extension Field as a Mandatory Parameter, the Mashup will launch even if the Extension Field has no data (empty).

Environment

SAP Hybris Cloud for Customer

Reproducing the Issue

  1. Create a URL Mashup
  2. Select an Extension Field as a Mandatory Parameter
  3. Add the Mashup to the screen
  4. Leave the Extension Field Empty
  5. Launch the Mashup

Cause

The Mandatory check is not for the runtime while the Mashup is loading but when the Mashup is added in the screen.

Example:

You have the Extension Field XYZ and you set it as a Mandatory Parameter when creating the URL Mashup.

You want to add the Mashup to the Account screen but the field XYZ is not visible. The Mashup won't be added until you set the Binding for the Field.

Resolution

If you want to set the Extension Field as a Mandatory Parameter, you need to set the Extension Field as Mandatory in the screen.

Keywords

"URL Mashup" "Mandatory" "Parameter" , KBA , AP-RC-GEN-MSH , Mashups , How To

Product

SAP Cloud for Customer add-ins 1802 ; SAP Hybris Cloud for Customer add-ins 1711