Skip to Content
1
Sep 11, 2020 at 06:02 AM

Wrong name vor behaviour definition in documentation

60 Views

Hello Steampunk (SAP CP ABAP Environment) Experts, Hi Andre Fischer,

I'm currently working through the example Developing a UI Service with Access to a Remote Service. On the page Defining a Behavior for the Business Object in section "The following code block displays the behavior definition with the definitions that are relevant for the transactional behavior of the business object." this source is shown:

implementation unmanaged;
define behavior for /DMOI_/TRAVEL_C_C  alias Travel_CE
etag calculatedetag

{
  update;
}

the name should be /DMO/I_TRAVEL_C_C instead of /DMOI_/TRAVEL_C_C. Also the etag calculatedetag seems to be deprecated and must be replaced with etag master calculatedetag in 2008. So the correct source would be:

implementation unmanaged;
define behavior for /DMO/I_TRAVEL_C_C //alias <alias_name>

etag master calculatedetag
{
  update;
}

Best regards
Gregor