Date update using OBFUSCATION

Hello,
I'm trying to encrypt dates in a DATE type field.  If I perform a select, it encrypts the field:
select dob,dbms_obfuscation_toolkit.md5( input_string => dob ),
from person where person_id = 138;
However, when I try and perform the update, it throws ORA-01858: a non-numeric character was found where a numeric was expected:
update person
  set dob = dbms_obfuscation_toolkit.md5( input_string => dob )
where person_id = 138;
I also tried, but neither of these worked:
     set dob = dbms_obfuscation_toolkit.md5( input_string => to_char(dob,'DD-MON-YY') )
set dob = dbms_obfuscation_toolkit.md5( input_string =>to_date( to_char(dob,'DD-MON-YY'),'DD-MON-YY') )
Thanks,
John

I'm trying to encrypt dates in a DATE type field.
YOU can't do that. Only Oracle can do that.
Anything that you encrypt will have to be stored in a datatype that supports the characters your data might have. That will typically be a BLOB.
See the Advanced Security doc
http://docs.oracle.com/cd/B28359_01/network.111/b28530/asotrans.htm
3 Securing Stored Data Using Transparent Data Encryption
Transparent data encryption enables you to encrypt sensitive data, such as credit card numbers, stored in table columns. Encrypted data is transparently decrypted for a database user who has access to the data. Transparent data encryption helps protect data stored on media in the event that the storage media or data file gets stolen.
3.1.3 How Transparent Data Encryption Works
Transparent data encryption is a key-based access control system. Even if the encrypted data is retrieved, it cannot be understood until authorized decryption occurs, which is automatic for users authorized to access the table.
When a table contains encrypted columns, a single key is used regardless of the number of encrypted columns. This key is called the column encryption key. The column encryption keys for all tables, containing encrypted columns, are encrypted with the database server master encryption key and stored in a dictionary table in the database. No keys are stored in the clear.
As shown in Figure 3-1, the master encryption key is stored in an external security module that is outside the database and accessible only to the security administrator. For this external security module, Oracle uses an Oracle wallet as described in this chapter. Storing the master encryption key in this way prevents its unauthorized use.

Similar Messages

  • Due date update using GP APIs?

    Hi all
    I am working on the Due date update using GP APIs, I have done it at the "process" level. However I dont know how to trigger it at an activity level using GP APIs.
    Please tell me how to gain access to the Activity (Action) instance of the next processor from the current one? I have set the Due date statically at the process and activity level. Now I wish to allow the user to change the due date dynamically using GP APIs at the <b>activity</b> level.
    Ideas pls......
    regards
    LNV

    An other one!! I have set the due date manually in the process yet I dont see it in the UWL. Any thoughts on this? Thanks again.

  • PIR Tariff Preference data  update using BAPI/FM

    Hi Experts,
    I have a business requirement to update the "Vendor Declaration" data in the PIR.
    Change PIR (ME12)  -- > Extras --> Tariff Preference
    We want to update the following fields from a ABAP program.
    LFEI-WERKS
    LFEI-GZOLX
    LFEI-PRENE
    LFEI-PRENG
    Can you please suggest any standard BAPI/ Function Module to update the same,
    Regards
    Gobinathan G

    batch input RM06IBI0 can be used to update those fields

  • Problem: Z table data updates using SM30

    Hi,
    I have a requirement, while updating records in a Z table
    using SM30 Transaction.
    The Structure of the table is below:
    APMOD    Primary Key   Char(3)
    KONST    Primary Key   Char(20)
    ENDDA    Primary Key   DATS
    BEGDA    Non Key       DATS   
    and some other non key fields....
    Problem:  This table should act something like Infotype in HR.  I mean Delimition of Records while creating or changeing the existing record.
    Say there is a record
    APMOD = OGMT
    KONST = Organization Management
    BEGDA = 01/01/2004
    ENDDA = 12/31/9999
    Whenever i am Inserting a new record with key
    APMOD = OGMT and KONST = 'Organization Management'
    and BEGDA = '01/01/2006'.
    First it should update the old record with
    BEGDA = 01/01/2004 and ENDDA = 12/31/2005
    Then the new record needs to be inserted with
    BEGDA = 01/01/2006 and ENDDA = 12/31/9999.
    How can I achieve this using SM30? Can we write our own code somewhere? If yes Where and How?  Or is there any settings available for this requirement?
    I can write a Z program to update this Table, but i should achieve this using SM30 only.
    Let me know if you need any additional info. 
    Regards,
    Sudhakar.

    Hi Sudhakar,
    1. I tried the same at my end. It works fantastic !
       In  SM30 it shows
       'Delimit' Button
       'Expand <--> Collapse' Button.
        and accordingly delmits the records.
    2. in SE11,
       Use the menu
       Utilities ---> Table Maintenance Generator
       and finally build a table maintenance
       to use in SM30.
    3. When u use in SM30,
       u will achieve what u want.
    4. Just make sure your field
       ENDDA has the data element ENDDA
       in table definition.
      It should also be key.
    5. After this ENDDA column,
       there should be no other key column
      ( not even BEGDA)
    I Hope it helps.
    Regards,
    Amit M.

  • Item Master Data Update using DTW

    hello all,
    i want to update my Item Master Data using DTW, and i am experiencing a problem, when i use a comma delimeted ex. this line
    BEARING, BALL, # 307, DTW will put it in a different field, while if i will use a text tab delimeted on the same line the result will be "BEARING, BALL, # 307" and i cant acheive what i want. this is the exact description i want
    Original Data                       :BEARING, BALL # 307
    Using Comma Delimeted          :BEARING next field(BALL # 307)
    Using Tab Delimeted          :"BEARING, BALL, # 307"
    Desired item Description             :BEARING, BALL, # 307
    Please guide
    thanks,
    Fidel

    Hai!
    Check this note
    [631504|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0000631504]
    Why so is, we don't knw the DB structure. I won't be a updation of single Field or Table it may have link's.

  • Mass data update in Value mapping table

    Hi ,
      I have used Value mapping replication to update the mass data from external source to Value mapping table . Its updatating in Runtime Cache but i want the data to be visible in GUI Value mapping table as well. Is it possible ? Because i doubt that the data in Runtime Cache may get  removed if the system restarts . Can any one help ?
    Thanks
    Laks

    Hi NALLAM GUNA RANJAN,
      Thanks for your prompt reply but i didn't get what you are trying to convey . My issue here is
    Instead of manually entering key-value pair in Value mapping table , I used Value mapping replication ( http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/frameset.htm )
    Its updating the data in Runtime Cache ( you can see this using Cache Monitoring )  but not able to view the data in Actual Value mapping Table (GUI in Directory of SAPXI) I want the data updated using Replication to be visible in GUI table is it possible ?
    Hope you got the question much better now
    Thanks
    Laks

  • PXI-4071 Calibration Date Update

    Is there a process to have the internal Calibration Date update [using the Cal Executive software] without running the adjustment-reverify routines?

    Hi sbdata,
    In general, unless an actual adjustment is performed, then the EEPROM is not written to and the calibration dates will remain the same. That said, if you open an external calibration and then close it, the calibrated date will be set to the current system time.
    Jeff Munn
    Applications Engineer
    National Instruments

  • When the apple review team review our app,they point out that our  app uses a background mode but does not include functionality that requires that mode to run persistently.but in fact,when the app in background ,the app need data update to make the

    when the apple review team review our app,they point out that our  app uses a background mode but does not include functionality that requires that mode to run persistently。but in fact,when the app in background ,the app need data update to make the function of  trajectory replay come ture。in fact, we have added function when the app  is in background mode。we have point out the point to them by email。but they still have question on the background mode,we are confused,does anyone can help me,i still don't know why do review team can't find the data update when  the app is in background and how do i modify the app,or what is the really problem they refered,do i misunderstand them?
    the blow is the content of the review team email:
    We found that your app uses a background mode but does not include functionality that requires that mode to run persistently. This behavior is not in compliance with the App Store Review Guidelines.
    We noticed your app declares support for location in the UIBackgroundModes key in your Info.plist but does not include features that require persistent location.
    It would be appropriate to add features that require persistent use of real-time location updates while the app is in the background or remove the "location" setting from the UIBackgroundModes key. If your application does not require persistent, real-time location updates, we recommend using the significant-change location service or the region monitoring location service.
    For more information on these options, please see the "Starting the Significant-Change Location Service" and "Monitoring Shape-Based Regions" sections in the Location Awareness Programming Guide.
    If you choose to add features that use the Location Background Mode, please include the following battery use disclaimer in your Application Description:
    "Continued use of GPS running in the background can dramatically decrease battery life."
    Additionally, at your earliest opportunity, please review the following question/s and provide as detailed information as you can in response. The more information you can provide upfront, the sooner we can complete your review.
    We are unable to access the app in use in "http://www.wayding.com/waydingweb/article/12/139". Please provide us a valid demo video to show your app in use.
    For discrete code-level questions, you may wish to consult with Apple Developer Technical Support. When the DTS engineer follows up with you, please be ready to provide:
    - complete details of your rejection issue(s)
    - screenshots
    - steps to reproduce the issue(s)
    - symbolicated crash logs - if your issue results in a crash log
    If you have difficulty reproducing a reported issue, please try testing the workflow as described in <https://developer.apple.com/library/ios/qa/qa1764/>Technical Q&A QA1764: How to reproduce a crash or bug that only App Review or users are seeing.

    Unfortunately, these forums here are all user to user; you might try the developer forums or get in touch with the team that you are working with.

  • I've deleted Adobe Reader 11 and rebooted and reinstalled Adobe Reader 11 and I still get the error message that 'Adobe Reader is blocked because it is out of date'. Using Windows XP with the latest updates (SP3).

    I've deleted Adobe Reader 11 and rebooted and reinstalled Adobe Reader 11 and I still get the error message that 'Adobe Reader is blocked because it is out of date'. Using Windows XP with the latest updates (SP3).

    Screenshots attached to email replies will not make it back to the forum; you need to login to the forum and post it in your topic using the camera icon in the editor.
    Google Chrome is a problem:
    if you use Chrome's own PDF viewer, the results are unpredictable.
    if you use the Adobe Reader plugin with Chrome, it may reject (block) it if it is not the latest version.  Reader 11.0.08 is the latest version for Windows XP, but Chrome may insist on the current version 11.0.10.
    My suggestion; use a different browser!

  • Load status in PSA "Request not updated to any data target using delta"

    Hi,
    I need to delete the Unwanted request from PSA with status u201CRequest not updated to any data target using deltau201D
    There are lot of requests are there in PSA but some of them loaded with status
    u201CRequest updated in Data targetu201D u2013 I donu2019t want delete this requests.
    Others u201CRequest not updated to any data target using deltau201D  -- need to delete
    We are deleting manually every week end.
    Is there any program or tables which can delete automatically unwanted u201C Request not updated to any data target using deltau201D requests from PSA.
    Thanks for your help in Advance,
    Raj.

    Hi Rajesh,
    You may create a simple process chain, where you could include the variant "Delete PSA Request".At the bottom of this variant maintenace screen you would find options exactly matching your requirements.It's a very simple option and should not take you more than 5 minutes.
    Best Regards,
    Bansi.

  • Master data loads Request not updated to any data target using delta

    When checking the PSA the request updated ICON has red triangle and the mouse over says
    "Request not updated to any data target using delta".
    I am doing full loads for text data and both full and delta's loads for Attributes. This is BI 7.0 system but the loads are still from 3.1.  DTP has not been implemented yet. The system was just upgraded in July.  I am unable to schedule deletes from the PSA for successful loads.  However, I think the data is updating to the info objects.  My Info package has the selection to PSA then in the InfoObject package by package.  
    How do I schedule the deletes from PSA and why does the Request updated show red but the monitor for the info package show green?
    Edited by: Joe Mallorey on Jan 27, 2009 5:46 PM

    Hi shikha,
    The load has not failed but I am unable to delete the load from the PSA.
    If you do a manage on the Data Source or go to PSA from RSA1 the first column has the green gear icon instead of a green check mark I have red triangle the mouse over says "request not updated to any data target using delta" The data has loaded to info object. I am trying to schedule deletes from the PSA and using the option to "delete only successfully booked/updated requests" So how do I get the request updated column to show a green check mark so my deletes will Process? This is for master data only. My transactions load fine and delete properly according to my settings.
    Thanks for the reply.
    Regards,
    JoeM

  • Request not updated to any data target using delta

    I am on BI 70 using 70 DataSource.  I executed InfoPackage in full update, then ran DTP in full mode.  There is only 1 data target.  The requests were successfully updated in the target DSO.  However, when I checked the datasource PSA, the requests were showing u201CRequest not updated to any data target using deltau201D with red triangle. 
    My questions are:
    1.  Is this normal?
    2.  I need to do more full loads.  When I run DTP (in full mode) again, will it re-load those PSA requests (the ones already in DSO) to the same data target?
    Thank you.
    Rebecca

    Hi Rebecca,
    To answer your questions
    1. Yes. This is normal.
    2. Yes. When you run DTP in Full Mode again, this PSA request (along with any other subsequent loads you might have done to PSA)  would be re-loaded to the same data target .
    If this is not required you can set the DTP to delta mode. This ensures that the PSA request is updated to data target only once.
    Hope this helps!
    - Meera

  • PSA showing Request not updated to any data target using delta

    Hi BWers,
    I am very new to SAP and have a IDES installed with BW. I am trying to do a simple data load from a flat file. I have managed to create a InfoPackage, but when I schedule it and then go into the data source -> manage and look at the screen :
    Requests for PSA /BIC/Bxxxx
    I see the Request updated having a Red triangle with an exclamation mark in it and it says
    "Request not updated to any data target using delta"
    Wondering if someone can help me resolve this so that I can further create a DTP and load the data into the InfoObject.
    Thanks for all your help.
    Manish

    Reg : Delta Load : Production Data
    Current Scenario :
    we have existing system pulling data from 0CO_OM_WBS_6 ,ZPS_0CO_OM_NWA_2
    Structure underlying infocube:
    2 Data Sources >> 1DSO >>1 Infocube .
    Usually the Data is loaded in delta format on daily basis using process chains.
    For last one month the delta is not picking properly :
    Example :
    A WBS Element is created 2 years back and it open and getting its update into BW ,
    latest amount or cost incurred for the WBS Element is not picked for certain WBS only :
    I have Tried Giving a Full Infopack load to the DSO , but as DataStructure was migrated from 3.5 to 7 landscape :
    its showing this error:
    Request not updated to any data target using delta,
    i went and created DTP which didnt help much Because latest isnt caputered .
    if i goto RSA1old and find the full req and trigger it ,it says inti overlapping ,
    how to over come this as this is a production issue
    Obaid : pls help me on this issue , any others expert pls help

  • Regarding REFRESHING of Data in Data warehouse using DAC Incremental approa

    My client is planning to move from Discoverer to OBIA but before that we need some answers.
    1) My client needs the data to be refreshed every hour (incremental load using DAC) because they are using lot of real time data.
    We don't have much updated data( e.g 10 invoices in an hour + some other). How much time it usually takes to refresh those tables in Data wareshouse using DAC?
    2) While the table is getting refreshed can we use that table to generate a report? If yes, what is the state of data? Stale or incorrect(undefined)?
    3) How does refresh of Fin analytics work? Is it one module at a time or it treats all 3 modules (GL, AR and AP) as a single unit of refresh?
    I would really appreciate if I can get an answer for all the questions.
    Thank You,

    Here you go for answers:
    1) Shouldn't be much problem for a such small amt of data. All depends on ur execution plan in DAC which can always be created as new and can be customized to load data for only those tables...(Star Schema) ---- Approx 15-20 mins as it does so many things apart from loading table.
    2) Report in OBIEE will give previous data as I believe Cache will be (Shud be) turned on. You will get the new data in reports after the refresh is complete and cache is cleared using various methods ( Event Polling preferred)
    3) Again for Fin Analytics or any other module, you will have OOTB plans. But you can create ur new plans and execute. GL, AR, AP are also provided seperate..
    Hope this answers your question...You will get to know more which going through Oracle docs...particular for DAC

  • Unable to run bapis for project status update and date update together

    Hi Experts,
    I have a requirement to update the dates and status of a project WBS at level 4. I am trying to do update the CJ02 Transaction using standard BAPI available. I need to do both Date update and status update in the same LOOP PASS   i am using the below mention bapi. when i am doing so i am getting an error Project 'A._____' has been currently processed by ID i.e. my id.
    I have tried putting  a wait for 2 seconds in the code but its still not working. please find the order below in which i am calling the bapi.
    Loop at itab.
    if  date_changed = 'X'.
          CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'
          READ TABLE it_error WITH KEY message_type = c_e.
          IF sy-subrc <> 0.
    Commit
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                 EXPORTING
                      wait   = c_x
                 IMPORTING
                      return = s_ret.
       endif.
    endif.
    if Status_change = 'X'.
          CALL FUNCTION 'BAPI_PS_INITIALIZATION' .
          CALL FUNCTION 'BAPI_BUS2054_SET_STATUS'
          READ TABLE t_result WITH KEY message_type = c_e.
          IF sy-subrc NE 0.
            CALL FUNCTION 'BAPI_PS_PRECOMMIT'
                 TABLES
                      et_return = t_ret.
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                 EXPORTING
                      wait   = c_x
                 IMPORTING
                      return = s_ret.
         ENDIF.
    endif.
        WAIT UP TO 4 SECONDS.
    endloop.

    Try to use
    SET UPDATE TASK LOCAL.
    before each BAPI call.
    Did you try to debug through your code, leaving sufficient time between BAPI calls? If it does work like that, then the above statement might help.

Maybe you are looking for