Get old and new text of a VIEW at DDL trigger
Is it possible to get the old and the new text of a view at the DDL triggers
Hi,
Don't know regarding later Oracle versions but with 8.1.7.3.0 you cannot base system triggers on tables or views: Ora-30506.
Regards,
Andrew Velitchko
BrainBench MVP for Developer/2000
http://www.brainbench.com
Similar Messages
-
Get old and new values from DBTABLOG table
Hi,
I am developing a report to display all changes to some fields of PKHD table over a date range. CDHDR & CDPOS do not capture the changes while DBTABLOG does. But the variable key field (LOGDATA) in DBTABLOG does hold encrypted values which need to be decrypted. Is there any FM or a way out to get them ?
Please let me know. Thanks a lot.
Regards
NeerajUse DBLOG_READ and then work with the data like in the following sample
* Constants (cf. SAP RSVTPTOP)
CONSTANTS: type_i4 LIKE x031l-fieldtype VALUE 'AC', "UF160698B
type_i2 LIKE x031l-fieldtype VALUE 'A8',
type_f LIKE x031l-fieldtype VALUE '88'. "UF160698E
* First - informations from directory
REFRESH fld_list.
CALL FUNCTION 'GET_FIELDTAB'
EXPORTING
langu = sy-langu
only = ' '
tabname = 'TEVEN'
withtext = 'X'
* IMPORTING
* HEADER =
* RC =
TABLES
fieldtab = fld_list
EXCEPTIONS
internal_error = 1
no_texts_found = 2
table_has_no_fields = 3
table_not_activ = 4
OTHERS = 5.
LOOP AT fld_list INTO fld WHERE keyflag = 'X'.
ADD fld-intlen TO keylen.
ENDLOOP.
* Then extract data log
REFRESH obj_list.
obj-tab = 'TEVEN'.
INSERT obj INTO TABLE obj_list.
CALL FUNCTION 'DBLOG_READ'
EXPORTING
from_day = s-aedtm-low
* FROM_TIME = '000000'
to_day = s-aedtm-high
* TO_TIME = '235959'
obj_list = obj_list
* ACCESS_DATABASE = 'X'
* ACCESS_ARCHIVES = ' '
* AUTO_ARCH_SEL = ' '
* USER_LIST =
CHANGING
log_list = log_list
EXCEPTIONS
archive_access_error = 1
no_archives_found = 2
OTHERS = 3.
* Extract data from returned tables
LOOP AT log_list INTO log.
LOOP AT fld_list INTO fld.
IF fld-keyflag = 'X'.
ASSIGN log-logkey+fld-offset(fld-intlen)
TO <hexa> TYPE 'X'.
ELSE.
fld-offset = fld-offset - keylen.
ASSIGN log-logdata+fld-offset(fld-intlen)
TO <hexa> TYPE 'X'.
fld-offset = fld-offset + keylen.
ENDIF.
CASE fld-inttype.
WHEN 's'.
f_type = type_i2.
WHEN 'I'.
f_type = type_i4.
WHEN 'F'.
f_type = type_f.
ENDCASE.
IF 'sIF' CS fld-inttype.
feld = <hexa>.
CALL FUNCTION 'DB_CONVERT_FIELD_TO_HOST'
EXPORTING
type = f_type
CHANGING
field = feld
EXCEPTIONS
wrong_param = 1
OTHERS = 2.
ASSIGN feld TO <hexa> TYPE 'X'.
ENDIF.
ASSIGN <hexa> TO <char> TYPE 'C'.
teven+fld-offset(fld-intlen) = <char>.
ENDLOOP.
* Here structure teven is filled
ENDLOOP.
Regards -
Like I wrote on title, I am getting old and it is not easy to see E-mails, news etc. on a I phone! New I phone will not help me for the size.
If possible, everything without calls, I would like to use I Pad as direct unit, and for calls through I Pad over WIFI all calls. If a call as Skype, I would like
to use the I Pad as a monitor. Is this possible?
I found on a side that there is a product for people for better hearing, which can be put into the ears, using WIFI with I Phone.
If this product could be used also for I Pad as a Phone for hearing, and the I watch or I Pad as Microphone, it will be great for old Mac users.
Is this possible with our system know?
I am using Mac since Classic II! Would like to continue with the newest items with the possibility for old person with bad Eyes or Ears.
Looking forward for a kind answer
with regards
Christian an old Mac user!Definitely No
-
My computer gets old and slow, and i"ll must get a new one, can I download my PS CC version at my new one.? I have an PS CC account.. Which steps must I take?
hello; i just erased the post i started with, because my status has changed. i searched in the firefox folder and found the uninstall folder, and this time, uninstall worked perfectly, and it gave me an option to save my personal info! YAY! i installed ff 3.6.24 without a hitch; FF is Baaaaaack!
However, I did get a window saying my computer doesn't have enough resources for the latest version of 8, but that I should install the latest compatible version of firefox; which version would that be, I wonder? It takes me to the same page with the ff 3.6.24 downloads. I already have that now.
I am going to mark this as solved; thank you cor-el for helping me with this problem and sticking with me as i whined and moaned, and tried to get the courage to "just do it!" -
every time i rename my new places.sqlite to see my old history and come back rename old places.sqlite to see my new history, i tired and i found No Way to merge two places.sqlite :( but it's must be found this way for The PPL to see their old and new history :(
Thank You all in AdvanceYou can't merge history otherwise then using Sync to store the history and bookmarks of one places.sqlite on the Sync server and then disconnect.<br />
Copy the second places.sqlite file to your Firefox profile folder with Firefox closed.
Then setup Sync once again using that account and merge the content on the Sync server with your computer.
* Merge this device's data with my Sync data -
I want to delete the originals of document while changing the status of document based on CAD indicator status. For this I have implemented BADI DOCUMENT_STATUS01 and the method AFTER_CHANGE_STATUS. From this, the BADI is triggering whenever I am changing the document status and I can able to delete the originals. But here my requirement is to check the CAD indicator status to delete those originals. I.e. whenever the document status will change first time the CAD indicator status will also change. Based on that old and new status of CAD indicator I have to do delete operation.
If anybody has an idea about SAP documents please help me
Thank you,
Regards,
RameshFirst the document is exists in SAP in FR status. But when the CAD system will connect to SAP then the status is changing from ‘FR’ to ‘IN’ after that the CAD Indicator is populating from Blank to ‘X’.
I want to know in which place the CAD indicator value is changing (any user exits available or any BADI s available when changing the CAD indicator) when connected to CAD system. -
Recently my MacBook Air does not list devices that are cameras. It used to, but does not now. I have recently a) used MacKeeper, b) deleted movies, photos (thousands of those spawning ones) for space, c) installed ios 7 on my iphone, d) bought a Canon Power Shot SX 170is.
Image Capture, Image Browser EX, iphoto--nothing gets photos...nothing sees photos residing on my Canon PowerShots (old and new) or my iphone. Macbook Air can not find cameras.
Help. All cameras are rocks now.MacKeeper is considered Malwear and has destroyed many iPhoto libraries - read the user tip on it - https://discussions.apple.com/community/ilife/iphoto?view=documents - my best guess is that your problem was caused by MacKeeper - I suggest you remove it according to the instructions in that user tip
to test depress the option key and launch iphoto - create a new library and see if it works correctly with your cameras - post back with the results
LN -
Difference when using old and new PCA datasources
Hello experts,
We have implemented the new PCA datasources provided by business content version 3.3. We have built a new infocube (ZPCA_C01) as we were not concerned about the appropriate performance of these new datasources 0EC_PCA_3 and 0EC_PCA_4.
After loading the new cube (ZPCA_C01) with the new datasources 0EC_PCA_3 and 4, we made a comparison to the content of the old cube 0PCA_C01, that was loaded with 0EC_PCA_1.
For thesame period (2005.001-002) there is a difference between the contents of the cubes. When checking the results I found that this may be caused by the fact, that 0EC_PCA_4 does not populate "Total credit postings" and "Total debit postings" fields in the new cube, however, we have a couple of records in table GLPCA, where ACTIV = 'PRC4', and that have a corresponding record in GLPCT, where there is a figure in
TSL02 field. It results in the fact that>
- 0EC_PCA_1 extracts the figure from GLPCT for Posting Period 2,
- 0EC_PCA_4 does not extract the same figure from GLPCA.
Can you please help me with the above problem? Do you know how Credit and Debit figures get to BW from GLPCA, where ACTIV='PRC4'?
Thanks,
Csabauser10871298 wrote:
Hi
I am exeuting a trigger and while retrieving a date field from it using :OLD and :NEW variables, it leaves the timestamp part.
for example,the actual value for start_date field in the table is '10/12/2005 7:04:25 PM', but when I use :NEW.start_date , it returns only '10/12/2005' .
How to make it return the timestamp also?
Thanks.How are you determining that it's missing the time component from it?
If it's a DATE datatype then it will have both date and time components. If you take that and store it in a DATE datatype column then that too will store the date and time components. If you then go and view that data, it will have both date and time components unless you have your local settings (NLS settings etc) set so that dates are displayed without the time portion. That doesn't mean the data is not there, but that you are not displaying it when you query it. -
How to fetch old and new value from of a field(non-key) from LOGDATA
Hello SDNers,
i m fecthing LOgdata from dbtlog table[in our case the log is not getting Updated in CDHDR and CDPOS table]
i m using the same logic as it is used in RSVTPROT
but the problem is
" IT is fetching OLD and NEW VALUE after Update from same field LOGDATA of dbtlog table BUT when i used same logic it is FEtching only OLD VALUEs,
CAN U GUYS PLS TELL ME HOW TO FECTH OLD VALUE and NEW VALUE of a PArticular field(non-key field, fecthing key field is not an issue) From LOGDATA field of DBTLOG.
thx a lot in advance
Regards
KuldeepHi,
May be this link is useful to you.
a® -
Error : Old and new exceptions cannot be used at the same time.
HI ALL,
i build a new exception class with message class and i want to replace the
old exception that i had in the method ,what i did is delete the exception from the method
signature and add the exception class .
the problem is that when i try to activate the method i get error :
Old and new exceptions cannot be used at the same time.
CALL FUNCTION 'CALCULATE_HASH_FOR_CHAR'
EXPORTING
alg = 'MD5'
data = iv_iss
IMPORTING
hash = lv_issu
EXCEPTIONS
unknown_alg = 1
param_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
RAISE EXCEPTION TYPE cx_user_mng EXPORTING
textid = cx_user_mng=>wrong_isrs.
ENDIF.
I want to use the new exception class ,
how can i avoid this error ?
Best Regards
Edited by: Joy Stpr on Jul 22, 2009 2:56 PM
Edited by: Joy Stpr on Jul 22, 2009 3:16 PMHi Joy,
Check this link.
[Old and New Exceptions Cannot be used at same time|Urgent problem, give me a hand;
Old and new exceptions cannot be used the same time, what does this mean???
Regards,
Lakshman. -
Fetching old and New Data in HRMS for 'Update' Transactions
Hi All,
I need to find out the old and new values for a person_id from HRMS tables (Per_all_people,Address,contacts etc) based on Person Id. Do we have any Standard Script or has someone prepared such script and can share with me. I am not expecting the Corrected records to be fetched as it overrides the same line but atleast for such records which comes under 'Update'.
For Example, If for Perso_id 123, the Telephone# was 8888 and then it is updated to 9999. So my query Should return somethign like:
Information From To Effective Date
Telephone 8888 9999 28-Nov-2011
Note: Can't use any triggers.
ThanksHi,
You need to include a new keyfigure in the cube and map with both the new and old compcodes and the write a field routine with the logic that meets your requirement by passing the values of PSPNR into the internal table and get the output for the keyfigure value. Also you use if else condition as per the requirement.
Hope this helps...
Rgs,
Ravikanth. -
TS1389 I am trying to authorize my new computer to download all old and new songs From my library
How do I authorize my new computer so I can download my old and new songs off my library
Authorization and Deauthorization
See iTunes Store- About authorization and deauthorization for Macs.
See How to Authorize or Deauthorize iTunes | PCWorld for Windows.
In iTunes you use the Authorize This Computer or De-authorize This Computer option under the Store menu in iTunes' menubar. For Windows use the ALT-S keys to access it.
More On De-authorizing Computers (contributed by user John Galt)
You can de-authorize individual computers, but only by using those computers. The only other option is to "de-authorize all" from your iTunes account.
1. Open iTunes on a computer
2. From the Store menu, select "View my Account..."
3. Sign in with your Apple ID and password.
4. Under "Computer Authorizations" select "De-authorize All".
5. Authorize each computer you still have, as you may require.
You may only do this once per year.
After you "de-authorize all" your authorized computers, re-authorize each one as required.
If you have de-authorized all computers and need to do it again, but your year has not elapsed, then contact: Apple - Support - iTunes - Contact Us. -
Reporting on old and new statistics data
Hello,
I have an upgraded system from 3.5 to BI 7.o version, and i have installed the Admin cockpit for statistics content.
Also in 3.5 version we have created Z* reports based on the multiprovider.
After upgrade it is not possible to get data from RSDDSTAT because it is obsolete and we can get data from new tables.
Now i want report based on the old statistics content as well as with new content.
How can i report based on old data and new data?
Please help me with valuable inputs.
Thanks in Advance.
Regards
M.A
Edited by: M.A on May 3, 2010 12:31 PM
Please give me suggestion how we can report based on old and new statistics data..Hello Anand,
Thanks for the response.
My requierment is I have my 3.5 statistics data in my info cube (0BWTC_C01 till C05). Now the system upgrade is done.
Now my report has to show me the statistics of 3.5 and BI 7.0 data together. Is it possible to create multiprovider based on 3.5 statistics content cube and BI 7.0 statistics cube?
Thanks,
Regards
M.A -
Combing lines in all of my footage old and new???
I am having combing lines problem with all of my footage. It doesnt matter if it is DV,HD, or uncompressed footage. On all of my projects old and new. Could this be a quicktime thing? It has affected all of my footage. I just noticed this the last time I worked with it all was fine???
FCP 6.0.4Never judge the quality of your footage on the computer monitor nor in the CANVAS or VIEWER. They lower the quality to allow for smooth playback.
I SHOUT in this stock answer...pardon that.
#2 Blurry Playback
Shane's Stock Answer #2: Blurry playback
ONLY JUDGE THE QUALITY OF YOUR MATERIAL ON AN EXTERNAL BROADCAST MONITOR, OR AT LEAST A TV.
The Canvas shows you what happens after the codec you are working with has been applied. The Viewer shows you the material in its native format. Once you drop the footage from the Viewer into the timeline, it inherits the attributes of the sequence. If it is a DV sequence, the footage will render out as DV.
1. Disable overlays on the Canvas.
2. Make sure you've rendered everything (no green bars at the top of the timeline).
Video playback requires large amounts of data and many computations. In order to maintain frame rate and be viewable at a normal size, only about one-fourth of the DV data is used in displaying the movie to the screen. However, the DV footage is still at full quality, and is best viewed thru a TV or broadcast monitor routed thru your camera or deck.
Shane -
I have been using one apple ID for my family as it makes it easier to manage itunes purchases/rentals on all of our devices. Now that my kids are getting old and my wife has recently purchased an Iphone, I can see that I need to change my strategy. I plan to add a few more iphones to the family very soon. What is your recommendation to manage all of our devices (iphones, itouch, apple tv) for my family? Can I continue to function with one apple ID or is it time to take the leep into attempting to manage multi-apple ID's?
There's a few ways of managing multiple devices on a single computer (and keeping seperate content on each). The following document is worth checking through:
How to use multiple iPods, iPads, or iPhones with one computer
Maybe you are looking for
-
Error message R6034 and Error 7 (windows error) 1114
Hi! I have tried installing the latest itunes update and it has failed. I get the runtime error message R6034 and Error 7 (windows error) 1114. I have tried many times, uninstalling and reinstalling the versions as advised in some of the related thre
-
To combine a multiple jsp pages in a one single page
hi all, my problem statement is, i have 5 tabbed panes i,e each in a jsp page i need to put all those information into one single jsp page...while submiting the data. so how can i do about this using jsp. regards geetha
-
How to call script in jsp 3A-_@. Feb 8, 2007 3:08 AM Hi, I have abc.jsp file where i want to call javascript on pressing submit button. <input type="text" name="UserName" value="" width="30" /> <input type="submit" value="Submit" onclick=" <what shou
-
Batch Determination during MIGO Movement 543 O
Dear All SAP Gurus, I want to know about batch determination during MIGO transaction for subcontracting cycle , movemnt type 543 O -consumption for parts provided to vendor. In Brief: Suppose clients executing subcontracting cycle and send the RM/PM
-
In ME38 can we add Version Management , Release Strategy
Hi, Is there any way to add Version Management and Release strategy in ME38. Thanks & Regards Sudhansu