How to find the last update date time and user of record field peoplecode
how to find the last update date time record field peoplecode?
Thank you.
One can check the last update date time using the following query
SELECT LASTUPDDTTM FROM PSPCMPROG WHERE OBJECTVALUE1 LIKE 'RECNAME' AND OBJECTVALUE2 LIKE 'FIELDNAME'
Similar Messages
-
How to find the last executed date ,time and user of the quaery
Hi,
How to find the following information of the Query
1. Where all the place these queries/web template used.
2. When was it last executed.
3. Who executed last.
Regards,
Harihi Hari,
you can try table /BI0/APERS_BOD00
for query, first go to table RSRREPDIR, give field COMPID
with query technical name and get GENUNIID, then go to table /BI0/APERS_BOD00, field TCTOBJNM = RSRREPDIR-GENUNIID, TCTUSERNM and TCTTIMSTMP -> user name and last executed.
for web template, give field TCTOBJNM in table /BI0/APERS_BOD00 with web template name.
hope this helps. -
How to find the Last modified date and time of a package
Hi,
We need a clarification on how to find the Last modified date and time of a package in Oracle. We used the example below to explain our scenario,
Lets consider the following example
Let A, B be two packages.
Package A calls the package B. So A is dependent on B.
When A is compiled the TIMESTAMP,LAST_DDL_TIME in USER_OBJECTS gets updated.
Now there a modification in package B so it is compiled. There is no modification in package A.
Now when the package A is executed the TIMESTAMP,LAST_DDL_TIME in USER_OBJECTS gets updated but we did not make any change in Package A. Now we need to find last modified date and time of the package A . So we can not rely on the TIMESTAMP,LAST_DDL_TIME in USER_OBJECTS . Can u please tell us any other solution to get last modified date and time of the package A .
Regards,
Vijayanand.CHere is an example:
SQL> SELECT OBJECT_NAME,CREATED,LAST_DDL_TIME,TIMESTAMP,STATUS FROM USER_OBJECTS
2 WHERE OBJECT_NAME = ANY('A','B');
OBJECT_NAM CREATED LAST_DDL_TIME TIMESTAMP STATUS
A 20-MAY-2004 10:57:32 20-MAY-2004 10:57:32 2004-05-20:10:57:32 VALID
B 20-MAY-2004 10:58:22 20-MAY-2004 10:59:04 2004-05-20:10:59:04 VALID
SQL> CREATE OR REPLACE PROCEDURE A AS
2 BEGIN
3 NULL;
4 NULL;
5 END;
6 /
Procedure created.
SQL> SELECT OBJECT_NAME,CREATED,LAST_DDL_TIME,TIMESTAMP,STATUS FROM USER_OBJECTS
2 WHERE OBJECT_NAME = ANY('A','B');
OBJECT_NAM CREATED LAST_DDL_TIME TIMESTAMP STATUS
A 20-MAY-2004 10:57:32 20-MAY-2004 11:01:28 2004-05-20:11:01:28 VALID
B 20-MAY-2004 10:58:22 20-MAY-2004 10:59:04 2004-05-20:10:59:04 INVALID
SQL> EXEC B
PL/SQL procedure successfully completed.
SQL> SELECT OBJECT_NAME,CREATED,LAST_DDL_TIME,TIMESTAMP,STATUS FROM USER_OBJECTS
2 WHERE OBJECT_NAME = ANY('A','B');
OBJECT_NAM CREATED LAST_DDL_TIME TIMESTAMP STATUS
A 20-MAY-2004 10:57:32 20-MAY-2004 11:01:28 2004-05-20:11:01:28 VALID
B 20-MAY-2004 10:58:22 20-MAY-2004 11:01:53 2004-05-20:11:01:53 VALID
Note that the date under the column 'created' only changes when you really create or replace the procedure.
Hence you can use the column 'created' of 'user_objects'. -
How to find the last modified date of a workflow.
How to find the last modified date of a workflow.
thanks.Hi,
There is nothing as standard that does this - you could write some code to determine the latest begin_date from each of the workflow tables and assume that this was the last time that the definition changed.
What you need is something like this:
select max(wfa.begin_date)
from wf_process_activities wpa
, wf_activities wfa
, wf_item_types_tl wit
where wpa.activity_item_type = wfa.item_type
and wpa.activity_name = wfa.name
and wfa.version = (select max(version) from wf_activities wfa1 where wpa.activity_item_type = wfa1.item_type and wpa.activity_name = wfa1.name )
and wpa.process_item_type = 'your item type'
and wpa.process_item_type = wit.namewhich I think gives what you want.
HTH,
Matt
Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
http://www.workflowfaq.com
http://forum.workflowfaq.com
NEW! - WorkflowFAQ Blog at http://thoughts.workflowfaq.com -
How to find out last update date for business partner's marketing attribute
How to find out last update date for business partner's marketing attribute??
Im freshie for SAP Application and im assigned to find out last update date for marketing attribute changed
which table is involved??
Yours kindness will be appreciated
thanksYou can take a look at table AUSP as well as CRMD_AUSP_HIST.
The "changed by" and "changed at" are logged on attribute level, not on attribute value level. When you change one specific value, the system does a "re-insert" of all existing values of this attribute.
Take a look at the SAP notes 938426 and 966670 these may assit you in resolving the issue.
Regards,
William Laverde -
How to find the last executed date of any program?
<<Frequently asked questions. So search>>
How to find the last executed date of any program?
is there any system variable or function module?
Edited by: Matt on Oct 5, 2010 12:48 PMcheck the transaction STAD.
Prabhudas -
How to find the last update on the datafile ?
Hi All,
Is there any way where I can find out the last update (DML) that was done on the datafile.
Thanks in advance,
HussainWhat is the business requirement you're trying to satisfy?
It doesn't really make sense to talk about DML on a data file. DML is applied to an object. That object resides in one or more tablespaces. Each tablespace has one ore more data files. So if you update table T which has partitions P1 and P2 in tablespaces TS1 and TS2 and each tablespace has two data files DF1 - DF4, are you really looking to determine when there was DML on T? On P1 or P2? On TS1 or TS2? Or do you really care which data file a particular update affected? What are you going to do with that information?
And are you really only concerned with DML? Not DDL? Or checkpoints? Or other things that cause the data file to change?
And does DML in this case include queries? What about SELECT FOR UPDATE statements?
Justin -
How to get the last update date
Hi Everyone,
I need to insert into a table the name of the package and date of the last updated version of the execution.
I was thinking in inserting from procedure into a table, the ID and system date into a table.
But I would like to know if there is another way, or better way of doing this.
I do appreciate your help and guidance.
Best regards.
J_ORCL
Edited by: J_ORCL on Apr 23, 2012 9:16 AMHey Atdi,
Thank you so much for your guidance and help.
What i do need is the following:
Once I am inserting/passing some data into a table from an excel file/Database to an Oracle Table in my environment, I do need now to get a record of the last update that has been inserted. And after that I will have to show that date on my screen, but that is something else.
So i have thought of inserting it with a store procedure over a new table that i will have to create or if ODI stores this information somewhere it will be really useful for me to retrieve from there.
In some cases I am passing data from one table to other using store procedures, because there is no link between them, but as this is a new scenario, which is why I am asking if ODI already does this for us, or if I will have to implement it myself.
Hope to be a bit clearer with this explanation.
Please do not hesitate to contact me if any further detail is required.
Best regards.
J_ORCL -
How to find the last run date of the report..
please any one one help me
how to find last run date of the report...
for example if my report is zgrir...if i am exuted in last week
if want to find when it executed
last run date is req
please any one help me...The trasaction stat is limited because i want all the execution date even if it is 3 years ago.
I have tryied the transaction st03 but it is limited to 3 months ago.
check transaction STAT and it's report RSSTAT00.
U can copy RSSTAT00 into ZRSSTAT00 and modify corresponding.
*& Report ZDSAP *
REPORT ZDSAP .
DATA: d_ref TYPE REF TO data,
d_ref2 TYPE REF TO data ,
i_alv_cat TYPE TABLE OF lvc_s_fcat,
ls_alv_cat LIKE LINE OF i_alv_cat.
TYPES tabname LIKE dcobjdef-name .
parameter: p_tablen type tabname.
data: begin of itab occurs 0.
INCLUDE STRUCTURE dntab.
data: end of itab.
FIELD-SYMBOLS : <F_FS> TYPE table,
<F_FS1> TYPE TABLE,
<F_FS2> TYPE ANY,
<F_FS3> TYPE TABLE.
REFRESH itab.
CALL FUNCTION 'NAMETAB_GET'
EXPORTING
langu = sy-langu
tabname = p_tablen
TABLES
nametab = itab
EXCEPTIONS
no_texts_found = 1.
LOOP AT itab .
ls_alv_cat-fieldname = itab-fieldname.
ls_alv_cat-ref_table = p_tablen.
ls_alv_cat-ref_field = itab-fieldname.
APPEND ls_alv_cat TO i_alv_cat.
ENDLOOP.
internal table build
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING it_fieldcatalog = i_alv_cat
IMPORTING ep_table = d_ref .
ASSIGN d_ref->* TO <F_FS>.
SELECT * FROM (p_tablen) INTO CORRESPONDING FIELDS OF TABLE <F_FS>.
LOOP AT <F_FS> ASSIGNING <F_FS2>.
*your code goes here.
ENDLOOP. -
How do I get the last changed date & time of a file in app server?
Hi Experts,
How do I get the last changed date & time of a file in app server?
Thanks!
- Anthony -Hi,
that's what I use...
CALL 'C_DIR_READ_FINISH'. " just to be sure
CALL 'C_DIR_READ_START' ID 'DIR' FIELD p_path.
IF sy-subrc <> 0.
EXIT. "Error
ENDIF.
DO.
CLEAR l_srvfil.
CALL 'C_DIR_READ_NEXT'
ID 'TYPE' FIELD l_srvfil-type
ID 'NAME' FIELD l_srvfil-file
ID 'LEN' FIELD l_srvfil-size
ID 'OWNER' FIELD l_srvfil-owner
ID 'MTIME' FIELD l_mtime
ID 'MODE' FIELD l_srvfil-attri.
* l_srvfil-dir = p_path .
IF sy-subrc = 1.
EXIT.
ENDIF." sy-subrc <> 0.
PERFORM p_to_date_time_tz
USING l_mtime
CHANGING l_srvfil-mod_time
l_srvfil-mod_date.
TRANSLATE l_srvfil-type TO UPPER CASE. "#EC TRANSLANG
PERFORM translate_attribute CHANGING l_srvfil-attri.
CHECK:
NOT l_srvfil-file = '.',
l_srvfil-type = 'D' OR
l_srvfil-type = 'F' .
APPEND l_srvfil TO lt_srvfil.
ENDDO.
CHECK NOT lt_srvfil IS INITIAL.
pt_srvfil = lt_srvfil.
FORM p_to_date_time_tz USING p_ptime TYPE p
CHANGING p_time TYPE syuzeit
p_date TYPE sydatum.
DATA:
l_abaptstamp TYPE timestamp,
l_time TYPE int4,
l_opcode TYPE x VALUE 3,
l_abstamp TYPE abstamp.
l_time = p_ptime.
CALL 'RstrDateConv'
ID 'OPCODE' FIELD l_opcode
ID 'TIMESTAMP' FIELD l_time
ID 'ABAPSTAMP' FIELD l_abstamp.
l_abaptstamp = l_abstamp.
CONVERT TIME STAMP l_abaptstamp TIME ZONE sy-zonlo INTO DATE p_date
TIME p_time.
ENDFORM. " p_to_date_time_tz
Regards,
Clemens -
Add Last Updated Date/Time to Cube
Is there a way that you can display a date field in EXCEL when a user logs in to a cube so that they can see when the cube was last updated (date/time)? I am currently attaching a note using linked objects but would like to find a more automated solution.
At a previous job, we managed to pick up the system date during the batch and write it into the Database/Set note (from app manager). I can't remember the exact details but pretty sure we used the API.Then people could see when they logged in whether the database had been updated or not.At another place we sent out automated e-mails at the end of each update to those users with access to the database.Ideas only I'm afraid but hope it helps.
-
After the last update every time my iphone4 reaches about 15% battery it shuts off and wont turn on until I plug it in. Why? i cant seem to figure out what to do. Restoring a backup does nothing, neither does syncing it.
Hello 8uhbbhu8,
After reviewing your post, I have located an article that can help in this situation. It contains a number of troubleshooting steps and helpful advice. You may want to consider a restore, and setting up as a new device:
iOS: How to back up your data and set up your device as a new device
http://support.apple.com/kb/ht4137
Thank you for contributing to Apple Support Communities.
Cheers,
BobbyD -
Sir,how to find the last DML operations
Hi,
Please tell me how to find the last DML Operations at least minimum 30 queries.
Thanks in advance,Shared Pool is a memory location in SGA that contains SQL Statement that are submitted to Oracle for execution. This area is common to the entire database. Its not specific to user.
So what ever Unique SQL statement that is submitted to the SQL Engine will be available here. Shared Pool has a size limit. That is defined by the parameters SHARED_POOL_SIZE and SHARED_POOL_RESERVED_SIZE. So when the Shared pool becomes full the data needs to be removed from it. That is done in FIFO basis.
Oracle provides a visibility to this area through dictionary view V$SQLAREA. So this view will not only contain the SQL executed by you but also by every one. Even the one executed by oracle itself.
So in my opinion what you are asking is not possible to get. You must have some logging mechanism in your application to get this information. -
Retrieve contact list via the API not with the last updated date but created date?
I can connect via the API and retrieve a list of contacts but it seems that the only paramater i can pass is to search since the last Update Date.
Is it possible to search on the Created date and to have a date range as well?
I found the xml result is slow to come as it gives all entries since the "lastUpdateDate" entered.A change in score does not cause the Date Modified field to change on the contact record. This field only changes when some data in one of the fields has changed.
However, some of the confusion can come from the fact that lead scores have a Profile and Engagement portion. So if you have certain fields on the profile section being modified, that would cause a rescore at the same time. Engagement criteria such as form submits often cause the contact record to be modified while website visits and email clicks/opens do not.
Hopefully this helps clarify,
Bojan -
Help find the Last run date from previous month
Hi all
I am stuck trying to find the Last Run Date from the previous month.
select distinct(date_ran) from TABLE X where date_ran like '%/11-%' order by date_ran desc gives
"03/30/11-06:19
"03/25/11-03:01
"03/24/11-03:00
"03/23/11-03:00
"03/22/11-03:00
"03/21/11-03:00
"03/18/11-03:00
"03/17/11-00:00
"03/16/11-06:31
"02/15/11-07:42
"02/15/11-06:00
"02/14/11-08:19
Here the result I am trying to acheive is 02/15/11-07:42 ;Note the column date_ran is a VARCHAR2(255) and not a TIMESTAMP
I tried
select ADD_MONTHS(to_date(max(date_ran), 'MM/DD/YYYY-HH24:MI'),-1)
from daily_tests_a
where date_ran like '%/11-%'
order by date_ran desc
which returns 2/28/0011 6:19:00 AM and that is not the result I am looking for
Regards
SMKWelcome to the forum!
user2931503 wrote:
Hi all
I am stuck trying to find the Last Run Date from the previous month.
select distinct(date_ran) from TABLE X where date_ran like '%/11-%' order by date_ran desc gives
"03/30/11-06:19
"03/25/11-03:01
"03/24/11-03:00
"03/23/11-03:00
"03/22/11-03:00
"03/21/11-03:00
"03/18/11-03:00
"03/17/11-00:00
"03/16/11-06:31
"02/15/11-07:42
"02/15/11-06:00
"02/14/11-08:19
Here the result I am trying to acheive is 02/15/11-07:42 ;Note the column date_ran is a VARCHAR2(255) and not a TIMESTAMPThat's a very bad idea. Points in time should always be stored in DATE (or maybe TIMESTAMP) columns. If not, you're going to waste resources converting them to DATEs whenever you need them to behave like DATEs, and risk run-time errors because of bad data.
Normally, the "previous" month means the month before the current month. In April, the previous month is March.
By "previous" month, do you mean the 2nd latest month in the table? That is, this data contains data from February and March, 2011; March 2011 is the latest of those months, February 2011 is the next-to-last, and so is that why you want a date from February?
I tried
select ADD_MONTHS(to_date(max(date_ran), 'MM/DD/YYYY-HH24:MI'),-1)
from daily_tests_a
where date_ran like '%/11-%'
order by date_ran desc
which returns 2/28/0011 6:19:00 AM and that is not the result I am looking for
Regards
SMKTry this:
WITH got_real_date AS
SELECT TO_DATE ( SUBSTR (date_ran, 1, 14)
, 'MM/DD/RR-HH24:MI'
) AS real_date
FROM table_x
-- WHERE ... -- If you need any filtering, put it here
SELECT TO_CHAR ( MAX (real_date)
, 'MM/DD/RR-HH24:MI'
) AS last_date
FROM got_month_num
WHERE real_date < (
SELECT TRUNC (MAX (real_date), 'MONTH')
FROM got_real_date
;Edited by: Frank Kulash on Apr 5, 2011 3:59 PM
Maybe you are looking for
-
We want the extract key data from the performance reports output to get a trend indicator. I tweaked the sql scripts which came with the application and created a key indicator report. This is in a draft form right now and we plan to improvise it. Do
-
Hi guys, is it possible to get non-moving materials for certain material movements report out of oic_c03 since 36 months onwards. Your help is greatly appreciated, Thanks Vijay
-
Cant i assign multiple field to 1 keyfigure
cant i assign multiple field to 1 keyfigure Eg:- I have defectqty1,2,3,4,5,6,7 i am mapping all these fields to 1 keyfigure ZDEFQTY when i am mapping defectqty1 to ZDEFQTY I am not seeing errors but when I try to map defectqty 2 to same keyfiure g
-
Some mails in the Sent folder disappear
Some of a user's Sent items disapear and are not physically on the store disk. The user is sure that he did not delete them. Mail content of the remained emails is not complete. For example, in one mail, the attachment is missing. What could be the p
-
Will the iMovie 08 work with lion? IMovie 11 is a complete disaster. The worst Mac update I have ever seen!