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

Using method with a returning parameter

andrs_sarcevic
Contributor
0 Likes
1,049

Hi all,

I'm using a method call within an IF statement, as follow:


IF Z_CLASS=>METHOD( LT_RETURN ) NE 'X'.
...

Which works perfectly fine in Development environment, but is not working in QA, despite the fact the source is the same.

Error throwing in QA environment:Unable to interpret "Z_CLASS=>METHOD(". Possible causes of error. Incorrect spelling or comma error.

Of course the error is well known for all of us... so, am I missing something here? As far as I know, If the code works in Development, the same code should work in QA.

1 ACCEPTED SOLUTION
Read only

marcin_cholewczuk
Active Contributor
0 Likes
983

Hi,

The only explanation that I can think of is that something went wrong during transport to quality system. Check if this class and this method is active in quality and try to execute this method directly in SE24. You can also check transport logs in SE09.

Best regards

Marcin Cholewczuk

5 REPLIES 5
Read only

marcin_cholewczuk
Active Contributor
0 Likes
984

Hi,

The only explanation that I can think of is that something went wrong during transport to quality system. Check if this class and this method is active in quality and try to execute this method directly in SE24. You can also check transport logs in SE09.

Best regards

Marcin Cholewczuk

Read only

MarcinPciak
Active Contributor
0 Likes
983

As noticed by Marcin, this for sure is transport related. I bet you included your class within different transport than other released objects. Go to SE03 -> Search for objects in Requests/Tasks -> select checkbox R3TR CLASS -> in input field type Z_CLASS -> run . You will see where your object resides. Judging from class name, this is local (non-transportable) object though.

Regards

Marcin

Read only

Former Member
0 Likes
983

Hi,

does your development system and QA systems have the same SAP release and support packages?

Regards,

Klaus

Read only

Former Member
0 Likes
983

Check if you Development and Quality both are on Netweaver 7.0 or above...

This syntax will not work in earlier Release

Regards,

Mohaiyuddin

Read only

andrs_sarcevic
Contributor
0 Likes
983

Thank you all for your replies. It's now working fine, but I can't tell you for sure what was the issue.

The only change done since yesterday was the resolution of this dump, related to the ran out of space due to SGEN.


Runtime Errors DBIF_REPO_SQL_ERROR
Short text: SQL error 1654 occurred when accessing program

Cheers!