FGA, module name and SET_MODULE

RDBMS: Release 10.1.0.5.0
I would like to audit a table column using an audit condition on the module name.
The code to do that is:
begin
   DBMS_FGA.DROP_POLICY(object_schema=>'XXXX', object_name=>'TAB', policy_name=>'FGA_SELECT_TAB' );
   dbms_fga.add_policy (
      object_schema=>'XXXX',
      object_name=>'TAB',
      policy_name=>'FGA_SELECT_TAB',
      statement_types => 'select',
      ENABLE          => TRUE,
     audit_condition=>        'sys_context(''USERENV'', ''MODULE'') NOT IN (''xxxxWebApp [ROOT]'',''app_name'')',
      audit_column=>        'VIP'
end;
/h3. PROBLEM
I can write this simple sql program:
connect XXXX@mydb
exec DBMS_APPLICATION_INFO.SET_MODULE('app_name', '');
select * from tab;And the SELECT is not audited.
h3. QUESTION
Is there a way to resolve the described problem?
Edited by: AleC on 16-May-2011 02:35

That is correct. You've specified the audit condition will be true when the module IS NOT IN 'app_name'. You've set it to 'app_name' hence no audit.

Similar Messages

  • Module name and module variant

    What are module name and module variant?  what are its applications?

    Hi,
    Name of a module that valuates wage types according to certain criteria. Modules can be similar to a wagetype group.The following descriptions of the diverse options can be used for wagetypes in the following infotypes:
    Basic Pay (0008), Standard Wage Maintenance (0052), Recurring Payments/Deductions (0014), Additional Payments (0015)
    For some modules, the type of valuation depends on the specification of the module variant.
    Some of the indirect valuation modules available in the standard system are:
    o   TARIF, PRZNT, ANSAL, INVAL etc.
    These are mostly country dependent or industry dependent variants. In India mostly we use INVAL, also TARIF, according to the module requirement.
    For e.g.
      INVAL - Indirect Evaluation Module Variant for India
      There are four module variants for INVAL:
      1.  A - This calculates the value of the wage type as a fixed amount.
      2.  B - This calculates the amount as a percentage of a base wage type
          added to a fixed amount. More than one such amount, with same or
          different percentage of the base wage type, can be calculated for an
          INVAL wage type. In this case, the amount that will be Indirectly
          Evaluated will be the sum of all such calculated amounts, added to a
          fixed amount. For example, for the wage type M230, the different
          INVAL B amounts are
          a)  10% of MB10
          b)  30% of M220
          c)  Fixed amount of Rs.1000
          In this case, the INVAL amount for the wage type M230 will be the
          sum of a, b and c.
      3.  C - This calculates the amount as a percentage of a base wage type
          subject to a maximum limit. More than one such amount, with same or
          different percentage of the base wage type, can be calculated for an
          INVAL wage type. In this case, the amount that will be Indirectly
          Evaluated will be the sum of all such calculated amounts, subject to
          a maximum limit. For example, for the wage type M230, the different
          INVAL C amounts are
          a)  10% of MB10
    b)  30% of M220
    c)  Limit of Rs.5000
    In this case, the INVAL amount for the wage type M230 will be the
    sum of a and b subject to a maximum of c.
    4. D - This calculates the amount as one or any combination of the
    following INVAL Module variants based on Basic salary slabs:
    a)  Fixed amount
    b)  Percentage of a base wage type added to a fixed amount
    c)  Percentage of a base wage type subject to a maximum limit
    In the SAP system, INVAL D can be configured as only INVAL B or C.
    Once the percentage of the base wage type is calculated, the result
    is multiplied with a factor. This resultant amount is then added to
    fixed amount or is compared with a maximum limit. For example, the
    INVAL module variant for the wage type M210, for an employee who
    falls in the Basic Salary slab of Rs.10,000 - 12,000, is INVAL C.
    The INVAL amounts are:
    a)  10% of MB10
    b)  30% of M220
    c)  Multiplication factor of 50%
    d)  Limit of Rs.7000
    In this case, the INVAL amount for M210 for the employee is the sum
    of a and b, multiplied by c and the result is subject to a maximum
    of d.  If you want to configure the wage type as a fixed amount for a
    particular slab, the wage type is configured as INVAL B. In this
    case, the percentage of the base wage type is multiplied with the
    factor of 0% and then the fixed amount added to the result. For
    example, the INVAL module variant for the wage type M230, for an
    employee who falls in the Basic Salary slab of Rs.15,000 - 25,000,
    is INVAL B. The INVAL amounts are:
    a)  100% of MB10
    b)  Multiplication factor of 0%
    c)  Fixed amount of Rs.5000
    In this case, the INVAL amount for M230 for the employee is the
    value of a, multiplied by b and the result added to c. In this case,
    the INVAL amount will be the fixed amount of Rs.5000.
    regards.

  • BAPI function module name and mandatory fields

    Give the name of BAPI function module for pricing change into the transaction VA05 ?
    What are the mandatory fields ?
    Please give a exemple code to do this.

    Hi,
    VA05 is for list of sales order. But if you want to change pricing of material stocks go for follwoing fn module.
    BAPI_SALESORDSTCK_PRICE_CHANGE
    If you want other BAPI for sales related, just go to SE37, give BAPISALE and press F4, you will get all the BAPI fn modules.
    Rewards points if helpful.
    Regards,
    CS.

  • How to change the module name

    Hello All,
    I saved a report as XYZ.rdf. When I open this it opens with a module name as say ABC.
    Now is it possible to change the module name to DEF instead?
    (I have some closely numbered reports, I need to change one of them to avoid stepping over the names)
    Thanks,
    Chiru

    Hi Chiru,
    Right click on the module name and select the Property Inspector. Now you can change the property Name.
    Regards,
    Vincent

  • How to put Module filename and use current filename in code ?

    Hi,
    I was create SequenceCall (in MainSequence), but need to put Module filename and existing file where to find module. I found some old function that are not part of API anymore (TS_SequenceCallModuleSetUseCurrentFile() and TS_SequenceCallModuleSetSequenceName(). Those exists in help file, but not in tsapicvi.c.
    Can you someone help with this (CVI code) ?
    Best regards,
    branar
    Solved!
    Go to Solution.

    Hi,
    I create seq file in CVI code (based on excell file). So, all sequences and subsequences are generated by CVI code and Ecxell file. Currently, want to add SequenceCall in MainSequence. It work with:
    tsErrChkMsgPopup( TS_EngineGetSeqFileEx (EngineHandle, &errorInfo, SeqTemplate_path, TS_GetSeqFile_DoNotRunLoadCallback, TS_ConflictHandler_Prompt, &SequenceFileHandle));
    error= TS_SeqFileGetSequenceByName (SequenceFileHandle, NULL, "MainSequence", &SequenceHandle);
    tsErrChkMsgPopup( TS_SequenceGetNumSteps(SequenceHandle, &errorInfo, TS_StepGroup_Main, &iNumofSteps));
    tsErrChkMsgPopup( TS_EngineNewStep (EngineHandle, &errorInfo, "", "SequenceCall", &sequenceCallStep));
    tsErrChkMsgPopup( TS_StepSetName ( sequenceCallStep, NULL, szName));
    tsErrChkMsgPopup( TS_SequenceInsertStep ( SequenceHandle, &errorInfo, sequenceCallStep, iNumofSteps, TS_StepGroup_Main ));
    error= TS_StepGetModule ( sequenceCallStep, &errorInfo, &sequenceCallStepModule);
    Now, need to add Module name and sequence name to call. I was tried with some function, but those are not supported (at least in tsapicvi.c)
    error= TS_SequenceCallModuleSetUseCurrentFile ( sequenceCallStepModule, &errorInfo, VTRUE);
    error= TS_SequenceCallModuleSetSequenceName ( sequenceCallStepModule, &errorInfo, SeqTarget_path);
     Also, I not found similar function to use instead. Can you help me with this ?
    Best regards,
    branar

  • Workflow question about output module names

    Hi!
    I have been working on a massive project that requires hundreds of lower thirds.
    After finishing the actual design, my workflow has been like this:
    1. Save the project with a new file name
    2. Replace the old text with the new one
    3. Save
    Before doing that, I have added the render comp to the render queue. For the output module name and location, I have used a template that automatically gives the output module the project name. This has been great, since I have only needed to enter a new project name when "saving as" and the render module has automatically taken that name for the output file name. A great speed saver when you have to do tens of repeats.
    Now here comes the problem:
    After I had created all the necessary AE-projects, I was thinking of importing all the projects in to a single AE-project and then simply hitting render (since all the output modules were automatically added to the render queue when importing the projects) so that I could leave the computer rendering for a few days and do something else in the mean while. BUT when I import the projects, the name for the output module changes for every item in the render que to represent the current project. In other words I loose all my carefully planned names that I used to have in the output modules, because AE replaces them with the current project name.
    Is there any way of keeping the workflow I described without having to rename all the output modules after importing the projects in to a single render project? Is there some other way to get a good workflow on a project like this?
    Any tips will be highly appreciated!

    Should be perfectly doable to iterate through the appProjectIItem list. Off hand I'm not sure if it recognizes folders, though, so maybe it will be a bit more tricky to get what you want. IMO the safest way to avoid any confusion would be to have the script itself do the import. That way it can store the name of the imported file as a variable or some text file and reuse it when it renames the RQ items...
    Mylenium

  • Application crashes in Windows 7 64bit made in Labview 2010 sp1 f2 with Fault module name%3A lvrt.dll%2C version 10.0.0.4033 and exception code c0000005

    I build an application exe and then its installer along with run time environment.
    The installers instals the application correctly but when I try to execute the application, I get an error that application has crashed and Windows must close it down or search for solutions online with this additional information for the crash. 
    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: AGMS.exe
    Application Version: 1.3.0.0
    Application Timestamp: 4c24e8f5
    Fault Module Name: lvrt.dll
    Fault Module Version: 10.0.0.4033
    Fault Module Timestamp: 4c9273f4
    Exception Code: c0000005
    Exception Offset: 00005310
    OS Version: 6.1.7601.2.1.0.256.1
    Locale ID: 1033
    Additional Information 1: 0a9e
    Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
    Additional Information 3: 0a9e
    Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
    Read our privacy statement online:
    http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
    C:\Windows\system32\en-US\erofflps.txt
    I am using labview 2010 sp1 32 bit on a 64-bit machine, with the following specs
    Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.130318-1533)
    Language: English (Regional Setting: English)
    System Manufacturer: Dell Inc.
    System Model: Dell System XPS L502X
    BIOS: Default System BIOS
    Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz (8 CPUs), ~2.0GHz
    Memory: 8192MB RAM
    Available OS Memory: 8106MB RAM
    Page File: 3457MB used, 12753MB available
    Windows Dir: C:\Windows
    DirectX Version: DirectX 11
    DX Setup Parameters: Not found
    User DPI Setting: Using System DPI
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    DxDiag Version: 6.01.7601.17514 32bit Unicode
    The exe /application runs fine on my PC but when I try to run it on another PC it crashes. The other PC has similar specs as given below
    Operating System: Windows 7 Ultimate 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.140303-2144)
    Language: English (Regional Setting: English)
    System Manufacturer: LENOVO
    System Model: HuronRiver Platform
    BIOS: Default System BIOS
    Processor: Intel(R) Core(TM) i3-2330M CPU @ 2.20GHz (4 CPUs), ~2.2GHz
    Memory: 4096MB RAM
    Available OS Memory: 4010MB RAM
    Page File: 1359MB used, 6658MB available
    Windows Dir: C:\Windows
    DirectX Version: DirectX 11
    DX Setup Parameters: Not found
    User DPI Setting: Using System DPI
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    DxDiag Version: 6.01.7601.17514 32bit Unicode
    I tried another machine, 64 bit of course, as I want to deploy my application on a 64bit PC, but still got the same problem.
    This other machine was from HP, iCore 3 (4 CPUs) 2.2GHz, 4GB RAM and running Windows Professional 64 bit.
    Now as I see it, it could be a Run-time environment mis-match error.
    For this I tried installing a 64 bit LVRTE from NI, but still no sucess.
    I checked DEP, for all 3 PCs and it was set to the following
    Turn on DEP for essential Windows programs and services only (first option).
    I am confused. I can not find a solution for this and it is really frustrating.

    But I am assuming that when I make the installer, the 32-bit Run Time Engine is appened with the installer, as show below
    Since from the picture you can see its including the support installers from '\Program Files (x86)\'
    The application runs queries to fetch data from database in SQL server 2008, and for that I am using a Microsoft SQL Native Client 2008 R2 64 bit ( this is the only version that installs on either PC, even the one on which I developed my LV Application).
    I am not using any driver, only toolkits for reports - and for that I un-checked the "Remove unused polymorphic VI instances" when making the executable, otherwise LV throws up an exception that share variable are not being included.
    Yes I did reboot every time after I ran the installation.
    Still getting the same error.

  • Function module(first name and last name as a parameter with table)

    hi,
    i just want to know how i match input value in function module with the self created ztable first name and last name as a parameter in function module(import).
    regards
    Ankur

    thanks for your help actually i am concatename first_name last_name into full_name
    import parameter
    FIRST_NAME like ZANKUR-FNAME first name
    LAST_NAME like ZANKUR-LNAME last name
    export parameter
    full_name like zankur full name
    excaption
    error if name not matched
    source code
    concatename first_name last_name into full_name

  • Function Module to get pernr number based on first name and last name

    Hi All,
    What is the Function Module to get pernr number based on first name and last name.
    Could you please help me.
    T@R.
    Vidya

    hi Vidya,
    you can get perner from PA0002 based on firs name and last name.
    use select query and get perner.

  • Hello friends, my itunes has stopped working. and the problem report stated the following: Fault Module Name:     KERNELBASE.dll   Fault Module Version:     6.1.7601.17514.................. please can anybody help me?hello friends, my itunes has stopped w

    Hello everybody> my itunes has stopped working and the problem report stated the following:
    Problem signature:
      Problem Event Name:    APPCRASH
      Application Name:    iTunes.exe
      Application Version:    10.5.3.3
      Application Timestamp:    4f14cc3d
      Fault Module Name:    KERNELBASE.dll
      Fault Module Version:    6.1.7601.17514
      Fault Module Timestamp:    4ce7b8f0
      Exception Code:    80000003
      Exception Offset:    0003381b
      OS Version:    6.1.7601.2.1.0.256.1
      Locale ID:    1033
      Additional Information 1:    0a9e
      Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:    0a9e
      Additional Information 4:    0a9e372d3b4ad19135b953a78882e789
    can anybody help me?

    Are you seeing a similar message when launching QuickTime Player?
    What security software is installed on the computer? Have you tried testing in an admin account or after uninstalling tthe security software?
    Use one of the following articles to guide you through removing iTunes and the related QuickTime files.
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7

  • Itunes not workin and the problem displays - m signature:   Problem Event Name:     BEX   Application Name:     iTunes.exe   Application Version:     10.5.3.3   Application Timestamp:     4f14cc3d   Fault Module Name:     QuickTime.qts_unloaded   Fault Mo

    i tunes not working and the problem its displaying is
      m signature:
      Problem Event Name:    BEX
      Application Name:    iTunes.exe
      Application Version:    10.5.3.3
      Application Timestamp:    4f14cc3d
      Fault Module Name:    QuickTime.qts_unloaded
      Fault Module Version:    0.0.0.0
      Fault Module Timestamp:    4cf45322
      Exception Offset:    706e1040
      Exception Code:    c0000005
      Exception Data:    00000008
      OS Version:    6.1.7601.2.1.0.256.1
      Locale ID:    1033
      Additional Information 1:    0a9e
      Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:    0a9e
      Additional Information 4:    0a9e372d3b4ad19135b953a78882e789
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt
      please help.

    im having this problem to ive uninstalled and installed but this still comes up!!
    Problem signature:
      Problem Event Name:    BEX
      Application Name:    iTunes.exe
      Application Version:    10.7.0.21
      Application Timestamp:    504d85d9
      Fault Module Name:    StackHash_0a9e
      Fault Module Version:    0.0.0.0
      Fault Module Timestamp:    00000000
      Exception Offset:    00000000
      Exception Code:    c0000005
      Exception Data:    00000008
      OS Version:    6.1.7601.2.1.0.768.3
      Locale ID:    5129
      Additional Information 1:    0a9e
      Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:    0a9e
      Additional Information 4:    0a9e372d3b4ad19135b953a78882e789

  • Application Crashes with Problem Event Name:BEX64 and Fault Module Name:MSVCR110.dll

    After building my application in VS2012 Update 4 ,application started crashing with the below mentioned problem signature.
    Problem signature:
      Problem Event Name: BEX64
      Application Name: App.exe
      Application Version: 1.0.0.1
      Application Timestamp: 52fdbd9d
      Fault Module Name: MSVCR110.dll
      Fault Module Version: 11.0.51106.1
      Fault Module Timestamp: 5098826e
      Exception Offset: 000000000006d4f9
      Exception Code: c0000417
      Exception Data: 0000000000000000
      OS Version: 6.1.7601.2.1.0.274.10
      Locale ID: 1033
      Additional Information 1: 1032
      Additional Information 2: 103247eabca85d12954263c679d66e19
      Additional Information 3: 7fa2
      Additional Information 4: 7fa2470b0fea6279055c0db583abca71
    Any help is appreciated.

    Hi,
    To debug this kind of issue, we recommend you to post in MSDN forum because they are more familiar with developing and debugging app:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=visualstudio
    If you have any feedback on our support, please click
    here
    Alex Zhao
    TechNet Community Support

  • My system is crashing and vies the following:  Problem signature:   Problem Event Name:     APPCRASH   Application Name:     Acrobat.exe   Application Version:     11.0.10.32   Application Timestamp:     547e97af   Fault Module Name:     Accessibility.api

    My system is crashing
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name: Acrobat.exe
      Application Version: 11.0.10.32
      Application Timestamp: 547e97af
      Fault Module Name: Accessibility.api
      Fault Module Version: 11.0.10.32
      Fault Module Timestamp: 547e9587
      Exception Code: c0000005
      Exception Offset: 00038776
      OS Version: 6.1.7601.2.1.0.256.48
      Locale ID: 1033
      Additional Information 1: 0a9e
      Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
      Additional Information 3: 0a9e
      Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt

    Hi Sue,
    Does this happen with any particular file or all files?
    Since the crash report above mentions accessibility.api, so are you working on any related function like adding tags etc. when Acrobat crashes?
    Disable all the 3rd party services working in the background and check.
    Regards,
    Rave

  • I can't open any of my Word documents on my Apple Mac. The error code is EXC_CRASH (SIGABRT) and the  blame module name is WordArt. The documents are still there, and I can open them on my iPad when I email them there. Any ideas?

    I can't open any of my Word documents on my Apple Mac. The error code is EXC_CRASH (SIGABRT) and the blame module name is WordArt. The documents are still there, and I can open them on my iPad when I email them there. Any ideas?

    Uhhhhh... Thank GOD... Got all of my files.
    Spent some time on the phone with Apple Care... who was great to deal with but actually... not as helpful as I was hoping. It was suggested that I try DiskWarrior 4 to try to recover the files. $108 later, I had no files.
    More calls with Apple Care and they were pretty sure that everything was gone since once the External drive was installed, like a moron, I let TimeMachine go ahead and back up my new MacBook... so it overwrote who knows how many gig that was my entire MacBook.
    I wasn't giving up so I called Maxtor, the manufacturer of the external drive itself. They suggested file recovery software from I365... which is also a Seagate company (the makers of the drive). The suggested I simply use their demo because the demo version would find the files. If it found them, I could buy the software to restore them.
    It found them! Another $129 after and I was able to restore all of them back to my old PC laptop.
    NOW, I just need to figure out how to get the 50gig of HD video files off of my old laptop now and into my Mac and IMovie so I can actually make some DVDs out of them!
    I get that Macs and PCs are different formats but I think it is ridiculous that formatting still means basically just wiping out or at least treating massive lots of old data as if it isn't there. There's gotta be a better way to do that.

  • My itunes will not work and this is the error message. Problem signature:   Problem Event Name:     BEX   Application Name:     iTunes.exe   Application Version:     11.0.1.12   Application Timestamp:     50c8fc7e   Fault Module Name:     QuickTime.qts_un

    Problem signature:
      Problem Event Name:          BEX
      Application Name:          iTunes.exe
      Application Version:          11.0.1.12
      Application Timestamp:          50c8fc7e
      Fault Module Name:          QuickTime.qts_unloaded
      Fault Module Version:          0.0.0.0
      Fault Module Timestamp:          4ea5d609
      Exception Offset:          653f1040
      Exception Code:          c0000005
      Exception Data:          00000008
      OS Version:          6.1.7601.2.1.0.768.3
      Locale ID:          1033
      Additional Information 1:          0a9e
      Additional Information 2:          0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:          0a9e
      Additional Information 4:          0a9e372d3b4ad19135b953a78882e789

    I am encountering the same thing as I am trying to restore my iPhone. How to fix this? I tried repairing iTunes. Still having the issue.

Maybe you are looking for