You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Inaccurate Error Message in Projection Behavior Definition #483
When attempting to utilize the ABAP-Cleaner in a Projection BDEF, an error message appears:
It seems that the ABAP-Cleaner is incompatible with all kinds of BDEF. Therefore, a more general error message would be appropriate.
Current behavior:
ABAP-Cleaner displays the following error message in Projection BDEF:
Expected Behavior:
The error message should indicate (Like shown in a normal BDEF):
"This language is not supported by ABAP cleaner!"
thanks for reporting this! Could you please provide at least the beginning of the code of this projection BDEF? If it starts with "projection;" as suggested by RAP - BehaviorDefinitionHeader, Projection BDEF, ABAP cleaner should recognize this as unsupported already now.
projection implementation in class /dmo/bp_c_traveltp_cd unique;
strict ( 2 );
extensible;
use collaborative draft;
use side effects;
define behavior for /DMO/C_TravelTP_CD alias Travel
extensible
use etag
{
use create;
use update;
use delete;
use action Activate;
use action Discard;
use action Edit;
use action Resume;
use action Prepare;
use action Share;
use association _Booking { create; with draft; }
}
define behavior for /DMO/C_BookingTP_CD alias Booking
extensible
use etag
{
use update;
use delete;
use association _Travel { with draft; }
}
you can also find this example inside the reference scenario package /DMO/FLIGHT_COLLDRAFT: abap-platform-refscen-flight
thanks for this example, this header is indeed not yet correctly recognized by ABAP cleaner – will fix it! The RAP - BehaviorDefinitionHeader, Projection BDEF documentation, which wrongly suggests that there must always be a semicolon after "projection", will also be adjusted.
Activity
jmgrassau commentedon Feb 27, 2026
Hi MarcSAP,
thanks for reporting this! Could you please provide at least the beginning of the code of this projection BDEF? If it starts with "projection;" as suggested by RAP - BehaviorDefinitionHeader, Projection BDEF, ABAP cleaner should recognize this as unsupported already now.
Kind regards,
Jörg-Michael
MarcSAP commentedon Mar 2, 2026
Hi Jörg-Michael,
an example is this one:
you can also find this example inside the reference scenario package
/DMO/FLIGHT_COLLDRAFT: abap-platform-refscen-flightBR Marc
jmgrassau commentedon Mar 4, 2026
Hi Marc,
thanks for this example, this header is indeed not yet correctly recognized by ABAP cleaner – will fix it! The RAP - BehaviorDefinitionHeader, Projection BDEF documentation, which wrongly suggests that there must always be a semicolon after "projection", will also be adjusted.
Kind regards,
Jörg-Michael
fix Parser for projection implementation in class (SAP#483)
fix Parser for projection implementation in class (#483)
jmgrassau commentedon Mar 4, 2026
Hi Marc,
thanks again for reporting this bug – this should now be fixed with version 1.24.2, which was just released!
Kind regards,
Jörg-Michael