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.

Similar Messages

  • 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

  • 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 Renu

    Hi 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.

  • HT1386 My iphone5 itunes playlist seems to have a mind of it's own, after selecting a song to play it will randomly flash through songs on my playlist without stopping. I've rebooting, and restored my iphone with no results. does anyone know how to stop t

    My iphone5 itunes playlist seems to have a mind of it's own, after selecting a song to play it will randomly flash through songs on my playlist without stopping. I've rebooting, and restored my iphone with no results. does anyone know how to stop this from happening? also I am having trouble syncing songs from my library on my computer to my iphone. the songs so up on my playlist on the computer, but will not synch over to my iphone5. Thank you.

    Hi TakesTwo2Tango,
    Thanks for using Apple Support Communities.  It sounds like you should definitely be seeing a plus sign after tapping Edit, so I would try a couple relatively easy things (closing the Music app, resetting the iPhone):
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/HT1430
    Cheers,
    - Ari

  • Error message: "Attempt to capture video without a video device selected."

    When trying to log and capture, I'm receiving the following error message: "Attempt to capture video without a video device selected. Please select a video device in your capture presents and try again."
    In Capture Presents under DV NTSC 48 kHz it says "WARNING: Video Device DV Video is missing."
    An attempt to edit the Capture Preset gives me QuickTime Video Setting Digitzer options of only "[missing] DV Video."
    This happened only after I upgraded to Tiger. I know Log and Capture is recognizing the camera because it's showing the timecodes, but not the image. Any help would be most appreciated.

    This reminds me of a problem with the QuickTime install. Try this - remove all the QuickTime associated .pkg files from /Library/Receipts, then go to http://www.quicktime.com and download the full installer and do a complete install.
    Post back,
    Patrick

  • Error after selecting value from LOV - You are trying to access a page that is no longer active.

    Created a simple page with a few text inputs and 4 LOV. After selecting a value from the last LOV the following error is displayed:
    Error:
    You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session. Please select Home to proceed.
    OA Framework              12.1.3
    Oracle OA Extension    10.1.3 - build 1313
    Any pointers to the cause ?
    Thanks

    [57]:EVENT:[xx.oracle.apps.ap..webui.EngagementCO]:OAF LOG: Event : Call Process Form Data, in: xx.oracle.apps.ap..webui.EngagementCO: Entering Process Form Data
    [57]:EVENT:[xx.oracle.apps.ap..webui.EngagementCO]:OAF LOG: Event : Call Process Form Data, in: xx.oracle.apps.ap..webui.EngagementCO: Entering Process Form Data
    [57]:EVENT:[fnd.framework.webui.OAFormValueHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAFormValueHelper: View:xxEngagementVO1 ,Attribute:VendorId , Return Value without datatype conversion :996
    [58]:EVENT:[fnd.framework.webui.OAFormValueHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAFormValueHelper: View:xxEngagementVO1 ,Attribute:VendorSiteId , Return Value without datatype conversion :60158
    [58]:EVENT:[fnd.framework.webui.OAFormValueHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAFormValueHelper: View:xxEngagementVO1 ,Attribute:BusinessPrincipalId , Return Value without datatype conversion :48375
    [59]:EVENT:[fnd.framework.webui.OAFormValueHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAFormValueHelper: View:xxEngagementVO1 ,Attribute:AttorneyPersonId , Return Value without datatype conversion :37430
    [59]:EVENT:[fnd.framework.webui.OAMessageLovInputHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAMessageLovInputHelper: View:xxEngagementVO1 ,Attribute:Vendor , Return Value without datatype conversion :CLIFFORD CHANCE
    fnd.framework.webui.OAMessageLovInputHelper][60]:EVENT:[fnd.framework.webui.OAMessageLovInputHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAMessageLovInputHelper: View:xxEngagementVO1 ,Attribute:AttorneyName , Return Value without datatype conversion :Bloggs, Mr. Joe
    [60]:UNEXPECTED:[fnd.framework.webui.OAPageContextImpl]:MACCHECK: . Parameter failing validation is :MatterCode. Parameter "MatterCode" failed Validation. Value got from request object is 2435 
    Incoming URL is : /OA_HTML/OA.jsp?page=/xx/oracle/apps/ap/legal/webui/EngagementPG&_ti=752953423&language_code=US&&OAFMID=94470&OAPB=_OAFMID&oapc=16&oas=xSrFYCAbgOaPGVhqpb0-hA.. .
    Current URL is : /OA_HTML/OA.jsp?page=/xx/oracle/apps/ap/legal/webui/EngagementPG&_ti=752953423&language_code=US&&OAFMID=94470&OAPB=_OAFMID&oapc=16&oas=xSrFYCAbgOaPGVhqpb0-hA.. .
    Referer URL is : https://paydev.company.com/OA_HTML/RF.jsp?function_id=48080&resp_id=53189&resp_appl_id=20003&security_group_id=0&lang_code=US¶ms=CtXL5LFdg5E7c.aFPRw7fTZ5STWrUsz9iXF2ByXh3F4&oas=gAqepzP-un4kBOC8NUxtIQ.. .
    HTTP Request Method is : POST
    [62]:ERROR:[fnd.common.Message.auto_log]:FNDFND_FORM_POST_SECURITY_FAILEDYHOMEFND_GLOBAL_PRMPT_HOME
    [62]:ERROR:[fnd.framework.OAException]:You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session. Please select Home to proceed.
    Click on browser Back button and all LOV values are empty on original screen. Try and select value from LOV and after selection:
    [23]:EVENT:[xx.oracle.apps.ap.legal.webui.EngagementCO]:OAF LOG: Event : Call Process Form Data, in: xx.oracle.apps.ap.legal.webui.EngagementCO: Entering Process Form Data
    [23]:EVENT:[xx.oracle.apps.ap.legal.webui.EngagementCO]:OAF LOG: Event : Call Process Form Data, in: xx.oracle.apps.ap.legal.webui.EngagementCO: Entering Process Form Data
    [23]:UNEXPECTED:[fnd.framework.webui.OAPageContextImpl]:MACCHECK: . Parameter failing validation is :VendorId. Parameter "VendorId" failed Validation. Value got from request object is 996 
    Incoming URL is : /OA_HTML/OA.jsp?page=/xx/oracle/apps/ap/legal/webui/EngagementPG&_ti=752953423&language_code=US&&OAFMID=94470&OAPB=_OAFMID&oapc=17&oas=lC4tbZwHYHffQY6uX7agiA.. .
    Current URL is :  /OA_HTML/OA.jsp?page=/xx/oracle/apps/ap/legal/webui/EngagementPG&_ti=752953423&language_code=US&&OAFMID=94470&OAPB=_OAFMID&oapc=17&oas=lC4tbZwHYHffQY6uX7agiA.. . 
    Referer URL is : https://paydev.company.com/OA_HTML/RF.jsp?function_id=48080&resp_id=53189&resp_appl_id=20003&security_group_id=0&lang_code=US¶ms=CtXL5LFdg5E7c.aFPRw7fTZ5STWrUsz9iXF2ByXh3F4&oas=gAqepzP-un4kBOC8NUxtIQ.. .
    HTTP Request Method is : POST
    [25]:ERROR:[fnd.common.Message.auto_log]:FNDFND_FORM_POST_SECURITY_FAILEDYHOMEFND_GLOBAL_PRMPT_HOME
    [25]:ERROR:[fnd.framework.OAException]:You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session. Please select Home to proceed.

  • When opening Bridge (CS6) I get the following message: "Bridge encountered a problem and is unable to read the cache. Please try purging the central cache in Cache Preferences to correct the situation" I tried and after selecting purge cache it does not a

    When opening Bridge (CS6) I get the following message: "Bridge encountered a problem and is unable to read the cache. Please try purging the central cache in Cache Preferences to correct the situation" I tried and after selecting purge cache it does not allow me to select OK. Also Bridge keeps saying "Building Criteria" with the spinning wheel and nothing happens. I tried uninstalling and reinstalling to no avail. Please help:)

    Maybe a Preferences reset can help:
    Numerous program settings are stored in the Adobe Bridge preferences file, including display, Adobe Photo Downloader, performance, and file-handling options.
    Restoring preferences returns settings to their defaults and can often correct unusual application behavior.
    Press and hold the Ctrl key (Windows) or the Option key (Mac OS) while starting Adobe Bridge.  
    In the Reset Settings dialog box, select one or more of the following options:  
      Reset Preferences 
    Returns preferences to their factory defaults. Some labels and ratings may be lost. Adobe Bridge creates a new preferences file when it starts.
    Purge Entire Thumbnail Cache
    Purging the thumbnail cache can help if Adobe Bridge is not displaying thumbnails properly. Adobe Bridge re-creates the thumbnail cache when it starts.
    Reset Standard Workspaces
    Returns Adobe predefined workspaces to their factory default configurations.
    Click OK, or click Cancel to open Adobe Bridge without resetting preferences.   

  • Shuffle Playlist after selecting a song?

    Is there any way to have a playlist shuffle after selecting a song from the playlist without having to select shuffle playlist after the song plays?

    Have you checked to make sure the Shuffle setting has not been enabled in Settings?  If so, try a hard reset to see if that helps as well. To do this, press and hold both the Select (Center) and Menu buttons together long enough for the Apple logo to appear.
    B-rock

  • Lion freezes after selecting dashboard in mission control.

    After selecting Dashboard in Mission Control the Dashboard freezes. Have to do a hard shut down to exit.

    Northview5 wrote:
    I recently upgraded to Mountain Lion and can't get desktop spaces to work correctly.  When I activate Mission Control I can see the current space's open applications, but the small desktops along the top aren't there.  Neither will the little plus sign show up to make more desktops.  However, if I make the dashboard a space, I can see the desktops in that space ONLY.  Also, if I am in another space and activate Mission Control – if I click where I expect  the "Space 4 desktop" to be (although I can't see the image) I will be moved to the 4th space.  I can swipe left and right to navigate through spaces, but without those little images at the top Mission Control is VERY awkward to use. 
    I have restarted, checked and unchecked options in the Mission Control settings.  I've tried using option to activate the plus sign.  I've updated to the latest release of the software. None of these have worked.  I hope someone can help me.
    Have a read here first.
    https://discussions.apple.com/message/15687154#15687154
    Pete

  • How can I get a list view after selecting "see all"?

    I just updated to iTunes 12.  I've looked on the net for this but couldn't find anything on it.
    Previously when I searched for something in the iTunes store I'd pick a certain category of media (podcasts, for example).  It would give me the first few results and then I could select "see all."  Then get a list view and sort it.
    Now when I click on "see all" I get an album cover view.  NOT a list view.  And I have no way to sort the results.  I usually sort by time.
    What's odd is when I'm still on the initial page you get after making a search I *can* sort the results.  But only the first 10.
    Basically, I need a way to sort all of my search results by time.  Either after selecting "see all" or having iTunes show many more than 10 results.
    This was possible (and the default, I think) in previous versions.  I've looked through every menu and I don't see a way to turn this functionality back on.
    Thanks.

    Hi,
    There is no such PowerShell command can achiev this. Maybe you can use a script to get the user name with folder redirection enabled. However, I am not familiar with writing script, and it would be better for you to ask in script forum below for professional
    assistance:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Data Error in the Query/Report after selective data deletion for infocube

    Hi Experts,
    Please advise what i was missing and what went wrong...
    I got a Query (Forecast) on a Multicube...which is based on 2 Infocubes with Aggregates...
    As i identified some data discrepency..yesteraday i performed selective data deleation on one of the Infocube
    and executed report yesteraday and the results in the query are correct...
    When today i executed the same report i am getting different results..
    When i compared the results of the report with that of data in cube they are not matching
    The report is not displaying the data in cube..for some rows it is displaying the data in the cube but for some rows it is just displaying same as the above row
    there is no data loaded into info cube after selective deleation
    Do i need to perform request compression and fill the aggregated after selective deleation
    Please advise what went wrong

    Hi Venkat,
    No i haven't done anything on aggregates before or after selective delete
    As there is not data load after the selective delete according to SAP Manual we don't need to perform any thing on aggregates...as selective data deletion on cube will delete data from aggregates as well
    Please update how to identify error

  • After download and installation of PS PE12 I have problems starting the programm. After selecting video and new project nothing happens, only the colorbar below new project is showing

    New computer.
    After download and installation of PS PE12
    I have problems starting the programm, double clicking on the icon.
    After selecting video and new project nothing happens, only the colorbar below new project is showing, nothing happens.
    (expected was to activate the program and the sarting the PE12)
    PSE12 runs fine
    System:
    WIN8.1 / i7 /16GB RAM

    New computer.
    After download and installation of PS PE12
    I have problems starting the programm, double clicking on the icon.
    After selecting video and new project nothing happens, only the colorbar below new project is showing, nothing happens.
    (expected was to activate the program and the sarting the PE12)
    PSE12 runs fine
    System:
    WIN8.1 / i7 /16GB RAM

  • "Are you sure you want to shut down your computer?" prompt pops up for no reason and continues to pop up after selecting Cancel. How can I stop this?

    "Are you sure you want to shut down your computer?" prompt pops up for no reason and continues to pop up after selecting Cancel. How can I stop this?
    Mac Pro. OS 10.6.8

    Then I suggest you read this thread regarding the 30" Apple Cinema Display and that particular message pop up... several possible causes... common denominator, the display.
    http://forums.macrumors.com/showthread.php?t=617367

  • LOV is slow after selecting a value its taking much time to default

    Hi,
    I have a dependent LOV. Master LOV is executing fine and its populatin into the field fastly. But Child LOV is very slow after selecting a value its taking much time to default.
    Can any one please help me if there is any way to default the value fast after selecting a value?
    Thanks,
    Mahesh

    Hi Gyan,
    Same issues in TST and PROD instances.
    In my search criteria if i get 1 record, even after selecting that value its taking much time to default that value into the field.
    Please advice. Thanks for your quick resp.
    Thanks,
    Mahesh

Maybe you are looking for