2544574 - Mashup is Created Without the Port Binding

SAP Knowledge Base Article - Public

2544574 - Mashup is Created Without the Port Binding

Symptom

You created a Mashup without the Port Binding and when you try to add it to your preferred screen in Adaptation Mode the Input Binding box is not available under Mashups and Web Services.

Reproducing the Issue

  1. Launch in Silverlight.
  2. Navigate to the screen where you wish to add the Mashup. 
  3. Click Adapt and enter into Adaptation Mode.
  4. Click Adapt and on Edit Screen.
  5. Select the Mashup and Web Services.
  6. Select the Mashup that you wish to add.
  7. You do not see the Input Binding box.

Cause

Whenever a user adds an extension field to the UI, the system creates an Outport called ExtensionFieldsOutPort and the extension field will be added as a parameter in the Outport. This means that you should be able to consume the data in Mashup.

Resolution

In Silverlight layout:

  1. Go to the Application & User Management work center.
  2. Go to the Mashup Authoring view.
  3. Create a new URL mashup in Mashup Authoring tool by selecting the New button.
  4. Select a PortType (e.g. Business & Finance as Mashup Category & Additional Account Information as Port Binding).
  5. Enter the URL in the corresponding field and click on Extract Parameters.
  6. Above action would strip the Query Parameters and add the parameter to the table below and the value will be shown in the constant column.
  7. Delete the constant value.
  8. Save & Activate the Mashup.
  9. Navigate to the screen where you wish to add the Mashup. 
  10. Click Adapt and enter into Adaptation Mode.
  11. Click Adapt and on Edit Screen.
  12. Select the Mashup and Web Services.
  13. Select the Mashup created.
  14. You see one more area called Input Binding.
  15. You see the parameter and the drop down shows the extension field available.

Keywords

KBA , LOD-CRM , Cloud for Customer , How To

Product

SAP Hybris Cloud for Customer 1708