Find out the programs used in past 1 year
Hi experts,
I am doing upgradation project.
In that I need to find out how many programs , function modules and tables used from last 1 year.
Plz help in this issue.
Regards
Ganesh Reddy
repid is the field for ABAP Program Name. try searching in the where-used-list of that field to fetch the tables that store program related data. it should be lying somewhere .
Regards,
Srinivas
Similar Messages
-
How to find out the Transactions used per month & the USER who used that
Hi,
1)How to find out the Transactions used per month & the USER who used that?
2)and can i get the above same for minimum 20 month?
System : SAP- Enterprise Core Component.You can use my program...
*& Report Z_ABAP_TCODE_MONITOR
*****& Program Type : Report *
*****& Title : Z_ABAP_TCODE_MONITOR *
*****& Transaction code : ZTCODE_USAGE *
*****& Developer name : Shailendra Kolakaluri *
*****& Deveopment start date : 26 th Dec 2011 *
*****& Development Package : ZDEV *
*****& Transport No : DEVK906086 *
*****& Program Description : This program is to display
*List all tcodes executed during previous day.
*& Show the number of users executing tcodes
*& Modification history
REPORT Z_ABAP_TCODE_MONITOR.
*& List all tcodes executed during previous day.
*& Show the number of users executing tcodes
TYPE-POOLS : slis.
DATA: ind TYPE i,
fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
layout TYPE slis_layout_alv,
variant TYPE disvariant,
events TYPE slis_t_event WITH HEADER LINE,
heading TYPE slis_t_listheader WITH HEADER LINE.
*REPORT z_report_usage.
TYPES: BEGIN OF zusertcode,
date TYPE swncdatum,
user TYPE swncuname,
mandt TYPE swncmandt,
tcode TYPE swnctcode,
report TYPE swncreportname,
count TYPE swncshcnt,
END OF zusertcode.
*data : date type n.
DATA: t_usertcode TYPE swnc_t_aggusertcode,
wa_usertcode TYPE swncaggusertcode,
wa TYPE zusertcode,
t_ut TYPE STANDARD TABLE OF zusertcode,
wa_result TYPE zusertcode,
t_result TYPE STANDARD TABLE OF zusertcode.
PARAMETER: month TYPE dats DEFAULT sy-datum.
*PARAMETER: date TYPE dats.
*select-options : username for wa_usertcode-account.
START-OF-SELECTION.
PERFORM get_data.
PERFORM get_fieldcatalog.
PERFORM set_layout.
PERFORM get_event.
PERFORM get_comment.
PERFORM display_data.
FORM get_data .
*date = sy-datum - 2 .
After start-of-selection add this line (parameter Month required 01 as day).
concatenate month+0(6) '01' into month.
CALL FUNCTION 'SWNC_COLLECTOR_GET_AGGREGATES'
EXPORTING
component = 'TOTAL'
ASSIGNDSYS = 'DEV'
periodtype = 'M'
periodstrt = month
TABLES
usertcode = t_usertcode
EXCEPTIONS
no_data_found = 1
OTHERS = 2.
wa-date = month.
*wa-date = date.
wa-mandt = sy-mandt.
wa_usertcode-account = username.
LOOP AT t_usertcode INTO wa_usertcode.
wa-user = wa_usertcode-account.
IF wa_usertcode-entry_id+72 = 'T'.
wa-tcode = wa_usertcode-entry_id.
wa-report = space.
ELSE.
wa-tcode = space.
wa-report = wa_usertcode-entry_id.
ENDIF.
COLLECT wa INTO t_ut.
ENDLOOP.
SORT t_ut BY report ASCENDING.
CLEAR: wa, wa_result.
endform.
FORM get_fieldcatalog .
fcat-tabname = 't_ut'.
fcat-fieldname = 'DATE'.
fcat-seltext_l = 'Date'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'MANDT'.
fcat-seltext_l = 'Client'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'USER'.
fcat-seltext_l = 'User Name'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'TCODE'.
fcat-seltext_l = 'Transaction Code'.
fcat-key = 'X'.
APPEND fcat.
ENDFORM.
*& Form SET_LAYOUT
text
--> p1 text
<-- p2 text
FORM set_layout .
layout-colwidth_optimize = 'X'.
ENDFORM. " SET_LAYOUT
*& Form GET_EVENT
text
--> p1 text
<-- p2 text
*FORM get_event .
events-name = slis_ev_top_of_page.
events-form = 'TOP_OF_PAGE'.
APPEND events.
*ENDFORM. " GET_EVENT
**& Form GET_COMMENT
text
--> p1 text
<-- p2 text
*FORM get_comment .
DATA: text(30).
text = 'Billing Report'.
heading-typ = 'H'.
heading-info = text.
APPEND heading.
*ENDFORM. " GET_COMMENT
**& Form top_of_page
text
--> p1 text
<-- p2 text
*FORM top_of_page .
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = heading[]
I_LOGO =
I_END_OF_LIST_GRID =
*ENDFORM. " top_of_page
*& Form DISPLAY_DATA
text
--> p1 text
<-- p2 text
FORM display_data .
sort t_ut[].
DELETE ADJACENT DUPLICATES FROM t_ut[] COMPARING ALL FIELDS.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
is_layout = layout
it_fieldcat = fcat[]
i_save = 'A'
is_variant = variant
it_events = events[]
TABLES
t_outtab = t_ut
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " DISPLAY_DATA -
Is it possible to find out the program having the paramters?
Is it possible to find out the program having the paramters? if possible can you give the query
Search the forum/Google and you should get many hits (like the ones below).
Write a QUERY of Concurrent Program
Write a QUERY of Concurrent Program
Query to get Concurrent program name and its parameter
http://sureshvaishya.blogspot.com/2008/07/query-to-get-concurrent-program-name.html
Query to list concurrent program details with its parameter, values set and default value/type
http://www.knoworacle.com/2010/12/query-to-list-concurrent-program.html
Thanks,
Hussein -
Hi, How to find out the program name with short description?
Hi Experts,
I've a doubt regarding reports.
I've some short descriptions.I've to find out the Technical Name of the program using that Short descripns.Is there any transaction code available to check this
I've tried in t.c se80.But i could not find the respective program names.
Please help me in this regards.Its an urjent issue.
Thanks in advance.
Regards,
Rekha.hi rekha,
1)Goto SE84(Repository InfoSystem) tcode.
2)In Repository Info System node, Select Program Library.
3)Then Select Programs.
4) And enter ur description and u press F8.
5) u can search program name based on description, package and many othet options. check it out.
U can find many programs with ur entered pattern.
Select ur program.....
Reward me if useful,
Harimanjesh AN -
Query to find out the time used by an user for an application
Hello All,
I want to know the query to find out the whole time used by the user for an application. Please view the below data
Employee:
SNO EMP_ID EMP_NAME EMP_DATE LOGIN_TIME LOGOUT_TIME
1 10 Visu 21-Nov-2010 06:30:00 07:30:00
2 10 Visu 21-Nov-2010 06:40:00 07:20:00
3 10 Visu 21-Nov-2010 06:50:00 07:50:00
4 10 Visu 21-Nov-2010 07:30:00 08:30:00
5 10 Visu 21-Nov-2010 09:30:00 10:30:00
By checking the above data we can say that the total time Visu used the application is
8.30 - 6.30 (From 1,2,3,4 records) = 2hrs
10.30 - 9.30 (Based on 5th rec) = 1hr
So the total time Visu used the application would be 3 hrs = 180 mins.
Could you please help me in getting the result from that data using a query?odie_63 wrote:
I think it may be solved with analytics too.
with t1 as (
select 1 sno,10 emp_id,'Visu' emp_name,'21-Nov-2010' emp_date,'06:30:00' login_time,'07:30:00' logout_time from dual union all
select 2,10,'Visu','21-Nov-2010','06:40:00','07:20:00' from dual union all
select 3,10,'Visu','21-Nov-2010','06:50:00','07:50:00' from dual union all
select 4,10,'Visu','21-Nov-2010','07:30:00','08:30:00' from dual union all
select 5,10,'Visu','21-Nov-2010','09:30:00','10:30:00' from dual
t2 as (
select emp_id,
emp_name,
emp_date,
to_date(emp_date || login_time,'DD-MON-YYYYHH24:MI:SS') login_time,
to_date(emp_date || logout_time,'DD-MON-YYYYHH24:MI:SS') logout_time
from t1
t3 as (
select t2.*,
case
when login_time < max(logout_time) over(
partition by emp_id,emp_date
order by login_time
rows between unbounded preceding
and 1 preceding
then 0
else 1
end start_of_group
from t2
t4 as (
select t3.*,
sum(start_of_group) over(partition by emp_id,emp_date order by login_time) grp
from t3
t5 as (
select emp_id,
emp_date,
min(login_time) login_time,
max(logout_time) logout_time
from t4
group by emp_id,
emp_date,
grp
select emp_id,
numtodsinterval(sum(logout_time - login_time),'day') time_spent
from t5
group by emp_id
order by emp_id
EMP_ID TIME_SPENT
10 +000000000 03:00:00.000000000
SQL> SY. -
How to find out the updates using query which has done in Discoverer Admin
Hi All,
I have done some updates in Discoverer Admin like add field in some folders and rename...I want to know the updates which has been done in the front end using sql query.
Could any one please tell me is there any query to find out the updates in Discoverer admin.
Thanks,
KamalHi Siddarth,
Solution :
1) Go to SE16 - Table Name : EKBE (PO History)
2) Field - BUDAT (Posting Date)
3) Transaction event Type:
- 1 (Only GR's )
- 2 (Both GR and IR)
4) We can fetch both GR Numbers and also PO Numbers for which IR has not been done if transaction event - 1.
In addition to MB5S, you can try this also... -
How to find out the variable using in the system.
Hi Friends,
When I am trying to create a new variable for a infoobject. It is giving me a warning that Change the tecnical name 'New Variable.....' Before save
This is not allowing me to create any new variable.
In the system I find out one variable is there with the name 'New Variable.....'
And It is being used some where. When I am trying to delete this variable it is giving me a msg that it is being used in ZSCEMESTS.
But I am not able to find out where this ZSCEMESTS is exists.
Is there any TCODE for find out this object.
I want to delete this New Varable..... So can any body pls provide me the solution?
Regards,
SridharHi Sridhar.
Can you please tell me, is the variable entry mandatory? If yes please make the variable entry is optional.
Hi Sridhar,
Can you please tell me which type of variable it is? On which object this variable built?
Variable is available global level, so you can view this variable on the same object right click restrict --- variable --- select --- delete.
If it though it is already used in another query then use where used list then go to respective query and delete the same.
Regards,
Lokanatha. -
Find out the person using the release code in PO
Hi,
I would like to find out who is the person in SAP using a particular Release Code to release a PO?
Possible? and how.
thanks
TuffIf you are using Workflow and have defined users in W/F table you can find out who all are identified for a particular rel. code combinations.
However, if you wish to know who all are authorized to release than you will have to check the authorizations with M_EINK_FRG & M_BANF_FRG objects (one is for PR and other for PO).
Regards,
Dakshesh -
How to find out the most used objects and rarely used objects?
Hello all,
Can somebody please guide me on the procedure to separate frequently used transactions or reports or tables from rarely used ones on the production server?
Is there any special transaction to find this out?
hope to hear from you soon.
Thanks,
meThe SAP standard doesn´t provide such a functionality. There is, however, a product called "RBE" (Reverse Business Engineer) which is part of the Solution Manager (ST-SEP). It must be licensed separately.
Check
https://service.sap.com/~sapdownload/011000358700000052162007E
Markus -
How do I find out the encoding used to import music?
I want to be sure that all of my music is imported using apple lossless encoding. Can I tell from the file somehow or do I have to re-import everything? thanks
Select a track in your iTunes library that you have imported
Select 'Get Info'
It will then tell you what format it is in
You can also go to the View menu and turn on listing a column called 'Kind' which will say whether it is lossless or not. -
Table to find out the function modules used in a particular program
Hi,
Is there any standard table to find out the function modules used in a particular program?
Such as there is a table D010TAB to find out the tables used in a program .Hello
There is no exist such table.
But try this snippet:
REPORT ZSEARCH.
PARAMETERS: P_NAME LIKE D010SINF-PROG.
DATA: PROGTXT(72) TYPE C OCCURS 0 WITH HEADER LINE.
DATA: TMP(72) TYPE C OCCURS 0 WITH HEADER LINE.
DATA: FUNCT TYPE RS38L_FNAM OCCURS 0 WITH HEADER LINE.
DATA: INCL TYPE RSEUINC OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'RS_GET_ALL_INCLUDES'
EXPORTING PROGRAM = P_NAME
TABLES INCLUDETAB = INCL.
LOOP AT INCL.
READ REPORT INCL-MASTER INTO TMP.
APPEND LINES OF TMP TO PROGTXT.
REFRESH TMP.
ENDLOOP.
READ REPORT P_NAME INTO TMP.
APPEND LINES OF TMP TO PROGTXT.
LOOP AT PROGTXT.
IF PROGTXT CS 'CALL FUNCTION'.
SEARCH PROGTXT FOR ''''.
IF SY-SUBRC = 0.
DO.
SHIFT PROGTXT LEFT BY 1 PLACES.
IF PROGTXT(1) = ''''.
SHIFT PROGTXT LEFT BY 1 PLACES.
DO.
SHIFT PROGTXT RIGHT BY 1 PLACES.
IF PROGTXT+71(1) = ''''.
SHIFT PROGTXT RIGHT BY 1 PLACES.
CONDENSE PROGTXT.
FUNCT = PROGTXT. COLLECT FUNCT. EXIT.
ENDIF.
ENDDO.
EXIT.
ENDIF.
ENDDO.
ENDIF.
ENDIF.
ENDLOOP.
SORT FUNCT.
LOOP AT FUNCT.
WRITE: FUNCT. NEW-LINE.
ENDLOOP. -
How find out print program for smartform?
i know smart form name but i want printprogram name for that.how to find?pls help me.
Hi
There's no method.
If you're speaking about a smartforms for logistics module (SD,MM), you can you the transaction NACE (or table TNAPR) in order to findout which program is assigned to that smartforms.
U can also try to find out all programs using the fm SSF_FUNCTION_MODULE_NAME and get only the program where the string containing the name of your smartform.
Max -
Standard Procedure to find out the hardcoding
Hi Experts,
What is the standard procdure to look for whether any hardcoding is existing in the system ....????
Thanks in Advance,
PraveenHi Praveen,
You can use transaction SCI to find the hardcoded text used in the progra. Once you get the programs and text location you need to manually check all the code to find out the literals used in the ' ' are actually hard coding or not.
Regards,
Atish -
How to find out report program for a particular smartform?
Hi,
How to find out report program from which the smart form function module is calling?
Thanks.Hi
There's no tools to do that, u can only find out the program where a string with the name of your smartform is: probably it'll be your program.
U can try to use the program RPR_ABAP_SOURCE_SCAN in order to looking for a string a abap program.
But if the name of smartform is transfer to program dinamycally, u've few chances.
Max -
Finding out the Batch which is present during creation of delivery
Dear All,
I need to keep track of changes in batch during delivery. I can find out the change using change documents ( tables CDHDR and CDPOS ). The problem is it keeps track of batches only after the document is saved . If during creation the batch is changed , we are not able to see the initial batch , all the other changes can be tracked using change documents. How can we find out the batches during creation of delivery ( Is there any table which stores the batch no during delivery.
Regards
D. MallickThis does not looks possible...Changes can only be tracked once they are saved.
Maybe you are looking for
-
Conversion of XML file from ANSI to UTF-8 encoding in SAP 4.6C
Hi All, Im working on SAP 4.6C version.I have generated a XML file from my custom report.It is downloading in ANSI format.But i need to download this into UTF-8 format.So can anyone please let me know how to do this? Is this possible in 4.6C versio
-
Blueprint graphic attributes - Global setting possible?
Within the blueprint graphic tab, an automatic graphic (EPC) is created. On this graphic you then can set three attributes, e.g. show arrowheads or show interface icons. I want this setting to be done for the whole blueprint in order to have a standa
-
when i try to import a cd onto my iTunes starts making a sound as if the cds are scratched...but theyre not. it happens with ALL my cd on iTunes but never when i import them onto windows media player. i have a nano and a few months ago i had a shuffl
-
Table heading row does not repeat
I'm using InDesign CS5, and have a table that splits over two pages. There is one heading row, and I've set it to repeat on each page. But it doesn't repeat. The only thing a little unusual about this table is that some of the heading row cells are r
-
Business Process Blueprinting Tool (BPB) Publish Error - Solution Manager 7.1 SP10
Hello SCN members! The company where I work recently implemented the SAP Solution Manager 7.1 SP10 and now we are trying to learn how to use the SAP Business Process Blueprinting (BPB) Tool to design all enterprise processes inside it. I followed all