03-21-2013 6:53 AM
Dear All,
After moving the request from Quality to Production "Unable to interpret "USING". Possible causes: Incorrect spelling or comma error " like this error i'm facing.
I checked whether i missed any period(end-of the statement) or what , its not there.
checked any undeclared variable is there or what , it is also not there.
it is showing in line " DELETE IT_MG2 USING KEY SY-TABIX. ".
Its working fine in Quality.
Pls give suggestion.
Thanks & Regards,
Krishna
03-21-2013 7:40 AM
Hi ,
You have made a very simple error:
Instead of the statement:
DELETE IT_MG2 USING KEY SY-TABIX.
You should use:
DELETE IT_MG2 index SY-TABIX.
or
you should provide value for any field of the internal table , like;
DELETE IT_MG2 KEY Field-name.
BR,
Nitin
03-21-2013 8:37 AM
Hi Nitin ,
i agrees your point but why it is coming in Production & how it is working in Quality server.
Regards,
Krishna
03-21-2013 9:09 AM
Hi Nitin,
then it should not work in Quality server na , how it is working there and why it is showing dump after moving to production.
Rgds,
Krishna.
03-21-2013 9:15 AM
Hi krishna,
can you do the following checks:-
1.) check the Quality server whether the program is active or not.Also try to re-activate.
2.) Also check the versions.
3.) One more thing - transport happens only from the development not from quality.Therefore, check the verisons.
Please let me know, if you are still stuck
BR,
Nitin
03-21-2013 9:21 AM
Hi Krishna,
Plz check, if by-mistake this statement is outside the Loop-Endloop block in Dev system.
That could be the reason, why static check on report could be throwing syntax error.
As Nitin has rightly mentioned, Transports always copies the code from Dev system to other systems
03-21-2013 9:52 AM
Hi Nitin ,
1). i checked Quality server prog. its activated.
2).and both the versions also same
now i'm doing saving into one more request and releasing.
Rgds,
Krishna
03-21-2013 10:19 AM
HI Krishna,
This sounds interesting ! is it possible for you to share the dump of the code in Quality and Prod System.Also can you do a remote comparison from the dev system -> Quality & -> Prod and check the active TR there.
BR,
Nitin
03-21-2013 9:20 AM
Check versions in quality and development.
IMay be the conditions do not satisfy in Development and program never goes to the delete line in Dev.
Change the values in debugging to satsfy the condition in Dev and check. It should go to dump there also.
03-21-2013 10:05 AM
Are you in a LOOP trying to use USING KEY loop_key or INDEX idx USING KEY keyname syntax, insure that in the LOOP you have coded a LOOP ...USING KEY keyname
Else use the classic INDEX idx or nothing in a LOOP.
Also perform a remote version comparison of the source between quality (active version) and production system.
Regards,
Raymond