Need to get the list of all procedures called in an object
Hi,
I am trying to find the list of all proceudres called in an object. I can get the list of packages and individual procedures/functions using dba_dependencies, all_dependencies or user_dependencies. However this would not give me the list of procedures of a package that are used in my object.
How to find the procedures of a package (and not just the package name) being called in another object?
Thanks in advance
Upendra
You can take the package name from user_depencies and query the USER_SOURCE table for the object name where the package name exists.
Eg code, here PKemp is the package name.
SELECT SUBSTR(TEXT,INSTR(TEXT,'PKEMP'))
FROM USER_SOURCE
WHERE NAME = 'PROCEMP'
AND INSTR(TEXT,'PKEMP') >=1
SUBSTR(TEXT,INSTR(TEXT,'PKEMP'))
PKEMP.SALUP;
Similar Messages
-
How can i get the list of all users present in the LDAP
Hi Experts,
How can i get the list of all users present in the LDAP ?
Is there any API or function Code to get all user list??
Please help me out!!!
Help will be rewardedWell it will depend on exactly where your UME configuration points to in the LDAP tree but yes, it is possible to get all users. Something like the following should do it:
import com.sap.security.api.*;
import com.sapportals.portal.prt.component.*;
IUserFactory iuf;
ISearchResult isr;
IUser user
String userid;
iuf = UMFactory.getUserFactory();
isr = iuf.getUniqueIDs();
you will need to iterate the ISearchResult object but you can get IUser objects by
userid = (String)isr.next();
user = iuf.getUser(userid);
then you can imanipulate / identify / or whatever you need with the user object
Haydn -
How to get the list of all formtypes in SBO?
Hello,
How can i get the list of all available formtype in SBO?
Each SAP Business One form has a unique type to support multiple instances of the same form. For example, the type of the Purchase Order form is 142, Form=139 for Sales Order.
Is this information stored anywhere?
Thanks and Regards,
SheetalHi Juha / Sheetal,
Activating the menus will only help to get the forms which are "directly" accessible...
...but there are forms that come up only when clicking some button - or double-clicking - or activating a menu item in the (dynamic!) "Goto" menu etc.
In 2005 SP01 a new function was introduced (and documented in the SDK Helpcenter) that can be used to iterate over all integer IDs (note there are a lot of gaps) up to 65535 and get information about the form and items on it (specifically the databinding!).
Please take a look at the ResourceData property of the Application object in UI API!
Gaps (in A version today - to my best knowledge): 10.000 - 20.000; 21.000 - 40.000; 41.000 - 50.000; 51.000 - 60.000...
Regards,
Frank
<i>Visit the WiKi-FAQ at: https://wiki.sdn.sap.com/wiki/display/HOME/BusinessOneFAQ</i>
BTW: What do you need that information on "all forms" for?
Message was edited by:
Frank Moebius -
How to get the list of all users
Hi,
Is there a way in Grid Control for getting the list of all users on all target databases? I need to count how many Oracle db users in our company.
Thanks a lot.One way to do it might be...
Assuming you have preferred credentials set up for all of your databases, you could run a 'select username from dba_users or all_users;' against all of your databases through grid control.
Click on Targets tab, click Databases, then the 'Execute SQL' link at the bottom of the page. Click 'Add' and 'Select All'. Then run it. It's just running the same sql across all of your databases and the output will be at the bottom for all of them. -
How can i get the list of all users present in the UME ?
Hi Experts,
How can i get the list of all users present in the UME ?
Is there any API or function Code to get all user list??
Please help me out!!!
Help will be rewarded
-pankaj chouhanHi Pankaj,
find the official NetWeaver security javadocs (including access to UME) <a href="http://help.sap.com/javadocs/NW04S/current/se/index.html">here</a>. Look for classs UMFactory and proceed from there.
Best regards,
Martin -
How to get the list of all process order which are settled?
Hello Friends,
Is there any standard report available to get the list of all settled Process Order or Production order?
Thanking all of you in advance.
Regards,
JitendraHi,
You can the below standardreports for knowing the list of Settled Process Orders :
1. Use Tcode : COOIS and in the selection fields provide the Process Order Type, Plant and System Status As " SETT" and execute the same . System will list all the Process Orders which were settled so far.
2. Use Tcode : CO26 with selection fields as above.
Hope this will suffice your reqt.
Regards
radhak mk -
How to get the list of all running process in java
hi all,
i want to get the list of all running processes on my system. please let me know if it is possible to do with JAVA. which class i should use?
waiting for reply
byeWrong forum. Just a hint.
-
Newbie ques : How to get the list of all tables in the database
Hi,
I'm very new to Oracle (using Oracle8i currently). I wanted to know if there is a way to get the list of all tables in the database. Like in mySQL you can use the command " show tables" to get the list of all the tables.
Any help will e greatly appreciated. Please "cc" any reply to [email protected] also.
thanks
DevenHi
Select table_name, owner from all_tables;
will give u all the tables in the database.
all_tables, dba_tables, user_tables
all_objects, dba_objects, dba_objects
there are many, more tables. login as system and query the tab and try to describe the tables.
Thanks
Malar -
How can i get the list of all tcode used by user of particular module
Hi,
How can i get the list of all tcode used by user of particular module (e.g FI , MM ,PP) within year .
Regards
VikramLogin to your SAP System
Run TCode SE16
Type Table Name : TSTCT
Press F7 Key (Table Contents )
Go to Settings in menu bar
Select User Parameters
Under Keyword select Field Label and press green check mark
Select your criteria in Data Browser and execute
You will see all t codes in there
Regards,
Yogesh -
Table to get the list of all tables in the database
hi,
please let me knwo the table where i can get the list of all tables in the databasehi,
please let me knwo the table where i can get the list
of all tables in the databaseHi Michael,
Will you EVER start reading some documentation?
I guess it's not far that many regulars won't reply to those kind of questions.
Believe me, reading doesn't hurt (well, at least, most of the times).
Rgds,
Guido -
Hi all,
For all BO reports scheduled to be sent out, can we get the list of all BO report to be sent(or have been sent) for a specified day?(For example, today or nex Monday). Thank you.
Regards,
Eton.Hi Eton,
To check the instances which have ran today, you can use the below query in query builder.
SELECT SI_NAME,SI_ID FROM CI_INFOOBJECTS WHERE SI_INSTANCE=1 AND SI_STARTTIME > '2014.08.20 00:00:00' Order by SI_STARTTIME DESC
To check the instances which would be running in the future, that means you have recurring schedules. Check for the SI_NEXTRUNTIME to get the details of instances which will run in the future as per the recurrences.
Thanks,
Prithvi -
How to get the list of all the security Roles defined ?
I am trying to programatically get a list of all the roles defined
in the weblogic. How can I access this information using the exiting
MBean interfaces.
thanks
PrasadWrong forum. Just a hint.
-
Is there a way to get the list of ALL user exits in ECC 5.0 or 6.0
Is this list published somewhere by SAP or can we get it from the system somehow? I m not talking about Enhancement or BADI's just user exits.
Thanks for readingHi ,
Just check this program to get the list
Hi,
Copy the problem in SE38 and Execute it
Enter the Tcode u want
this will the list of Userexits and badis
TABLES: TSTC,
TADIR,
MODSAPT,
MODACT,
TRDIR,
TFDIR,
ENLFDIR,
SXS_ATTRT ,
TSTCT.
DATA: JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA: FIELD1(30).
DATA: V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS: P_TCODE LIKE TSTC-TCODE,
P_PGMNA LIKE TSTC-PGMNA .
DATA: WA_TADIR TYPE TADIR.
START-OF-SELECTION.
IF NOT P_TCODE IS INITIAL.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
ELSEIF NOT P_PGMNA IS INITIAL.
TSTC-PGMNA = P_PGMNA.
ENDIF.
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR
WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
SELECT * FROM TADIR INTO TABLE JTAB
WHERE PGMID = 'R3TR'
AND OBJECT in ('SMOD', 'SXSD')
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT
WHERE SPRSL EQ SY-LANGU
AND TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(105) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
Sorting the internal Table
sort jtab by OBJECT.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type C.
clear : wf_smod, wf_badi , wf_object2.
Get the total SMOD.
LOOP AT JTAB into wa_tadir.
at first.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Enhancement/ Business Add-in',
41 SY-VLINE ,
42 'Description',
105 SY-VLINE.
WRITE:/(105) SY-ULINE.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 wf_object2,
105 SY-VLINE.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE MODTEXT into wf_txt
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
when 'SXSD'.
For BADis
wf_badi = wf_badi + 1 .
select single TEXT into wf_txt
from SXS_ATTRT
where sprsl = sy-langu
and EXIT_NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
endcase.
WRITE:/1 SY-VLINE,
2 wa_tadir-OBJ_NAME hotspot on,
41 SY-VLINE ,
42 wf_txt,
105 SY-VLINE.
AT END OF object.
write : /(105) sy-ULINE.
ENDAT.
ENDLOOP.
WRITE:/(105) SY-ULINE.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
data : wf_object type tadir-object.
clear wf_object.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(8) EQ 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
when 'SXSD'.
SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
ENDCASE.
Thnks
Abhishek -
To get the list of all session-id-owner
Hello from Vienna,
It is about a website, the user, who is already logged in, has a session-id.
a) How can i get all the list of the users, who currently have a session-id ?
b) How can i list the current session-ids (which still are active)
That ist a question of an exam.
many thanksYou can store every session id (or token) in a data base. When user logs in You simply assign the user with token and save this token into data base, the token of course has a "valid thru" field. Then when You need to list the users You make a query that gets the users with tokens that are still valid.
I don't know if this can be done plainly on the servlet side. -
How can I get the list of all canvas in the forms programatically?
I want an exemple of how to do it. I really need it to put in a template.
This is the code.
You will see how to loop through every item of every blocks of the form:
PROCEDURE Get_Canvas_Names IS
lc$blockDeb varchar2(60); -- start block
lc$block varchar2(60); -- current block name
lc$item varchar2(60); -- current item
lc$Type varchar2(20); -- item type
lc$itemdeb varchar2(60); -- first item
lc$canvas varchar2(60); -- current canvas name
lc$tabcan varchar2(60); -- current tab canvas name
lc$Acanvas varchar2(60):= ' '; -- old canvas name
lc$Atabcan varchar2(60):= ' '; -- old tab canvas name
ln$NbRec pls_integer := 0 ; -- number of records (for know if the block is multi-records)
BEGIN
LC$BlockDeb := get_form_property( NAME_IN('System.Current_Form'), FIRST_BLOCK ) ;
LC$Block := LC$BlockDeb ;
Loop -- For each block of the form
LN$NbRec := get_block_property(LC$BLOCK, RECORDS_DISPLAYED) ;
lc$itemdeb := get_block_property(LC$BLOCK, FIRST_ITEM) ;
lc$item := LC$BLOCK || '.' || lc$itemdeb ;
while lc$itemdeb is not null loop -- For each item
-- visible item ? --
IF GET_ITEM_PROPERTY(LC$Item , VISIBLE) = 'TRUE' Then
-- Get the canvas and tab canvas name --
lc$canvas := GET_ITEM_PROPERTY(LC$Item , ITEM_CANVAS ) ;
lc$tabcan := GET_ITEM_PROPERTY(LC$Item , ITEM_TAB_PAGE ) ;
End if ; -- GET_ITEM_PROPERTY(LC$Item , VISIBLE) = 'TRUE'
lc$itemdeb := get_item_property(lc$item, NEXT_NAVIGATION_ITEM );
lc$item := LC$BLOCK || '.' || lc$itemdeb ;
end loop ;
LC$Block := get_block_property( LC$Block, NEXTBLOCK ) ; -- next block
exit when LC$Block is null ;
End loop ;
END Get_Canvas_Names;all you have to do is to save each different canvas names in a pl/sql table.
Francois
Maybe you are looking for
-
I am using OS 64 bit Windows Vista Home Premium and recently updated the latest version of iTunes. (I only have this CD burning software on my Laptop). Ever since updating, I received the message 'Registry settings for the iTune drivers are missing
-
Hello, I've had harsh time trying to figure out how to read a csv file with double quotes, I need to read a csv file in order to fill a spreadsheet. I attach a csv file example to show the sort of file I'm working on. Thank you Raymundo Cassani Solve
-
RADIUS authentication for VPDN
I'm using RADIUS to authenticate PPP sessions coming into a 7200 router over L2TP (using BT's 21C WBMC product). However for every connection for an example user of user@domain the RADIUS server sees one Access-Request for the domain only and then an
-
IPhoto comment used in iWeb...?
I know that there is a way to get the comments I entered on photos in an iPhoto album to be entered as the caption / comment of those same photos once it's exported to an iWeb Photo page... But I forgot how... Does anyone else here remember how to do
-
How we will update data in datasources
hi gurus, how we will update data in data sources say salesorder header data, delivery&billing data and how can we link all these. i think my question is not correct, but i am gettin doubt please clear anybody it will helpful for me thanks in advanc