Application Development and Automation 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: 
Read only

Strange behavior in code formatting

stefan_schmcker
Explorer
0 Likes
1,363

Hello, 

there is a strange behavior/error when I try to use code completion and code formatting.

Take a look at the following simple program

REPORT zss_test1.

data: gv_test type string.

form test using iv_s type string.

write:/ iv_s.

endform.

end-of-selection.

* Now use code-completion

Now I want to use code-completion to call the form using the signature:

perform t  ( STRG-SPACE  , then SHIFT-ENTER ) will lead to

perform test

  USING

    iv_s

  .

So far so good.

Now I want to replace the formal parameter iv_s with an actual parameter.  Since the report is quite small gv_ should suggest only gv_test.

But replacing iv_s with gv_ and then hitting STRG-SPACE does not lead to any suggestions.  The code-completion is not working .

But if I reformat the coding above to

perform test USING iv_s.

which is functionally the same as the automatically created code.  But now the code completion works fine as can be seen with (again) replacing iv_s with gv_ and hitting STRG-SPACE and getting the expected suggestion gv_test.

System: 7.40, Patch 3

Eclipse: Kepler:

AdT: Installed just today with the stuff from hana.ondemand.com

______________________________________

live long and prosper

Stefan Schmöcker

1 ACCEPTED SOLUTION
Read only

DirkAltmann
Active Participant
0 Likes
1,328

Hi Stefan,

I use also Kepler and the latest ADT from the update site and it works fine in my environment. See the screenshot. My backends are 7.31 SP4 and 7.31 SP8, in both systems works it fine.

Regards,

Dirk

6 REPLIES 6
Read only

DirkAltmann
Active Participant
0 Likes
1,329

Hi Stefan,

I use also Kepler and the latest ADT from the update site and it works fine in my environment. See the screenshot. My backends are 7.31 SP4 and 7.31 SP8, in both systems works it fine.

Regards,

Dirk

Read only

0 Likes
1,328

Very strange - I have a different customer with 7.31 and Patch 6 also where I'll see if it works there.  Anyways - I'll attach some screenshots tonight to demonstrate "my" behavior.

Read only

0 Likes
1,328

Ok - I tested with a single Kepler installation with two different systems at the same customer .

System 7.40 - Patch 3:  The errordescription as stated above holds true.  Codecompletion erronous

System 7.31 - Patch 5:  The codecompletion works fine.

Hello SAP-Eclipse-Gurus:  Is it possible to mark this thread as "Bugreporting" instead of "Question"?

Read only

0 Likes
1,328

Hi Stefan,

this sounds like an error in NW 7.40 SP3. I recommend open an OSS message. I had opened OSS messages belong ADT in the component category BC-ABA-LA.

Regards,

Dirk

Read only

ThFiedler
Product and Topic Expert
Product and Topic Expert
0 Likes
1,328

Hi: Dirk, Stefan.

OSS component for AIE is BC-DWB-AIE.

The behavior is really strange here. I will discuss with my colleagues.

Regards,

Thomas.

Read only

0 Likes
1,328

Actually I do have an OSS user - but this is one that has been provided by one of my customers.  I could open up an OSS-message - but only if it concerns their productive environment.  Since ADT is currently only in an experimental stage there at the moment I can't proceed as suggested.

Is it possible to recieve an OSS-User just for reporting bugs in ADT that is bound to myself instead of using my customers OSS connections?