Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Information about implicit enhancement at top include of FUGR

Former Member
0 Kudos

HI Folks,

Implemented several enhancement but never got this type issue.

There is a implicit enhancement present at the top include in a type declaration shown below. If I implement that enhancement, then code below that gets into RED.

I am able to declare additional fields to that TYPES with below syntax :

TYPES : MATNR TYPE MATNR.

If I activate the program,it gets activated,But do not have any idea why it is RED

Is it a problem ? Any Idea on this ? Or is there any other procedure to declare additional fields to the TYPES in a standard program

Thanks in advance

Regards

Ansumesh

4 REPLIES 4

raymond_giuseppi
Active Contributor
0 Kudos

No problem, the program can be activated, but the Abap editor has some "difficulties" to format the statement broken by the enhancement as it was inserted in the middle of a single statement.

Regards,

Raymond

0 Kudos

Thanks for your quick response.

You mean to say, it is not a problem and it will not lead to any DUMP.

I need one more info. While we implement implicit by Right Click->Create Implementation.. . apart from CODE, we also get DECLARATION in the pop-up screen

What is that actually ?

Regards

Ansumesh

0 Kudos

The syntax highlighting of ABAP code happens on presentation server based on some simple rules.

Rules have list of keywords, multi-line statements etc.

The red color only indicates violation of one of the rules on presentation server, and it does not necessarily mean a syntax error.

One such example would be to write "select a from b into table c." and press enter.

Although this statement does not need endselect, the new ABAP Editor auto-indents the next line, suggesting that endselect is also required.

0 Kudos

Declaration when you add some declaration (DATA)  and code for code statements (MOVE)

Regards,

Raymond