Error : comma without preceding colon
Hi,
I am using the following select query inside the loop and it is displaying syntax error:
comma without preceding colon ( after Select ? )
Can anybody suggest what could be an issue...
SELECT SINGLE RUECK
RMZHL
IEDD
AUFNR
STOKZ
STZHL
FROM AFRU INTO ( L_RUECK, L_RMZHL, L_IEDD, L_AUFNR, L_STOKZ, L_STZHL )
WHERE RUECK IN S_RUECK AND
AUFNR = WA_ZSCPRT100 AND
STOKZ = SPACE AND
STZHL = 0.
WA_AFRU-RUECK = L_RUECK.
WA_AFRU-RMZHL = L_RMZHL.
WA_AFRU-IEDD = L_IEDD.
WA_AFRU-AUFNR = L_AUFNR.
WA_AFRU-STOKZ = L_STOKZ.
WA_AFRU-STZHL = L_STZHL.
APPEND WA_AFRU INTO T_AFRU.
CLEAR WA_AFRU.
CLEAR : L_RUECK,
L_RMZHL,
L_IEDD,
L_AUFNR,
L_STOKZ,
L_STZHL.
Any suggestions will be apprecaited!
regards,
Kittu
Hi Kittu ,
I have checked the code and modified a bit , now it is working fine --
DATA : l_rueck TYPE afru-rueck,
l_rmzhl TYPE afru-rmzhl,
l_iedd TYPE afru-iedd,
l_aufnr TYPE afru-aufnr,
l_stokz TYPE afru-stokz,
l_stzhl TYPE afru-stzhl.
SELECT SINGLE rueck
rmzhl
iedd
aufnr
stokz
stzhl
FROM afru INTO (l_rueck, l_rmzhl, l_iedd, l_aufnr, l_stokz, l_stzhl) " Modified
WHERE rueck IN s_rueck AND
aufnr = wa_zscprt100 AND
stokz = space AND
stzhl = 0.
wa_afru-rueck = l_rueck.
wa_afru-rmzhl = l_rmzhl.
wa_afru-iedd = l_iedd.
wa_afru-aufnr = l_aufnr.
wa_afru-stokz = l_stokz.
wa_afru-stzhl = l_stzhl.
APPEND wa_afru into t_afru.
CLEAR wa_afru.
CLEAR : l_rueck,
l_rmzhl,
l_iedd,
l_aufnr,
l_stokz,
l_stzhl.
Regards
Pinaki
Similar Messages
-
Comma Without preceding colon Error in select query
Hello Expert ,
can anyone tell me what is wrong with this query
SELECT APARTYP APARTNER ABUKRS BNAME1 AEPAID BORT01 B~ORT02
BPFACH BPSTL2 BREGIO BSTRAS BLAND1 BTELFX
INTO(WA_ZDEF_RFS_COMPLY-PARTYP, WA_ZDEF_RFS_COMPLY-PARTNER, WA_ZDEF_RFS_COMPLY-BUKRS,
WA_ZDEF_RFS_COMPLY-NAME1, WA_ZDEF_RFS_COMPLY-EPAID, WA_ZDEF_RFS_COMPLY-ORT01,
WA_ZDEF_RFS_COMPLY-ORT02, WA_ZDEF_RFS_COMPLY-PFACH, WA_ZDEF_RFS_COMPLY-PSTL2,
WA_ZDEF_RFS_COMPLY-REGIO, WA_ZDEF_RFS_COMPLY-STRAS, WA_ZDEF_RFS_COMPLY-LAND1,
WA_ZDEF_RFS_COMPLY-TELFX) FROM ZDEF_RFS_EPAREG AS A JOIN KNA1 AS B
ON
APARTNER = BKUNNR .
ENDSELECT.
Error : comma without preceding colon .(AFTER SELECT?)
Im really not able to get the error .
Please help.
Regards RenuHi Renu,
I have corrected one mistake then you have made another mistake...
Anyway
Keep SPACE between INTO and (
Remove SPACE between ( and G_T_ZDEF_RFS_EPAREG-PARTYP
SELECT A~PARTYP
A~PARTNER
A~BUKRS
B~NAME1
A~EPAID
B~ORT01
B~ORT02
B~PFACH
B~PSTL2
B~REGIO
B~STRAS
B~LAND1
B~TELFX
INTO ( G_T_ZDEF_RFS_EPAREG-PARTYP , G_T_ZDEF_RFS_EPAREG-PARTNER, " Remove Space between ( and G_T...
G_T_ZDEF_RFS_EPAREG-BUKRS, G_T_ZDEF_RFS_EPAREG-NAME1,
G_T_ZDEF_RFS_EPAREG-EPAID ,G_T_ZDEF_RFS_EPAREG-ORT01,
G_T_ZDEF_RFS_EPAREG-ORT02 ,G_T_ZDEF_RFS_EPAREG-PFACH,
G_T_ZDEF_RFS_EPAREG-PSTL2, G_T_ZDEF_RFS_EPAREG-REGIO,
G_T_ZDEF_RFS_EPAREG-STRAS, G_T_ZDEF_RFS_EPAREG-LAND1,
G_T_ZDEF_RFS_EPAREG-TELFX )
FROM ZDEF_RFS_EPAREG AS A JOIN KNA1 AS B
ON A~PARTNER = B~KUNNR.
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya -
Error in Select Statement " Comma Without Preceding Colon"
Helo Gurus.
This is my select query :
SELECT SINGLE
STREET
HOUSE_NUM1
CITY2
TEL_NUMBER
FAX_NUMBER
POST_CODE1
STR_SUPPL1
REGION
INTO ( L_STREET, L_HOUSENUM, L_CITY2, L_TELNUMBER , L_FAXNUMBER , L_POSTCODE1 , L_STRSUPPL1 , L_REGION )
FROM ADRC
WHERE ADDRNUMBER = l_addrnumber.
But i am getting error as " Comma Without Preceding Colon"
How to correct this?
Points are assured !!!Hi Anay Kulkarni ,
find the modified code with out syntax error.....
START-OF-SELECTION.
SELECT SINGLE STREET
HOUSE_NUM1
CITY2
TEL_NUMBER
FAX_NUMBER
POST_CODE1
STR_SUPPL1
REGION
INTO (L_STREET, L_HOUSENUM, L_CITY2, L_TELNUMBER, L_FAXNUMBER, L_POSTCODE1, L_STRSUPPL1, L_REGION)
FROM ADRC
* INTO (L_STREET, L_HOUSENUM, L_CITY2, L_TELNUMBER, L_FAXNUMBER, L_POSTCODE1, L_STRSUPPL1, L_REGION)
WHERE ADDRNUMBER = '23453'.
Dont forgot to Reward me points .....
All the very best....
Regards,
Sreenivasa sarma K. -
Comma without preceding colon (after SELECT ?)
Hi,
I'm rather new to ABAP and only know some basics, and I ran into an error that I can't solve, must be something stupid:
The error is: Comma without preceding colon (after SELECT ?)
and this is the code that seems to cause this error:
LOOP AT i_itm1_c.
SELECT * FROM /bic/al_itm700 INTO wa_t_data
WHERE
/bic/al_itm700-/bic/l_docnr
LIKE /bic/al_itm1c00-/bic/l_docnr,
/bic/al_itm700-bic/l_posnr
like /bic/al_itm1c00-/bic/l_posnr,
/bic/al_itm700-/bic/yl_kcrdat
like /bic/al_itm1c00-/bic/yl_kcrdat,
/bic/sourcesys like /bic/al_itm1c00-/bic/sourcesys.
wa_t_data-recordmode = ''.
MOVE-CORRESPONDING wa_t_data TO e_t_data.
MOVE:
wa_t_data-/bic/l_docnr TO e_t_data-/bic/ydoc_numb,
wa_t_data-/bic/l_posnr TO e_t_data-/bic/yl_count,
wa_t_data-/bic/sourcesys TO e_t_data-/bic/sourcesys.
APPEND e_t_data.
ENDSELECT.
ENDLOOP.
Any ideas on what can be wrong here? points awarded of course!
thanks!remove the commas and use AND or OR and also
remove like and use = operator
LOOP AT i_itm1_c.
SELECT * FROM /bic/al_itm700 INTO wa_t_data
WHERE
/bic/al_itm700-/bic/l_docnr
= /bic/al_itm1c00-/bic/l_docnr <b>and</b>
/bic/al_itm700-bic/l_posnr
= /bic/al_itm1c00-/bic/l_posnr <b>and</b>
/bic/al_itm700-/bic/yl_kcrdat
= /bic/al_itm1c00-/bic/yl_kcrdat <b>and</b>
/bic/sourcesys =/bic/al_itm1c00-/bic/sourcesys.
wa_t_data-recordmode = ''.
* MOVE-CORRESPONDING wa_t_data TO e_t_data.
MOVE:
wa_t_data-/bic/l_docnr TO e_t_data-/bic/ydoc_numb,
wa_t_data-/bic/l_posnr TO e_t_data-/bic/yl_count,
wa_t_data-/bic/sourcesys TO e_t_data-/bic/sourcesys.
APPEND e_t_data.
ENDSELECT.
ENDLOOP. -
How to fix "DRM Error 3321" withouting connecting PC to internet?
How to fix "DRM Error 3321" withouting connecting PC to internet?
Currently, we are encountering "DRM Error 3321" because our PCs/Notebooks do NOT have connection to internet for “http://individualization.adobe.com”. Thoese PCs are in isolated network and can NOT connect to internet.
Is there a way to solve this issue without connecting their PCs/Notebooks to internet?
Thank in advance.Hi Soe,
Unfortunately there is no way to resolve this error without connecting to the Internet at least once. This initial connection is required to create and download the device specific key as mentioned in this post (http://forums.adobe.com/message/6240315). Once you have established that initial connection, you can play content offline assuming your content licenses are constructed correctly. Some content providers will require at least an initial connection to their license servers as well, although once you have the device specific key you can play files protected with PHLS or PHDS without further license acquisition.
If you are content provider, you can find more details on how to do protect your content for offline playback here:
Protecting Content (http://www.adobe.com/support/adobeaccess/pdfs/server/AdobeAccess_4_ProtectingContent.pdf)
Protected Streaming (http://www.adobe.com/support/adobeaccess/pdfs/server/AdobeAccess_4_ProtectedStreaming.pdf)
This is probably not the answer you are looking for, but hopefully this helps a little.
Joe Steele -
Error message without link to field
I have a page where I am entering some information and saving it. I am using a VO which is based on an EO. I have two instance of this VO. One is being populated from the page and other one is being populated in the background.
I have put some validation in EO and using following code in validateEntity()
if (getTotEngHrs() == null)
throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
getEntityDef().getFullName(),
null,
"TotEngHrs",
getTotEngHrs(),
"CRM",
"CINT_CRM_TOT_ENG_HRS_NULL");
When I try to save data without entering any value in TotEngHrs field. I do get the error but without any link to this field (just get the plain message). I then enter value in some other field and save it again and I start getting the error with link to those field.
Is there anyone who can help me in this?
Thanks in advanceJust in case it's not clear from above.
If I don't enter value for TotEngHrs I get error as I should be but without link to the field ..when I hit save second time the link to error field does appear. -
Error message without blocking Input fields
Hi,
I want to display an error message in the selection screen. The error is for input date validation. But the once error displays in the status bar, it blocks the input fields in the selection screen. I want to display the error message without blocking any of the input parameter in the selection screen. Where should i write the code?
Thanks in advance.
EzhilHi Ezhilhrh
I think you could have done a trial with different message types before posting this question.
Please try with success message(Type - S) and DISPLAY LIKE 'E'.
And also control the program flow using a flag or by checking the initiality of your internal table.
Regards
Hareesh Menon -
"Error Message" without interrupting the transaction
We use a VB application to insert/update records in a Oracle database.
Any user is allowed to see all fields, but not every user is allowed to update all fields. We check the right to update in a database trigger and raise an error if a user wants to update a field for which he has no rights.
User X has the right to update field A, but he has not the right to update field B.
Now we want to change the application
If X tries to update fields A and B, we want to accept the new value for A, leave B unchanged and inform the user with a message like an error message without interrupting the transaction.
Has anybody an idea how to implement this?In the project it's presented:
1) how the servlet can send JSON data depending on the request's parameter
2) how to obtain this data on the client side and show in on the page using jQuery without refreshing the whole site
What You need to do is just to send the error (as JSON data) insetad of the values that are passed now and display this error on the page. -
How to send a Error mail without Orchestration
Hi,
I need to send an Error mail without using orchestration and without enabling Failed Message routing in the ports.
Please help me in accomplishing this.
Regards, Vignesh SHi Vignesh,
Have you considered using BAM and BAM alerts. For this create an activity, define view and Tracking profile to monitor the ports and then create an alert when a message fails on the port.
Have a look at Business
Activity Monitoring and BAM
Alerts
Also you can opt for monitoring tools like
BizTalk 360, AIMS
for BizTalk and Nevatech
Sentinet
Maheshkumar S Tiwari|User
Page | http://tech-findings.blogspot.com/ -
Hi Guys, Im trying to send a 80pages IPhoto book to the store but the uploading fails, I tried several times and always a message "an error occurred" without clarification, can you help me?
Is there any size limit? or a limit of time to upload? (as it takes more than one hour!!!)Preview the book -
Before ordering your book preview it using this method - http://support.apple.com/kb/HT1040 - and save the resulting PDF for reference - the delivered book will match it.
if it is good boot into safe mode, preview again (only limited fonts are loaded in safe mode) and upload
LN -
Idoc Error-Price without service not allowed
Hi Experts,
I have a Service PO with Acc.***. P .One service item entered in PO with price.When I go via ME22n & change the Price of Service item under services tab,its fine.
When this is done via Idoc generation(Msg.Type PORDCH) using standard FM BAPI_IDOC_INPUT1, it creates another service line item for the new price.
The first line item cannot be deleted via IDOC posting.Gives error "Price without service not allowed"
This is quite Urgent.Immediate reply is highly appreciable.
Regards,
JaganHi,
Check in WE42, for the process code, you have assigned this function module and given the correct process code in the partner profile.
Sujay -
What is the proper way to reinstall iTunes after error 42404 without losing all my music?
What is the proper way to reinstall iTunes after error 42404 without losing all my music?
Here's what I do when I have iTunes problems and it works 9 out of 10 times. I have Ccleaner; It's a wonderful tool to have. If you don't have it, google it and install it, just the free version. You'll see the list of all of your installed programs in there to unstall (among of a host of other things you could do with that program) but anyway, right click on Apple Software first to repair, when done then right click on Apple Application Support to repair, then when done with that, right click on iTunes to repair that and all should be well after that. No uninstall should be necessary at all when you do all that.
-
Error: Row without Tax was Found in Sales BOM
Hi
I'm using SAP Business One 2007B.
While Posting Invoice to a Sales BOM, It shows the Error: Row without Tax was found.
But it is not showing that Error in Manager Login.
Kindly help me to solve the Issuehi,
Check this thread
Message:Row without tax was found
Jeyakanthan -
Hi ,
I am having a problem in a RFC to File scenario. My Sender RFC is working fine and is showing the status green in the CC Monitoring in AdapterEngine under Component Monitoring. But we are trying to trigger the data to the RFC we are getting the following error "Commit fault: com.sap.aii.af.rfc.afcommunication.R
fcAFWException: alterna "
The RFC connection when tested it is ok .. the connection is established.
Please suggest.
Regards,
HemanthikaHi,
1. Refer to the following notes
SAP Note 730870
SAP Note 775765
Also check
RFC Error in SM58 Commit fault
RFC Error in SM58 Commit fault com.sap.aii.af.rfc.afcommunication
2. have a look to R/3 transaction SM58 to find your message
Thanks
swarup -
I am trying to learn flash and make forms with them.
I keep getting this error... 1084: Syntax error: expecting leftperan before colon
here is my code
function sent:(e:Event):void
why am I getting this error?oh... silly me.
Its fixed...
function sent(e:Event):void
Sorry
Maybe you are looking for
-
Several things wrong with iPod Nano [1st gen]
I have been trying to fix my friend's iPod nano but cant find the solution, several things seem to be wrong with it; every time you connect it to the computer it shows the do not disconnect sign ad then completely freezes adn you have to reset it aga
-
Application server file F4 help
Hi Gurus, I am working for implementation proj in SAP ecc 6.0. i just want to understand the purpose of the function module '/SAPDMC/LSM_F4_SERVER_FILE'. Now i am working on a program which uses apacheta interface and checks for the duplicate invoi
-
Dynamic Variant for File with RUN ID and RUN DATE for F110 Transaction
Hi Gurus, I have created DMEE and using this Iam creating a flat file using F110 t-code. File has naming convention TEST_<F110 run date>_<F110 run id>.TXT Ex: If you execute program RFFOAU_T, we give input in the selection screen Program run date
-
Fault Message with JDev 9.0.3
Hello, I'm using JDev 9.0.3 and I want to create with wizard a Web Service that response with a customized fault message. Is it possible? If is possible, someone knows where may I look for some examples? Thanks all... Regards, Mirko
-
Hi, I am using CCC for back up without problems!Mackbook Core 2. I have OSX 10.4.9 and I just bought Leopard. I will wait installing it but I want to use Boot Camp for XP. I know I will have to make a partition for that and all. I am not sure how the