4.0 EA2 plsql editor gives syntax error on $$plsql_unit variable

Hello,
A plsql procedure contains the following statement in the declare section:
cl_module      constant varchar2(20) := $$plsql_unit;
In the plsql editor the part $$ is indicated as having syntax errors, by hovering on it a popup window displays :
Syntax error, expected: name_wo_function_call, name, expr.
The procedure compiles without any problem. Please adapt the plsql parser to support $$variables.
Joop

Hello Jeff,
is this issue on the 4.0 EA3 list?
Joop

Similar Messages

  • Merged dimension gives #syntax error

    Hi everybody,
    i have a simple report that contains 2 query.
    i merged two dimensions and everything looks like fine.
    but when i just refresh the query it gives me syntax error;
    bo system : 4.1 sp3 and both of queries are bex queries.any suggestion please.

    Hi Veer,
    1) same behaviour with Applet as well as web mode
    2) No
    3) I created a webi report, added two bex queries, Country Code is the common dimension which I'm trying to merge. Once both BEx queries are freshed and the objects from both queries are available in in the report to choose from, I try to merge them Country Code, however the merge option isn't even available (i.e. it does not allow merging by selecting objects or choosing the merge from the menu). As a work around I pull the Country code in the report pane from each query as a seprarate objects, ( i notice Country code object from Query one has the values while the Country Code from the second query has the #TOREFRESH, although both query were refreshed at start).
    Since both Country Code objects are on the report cavas, I refresh both queries again. Now I see the values in both objects. Now if I select the Country code from the left hand panel it allows merging. After merging, I drag the new merage counry code on the report Cavas i see the combined values (so far so good). Next I refresh the report again and magically the merged objects is disappeared from the report canvas and the #SYNTAX erro is it remains there.
    As I said, I am using 4.1 with Sup Pak 3, build 1257.
    Any help would be appreciated.
    Regards
    WAK

  • N1SM 1.3.3 OS Load gives syntax error and drops into interactive install

    Hi
    I am trying to load Solaris 10 u4 onto a T1000 and a X4100.
    This is my first installation of N1SM.
    When I give the load command the T1000 will boot off the network, but after a while I very
    briefly see a syntax error and a line about using US Keyboards, then the installation goes
    into interactive mode rather than unattended.
    This is very frustrating.
    Does anyone have any ideas as to what could be going wrong?
    I have installed N1SM on Solaris 10 U4 x86 and have the recommended patch bundle installed.
    Thanks

    No ... it will stay as IDR (Interim Diagnostic Relief - http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=IDR+site%3Asun.com ) afaik
    If you want it, ask Sun for it ... official patch will not be released for it yet ... and I wouldn't count on official patch so soon ...
    If you have a support for N1SM ... ask for the IDR , it's no. is IDR137229-01 (x86) & IDR137228-01 (sparc) , not sure about the linux one ...
    hth
    L

  • Trying to execute a stored procedure gives: Syntax error or access violatio

    Hi,
    I have a stored procedure that runs fine in sqplus:
    EXEC load_image('distribuido.JPG', '1');
    When i try to execute it in PHP it gives me this error:
    [Oracle][ODBC]Syntax error or access violation.
    In php i'm using ODBC functions, with the same user configured in dsn. The sql i run in php is 100% equal...
    What's the problem and how should i run this procedure in php (or maybe grant more privileges to this user??)
    The procedure is:
    CREATE OR REPLACE PROCEDURE load_image( filename VARCHAR2, vid_membro INTEGER )
    AS
    file_lob BFILE;
    binary_lob BLOB;
    mime_type fotografia.foto_tipo%type;
    extension_pos NUMBER;
    BEGIN
    extension_pos := INSTR( filename, '.' );
    mime_type := 'image/' || SUBSTR( filename,
    extension_pos + 1,
    LENGTH( filename ) );
    INSERT INTO fotografia (id_foto, id_cat, id_membro, nota_media, num_votos, foto_tipo, fotografia)
    VALUES (fotografias_id.nextval, 1, vid_membro, 0, 0, mime_type, empty_blob())
    RETURNING fotografia INTO binary_lob;
    file_lob := BFILENAME( 'IMAGES', filename );
    dbms_lob.fileOpen ( file_lob, dbms_lob.file_readOnly );
    dbms_lob.loadFromFile( binary_lob,
    file_lob,
    dbms_lob.getLength( file_lob ) );
    dbms_lob.fileClose ( file_lob );
    END;
    /

    'exec' is an sqlplus directive. If you run this query in PHP, try:
    $query = "BEGIN
    load_image('distribuido.JPG', '1');
    END;";
    (you may have to remove the ; after 'END')

  • Syntax error when adding variables in recordset (query)

    MySql,PHP,Dreamweaver,WindowsVista
    Hi I am receiving a syntax error: invalid quantifier ++ $orderNum;s*?> when adding two variables in the recordset (query) dialog box. I get the error when clicking OK.
    Here is what is entered:
    name: fieldname
    type: text
    default: -1
    runtime value: $_GET['Field']
    name: searchvalue
    type:text
    default: -1
    runtime value: $_GET['Search']
    Can anyone help with this?

    That's a completely separate issue. The error message is telling you that you have not defined the testing server correctly in the Site Definition dialog box.
    The Host directory field and URL prefix should both point to the same place, in other words, the root of your website. Host directory is the physical path, while URL prefix is the address you would put in a browser address bar.
    Select Site > Manage Sites. Select the name of the site, and click the Edit button. In the Site Definition dialog box, select the Advanced tab, and then choose Testing server from the Category list on the left.
    Depending on how your remote login works, Host directory should probably be public_html or just /. Use the same value as in the Remote server part of the Site Definition dialog box. The URL prefix should be http://gaylehansen.aisites.com/.

  • (x86) Inline assembler syntax errors for 8bit variables

    Hello,
    I am porting some gcc code to Solaris and have some issues
    with the inline assembler. It works reasonably well on most of
    my code but with some instructions I have difficulties.
    In gcc, when I declare a variable as char/unsigned char and
    reference it within an asm-statement the assembler will generate
    'half'-register names for it (e.g. %al, %cl, ...).
    sunCC generates full registers for these variables and so
    certain instructions fail to assemble.
    e.g.
    char flag;
    asm ("setz %0" : "=q"(flag) : :);
    Syntax error is given then for:
    "setz %eax"
    Is there a way to force the use of 8bit registers?
    --L                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Even worse:
    char flag, char* ptr;
    asm("xchgb %0, %1" : "=q"(flag),"=m"(*ptr):"0"(1), "m"(*ptr):);
    produces
    xchgb %edx,(%eax)
    on sunCC even when no "-O" flag is given.
    But
    char flag, char* ptr;
    flag = 1;
    asm("xchgb %0, %1" : "=q"(flag),"=m"(*ptr):"0"(flag),"m"(*ptr):);
    produces
    xchgb %dl,(%eax)
    on sunCC if no "-O" flag is given.
    Strange behaviour indeed... :/
    --L                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Portlet editor's rich text editor gives javascript error 'access denied'

    I created a header portlet using the Publisher's published content portlet template. When I try to edit the portlet content using the rich text editor in the portlet editor window, I get a javascript error in the status bar stating 'access denied'. I can't even type into the rich text editor window, it's totally disabled. Not that I see anything in there anyway. I'm logged in as admin. I've gone into the publisher explorer admin portlet and even 'published' the portlet's content, but to no avail. When I try to 'add header portlet' in my experience definition and try to use this portlet, nothing shows up, where the header portlet should be is just collapsed so my banner is just the top bar view bumped right on top of the nav view. (p.s. does anyone know how to take the alui doc's suggestion of 'disabling the topbar view and nav view' so that I can construct what I want entirely in a header portlet? Anyway, first things first, how do I get that access denied message to disappear in my header portlet's rich text editor and how the heck do I get it show up? Help.

    There's probably not a developer in the forum that doesn't uncheck that box the moment they rebuild their machine/ennvironment. Changing the format of error messaging is hardly a fix for the error itself. Personally, I'm uploading 'file content items' now. I create the content in notepad and then upload > file content item. Then create a portlet that uses the pre-existing (was installed w/ publisher using their pte) 'published content item' web service. Go into the portlet's settings and associate the portlet w/ the content item you uploaded. Voila.
    As far as using their rich text editor to create new content, I personally have no need anymore. However I'm sure our content managers will probably have to soon so I hope our latest installation will accommodate them w/o error, because I've never been aware of an actual fix to this problem.

  • Bash: "expr index string1 string2" gives "syntax error"

    In a bash script, I was trying to use the command
    expr index string1 string2
    to find the position of string2 in string1, but this does not work on OS X while it works ok on several Linux machines. Reading the man page, I realized expr does something quite different on OS X than on Linux.
    Can anybody suggest which command I should use to get the same functionality of the above on OS X?
    Thanks
    Andreas

    Hi Ken,
       Wow! That's something you don't see every day; I'm really impressed. I had had a tough day too. Later I thought of a funny answer in which I blamed everything on the crazy shell I use. The difference between the two answers is just the flow of karma but stopping the flow of negative by saying something is a real and difficult choice and yours shows character. I'm sorry for going on too much but such things matter more than machines.
       On the other hand, you're a royal pain in the ... just kidding. You're a strict task master but right; I read in the man page about it returning zero and forgot. However, mathematically it isn't too difficult; you just have to use modular arithmetic. In zsh, (I can learn) it would look like:
    test=aabbcc
    echo $(( ( ${#test%%[bc]*} + 1 )%( ${#test} + 1 ) ))
    In bash, it would look like:
    test=aabbcc
    testtmp=${test%%[bc]*}
    echo $(( ( ${#testtmp} + 1 )%( ${#test} + 1 ) ))
    Gary
    ~~~~
       In science it often happens that scientists say, 'You know that's a really good argument; my position is mistaken,' and then they actually change their minds and you never hear that old view from them again. They really do it. It doesn't happen as often as it should, because scientists are human and change is sometimes painful. But it happens every day. I cannot recall the last time something like that happened in politics or religion.
             -- Carl Sagan, 1987 CSICOP keynote address

  • Bug: syntax error in code editor breaks layout and redrawing windows incorrect

    I'm working with "SQL Developer" version:
    Oracle IDE    4.0.0.13.80
    Plataforma Java(TM)    1.7.0_45
    installed on windows 7  64 bits.
    when I execute some ddl command in the code editor with syntax error, all layout windows are incorrectly drawn, and I have to close "SQL Developer" application to go on.
    Example:
       COMMENT ON COLUMN "TABLE"."COLUMN1" IS 'comments on column 1';
       COMMENT ON COLUMN "TABLE"."COLUMN2" AS 'comments on column 2';
    First comment is correctly aplied but second comment has a syntax error (AS is wrong) but you no receive error output, layout it hangs.
    I tested with thick/OCI and using jdbc, and I always go to the same problem.

    Good Morning
    Did you ever get this working without restoring ?
    Kind Regards
    Marius

  • Getting Syntax Error in Script Editor

    I am a fairly new Mac user and also fresh to programming. I am trying run a piece of code that I copied directly from a guide but seems to be giving me a syntax error: "Expected 'into', variable name, other parameter name or property but found end of line."
    Here is the code that I am working with:
    on gestaltVersioninfo(gestaltcode, string_length)
    try
    tell application "Finder" to ¬
    copy my NumToHex((system attribute gestalt_code), ¬
    string_length) to {a, b, c, d}
    set the numeric_version to {a, b, c, d} as string
    if a is "0" then set a to ""
    set the version_string to (a & b & "." & c & "." & d) as string
    return {numeric_version, version_string}
    on error
    return {"", "unknown"}
    end try
    end gestaltVersion_info
    on NumToHex(hexData, stringLength)
    set hexString to {}
    repeat with i from stringLength to 1 by -1
    set hexString to ((hexData mod 16) as string) & hexString
    set hexData to hexData div 16
    end repeat
    return (hexString as string)
    end NumToHex
    copy my gestaltVersion_info("sysv", 4) to {system_version, system_string}
    if the system_version is less than "1050" then
    do shell script "/usr/bin/printf \"\\n# Block Adobe
    Activation\\n127.0.0.1\\tactivate.adobe.com\\n127.0.0.1\\tpractivate.adobe.com\
    \n127.0.0.1\\tereg.adobe.com\\n127.0.0.1\\tactivate.wip3.adobe.com\\n127.0.0.1\
    \tactivate.wip4.adobe.com\\n127.0.0.1\\twip3.adobe.com\\n127.0.0.1\\twip4.adobe
    .com\\n127.0.0.1\\t3dns-3.adobe.com\\n127.0.0.1\\t3dns-
    4.adobe.com\\n127.0.0.1\\t3dns-2.adobe.com\\n127.0.0.1\\tadobedns.
    adobe.com\\n127.0.0.1\\tadobe-dns-2.adobe.com\\n127.0.0.1\\tadobe-dns-
    3.adobe.com\\n127.0.0.1\\tereg.wip3.adobe.com\\n127.0.0.1\\tactivatesea.
    adobe.com\\n127.0.0.1\\twwis-dubc1-vip60.adobe.com\\n127.0.0.1\\tactivatesjc0.
    adobe.com\\n127.0.0.1\\thl2rcv.adobe.com\\n\" >> /etc/hosts" with
    administrator privileges
    else if the system_version is greater than "1050" then
    do shell script "/usr/bin/printf \"\\n# Block Adobe
    Activation\\n127.0.0.1\\tactivate.adobe.com\\n127.0.0.1\\tpractivate.adobe.com\
    \n127.0.0.1\\tereg.adobe.com\\n127.0.0.1\\tactivate.wip3.adobe.com\\n127.0.0.1\
    \tactivate.wip4.adobe.com\\n127.0.0.1\\twip3.adobe.com\\n127.0.0.1\\twip4.adobe
    .com\\n127.0.0.1\\t3dns-3.adobe.com\\n127.0.0.1\\t3dns-
    4.adobe.com\\n127.0.0.1\\t3dns-2.adobe.com\\n127.0.0.1\\tadobedns.
    adobe.com\\n127.0.0.1\\tadobe-dns-2.adobe.com\\n127.0.0.1\\tadobe-dns-
    3.adobe.com\\n127.0.0.1\\tereg.wip3.adobe.com\\n127.0.0.1\\tactivatesea.
    adobe.com\\n127.0.0.1\\twwis-dubc1-vip60.adobe.com\\n127.0.0.1\\tactivatesjc0.
    adobe.com\\n127.0.0.1\\thl2rcv.adobe.com\\n\" >> /etc/hosts;
    /usr/bin/dscacheutil -flushcache" with administrator privileges
    end if

    In your first *do shell script* statement, the *with administrator privileges* parameter is split across two lines. You just need to either put it on a single line or use option-return to continue a statement on the next line (not sure if the last *do shell script* has the same issue).
    Note that there is an AppleScript forum where these kinds of questions will be seen by a more targeted audience.

  • Syntax error while running the Adobe Form

    Hi to all,
    I have created an interface for adobe from
    Example:  F4_HELP type ZST
    Where ZST  is structure type.
    ZST structure has following field.
    1)     MATERIAL type MATNR
    2)     BASE_QTY type BASMN (BASMN of type QUAN, length 13 with ref table RC29K, and ref field BMEIN)
    Interface and form successful activated.
    But when I run adobe from it give syntax error for ref table RC29K, and ref field BMEIN
    Field u201CRC29K- BMEIN u201Cis unknown. It is neither in one of the specified tables nor defined by a "DATA" statement.
    Please can anyone tell me the solution for that?
    I shall be thankful to you for this.
    Regards
    Pavneet Rana

    Thanks For reply
    I have already maintained the ref table and field for field BASE_QTY type BASMN
    Ref table RC29K, and ref field BMEIN.
    But still error is coming.
    please can any one tell me the solution for that.
    i shall be thankful to you for this.
    Regards
    Pavneet Rana

  • What is this syntax error?

    The standard SAP program SAPDBZDF giving error in ECC6.0 version in line 211:Field "%_GET" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement . . .
    The line declared is 
    IF B0SG-XASGL <> 'X' AND %_GET+10(1) <> ' '.
    What is the %_GET? how to eliminate the error?
    This code doesn't give syntax error in 4.0B version.
    If it is standard SAP report, please help me.

    Hi,
    this rather looks like some kind of inactive query, infostructure or other generated stuff.
    As already mentioned: Our system knows
    SAPDBDDF                                   Logical Database SAPDBDDF
    SAPDBIDF                                   Real Estate Logical Database
    SAPDBKDF                                   Logical Database SAPDBKDF
    SAPDBMDF                                   FM Master Data Mass Selection
    SAPDBSDF                                   SAPDBSDF Logical Database
    SAPDBVDF
    If you copied one of the standard logical databases to customer name space SAPDBZDF: I did this and I found OSS notes guiding through additional necessary process.
    Regards,
    Clemens

  • Syntax error in programme

    Please check this programme this gives syntax error...
    *& Report  YTEST12                                                     *
    REPORT  YTEST12                                 .
    tables:mara.
    data: begin of itab occurs 10,
          matnr like mara-matnr,
          mbrsh like mara-mbrsh,
          mtart like mara-mtart,
          meins like mara-meins,
          end of itab.
    DATA: ITAB1 like itab occurs 10 with header line.
    DATA gt_fieldcat TYPE lvc_t_fcat WITH HEADER LINE.
    data: ok-code like sy-ucomm.
    DATA gs_layout TYPE lvc_s_layo.
    DATA: go_grid             TYPE REF TO cl_gui_alv_grid,
         go_custom_container TYPE REF TO cl_gui_custom_container.
    start-of-selection.
    CALL screen 100.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    CREATE OBJECT go_custom_container
             EXPORTING container_name = 'ALV_CONTAINER'.
           CREATE OBJECT go_grid
             EXPORTING
               i_parent = go_custom_container.
    PERFORM prepare_field_catalog CHANGING gt_fieldcat[].
    PERFORM LAYOUT.
    perform load_data.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Form  load_data
          text
    -->  p1        text
    <--  p2        text
    FORM load_data .
    select matnr mbrsh mtart meins from mara into table itab1.
    CALL METHOD go_grid->set_table_for_first_display
    IMPORTING
    *container_name = 'ALV_CONTAINER'.
    I_BUFFER_ACTIVE =
    I_BYPASSING_BUFFER =
    I_CONSISTENCY_CHECK =
    I_STRUCTURE_NAME =
    IS_VARIANT =
    I_SAVE =
    I_DEFAULT = 'X'
    is_layout = gs_layout.
    IS_PRINT =
    IT_SPECIAL_GROUPS =
    *it_toolbar_excluding = pt_exclude "excluding toolbar functions
    IT_HYPERLINK =
    IT_ALV_GRAPHICS =
    IT_EXCEPT_QINFO =
    IR_SALV_ADAPTER =
    CHANGING
    it_outtab = itab1[]
    it_fieldcatalog = gt_fieldcat[]
    IT_SORT =
    IT_FILTER =
    EXCEPTIONS
    invalid_parameter_combination = 1
    program_error = 2
    too_many_lines = 3
    OTHERS = 4
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM.                    " load_data
    *&      Form  prepare_field_catalog
          text
         <--P_GT_FIELDCAT[]  text
    FORM prepare_field_catalog CHANGING gt_fieldcat TYPE lvc_t_fcat.
    DATA ls_fieldcat TYPE lvc_s_fcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-fieldname = 'MATNR'.
    ls_fieldcat-scrtext_m = 'MATERIAL'.
    ls_fieldcat-col_pos = 1.
    ls_fieldcat-outputlen = 10.
    ls_fieldcat-emphasize = 'C400'.
    ls_fieldcat-key = 'X'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-col_pos = 2.
    ls_fieldcat-fieldname = 'MBRSH'.
    ls_fieldcat-scrtext_m = 'INDUSTRY'.
    ls_fieldcat-emphasize = 'C900'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-col_pos = 3.
    ls_fieldcat-fieldname = 'MTART'.
    ls_fieldcat-scrtext_m = 'TYPE'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-col_pos = 4.
    ls_fieldcat-fieldname = 'MEINS'.
    ls_fieldcat-scrtext_m = 'UNIT'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ENDFORM.                    " prepare_field_catalog
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE USER_COMMAND_0100 INPUT.
    CASE sy-ucomm.
           WHEN 'EXIT'.
             LEAVE TO SCREEN 0.
         ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM LAYOUT .
    gs_layout-stylefname = 'FIELD_STYLE'.
    gs_layout-zebra = 'X'.
    gs_layout-grid_title = 'MATERIAL'.
    gs_layout-sel_mode = 'A'.
    gs_layout-ctab_fname = 'COLORS'.
    ENDFORM.                    " LAYOUT

    recode like this..Reward if useful..please find the code i have changed(in bold)
    REPORT YTEST12 .
    tables:mara.
    data: begin of itab occurs 10,
    matnr like mara-matnr,
    mbrsh like mara-mbrsh,
    mtart like mara-mtart,
    meins like mara-meins,
    end of itab.
    DATA: ITAB1 like itab occurs 10 with header line.
    DATA gt_fieldcat TYPE lvc_t_fcat WITH HEADER LINE.
    data: ok-code like sy-ucomm.
    DATA gs_layout TYPE lvc_s_layo.
    DATA: go_grid TYPE REF TO cl_gui_alv_grid,
    go_custom_container TYPE REF TO cl_gui_custom_container.
    start-of-selection.
    CALL screen 100.
    *& Module STATUS_0100 OUTPUT
    text
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    CREATE OBJECT go_custom_container
    EXPORTING container_name = 'ALV_CONTAINER'.
    CREATE OBJECT go_grid
    EXPORTING
    i_parent = go_custom_container.
    PERFORM prepare_field_catalog CHANGING gt_fieldcat[].
    PERFORM LAYOUT.
    perform load_data.
    ENDMODULE. " STATUS_0100 OUTPUT
    *& Form load_data
    text
    --> p1 text
    <-- p2 text
    FORM load_data .
    select matnr mbrsh mtart meins from mara into table itab1.
    <b>
    CALL METHOD go_grid->set_table_for_first_display
    EXPORTING
    *container_name = 'ALV_CONTAINER'.
    I_BUFFER_ACTIVE =
    I_BYPASSING_BUFFER =
    I_CONSISTENCY_CHECK =
    I_STRUCTURE_NAME =
    IS_VARIANT =
    I_SAVE =
    I_DEFAULT = 'X'
    is_layout = gs_layout
    IS_PRINT =
    IT_SPECIAL_GROUPS =
    *it_toolbar_excluding = pt_exclude "excluding toolbar functions
    IT_HYPERLINK =
    IT_ALV_GRAPHICS =
    IT_EXCEPT_QINFO =
    IR_SALV_ADAPTER =
    CHANGING
    it_outtab = itab1[]
    it_fieldcatalog = gt_fieldcat[]
    IT_SORT =
    IT_FILTER =
    EXCEPTIONS
    invalid_parameter_combination = 1
    program_error = 2
    too_many_lines = 3
    OTHERS = 4
    </b>IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM. " load_data
    *& Form prepare_field_catalog
    text
    <--P_GT_FIELDCAT[] text
    FORM prepare_field_catalog CHANGING gt_fieldcat TYPE lvc_t_fcat.
    DATA ls_fieldcat TYPE lvc_s_fcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-fieldname = 'MATNR'.
    ls_fieldcat-scrtext_m = 'MATERIAL'.
    ls_fieldcat-col_pos = 1.
    ls_fieldcat-outputlen = 10.
    ls_fieldcat-emphasize = 'C400'.
    ls_fieldcat-key = 'X'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-col_pos = 2.
    ls_fieldcat-fieldname = 'MBRSH'.
    ls_fieldcat-scrtext_m = 'INDUSTRY'.
    ls_fieldcat-emphasize = 'C900'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-col_pos = 3.
    ls_fieldcat-fieldname = 'MTART'.
    ls_fieldcat-scrtext_m = 'TYPE'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ls_fieldcat-tabname = 'ITAB1'.
    ls_fieldcat-col_pos = 4.
    ls_fieldcat-fieldname = 'MEINS'.
    ls_fieldcat-scrtext_m = 'UNIT'.
    APPEND ls_fieldcat TO gt_fieldcat.
    ENDFORM. " prepare_field_catalog
    *& Module USER_COMMAND_0100 INPUT
    text
    MODULE USER_COMMAND_0100 INPUT.
    CASE sy-ucomm.
    WHEN 'EXIT'.
    LEAVE TO SCREEN 0.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_0100 INPUT
    *& Form LAYOUT
    text
    --> p1 text
    <-- p2 text
    FORM LAYOUT .
    gs_layout-stylefname = 'FIELD_STYLE'.
    gs_layout-zebra = 'X'.
    gs_layout-grid_title = 'MATERIAL'.
    gs_layout-sel_mode = 'A'.
    gs_layout-ctab_fname = 'COLORS'.
    ENDFORM. " LAYOUT
    Message was edited by:
            Arjun Puthuruthy
    Message was edited by:
            Arjun Puthuruthy

  • Forte syntax error...

    Hi,
    I got a syntax error from Forte (3.0.M.2) for the next assignments
    however they are working if the declaration and assignment is
    written separately.
    locTD : TaskDesc = start task self.Run() where completion = event;
    gives "syntax error (Last symbol: start)" but
    locTD : TaskDesc;
    locTD = start task self.Run() where completion = event;
    works fine
    The same is true for eventhandler registration:
    locER : EventRegistration = register self.TestEH();
    results in "syntax error (Last symbol: register)" while
    locER : EventRegistration;
    locER = register self.TestEH();
    is OK
    Any idea for the reason behind???
    Thanks
    Attila
    Attila Racz FORTECH IT Ltd.
    http://www.fortech.hu
    E-mail: [email protected] .-``'.
    [email protected] .` .'
    Tel.: +36/1-471-9150 _.-' '._ Hermina ut 17.
    Fax : +36/1-471-9163 H-1146 Budapest, Hungary
    --------------------------------------------------------------------------

    Hello Forte-Users,
    i got only one reply on my problem, so i will explain the problem more
    clearly.
    in the include File: FORTE_ROOT/install/os/os.h
    is a definition: '#define qqOS_HUGE'
    The compiler fails in File: FORTE_ROOT/install/cmn/osmm.h line 4
    in the Class Definition: 'class qqOS_HUGE qqsh_Task;'
    with the following error:
    FORTE_ROOT/install/inc/cmn/osmm.h", line 4.1: 1506-166 (S) Definition of
    function class requires parentheses.
    Does anyone know which option or failure in the environment of the
    C-Compiler occures this error?
    Works someone on a RS6000 with an AIX C-Compiler on AIX 4.2?
    So please look at your configuration settings and help me.
    I know that a function needs parentheses, but this code (everybody have the
    same Header-Files on his/her machine) wants to define a class and no
    parentheses are needed for class definition.
    Joseph Mirwald
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:<a href=
    "http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>

  • (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. 

Maybe you are looking for

  • 5800 Email Notification gone from homescreen

    I've found the Email Notification on the homescreen very useful but now there is only a little gap between the Search button and the Calendar events. Disabling or enabling this option doesn't change anything whatsoever. I like new features but I pref

  • Artifacts in clips

    I am getting severe artifacts occasionally in my clips when I drag them into the time line... they aren't there in the original clips.  Using CS6.   When I scrub through them in the Source window or look at them in CS6 Browser, these artifacts don't

  • Deleted the "recently added" playlist.  How do I recover it without re-inst

    I accidentally deleted the "recently added" list and can't see the option in a smart playlist to "remake" it. Is there a way to recover without re-installing iTunes? thanks for any feedback

  • Discoverer Plus OLAP client

    Hi, there're any version of Discoverer Plus OLAP client?, where I can download it? Thanks, Fernando.

  • Pull Filename from Path

    We have a 2012 database with an imported table and want to pull just the file name from a full path.  For example if the path is G:\Everyone\Import\CIIUS.XLS then I want to pull just the CIIUS.XLS out.  I have tried the following code but it is not w