Code working fine in Enterprise version giving syntax error in Rel 4.6C
Hello All,
<b>Consider the following piece of code.</b>
FORM fill_itabs TABLES p_t_table
p_t_table_dummy.
Internal table to be used for dynamic where condition
DATA: lt_wherecond TYPE STANDARD TABLE OF ty_wherecond,
Structure for dynamic where condition
ls_wherecond TYPE ty_wherecond.
p_t_table_dummy[] = p_t_table[].
REFRESH lt_wherecond[].
CLEAR ls_wherecond.
ls_wherecond-data = 'kunnr = p_t_table_dummy-kunnr'.
APPEND ls_wherecond TO lt_wherecond.
SELECT kunnr INTO TABLE gt_kunnr
FROM kna1
FOR ALL ENTRIES IN p_t_table_dummy
WHERE (lt_wherecond).
ENDFORM.
This is working fine in Enterprise version, but when I am trying the same in Rel 4.6C, I am getting a syntax error at the Select statement which states,
"The WHERE condition does not refer to the FOR ALL ENTRIES table.-"
Could anyone please suggest how to avoid this error?
Regards
Indrajit
Hi Chemmam,
yes, that will be a version problem. The general rule says, always use the NWDS corresponding to your server, and the main reason are the differences within the webdynpro implementation.
So if you have a 6.40 with SP13 for example, use NWDS 2.0.13 as the base of your deployment.
Hope it helps
Detlev
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance! This also holds for: /thread/80658 [original link is broken]
Similar Messages
-
Hi I am using an iphone 4 and its was working fine. Presently its giving browsing error. Whenever I am trying to browse internet by using safari or any other browser it retruns with an error message "server not responding" Even the same thing is happening with youtube also. The worst part is am able to check my mails, able to chat and so on... only thing not able to browse through the browser. I have tried restore option also. This is happening with both Wlan and Data con. too
Please help...I do not really know much about this kind of problem, but i may be your internet connection.
If you are on your own #G network then:
Go to Settings > then enable "Airplane Mode". Count to 10 and then disable it.
Then wait patiently until you get a good connection and then try again.
If you are on a nearby Wi-Fi connection then:
Go to Settings > Wi-Fi > then disable then enable after counting to 10. Make sure that you are connected and then try again.
If all else fails, then you need to contact your provider for assistance.
Sprint:888-211-4727
AT&T:?
Verizon:? -
Query working fine in 9i but throwing an error in Oracle 10g
Hi All,
I am having a query which contains large number of When clauses inside a case statement.
The Same SQL is working fine in 9i, but not working in 10G.
If we try to remove one of the When clause in the query, its working fine else it is giving the error ORA-00939 Too many arguments for functions.
Can any one tell me the solution for this and what is the maximum number of when clauses allowed inside case statemen in oracle 10g.
Thanks in advance
Regards
Karthikit should not have worked in 9iR2... it is correct according to the doc to return an error message when using more than 255 expressions...
SQL> select version from v$instance;
VERSION
9.2.0.7.0
SQL> select case 1
2 when 2 then 3
3 when 4 then 5
4 when 6 then 7
5 when 8 then 9
6 when 10 then 11
7 when 12 then 13
8 when 14 then 15
9 when 16 then 17
10 when 18 then 19
11 when 20 then 21
12 when 22 then 23
13 when 24 then 25
14 when 26 then 27
15 when 28 then 29
16 when 30 then 31
17 when 32 then 33
18 when 34 then 35
19 when 36 then 37
20 when 38 then 39
21 when 40 then 41
22 when 42 then 43
23 when 44 then 45
24 when 46 then 47
25 when 48 then 49
26 when 50 then 51
27 when 52 then 53
28 when 54 then 55
29 when 56 then 57
30 when 58 then 59
31 when 60 then 61
32 when 62 then 63
33 when 64 then 65
34 when 66 then 67
35 when 68 then 69
36 when 70 then 71
37 when 72 then 73
38 when 74 then 75
39 when 76 then 77
40 when 78 then 79
41 when 80 then 81
42 when 82 then 83
43 when 84 then 85
44 when 86 then 87
45 when 88 then 89
46 when 90 then 91
47 when 92 then 93
48 when 94 then 95
49 when 96 then 97
50 when 98 then 99
51 when 100 then 101
52 when 102 then 103
53 when 104 then 105
54 when 106 then 107
55 when 108 then 109
56 when 110 then 111
57 when 112 then 113
58 when 114 then 115
59 when 116 then 117
60 when 118 then 119
61 when 120 then 121
62 when 122 then 123
63 when 124 then 125
64 when 126 then 127
65 when 128 then 129
66 when 130 then 131
67 when 132 then 133
68 when 134 then 135
69 when 136 then 137
70 when 138 then 139
71 when 140 then 141
72 when 142 then 143
73 when 144 then 145
74 when 146 then 147
75 when 148 then 149
76 when 150 then 151
77 when 152 then 153
78 when 154 then 155
79 when 156 then 157
80 when 158 then 159
81 when 160 then 161
82 when 162 then 163
83 when 164 then 165
84 when 166 then 167
85 when 168 then 169
86 when 170 then 171
87 when 172 then 173
88 when 174 then 175
89 when 176 then 177
90 when 178 then 179
91 when 180 then 181
92 when 182 then 183
93 when 184 then 185
94 when 186 then 187
95 when 188 then 189
96 when 190 then 191
97 when 192 then 193
98 when 194 then 195
99 when 196 then 197
100 when 198 then 199
101 when 200 then 201
102 when 202 then 203
103 when 204 then 205
104 when 206 then 207
105 when 208 then 209
106 when 210 then 211
107 when 212 then 213
108 when 214 then 215
109 when 216 then 217
110 when 218 then 219
111 when 220 then 221
112 when 222 then 223
113 when 224 then 225
114 when 226 then 227
115 when 228 then 229
116 when 230 then 231
117 when 232 then 233
118 when 234 then 235
119 when 236 then 237
120 when 238 then 239
121 when 240 then 241
122 when 242 then 243
123 when 244 then 245
124 when 246 then 247
125 when 248 then 249
126 when 250 then 251
127 when 252 then 253
128 when 254 then 255
129 when 256 then 257
130 end x from dual;
X
SQL> select version from v$instance;
VERSION
10.2.0.2.0
SQL> select case 1
2 when 2 then 3
3 when 4 then 5
4 when 6 then 7
5 when 8 then 9
6 when 10 then 11
7 when 12 then 13
8 when 14 then 15
9 when 16 then 17
10 when 18 then 19
11 when 20 then 21
12 when 22 then 23
13 when 24 then 25
14 when 26 then 27
15 when 28 then 29
16 when 30 then 31
17 when 32 then 33
18 when 34 then 35
19 when 36 then 37
20 when 38 then 39
21 when 40 then 41
22 when 42 then 43
23 when 44 then 45
24 when 46 then 47
25 when 48 then 49
26 when 50 then 51
27 when 52 then 53
28 when 54 then 55
29 when 56 then 57
30 when 58 then 59
31 when 60 then 61
32 when 62 then 63
33 when 64 then 65
34 when 66 then 67
35 when 68 then 69
36 when 70 then 71
37 when 72 then 73
38 when 74 then 75
39 when 76 then 77
40 when 78 then 79
41 when 80 then 81
42 when 82 then 83
43 when 84 then 85
44 when 86 then 87
45 when 88 then 89
46 when 90 then 91
47 when 92 then 93
48 when 94 then 95
49 when 96 then 97
50 when 98 then 99
51 when 100 then 101
52 when 102 then 103
53 when 104 then 105
54 when 106 then 107
55 when 108 then 109
56 when 110 then 111
57 when 112 then 113
58 when 114 then 115
59 when 116 then 117
60 when 118 then 119
61 when 120 then 121
62 when 122 then 123
63 when 124 then 125
64 when 126 then 127
65 when 128 then 129
66 when 130 then 131
67 when 132 then 133
68 when 134 then 135
69 when 136 then 137
70 when 138 then 139
71 when 140 then 141
72 when 142 then 143
73 when 144 then 145
74 when 146 then 147
75 when 148 then 149
76 when 150 then 151
77 when 152 then 153
78 when 154 then 155
79 when 156 then 157
80 when 158 then 159
81 when 160 then 161
82 when 162 then 163
83 when 164 then 165
84 when 166 then 167
85 when 168 then 169
86 when 170 then 171
87 when 172 then 173
88 when 174 then 175
89 when 176 then 177
90 when 178 then 179
91 when 180 then 181
92 when 182 then 183
93 when 184 then 185
94 when 186 then 187
95 when 188 then 189
96 when 190 then 191
97 when 192 then 193
98 when 194 then 195
99 when 196 then 197
100 when 198 then 199
101 when 200 then 201
102 when 202 then 203
103 when 204 then 205
104 when 206 then 207
105 when 208 then 209
106 when 210 then 211
107 when 212 then 213
108 when 214 then 215
109 when 216 then 217
110 when 218 then 219
111 when 220 then 221
112 when 222 then 223
113 when 224 then 225
114 when 226 then 227
115 when 228 then 229
116 when 230 then 231
117 when 232 then 233
118 when 234 then 235
119 when 236 then 237
120 when 238 then 239
121 when 240 then 241
122 when 242 then 243
123 when 244 then 245
124 when 246 then 247
125 when 248 then 249
126 when 250 then 251
127 when 252 then 253
128 when 254 then 255
129 when 256 then 257
130 end x from dual;
when 16 then 17
ERROR at line 9:
ORA-00939: too many arguments for function
SQL> del 129
SQL> /
X
---------- -
Trying to get to secure website (Login site for IRB at Ochsner). Worked fine with previous version of Firefox and continues to work with safari. I receive the following error code:
(Error code: ssl_error_renegotiation_not_allowed)
Any Thoughts?
Thanks,
M White New OrleansHere's one solution from last year: http://dotomaz.tumblr.com/post/786443743/firefox-4-0b1-and-ssl-renegotiation
-
When I ask Siri the stock price for MBL (other codes work fine), my iphone 5 crashes - does this happen to anyone else?
It doesn't shut down completely, but mid-response the Apple shows and then it pops up to put in my pin.Nope nothing yet - a few friends have true it and have the same reaction."
-
This code work fine in server 2008, but get this error in server 2012. Do yo have any idea?
Need some more info as to where this is installed and how.
First thing to try would be to uninstall the solution and reinstall.
Check the GAC for your assembly as well as web.config.
If you don't see it in one of those places, something went wrong with the install and you'll need to start over.
Brandon James SharePoint Developer/Administrator -
I have UI which uploads the file in multiprt file transfer in chuncks(blob file) .It was working fine in previous version of firefox when we send 10mb chuncks for each ajax calls .But now in latest version firefox ,Its get rejected for 10mb chuncks through each call but allowing only 4kb to be send for each call.Could you guys help me .I also tried with the (Application/octectstream) .It is also working fine in all browsers.
hi Sivasathy, support.mozilla.org is intended for end-user support. if you have a question regarding web development please refer to [[Where to go for developer support]] instead. thank you for your understanding!
-
wi-fi is gray will not connect since ios7.03, worked fine before this version...now slow, very slow, using nothing but 4g, no wi-fi no solution from apple store but to purchase a new Iphone....other 4s phone purchased at same time connects via wi-fi what gives?
Also reloaded per Apple instructions via web, Apple stores only solution "purchase a new phone", no attempt to fix problem.https://discussions.apple.com/thread/5554599?tstart=0
-
Use Of "#EC CI_EXECSQL in ABAP with EXEC SQL. Statement giving Syntax Error
Dear Gurus,
I have encountered an issue while trying to remove warning for using Native SQL statement using pseudo comment "#EC CI_EXECSQL
The thing is like this -- i have used follwing native sql command in abap.
EXEC SQL.
CONNECT TO 'SURROUND_DB'
ENDEXEC.
Now when i am checking this code in code inspector it is showing a warning with information below
CA CL_CI_TEST_CRITICAL_STATEMENTS0006
Code Inspector
Critical Statements
Use of Native SQL
Authorization checks cannot be appropriately run using EXEC SQL and should be carried out at program level.
The message can be hidden using the pseudo-comment "#EC CI_EXECSQL
Use of exceptin handling section for that warning showing me to use :
The message can be hidden using pseudo
comment "#EC CI_EXECSQL
Now when I am using "#EC CI_EXECSQL in the abap like below :
EXEC SQL. "#EC CI_EXECSQL
CONNECT TO 'SURROUND_DB'
ENDEXEC.
It is giving syntax error
The text literal ""#EC CI_EXECSQL " is longer than 255
characters.Check whether it ends correctly.
Please provide the guideline to resolve this issue.
Thanks & regards
Saifur Rahaman.Hi Saifur,
You can remove the warning using the following syntax:
EXEC "#EC CI_EXECSQL
SQL.
CONNECT TO 'SURROUND_DB'
ENDEXEC.
At least, it worked fine for me when using OPEN CURSOR, SELECT, FETCH and so on statements.
The way to use the pseudo comment is not very intuitive, but at least for my examples worked fine.
I hope this may help you.
Best regards,
Edgardo G. König -
(NOLOCK) is giving syntax error
Hi,
I have query which runs properly in 1 server and in the other server it gives syntax error because of (NOLOCK).
When i remove (NOLOCK) its working fine.
my query is a big one...
But it is something like
INSERT INTO @abc
SELECT a.id,SUM(b.count) FROM
(SELECT DISTINCT id FROM table1 (NOLOCK)) AS a
INNER JOIN Table2 (NOLOCK) AS b
GROUP BY a.id
It is giving syntax error at only one (NOLOCK) that is near Table2 in one server and in other server it works fine...
Both the server versions are exactly same...
What is the reason?First, it is generally a bad idea to post a follow-up "me, too" response to an old and answered question. Fewer people will look at an answered question generally.
Next, the reason this thread provides no information about the original problem and the solution is because the complete problem was not posted. If your query generates an error message, it is important to see the complete and actual error message.
Given the conversation, it is likely that there was a syntax error in the various statements that OP tried and it was a happy accident that the removal of the hint caused the error to go away.
Lastly one should refrain from using hints generally. For some unfathomable reason there is a myth that it is a good practice to use the nolock hint. -
FPGA code successfully compiled in 2010 is giving compilation error in 2014.
I have developed RS485 FPGA code and successfully compiled with LabVIEW FPGA 2010.
Later changed the software to 2014 and installed Xilinx 14.7.
Now if I compile the same code with LabVIEW 2014 compile worker, i am getting error 'Process "Synthesis" failed'.
I am using a case structure with Error cluster as selector, So the case structure has 'No error' and 'Error' cases.
If I change the selector to 'True/False' then the compilation works.
Below is the error that i am getting when using Case structure with Error cluster as selector
LabVIEW FPGA: The compilation failed due to a Xilinx error. Details: ERROR:HDLParsers:1401 - "C:/NIFPGA/jobs/JyWfWcc_Gv3a9ah/NiFpgaAG_00000041_CaseStructureFrame_0001.vhd" Line 41. Object tunnel_s_error_out_2007 of mode OUT cannot be read. ERROR:HDLParsers:1401 - "C:/NIFPGA/jobs/JyWfWcc_Gv3a9ah/NiFpgaAG_00000041_CaseStructureFrame_0001.vhd" Line 42. Object tunnel_s_error_out_2007 of mode OUT cannot be read. --> Total memory usage is 190240 kilobytes Number of errors : 2 ( 0 filtered) Number of warnings: 1 ( 0 filtered) Number of infos : 0 ( 0 filtered)Attached FPGA_error_2014.jpg which depicts the working and 'not working' code in 2014.
In 'Not working' code,the selector terminal is error cluster.
I am able to resolve the issue just by changing the selecter terminal to boolean as in 'working code'.
But both sets of software code works fine in version 2010.
Attachments:
FPGA_error_2014.jpg 128 KB -
OT: Site works fine on Win2K IIS5 - throws an error on Win2K3 IIS6
Hi,
I've had serious server trouble and have moved some sites to
a new Win2K3
server running IIS6.
Of the sites that have been moved (all of which were working
fine prior to
moving), one now gives me this error:
Active Server Pages error 'ASP 0116'
Missing close of script delimiter
/curve/curve_login.asp, line 5
The Script block lacks the close of script tag (%>).
I have not changed anything in the code. I have simply moved
the files to
the new server.
In testing, if I remove the block of ASP code that handles
the login (all
enclosed in <% %> tags) then the page loads. If I put
the code back ointo
the page, I get this error.
The code works fine and has done for a year without issue on
Win2K IIS5 - so
I have to think that this is an issue outside of the code,
but what?
I have very similar login code on other sites that I have
moved and thay are
not causing me issues
Any ideas or suggestions would be most appreciated as this
site has
basically been offline for a week now and I'm going insane!
Cheers,
Rob
http://robgt.com/ [Tutorials and
Extensions]I'd have to see the code...
It would not be unusual for a new version of the ASP DLL to
be less
forgiving than an older version.
"RobGT" <[email protected]> wrote in
message
news:e982h6$d3s$[email protected]..
> Hi,
> I've had serious server trouble and have moved some
sites to a new Win2K3
> server running IIS6.
> Of the sites that have been moved (all of which were
working fine prior to
> moving), one now gives me this error:
>
> -------------------
> Active Server Pages error 'ASP 0116'
>
> Missing close of script delimiter
>
> /curve/curve_login.asp, line 5
>
> The Script block lacks the close of script tag (%>).
>
> -------------------
>
> I have not changed anything in the code. I have simply
moved the files to
> the new server.
> In testing, if I remove the block of ASP code that
handles the login (all
> enclosed in <% %> tags) then the page loads. If I
put the code back ointo
> the page, I get this error.
>
> The code works fine and has done for a year without
issue on Win2K IIS5 -
> so I have to think that this is an issue outside of the
code, but what?
>
> I have very similar login code on other sites that I
have moved and thay
> are not causing me issues
> Any ideas or suggestions would be most appreciated as
this site has
> basically been offline for a week now and I'm going
insane!
>
> Cheers,
> Rob
>
http://robgt.com/ [Tutorials and
Extensions] -
I have a speaker with I phone 30 pin dock, it use to work fine but i am not getting error saying accessory not supported,how i can determine what could be the problem
i am getting the same error with my rf transmitter that i use in my car- Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
- Did this start happening after an iOS update? Sometimes an iOS update will break compatibility.
Sometimes this works:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device. -
In my developer version, I can generate reports that load up Excel and put the data in. When I build an application, it won't work. I don't get any errors and the code executes, but excel doesn't launch. I have the correct _excelsub.llb file for WindowsXP. It worked fine in Labview 6.0, but the same bld script with the new _excelsub won't work.
You may want to try creating executables of one of the Excel example programs that comes with LabVIEW and see if they exhibit the same behavior. That will tell you if it's your code or something more specific to LabVIEW itself.
J.R. Allen -
Real-Time Application doesn't run; source code works fine
The short version is I'm programming a cRIO and apparently the RT code isn't running after being deployed and I can't figure out why. This is further complicated that I'm doing all this remotely and I don't have direct access to the unit since I'm 500 miles away. I'm working through a couple of other guys who know some LabVIEW, but neither works at the site so they have to explicitely travel out there every time I have a bright idea.
I was out there a few weeks ago. During this time I created a simple cRIO code, since I'm new to cRIO, that allowed the user to move a control and change a graph. It worked fine, but I should note it did not have an FPGA component. After that I worked on the real code, which reads some sensors, displays the results on a UI and logs the results. This did have FPGA. I used it in the LabVIEW environment and it worked fine, but I ran out of time before I could complete a release version and deploy the RT as a compiled application. I sent them the release version later, my contact deployed it but got network stream errors when running the UI.
After hours of looking at network problems and sending over debug versions, I tried creating a log on the RT level so I could see what was going on. The log doesn't even open, even if it's the first command in the code. I pored through the forums and found http://forums.ni.com/t5/LabVIEW/cRIO-Troubleshooting-creation-and-deployment-of-startup/td-p/1956475... which took me in a new direction.
I had my contact use the RT debug console and when he pulls up the RT front panel, it shows a broken run arrow. He clicks it and nothing happens -- no running, no bug list. If he pulls up the bug list manually, it's empty. Again the RT works fine if you run it through LabVIEW and not as a compiled real-time application. He also noticed that the Open FPGA VI was grayed out on the block diagram. No other icons are.
So the problem appears to be that the compiled RT application is getting some kind of error but not telling me what it is, and it seems to be related to opening the FPGA. I've recompiled the FPGA and RT. I've had him recompile the RT himself, but not the FPGA because it would take hours. He's downloading everything correctly to the cRIO. The RT is set to run automatically. He's rebooting the cRIO every time he deploys the RT. They have LabVIEW on a computer there but it doesn't have the right drivers to run the code from the LV environment. I'm resisting having them install the dirvers because downloading big files is complicated there due to security restrictions and a lousy network connection at a remote site. Besides that doesn't solve the problem of the RT executable not running the same as the source code, which according to the thread above appears to be a thing.
The latest thing I'm trying is that I sent him instructions for how to build a source distribution from the project I sent and try deploying that to the cRIO. Even if that works I'm not sure that's an acceptable solution because I assume running the VI rather than the EXE is slower, and they need speed on this project.
I simply have no idea where to go from here. I probably need to get direct acess to the cRIO and I might be able to convince them to ship it to me so I can figure this out, but I'm not sure where I'd even start other than the standard voodoo debugging of "try stuff at random until something works". I'm open to suggestions if anyone has managed to solve this before.
Code snippet of the first part of the project is attached, though I'm not sure how much good it will do. I'm really stumped and the client is getting frustrated with how much of the budget is going to fix this.
Solved!
Go to Solution.
Attachments:
RTMainSnippet.png 623 KBHave you checked the cRIO error log? Usually I'd access it through the LabVIEW project (right-click on the target, don't remember the exact menu options and I don't have the RT toolkit installed on this machine to check), but it must be stored somewhere on the cRIO as well, although I don't know if it's in a human-readable format.
Which cRIO are you using? What exactly do you mean by "debug console"? (This may be related to the cRIO - the newer ones have video out, although I don't know if that's what you're referring to.) With a broken run arrow, you won't get an error list unless you're running in the development environment.
Have you confirmed that the software installed on the cRIO matches the version you're using for development, including patch level? Get someone to connect to the cRIO with Measurement and Automation Explorer, and get a list of the software installed on the cRIO.
Sounds like the ability to connect with a remote debugger would be helpful here, if you can get the right drivers installed on the machine with LabVIEW that's connected to the cRIO. Make sure all driver versions match what you're using. Any chance you could then do a remote desktop connection from your work site to the remote LabVIEW machine?
Maybe you are looking for
-
Special Character as parameter in Function....
Hi All, Can we pass ~ (tild) as parameter in Function. Actually, i have created a function where i am passing 2 parameters. 1 is branchname and second is branchid. It might possible that a branch can have 2 branchid. Both are same except that second
-
How to connect i phone 6 to mac pro
how i can connect my iPhone 6 to mac pro through bluetooth
-
For those that pre-ordered on-line, did you get a separate email to accept terms?
My order has been processing since Sunday. I called customer service and she said I never accepted the new terms. She said I should have received a separate email but I swear I accepted terms when I pre-ordered on the site (no such email in inbox o
-
hello all, to the point, i am trying to mirroring 2 database using archive log. so, i do some test by inserting large data (1200 record / s) into 4 table for some interval (like 10 menit). Each time database create archive log, my daemon in Master wi
-
OBIEE 11.1.1.6 invalid user name
Hi Experts, OBIEE: 11.1.1.6 I'm trying to login to repository in on line mode,it says invalid user name/pwd Repository name: SampleAppLite_BI0001.rpd Repository pwd: Admin123 User:Administrator Pwd:? Can any body guide me on this please? Kumar