ABAP  AT END OF Statement issue

Hi,
I have a report with selection screen year(ls_nd_year) & period (ls_nd_period)
internal table it_cosp has following values
costelemnt     year    period1 period2  period3.......                                    period 12
0000540000     2009     6     7     80     9     0.00     0.00     0.00     0.00     0.00     0.00     0.00     0.00
0000540000     2009     0.00     0.00     0.00     0.00     0.00     0.00     0.00     0.00     0.00     0.00     0.00     77.00
0000541000     2009     10     20     30     40     80     0.00     0.00     0.00     0.00     0.00     0.00     0.00
0000541000     2008     0.00     0.00     0.00     0.00     0.00     0.00     0.00     0.00     0.00     0.00     0.00     77.00
My requirement is whenever user enters current year say for eg: 2009  it should also add per costcenter previuos years values
for eg:
if user enters: year: 2009 & period : 05  ---it should add  2009 -1020304080+ 2008 -77
if user enters : year :2008 & period :12 ---it should just add 2008 period 12- value : 77.00
As of now this is truncating 2008 values.. how do i handle this? also Each costelment may have single entry for year or multiple years
I am using following code to sum it up.
SORT it_cosp by KSTAR.
LOOP AT it_cosp INTO wa_cosp  .
          wa1_cosp-wtg001 = wa1_cosp-wtg001 + wa_cosp-wtg001 .
          wa1_cosp-wtg002 = wa1_cosp-wtg002 + wa_cosp-wtg002 .
          wa1_cosp-wtg003 = wa1_cosp-wtg003 + wa_cosp-wtg003 .
          wa1_cosp-wtg004 = wa1_cosp-wtg004 + wa_cosp-wtg004 .
          wa1_cosp-wtg005 = wa1_cosp-wtg005 + wa_cosp-wtg005 .
          wa1_cosp-wtg006 = wa1_cosp-wtg006 + wa_cosp-wtg006 .
          wa1_cosp-wtg007 = wa1_cosp-wtg007 + wa_cosp-wtg007 .
          wa1_cosp-wtg008 = wa1_cosp-wtg008 + wa_cosp-wtg008 .
          wa1_cosp-wtg009 = wa1_cosp-wtg009 + wa_cosp-wtg009 .
          wa1_cosp-wtg010 = wa1_cosp-wtg010 + wa_cosp-wtg010 .
          wa1_cosp-wtg011 = wa1_cosp-wtg011 + wa_cosp-wtg011 .
          wa1_cosp-wtg012 = wa1_cosp-wtg012 + wa_cosp-wtg012 .
          AT END OF kstar.
            ULINE.
            WRITE: / wa1_cosp-wtg001,
            wa1_cosp-wtg002,
              wa1_cosp-wtg003,
                wa1_cosp-wtg004,
                  wa1_cosp-wtg005,
                    wa1_cosp-wtg006,
                      wa1_cosp-wtg007,
                        wa1_cosp-wtg008,
                          wa1_cosp-wtg009,
                            wa1_cosp-wtg010,
                              wa1_cosp-wtg011,
                                wa1_cosp-wtg012.
            IF ls_nd_perio = '005'.
              IF wa1_cosp-gjahr < ls_nd_year.
                v_calc = 'X'.
              ENDIF.
              IF v_calc = ' '.
                wa_item-cjtdat = wa1_cosp-wtg001 + wa_cosp-wtg001  + wa1_cosp-wtg002 + wa_cosp-wtg002 + wa1_cosp-wtg003 + wa_cosp-wtg003 + wa1_cosp-wtg004 + wa_cosp-wtg004 + wa1_cosp-wtg005 + wa_cosp-wtg005 .
              ELSE.
         wa_item-cjtdat = wa1_cosp-wtg001 + wa_cosp-wtg001  + wa1_cosp-wtg002 + wa_cosp-wtg002 + wa1_cosp-wtg003 + wa_cosp-wtg003 + wa1_cosp-wtg004 + wa_cosp-wtg004 + wa1_cosp-wtg005 + wa_cosp-wtg005 + wa1_cosp-wtg006 + wa_cosp-wtg006 + wa1_cosp-wtg007 +
       wa_cosp-wtg007 +
       wa1_cosp-wtg008 + wa_cosp-wtg008 + wa1_cosp-wtg009 + wa_cosp-wtg009 + wa1_cosp-wtg010 + wa_cosp-wtg010 + wa1_cosp-wtg011 + wa_cosp-wtg011 + wa1_cosp-wtg012 + wa_cosp-wtg012.
              ENDIF.
....... conituning with remaining periods...
MODIFY final internal table
Clear wa1_cosp
ENDAT.
Edited by: Vara K on Mar 5, 2009 6:45 PM
Edited by: Vara K on Mar 5, 2009 6:50 PM

Avinash,
I have modified my code accordingly and I am getting a dump
Legal range exceeded for DO...VARYING or WHILE...VARY
SORT it_cosp BY kstar.
        LOOP AT it_cosp INTO wa_cosp WHERE gjahr LE ls_nd_year .
          DO 12 TIMES VARYING period FROM wa_cosp-wtg001 NEXT wa_cosp-wtg012.
            IF sy-index LE ls_nd_perio.
              wa1_cosp-total = wa1_cosp-total + period .
            ELSE.
              EXIT.
            ENDIF.
          ENDDO.
          AT END OF kstar.
            ULINE.
            WRITE: / wa1_cosp-total.
also,
FYI..below is my internal table declaration.
TYPES: BEGIN OF t_cosp ,
  kstar TYPE cosp-kstar,
  wtg001 TYPE cosp-wtg001,
  wtg002 TYPE cosp-wtg002,
  wtg003 TYPE cosp-wtg003,
  wtg004 TYPE cosp-wtg004,
  wtg005 TYPE cosp-wtg005,
  wtg006 TYPE cosp-wtg006,
  wtg007 TYPE cosp-wtg007,
  wtg008 TYPE cosp-wtg008,
  wtg009 TYPE cosp-wtg009,
  wtg010 TYPE cosp-wtg010,
  wtg011 TYPE cosp-wtg011,
  wtg012 TYPE cosp-wtg012,
  objnr TYPE coep-objnr,
  pos1(2) TYPE c,
  gjahr TYPE cosp-gjahr,
  total TYPE cosp-wtg001,
  END OF t_cosp.
  DATA: it_cosp TYPE STANDARD TABLE OF t_cosp.
  DATA: it_cosp1 TYPE STANDARD TABLE OF t_cosp.
  DATA : wa_cosp TYPE t_cosp.
  DATA : wa1_cosp TYPE t_cosp.
Anyidea what went wrong?
Rgds
Vara
Edited by: Vara K on Mar 5, 2009 7:27 PM

Similar Messages

  • Getting end of statement error in SAP CRM bp script

    Hi
    When I run the code below without the for loop everything runs perfectly ok. However when I add the for loop I get the error statement end of statement I think it has something to do with handling of the code inside the for loop but I have  no clue how to solve it
    Somebody any idea?
    I know the code is not working correctly I need to add variable to fill in the values however I need to first tackle the end of statement issue
    If Not IsObject(application) Then
       Set SapGuiAuto  = GetObject("SAPGUI")
       Set application = SapGuiAuto.GetScriptingEngine
    End If
    If Not IsObject(connection) Then
       Set connection = application.Children(0)
    End If
    If Not IsObject(session) Then
       Set session    = connection.Children(0)
    End If
    If IsObject(WScript) Then
       WScript.ConnectObject session,     "on"
       WScript.ConnectObject application, "on"
    End If
    Dim objExcel
    Dim objSheet, intRow, i, d
    Set objExcel = GetObject(, "Excel.Application")
    Set objSheet = objExcel.ActiveWorkbook.ActiveSheet
    session.findById("wnd[0]").resizeWorkingPane 132,30,false
    Dim total_row
    total_row = objSheet.UsedRange.Rows.Count
    For i = 1 To CInt(total_row)
         session.findById("wnd[0]/tbar[0]/okcd").text = "/nbp"
         session.findById("wnd[0]").sendVKey 0
         session.findById("wnd[0]/tbar[1]/btn[17]").press
         session.findById("wnd[1]/usr/ctxtBUS_JOEL_MAIN-OPEN_NUMBER").text = "19496"
         session.findById("wnd[1]/usr/ctxtBUS_JOEL_MAIN-OPEN_NUMBER").caretPosition = 5
         session.findById("wnd[1]/tbar[0]/btn[0]").press
         session.findById("wnd[1]/tbar[0]/btn[0]").press
         Dim strScreen
         strScreen = "wnd[0]/usr/subSCREEN_3000_RESIZING_AREA:SAPLBUS_LOCATOR:2000/subSCREEN_1010_RIGHT_AREA:SAPLBUPA_DIALOG_JOEL:1000/ssubSCREEN_1000_WORKAREA_AREA:SAPLBUPA_DIALOG_JOEL:1100/ssubSCREEN_1100_MAIN_AREA:SAPLBUPA_DIALOG_JOEL:1101/tabsGS_SCREEN_1100_TABSTRIP/tabpSCREEN_1100_TAB_04"
         session.findById("wnd[0]/usr/subSCREEN_3000_RESIZING_AREA:SAPLBUS_LOCATOR:2000/subSCREEN_1010_RIGHT_AREA:SAPLBUPA_DIALOG_JOEL:1000/ssubSCREEN_1000_WORKAREA_AREA:SAPLBUPA_DIALOG_JOEL:1100/ssubSCREEN_1100_MAIN_AREA:SAPLBUPA_DIALOG_JOEL:1101/tabsGS_SCREEN_1100_TABSTRIP/tabpSCREEN_1100_TAB_04").select
         session.findById("wnd[0]").sendVKey 6
         session.findById("wnd[0]/usr/subSCREEN_3000_RESIZING_AREA:SAPLBUS_LOCATOR:2000/subSCREEN_1010_RIGHT_AREA:SAPLBUPA_DIALOG_JOEL:1000/ssubSCREEN_1000_WORKAREA_AREA:SAPLBUPA_DIALOG_JOEL:1100/ssubSCREEN_1100_MAIN_AREA:SAPLBUPA_DIALOG_JOEL:1101/tabsGS_SCREEN_1100_TABSTRIP/tabpSCREEN_1100_TAB_04/ssubSCREEN_1100_TABSTRIP_AREA:SAPLBUSS:0028/ssubGENSUB:SAPLBUSS:7002/subA02P01:SAPLBUD0:1500/tblSAPLBUD0TCTRL_BUT0BK/ctxtGT_BUT0BK-BANKL[2,0]").text = "B000000003"
         session.findById("wnd[0]/usr/subSCREEN_3000_RESIZING_AREA:SAPLBUS_LOCATOR:2000/subSCREEN_1010_RIGHT_AREA:SAPLBUPA_DIALOG_JOEL:1000/ssubSCREEN_1000_WORKAREA_AREA:SAPLBUPA_DIALOG_JOEL:1100/ssubSCREEN_1100_MAIN_AREA:SAPLBUPA_DIALOG_JOEL:1101/tabsGS_SCREEN_1100_TABSTRIP/tabpSCREEN_1100_TAB_04/ssubSCREEN_1100_TABSTRIP_AREA:SAPLBUSS:0028/ssubGENSUB:SAPLBUSS:7002/subA02P01:SAPLBUD0:1500/tblSAPLBUD0TCTRL_BUT0BK/ctxtGT_BUT0BK-BANKL[2,0]").setFocus
         session.findById("wnd[0]/usr/subSCREEN_3000_RESIZING_AREA:SAPLBUS_LOCATOR:2000/subSCREEN_1010_RIGHT_AREA:SAPLBUPA_DIALOG_JOEL:1000/ssubSCREEN_1000_WORKAREA_AREA:SAPLBUPA_DIALOG_JOEL:1100/ssubSCREEN_1100_MAIN_AREA:SAPLBUPA_DIALOG_JOEL:1101/tabsGS_SCREEN_1100_TABSTRIP/tabpSCREEN_1100_TAB_04/ssubSCREEN_1100_TABSTRIP_AREA:SAPLBUSS:0028/ssubGENSUB:SAPLBUSS:7002/subA02P01:SAPLBUD0:1500/tblSAPLBUD0TCTRL_BUT0BK/ctxtGT_BUT0BK-BANKL[2,0]").caretPosition = 10
         session.findById("wnd[0]").sendVKey 0
         session.findById("wnd[0]/usr/subSCREEN_3000_RESIZING_AREA:SAPLBUS_LOCATOR:2000/subSCREEN_1010_RIGHT_AREA:SAPLBUPA_DIALOG_JOEL:1000/ssubSCREEN_1000_WORKAREA_AREA:SAPLBUPA_DIALOG_JOEL:1100/ssubSCREEN_1100_MAIN_AREA:SAPLBUPA_DIALOG_JOEL:1101/tabsGS_SCREEN_1100_TABSTRIP/tabpSCREEN_1100_TAB_04/ssubSCREEN_1100_TABSTRIP_AREA:SAPLBUSS:0028/ssubGENSUB:SAPLBUSS:7002/subA02P01:SAPLBUD0:1500/tblSAPLBUD0TCTRL_BUT0BK/btnPUSH_BUP_IBAN[5,0]").setFocus
         session.findById("wnd[0]/usr/subSCREEN_3000_RESIZING_AREA:SAPLBUS_LOCATOR:2000/subSCREEN_1010_RIGHT_AREA:SAPLBUPA_DIALOG_JOEL:1000/ssubSCREEN_1000_WORKAREA_AREA:SAPLBUPA_DIALOG_JOEL:1100/ssubSCREEN_1100_MAIN_AREA:SAPLBUPA_DIALOG_JOEL:1101/tabsGS_SCREEN_1100_TABSTRIP/tabpSCREEN_1100_TAB_04/ssubSCREEN_1100_TABSTRIP_AREA:SAPLBUSS:0028/ssubGENSUB:SAPLBUSS:7002/subA02P01:SAPLBUD0:1500/tblSAPLBUD0TCTRL_BUT0BK/btnPUSH_BUP_IBAN[5,0]").press     session.findById("wnd[1]/tbar[0]/btn[0]").press
         session.findById("wnd[0]/tbar[0]/btn[11]").press
    Next i
    Edited by: R. Brouwer on Dec 23, 2010 3:31 PM

    Hi,
    i think nothing can be followed by the command "Next" in VBS. Your example would be the right way in VB or VBA.
    Regards,
    ScriptMan

  • BI - Java front end ...multiple BW abap back-ends?

    Experts,
    we have a BI java/portal running NW7.01sp6 (portal/BIjava application types).  We have used the config wizard to successfully  connect to our BW NW7.02 abap back-end in order to run bex, etc.
    My question is this: 
    Is it possible to connect the BI-java portal to multiple BW abap back-ends?  Or should we have one BI-java portal for each BW abap back-end?
    This may be the wrong forum for this question.  If so, please forgive me and point me to the correct one.
    Thanks
    NICK

    Hey Judith and experts,
    I found this note:
    Note 919197 - Troubleshooting: More than one master system found
    In there it states:
    Each SAP Web Application Server Java always has precisely one SAP Web Application Server ABAP, which serves as a BI master system. The metadata for Web items and Data Providers is read from this system, for example, and this is the only system from which you can start Web templates and Enterprise reports.
    If you want to display Web templates that originate from more than one SAP Web Application Server ABAP in an SAP Enterprise Portal, for example, you can use the Global Portal technology.
    Does anyone have any idea what they mean by "Global Portal technology"?  Or should I just bite the bullet and install another BI java portal to go with the ABAP instance.
    __NICK

  • End of Statement error

    I have the a query that keeps coming up with an error when I try to place in in a form as VBA. The following is the code:
    txtOperationID = "SELECT TOP 1 [idsOpSymbolID] & " " & Format([txtOperationSub#]+1,"0000") AS NewOpID " & _
    "FROM tblOperations LEFT JOIN tblOperationsSUB ON tblOperations.idsOpSymbolID = tblOperationsSUB.idrOpSymbolID " & _
    "WHERE (((tblOperations.idsOpSymbolID) = [Forms]![frmNewProjectOperationTrackingNumber]![Combo91])) " & _
    "ORDER BY tblOperationsSUB.[txtOperationSub#] DESC"
    I am given the following error:  Compile Error, Expected end of statement.  Any suggestions?

    Yes,
    You have to neutralize " in string:
    txtOperationID = "SELECT TOP 1 [idsOpSymbolID] & "" "" & Format([txtOperationSub#]+1,""0000"") AS NewOpID " & _
    "FROM tblOperations LEFT JOIN tblOperationsSUB ON tblOperations.idsOpSymbolID = tblOperationsSUB.idrOpSymbolID " & _
    "WHERE (((tblOperations.idsOpSymbolID) = [Forms]![frmNewProjectOperationTrackingNumber]![Combo91])) " & _
    "ORDER BY tblOperationsSUB.[txtOperationSub#] DESC"
    Michał

  • Expected End Of Statement Error

    I created an SQL statement which runs fine in MS-SQL2000. I
    paste the code in a DW 8 recordset that I create and run a test to
    make sure it works. No problem. Returns resutls as expected. I can
    also access the fields in the recordset. When I test the Web page I
    get:
    Error Type:
    Microsoft VBScript compilation (0x800A0401)
    Expected end of statement
    /cssmetrics/dallas/scorecard.asp, line 10, column 2647
    See Attachment. I am baffled to what it is looking forward.
    Your help is greatly appreciated.

    'VERSION 5.00
    'Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "Mscomm32.ocx"
    Begin VB.Form FrmMain
    Your code is not VB .Net.  You may be able to find some assistance with your problem from the resources listed here: 
    VB6 and older

  • Passing multiple fields as addition to  "end at " statement

    Hi All
    I dont think I can pass multiple fields to END AT statement.
    I need to sum at end of few field values in table .what is the best method of acheving this.
    Thanks in Advance
    Regards
    Vinay Kolla

    have different control blocks, and make sure you sort on all of the fields which you are using the control statements.

  • The column name "PERNR" has two meanings. ABAP/4 Open SQL statement.

    Hi All,
    Could anyone advise on what are the error I encountered at below code.
    I get the error in " The column name "PERNR" has two meanings. ABAP/4 Open SQL statement." . This errors happen to all the key fields I have selected in below code (eg: pernr, subty, objps, sprps, begda, endda, seqnr).
    The field zeih also encountered error in "Unknown column name "ZEIH". not determined until runtime, you cannot specify a field list."      
      SELECT  pernr
                   subty
                   objps
                   sprps
                   begda
                   endda
                  seqnr
                  zlsch
                  ZEIH
      SELECT * INTO CORRESPONDING FIELDS
              OF TABLE  i_pa0009
              FROM pa0001 INNER JOIN pa0009
              ON pa0001pernr = pa0009pernr
              WHERE bukrs IN s_code AND
              banks NE space.

    Hi,
    In this query
    SELECT pernr
    subty
    objps
    sprps
    begda
    endda
    seqnr
    zlsch
    ZEIH
    if you have used joins and if both the database pa0001, pa0009 has the above mentioned fields you will get the error message as the control gets confused as to which table of the field you are referring to..., instead use them in this way
    SELECT pa0001~pernr
    for each field mention to which table it belongs and ~ before the field name in the above fashion, this will remove the error
    Regards,
    Siddarth

  • Case, end case statement

    Hi all,
    name of my internal table is my_tab.i need to calculate the discounts depending upon the condition types(KSCHL) FROM KONV TABLE.
    WHEN KSCHL = ZDO1 calulation procedure is in percentage
                KSCHL= ZD02   calculation procedure is in fixed amount.
                and so on.....
    my_tab has fields
    my_tab-total
    my_tab-discount
    if kschl = ZD01, discount = my_tab-total - my_tab-discount
    if kschl = ZD02, discount =  my_tab-total * my_tab-discount/100.
    i wanted to know how to use this in CASE AND END CASE statement.
    regards
    akmal

    Hi akmal,
    chek out this code.
    Case kshcl.
    when 'ZD01'.
    discount = my_tab-total - my_tab-discount.
    when 'ZD02'.
    if kschl = ZD02, discount = my_tab-total * my_tab-discount/100.
    end case.
    if you ar looping through the internal table sthen  you can do the same af ter the when statements.
    regards,
    sateesh.

  • ABAP/4 Open SQL statement with WHERE ... LIKE and pattern too long

    Dear All,
    I am getting an error "ABAP/4 Open SQL statement with WHERE ... LIKE and pattern too long" while executing the following statement:
    CLEAR LS_RANGE.
    LS_RANGE-SIGN     = 'I'
    +LS_RANGE-OPTION     = 'CP'     +
    LS_RANGE-LOW     = 'S_ADMI_FCD'
    LS_RANGE-HIGH     = 'S_ADMI_FCD'
    COLLECT LS_RANGE INTO LT_RANGE.
    SELECT *
               FROM UST12
               INTO CORRESPONDING FIELDS OF TABLE LT_OBJECT_VALUES
               WHERE FIELD IN LT_RANGE
               AND AKTPS   = 'A'.
    For options like BT(Between), EQ(Equal) in range table, this above query is executing without dump. But for option CP, it simply dumps & in dump what i found is, it is concatenating the value in low & high.
    Does anyone have any idea regarding open sql using range tables.
    Thanks,
    Bhupinder

    Hi,
    I commented as follows:
    If  LS_RANGE-HIGH is empty, you can use EQ, NE, GT, LE, LT,CP, and NP. These operators are the same as those that are used for logical expressions. Yet operators CP and NP do not have the full functional scope they have in normal logical expressions. They are only allowed if wildcards ( '*' or '+' ) are used in the input fields. If wildcards are entered on the selection screen, the system automatically uses the operator CP.
    If  LS_RANGE-HIGH  is filled, you can use BT (BeTween) and NB (Not Between). These operators correspond to BETWEEN and NOT BETWEEN that you use when you check if a field belongs to a range. You cannot use wildcard characters.
    You can try:
    CLEAR LS_RANGE.
    LS_RANGE-SIGN = 'I'.
    +LS_RANGE-OPTION = 'CP' +
    LS_RANGE-LOW = 'S_ADMI_FCD'.
    LS_RANGE-HIGH = 'S_ADMI_FCD'.
    FIND '*' IN LS_RANGE.
    IF sy-subrc = 0.
      LS_RANGE-OPTION = 'CP'.
    ELSE.
      LS_RANGE-OPTION = 'EQ'.
    ENDIF.
    COLLECT LS_RANGE INTO LT_RANGE.
    SELECT *
    FROM UST12
    INTO CORRESPONDING FIELDS OF TABLE LT_OBJECT_VALUES
    WHERE FIELD IN LT_RANGE
    AND AKTPS = 'A'.
    If you use wildcards the LS_RANGE  length should not exceed 10 characters.
    Hope this information is help to you.
    Regards,
    José

  • How to monitor  SQL statements issued by SIEBEL ?

    Hi,
    We have developed BI Siebel 10.1.3.3. application.
    One of the requirement is to persist/store in the database real SQL statement issued by BI Dashboards/Answers.
    The best solution would be having acces on-line to cursor cache.
    Could someone please tell me how to achive this ?
    Regards,
    Cezary

    Sounds like you're looking for Usage Tracking.
    OBIEE Server Administration Guide – Pages: 220
    OBIEE Installation and Configuration Guide – Pages: 229
    And this post here;
    http://oraclebizint.wordpress.com/2007/08/14/usage-tracking-in-obi-ee/
    A.

  • Trace SQL statement issued by BC4J

    Is there a way to see at runtime (in the console window or in a log file) the SQL statements issued by the BC4Js to the database?
    Perhaps there is a switch or a -D option to set to the OC4J startup command. This would be really helpfull during development.
    Thanks,
    Marco.

    Yes, you are right. that will be done by specify a Java virtual parameters - -Djbo.debugoutput=console.

  • Reg:ABAP Front-End Editor New

    Hi:
    Can any one help me out about the download link and installation procedure for upgrading my ABAP Front-End Editor to the New Version.
    Thanks,
    Surya.

    Hello Surya,
                      You can download and install the latest SAP  GUI from the the below link:-
    ht[https://websmp205.sap-ag.de/form/handler?_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=01200245450100000473&V=INST&TA=ACTUAL&PAGE=SEARCH|https://websmp205.sap-ag.de/form/handler?_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=01200245450100000473&V=INST&TA=ACTUAL&PAGE=SEARCH]
    But You need to have a valid "S" user id in service.sap.com
    Some other links that don't need any "S" user Id's:-
    Link: [http://sapdocs.info/sap/uncategorized/sap-gui-downloads/|http://sapdocs.info/sap/uncategorized/sap-gui-downloads/]
    Link: [http://www.kodyaz.com/articles/download-sap-gui-for-windows-7.10.aspx|http://www.kodyaz.com/articles/download-sap-gui-for-windows-7.10.aspx]
    Link: [http://www.giveawayoftheday.com/sapgui7.2/|http://www.giveawayoftheday.com/sapgui7.2/]
    Thanks,
    Greetson

  • Stop auditing select statements issued against SYS objects

    Hi,
    My current client has a requirement to track destructive updates (i.e. insert, update, delete) issued by users who can connect directly to the database. At the moment though, SELECT statements issued against SYS-owned objects are also being captured to the Oracle audit trail. For the time being at least these need to be disabled.
    I've issued NOAUDIT SELECT TABLE/SEQUENCE and NOAUDIT SELECT ANY TABLE/SEQUENCE commands, as has a user with the SYSDBA privilege, and they're still being logged. Is there any way to switch these off? I don't know if it's significant (I'm not a DBA by trade) but the audit_sys_operations parameter is set to True.
    My client is currently running Oracle Database 10.2.0.5.0 standard edition.
    If anyone has any suggestions I'd be grateful.
    Thanks in advance,
    Steve

    Hi,
    Thanks for the input so far ...
    @Eduardo and KarK ...
    show parameter audit
    audit_file_dest string D:\ORACLE\PRODUCT\10.2.0\ADMIN\USSUPM2\ADUMP
    audit_sys_operations boolean TRUE
    audit_trail string DB, EXTENDED
    If we set audit_sys_operations to FALSE, won't that stop auditing of all actions carried out by, for example, someone who connects as SYSDBA? That is something that's still needed to be captured. Unfortunately they go to the WIndows Event Log but at least they're captured somewhere.
    @Hemant
    This auditing was in place before my client took me on, so I can't say what was used to initiate it unfortunately. What I can say though is that they absolutely don't want to turn off auditing by SYS- type users, just SELECT against SYS-owned objects.
    Thinking simplistically, could I just write a script which trawls dba_objects for sys-owned tables, views and sequences and explicitly issues a noaudit select against what's found, and get one of the sysdba-type people we have access to to run it?
    Thanks in advance (again)
    Steve

  • Help with the error message that ADE is not allowed to copy a book onto my Nook. I have tried authorizing and unauthorizing many times--at wits end with this issue.

    Help with the error message that ADE is not allowed to copy a book onto my Nook. I have tried authorizing and unauthorizing many times--at wits end with this issue.

    I too am having the same problem. I have a new hard drive that was imaged from the old one and I'm trying to side load a book to my Nook Simple Touch.. I first installed ADE 4 then borrowed and downloaded a book from Overdrive. I tried a few times to delete and reauthorize both the computer and the Nook and each time I get an authorization error when I try to side load the book. I then found on the Nook forum that the Simple Touch and ADE 4 don't get along. So I uninstalled ADE 4 and installed ADE 3.
    I then followed this recommended procedure found on the forum: I deleted the Digital Editions folder from my Nook, launched ADE 3 and authorized the computer, then connected the Nook. For a few seconds, hovering the mouse over the setting icon for the Nook displayed everything on the context menu grayed out. But then it showed the context menu and I was able to display the Nook's authorization, which was the same as the computer's. Still get the same error side loading the book. Deleting and reauthorizing doesn't help.  And the Digital Editions folder is still missing from the Nook.

  • SQL0104N  An unexpected token "END-OF-STATEMENT"

    Hello,
    for some audits we should run the following command:
    DB2 SELECT DISTINCT GRANTEE FROM SYSCAT.TABAUTH
    WHERE CONTROLAUTH = 'Y' OR 'G'
    UNION
    SELECT DISTINCT GRANTEE FROM SYSCAT.TABAUTH
    WHERE ALTERAUTH = 'Y' OR 'G'
    UNION
    SELECT DISTINCT GRANTEE FROM SYSCAT.TABAUTH
    WHERE DELETEAUTH = 'Y' OR 'G'
    UNION
    SELECT DISTINCT GRANTEE FROM SYSCAT.TABAUTH
    WHERE UPDATEAUTH = 'Y' OR 'G'
    UNION
    SELECT DISTINCT GRANTEE FROM SYSCAT.TABAUTH
    WHERE INSERTAUTH = 'Y' OR 'G' > all_users_auth.txt
    This does not work. When I run a single step I get the following message:
    db2 "select distinct grantee from syscat.tabauth where controlauth = 'Y' or 'G'"
    SQL0104N  An unexpected token "END-OF-STATEMENT" was found following "rolauth
    = 'Y' or 'G'".  Expected tokens may include:  "<interval_qualifier>". 
    SQLSTATE=42601
    But what kind of interval_qualifier is needed???
    Regards
    Olaf

    Hello Olaf,
    You can try to run the following SQL statement.
    db2 "select distinct grantee from syscat.tabauth where controlauth in ('Y','G')"
    Regards,
    Masako

Maybe you are looking for

  • HP OFFICEJET 6500 Wireless Doesn't Work

    I have new desktop with Windows 7 and cannot install wireless for this 6500 printer. Followed directions from CD and website and each time it locks up after I plug in USB cable. Says device is installed properly but locks up at configuring device rig

  • Edit Functions, including Trim to Selection, Greyed Out

    I have Quicktime Pro but despite this the menu items Cut, Copy, Paste, Delete and Trim to Selection, all under Edit, are always greyed out. I have tried setting a selection using In and Out markers and still none of those functions works. All other a

  • Getting carryforward bal in F.08

    Dear Members : Running GL Acc Balances (F.08) is not showing carry-forward balance for P&L stmt type accounts - this inspite after running balance carry forward (F.16). But F.08 does show carry-forward balances for balance sheet type accnts. Could yo

  • Drop Down Error accessor u0091xfa.record.enum_list.nodes.lemgthu0092 is unknown

    Hi All, I am creating a Interactive form which has drop down values which are filled from web dynpro application. when tried to use the drop down from standard pallett no values were population. so i changed it to Enumerated Drop-down list. I am gett

  • Install CS5.5 upgarde will remove CS4?

    Hi, I am about to order a upgrade verison of CS5.5, anyone know when i install the CS5.5 upgarde, it will remove my CS4 automatically? Thanks.