cancel
Showing results for 
Search instead for 
Did you mean: 

Re: RAP: Service Binding association missing

11-04-2022 8:40 AM
Ramjee_korada Active Contributor
2665 views 1 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hello,

if I publish the service in the Service Binding the association is missing.

My service definition

@EndUserText.label: '*********'
define service ZUI_*******{
  expose Z_C_EWM_DLV_WHTASK_O as WarehouseTask;
}

My root view definition has the association

define root view Z_C_EWM_DLV_WHTASK_O as select from

:

:

association [0..*] to P_EWM_HandlingUnitHeader02 as _HandlingUnitHeader on OutboundDelivery.docid = _HandlingUnitHeader.DeliveryUUID

:

In the datapreview the association is working

0 Likes
View Entire Topic
Ramjee_korada
Active Contributor

Hi Gunter,

To be precise, Z_C_EWM_DLV_WHTASK_O is root view and "P_EWM_HandlingUnitHeader02" is associated view.

Have you exposed "P_EWM_HandlingUnitHeader02" also in the Service Definition ? This is missing in the code sample in question.

@EndUserText.label: '*********'
define service ZUI_*******{
  expose Z_C_EWM_DLV_WHTASK_O as WarehouseTask;
  expose P_EWM_HandlingUnitHeader02 as HandlingUnitHeader ;
}

Best wishes,

Ramjee Korada

gwerner
Participant

Hi Ramjee,

yes you are right! Thank you a lot!

Kind regards