Last executed date for a report
Hi,
I have to find out the last executed date of set of reports/programs. Please let me know how to get that information. Is there any table wherin I can give the list of reports and download the output?
Thanks,
Raj.
HI,
Check transaction STAD.
There you can specify user, transaction or program and a time frame.The question will be, how long do you keep statistics in your system...
Regards
Kiran
Similar Messages
-
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. -
Last Executed date of a job.
Hi everybody,
I have a scenario where I need to compare the record created date with the last executed date of a batch job. The record created date, we are retrieving from a Z table. But I am unable to find the table from where I can find the last executed date of the job / Report.
I came to know from many forms to use TBTCO table. But in our development systems, we could not find the latest executed date for some jobs which were executed recently. that field is completely empty for some jobs.
Please suggest me the right table where I can find the last executed date of the JOB / Report.
Any helpful answer will be rewarded immediately.
Thanks in advance.
Vana.Vana,
In table "TBTCP" there is field called SDLDATE(Date of job/step scheduling).
So, select data of paricular job .Say it will give 5 different dates. into internal table.
SORT the internal table SDLDATE DESCENDING.
So you will get the latest scheduling date record in first position of internal table.
IF latest record date is < sy-datum+1.
Yes last schedulke date.
ENDIF. -
How to find Last Payment date for vendor
Hi,
I am working on ALV Vendor report details.
1) How to find the last payment date for the vendor.
2) In input paramter field
PARAMETERS: L_FILE LIKE RLGRAP-FILENAME.
I want to validate the user input in the selction screen for downloading the file in the presentation server..
what is the validation I have to write for the path name.
pl help me give details.
Thanks in advance.
sharma1) use table REGUH field ZALDT or VALUT
2) use fm like EPS_GET_FILE_ATTRIBUTES
A. -
Last Entry Date for Each Quarter
Hi,
I want to find out the last entry date for each quarter. The query I am using is this:
SELECT
Country.Name as Country,
CONVERT(DATE,MAX([CreationDate])) as LastDateOfClipEntry,
DATEPART(Year,([CreationDate])) as Year,
DATEPART(Quarter,([CreationDate])) as Quarter
FROM
[dbo].[Clip]
JOIN Office on Office.Code = Clip.Office
JOIN Country on Country.Code = Office.Country
WHERE YEAR(CreationDate) IN (@YEAR)
GROUP BY Country.Name,DATEPART(Year,([CreationDate])) ,DATEPART(Quarter,([CreationDate]))
ORDER BY Country.Name
Now based on the column group I added in my report the result is coming correct but not properly formatted as I want.
Below is the snapshot how its coming now:
I don't want the extra blanks coming for each occurrence. There should be only one line for Australia and in the single line it should show the last entry date for that quarter. How can I achieve that ? Below is the snapshot showing current config:
Thanks a lot in advance. Any help would be appreciated.
Vivek KamathHi Vik2907,
According to your description, you have a matrix which shows you those unexpected cells. Right?
In this scenario, the reason caused this problem is the group setting. Mostly, you set the row group on a wrong field. As we tested in our local environment, if you set the row group on LastDateOfClipEntry, it will render the data as the screenshot you post.
Please check both Row and Column Group setting, make sure they are group on proper field.
Reference:
Tables, Matrices, and Lists (Report Builder and SSRS)
Understanding Groups (Report Builder and SSRS)
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
How to fetch last changed date for Header in me22n?
Hi Experts,
I need to create a report for PO, where I have created one screen tab in Header level(customer data), therefore I need to fetch last changed date for header , I must mention that I do not want last changed date for item level, only for header last changed date is required.
Kindly assist me on this.
Thanx
ShireenRead table CDHDR (object "EINKBELEG") and CDPOS (look for table name EKKO), keep the last CDHDR record with "EKKO" data actually changed.
Regards,
Raymond -
After the last up date for Safari (Mac OS X 10.8.5 in a iMac mid 2011 21.5 inch 2.8GHz Intel Core i7)
The window don't open or they are there and only in an outline, kind of like they're behind the screen.
I have also done a system update and then a system reinstall.
What now? incident nr, 526941222.After the last up date for Safari (Mac OS X 10.8.5 in a iMac mid 2011 21.5 inch 2.8GHz Intel Core i7)
The window don't open or they are there and only in an outline, kind of like they're behind the screen.
I have also done a system update and then a system reinstall.
What now? incident nr, 526941222. -
Storing the last modified date for files in a HashMap
This method gets a list of all the .java files in the source subdirectory, gets the last modified date for them and stores the file name and last modified date in a HashMap.
import java.util.HashMap;
import java.io.FilenameFilter;
import java.io.File;
import java.util.ArrayList;
public class myClass
public static void main(String[] args)
HashMap result = getLastModified();
static FilenameFilter javaFilter = new FilenameFilter()
public boolean accept(File dir, String name)
return name.endsWith(".java");
public HashMap getLastModified()
HashMap lastModified = new HashMap();
ArrayList javaFiles = new ArrayList();
File sourceDir = new File(".\\Source");
File currentFile;
long lLastModified;
//get a list of all the .java files in the source directory
javaFiles=listFiles(javaFilter);
//for all .java files get and store the last modified date
for(int i=0; i<javaFiles.size(); i++)
currentFile=(File)javaFiles.get(i);
lLastModified=currentFile.lastModified();
lastModified.put(currentFile, lLastModified);
return lastModified;
}The problems I am getting are:
>
The method listFiles(FilenameFilter) is undefined for the type myClass
and
>
The method put(Object, Object) in the type HashMap is not applicable for the arguments (File, long)
can anyone help? What's the best way to go aobut this?Thanks for the replies abenstex I modified it so that javaFiles is now a File[] and made the change you suggested but I still have the second problem, here's the code so far:
import java.util.HashMap;
import java.io.FilenameFilter;
import java.io.File;
import java.util.ArrayList;
public class myClass
public static void main(String[] args)
HashMap result = getLastModified();
static FilenameFilter javaFilter = new FilenameFilter()
public boolean accept(File dir, String name)
return name.endsWith(".java");
public HashMap getLastModified()
HashMap lastModified = new HashMap();
File[] javaFiles = {};
File sourceDir = new File(".\\Source");
File currentFile;
long lLastModified;
//get a list of all the .java files in the source directory
javaFiles=sourceDir.listFiles(javaFilter);
//for all .java files get and store the last modified date
for(int i=0; i<javaFiles.length; i++)
currentFile=(File)javaFiles;
lLastModified=currentFile.lastModified();
lastModified.put(currentFile, lLastModified);
return lastModified; -
How to know last access date for the schema's
Dear all,
could u plz tell me How to know last access date for the schema’s
Regards,
Srinivasa rao.PSrinivas,
could u plz tell me How to know last access date for the schema’s
In Oracle, we don't access schemas but schema objects.And this informationis not kept anywhere persistantly.As Amit also mentioned,if you do need it,you have to enable Auditing.
Aman.... -
Last stocktaking date for item
Hi,
Is anyone knows how can i check the last stocktaking date for item (by select query)?
Thanks in advanced,
AviIn SBO we can perform Stocktaking (In SBO menu: Inventory>inventory transactions>Initial Quantities, Stocktaking and Stock Posting).
how can i check when (in which dates) Stocktaking was performed for specific item (Stocktaking history)?
Thanks
Avi -
Last Refersh date in Webi Report
Hi All,
I'm getting different last refresh date and time on the webi report(using drill down report). I am getting the right date on the main report, wrong date showing on the sub report report.
Could anyone advise me ASAP?
Regards,Hi,
Thanks 4 reply, main report is showing correct 'Last refresh Date' but Sub Report showing a day ahead (Ex. if refresh the report today its showing 7th July,but the sub report showing 8th July. as 'last refresh date').i already refreshed the drill down report, but its still showing 8th July, its really strange.
Regards, -
Last Logon Date for Deleted Users
Hi,
How can I checked to see last logon date for a deleted user-SAP ECC 6.0?
-Wes> ... chekcing USR02 the TRDAT field has been reset.
In lower releases you could easily have made a big mistake doing that.
In all releases the security audit log (SM20) is the correct tool for this, but you cannot retro-fit it.
If the SM20 log is not activated for logon events, then there are several other ways of reconstructing parts of the information but they are all incomplete and a big effort.
Cheers,
Julius -
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 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 MIGRATE DUNNING LEVEL & LAST DUNNED DATE FOR ALL OPEN LINE ITEMS
Hi,
We need to upload dunning level & last dunned date for all open items (to be done separately i.e. after all open items migrated) which is different for each and every line item so if we use mass upload (fbl5n) we have to do for each and every open line item which is not feasible as open line items in thousands..I tried LSMW also,problem is that for Batch input recording we need to run one complete cycle in sm30 but there is no maintenance dialog for BSEG & BSID table.. Please share your valuable Inputs how we can go ahead..
Thanks in advanceHi Mark,
Thanks for your reply.
It is complete a Zcopy of a standard one, but we are facing one or two records are not updating correctly out of hundreds of customers in the worklist.
Maybe you are looking for
-
How to call a report from a form
I've created a report with Oracle Reports 10g and saved as MYREPORT.JSP and as MYREPORT.RDF Than I've created a form and a button with a trigger when-button-pressed with this code: declare repid REPORT_OBJECT; v_rep VARCHAR2(100); rep_
-
How to use POwn, PCon or PMin in Consolidation
Dear all experts , Do you know how to differentiate consolidation from one account with another? The condition is : Assets : PCon Liabilities : PCon Account (NCI, Capital Reserve, etc) : POwn Is this possible? Actually when and how to use PCon, POwn
-
The document "index.html" could not be opened.
Hi, I'm having trouble opening iWeb. When i double click on the iweb icon it tries to open a particular file (index.html), but claims it can't open it and subsequently quits. This happens no matter if I try to open any other file with iWeb, even file
-
ORA-39005: inconsistent arguments
Hi, Im trying to export 11g db using 11g's expdp ( i have set my oracle home and can connect to the db fine ..) but for some strange reason it comes back with 10.g inconsistent arguments!! we do have 10g installation on the server but not sure why it
-
IPhone 5s shuts down after being in the cold for a while
I have an iPhone 5s. I go outside jogging at noon and listen to the radio on the phone app. Since it is cold outside, it has happened several times that after about 20 minutes I come back into the building and take out and check my phone it shuts d