How to find out theTables used in the program
hi experts,
can any one tell what are the ways to find out the tables used in the program
thanks in advance.
Hello,
Below are some tips:
1. If custom program- SEARCH for "TABLES" or "SELECT" stmt.
2. The full-proof way will be to activate SQL Trace. Goto tcode ST05, check SQL Trace & then activate trace.
Execute the program. After execution is complete, deactivate trace & then display trace. You will get all the tables which are being used.
BR,
Suhas
Similar Messages
-
How to find out which type of the driver is used in our application?
Hi all,
can anyone tell me how to find out which type of the driver is used in our application?
Thanks in advance,
PhoenioxHi,
Check out this...
Class.forName("com.mysql.jdbc.Driver"); //if u r using MySql
List drivers = Collections.list(DriverManager.getDrivers());
for(int i=0;i<drivers.size();i++)
Driver driver = (Driver)drivers.get(i);
String driverName = driver.getClass().getName();
System.out.println("Driver "+i+":::"+driverName);
you need to load the driver and display in the same program.
Then only you'l get the required result.
prakhyath -
How to find out who has deleted the production Query
Hi All,
I have searche SD , i can find it for infoobject deletion but i couldn't find it for Query.
Please let me know is there any possiblity to kow
How to find out who has deleted the production Query
Awaiting for your replies.
cheersHi Mahesh and all,
Thanks for all your inputs.
I have tried with RSRREPDIR tabel , I am unable to see that query at all.
If I use theT-code SLG1,
please guide me on the steps with paramets to be given in the respective ..object, subobject etc..
OR
could you please suggest any other way.
cheers
leena -
How to find out what are all the change pointers assoicated for an idoc ??
Hi ,
How to find out what are all the change pointers activated for an idoc ??
Thanks,
VarmaVerma,
You can check what are the active Change Pointers for the message type in tcode <b>BD50</b>
Use tcode <b>BD61</b> to check whether change pointers are active or not??
Hope this helps.. -
How to find out who had deleted the function moldule? S O S
how to find out who had deleted the function moldule Thank you very much.
if this fm was assigned to device class (package) you'll find it in
tables tadir, e070, e071
try with name of function module or function group
hope that helps
Andreas -
How to find user exit implemented in the program
how to find user exit implemented in the program or standerd transaction
try this program to get the list of all the user exits for a transaction...
*& Report Z_USER_EXIT *
*REPORT Z_USER_EXIT .
REPORT z_find_userexit NO STANDARD PAGE HEADING.
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP User Exits exists.
*& Tables
TABLES : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
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 = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP Modifactions
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
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:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN. -
How to find out which user has the permission to execute startsap ?
Hi All
How do I find out which user has the permission to execute the startsap and stopsap? Do I control the permission on those script using windows standard authorization? For example: only allow certain user have the read and write permission?
Thank you.!
Vincent LoWell to me this is really weird question..
<b>noone un-authorized should have access to OS on your system</b>
If this is valid you do not need to solve problems who can and who cannot start/stop SAP, because if you want to prevent some users from shutting down the SAP you have really hard job to do - there are many ways how to kill the SAP (for example killing relevant process from task manager, killing of database, messing with services etc.) - yes, this is harmful way of stopping SAP, but we are talking about attack, right? I would contact some Windows specialist to help you disable all the ways how to harm the running SAP. But still after that - there are many files that can be modified/deleted so SAP will crash after restart - you need to protect them too, etc.
In case you take the first assumption as granted (and you really limit access to this server) you do not need to worry who can stop or start SAP - at the other hand it may be handy to be able to start/stop SAP from other users - for this you can run the stop/start script "under different user".
But to answer the question - to me this is question just of access control (but really never tried that myself):
<a href="http://technet2.microsoft.com/WindowsServer/en/library/c6413717-511e-42bd-bd81-82431afe4b2a1033.mspx">Permit or restrict access to a snap-in for a domain</a> (or see other related links down there on this page)
Please award points for useful answers.
Thanks -
How to find out who has released the purchase order?
Hi All,
I have a PR number lets say 10231322 and somebody has release it. Could any one please tell me how to find out who has release it?
Waiting for your kind replies......
Thanks in advance.
Regards,
FaisalHi,
When you are in tr ME23N, use the menu: environment > header changes.
Rgds,
Suzy -
System log - how to find out who has deleted the req from cube.
^hello friends
how can i find out who has deleted the request from cube ?
i wanted to check the system log , that who has deleted the request from cube .
could you please let me know how to check the same ?
regards
manojHi,
Did you try the method I had suggested. It will work.
Also its better to try the path I had suggested as it will display the logs for that particular Cube only.
But if go through SM37 > B_DEL* it will display all the logs for all the deletion jobs not just this cube and it will be difficult to find out.
Try that and you should get the log.
Thanks,
JituK -
How to find out table name for the field in the webUI
Hi.
I am in CRM2007.
So i go to the transaction code BSP_WD_CMPWB
In that i provide the component name as CRM_UI_FRAME.
I press the Test button.
So, it opend the WebUI.
I want how to find out table of the particular input field?
I mean from which table the data is retrived how to find out?
When i enter some thing in the input field how to find out in which table that data is stored?
By pressing F2 on the input field it opend View and Component Name.
I want find out table of that particular field. How to find it?
If anybody know about this explain it with Screen shorts if possible.
Thank You.
Krishna. B.hi
goto tx genil_model_browser. Suppose you want to find fields reated to your order header eg sold to name. In component set write all and press F8. Then goto access object and in access object click on node BTAdminH. Click on attribute structure. Here you will find structure and attributes. If you click relationship then you will see all the relationship wrt btadminh. open any r/s that you require. and click on other object and attribute. You will get to know the structure.
Best regards
Pankaj kumar -
How to find out which usb is the fastest
How can you find out which usa port is the fastest, using a mypassport for my backup photos??
It's called a USB (Universal Serial Bus).
All the USB ports operate within a given speed range. You have USB2.0 on your iMac. All your USB2 ports operate at the same speed up to 480MB/sec. Realistically you'll only see ~300MB/Sec.
Pick a port and use your backup drive. -
How to find out where used list of Table or T-code
Dear ABAP gurus
I know many of you have done this several times.
wish to find out which Transaction code INSERTs the data into the table IHPA.
I did the where used list - SE11 ( for specific key work called INSERT ).
Used the Table called D010TAB which has some information.
Vise versa if I know a T-CODE , how to know which tables it read & Modify...
any better procedure than spending hours in research...
I found similar custom program to find USER EXITS ...here..., looking soething similar...
[http://wiki.sdn.sap.com/wiki/display/Snippets/FindUser-exits%2CBADIs%2CBTEs%2CEtcbyTCodeorProgram]
thank you for your help
Edited by: Raj Anvesh on Aug 3, 2011 9:58 PMHi Anvesh,
Maybe the data INSERTION is happening by BAPI,
So just try to look for the concerned BAPIS.
ECP_SRV_PARTNERS_IHPA
IREP1_IHPA_ADRNR_PRE_FETCH
IREP1_IHPA_ADRNR_READ
MAP2E_DIIHPA_TO_PARTNER
MAP2E_IHPAVB_BAPI2080_NOTPARTE
MAP2E_IHPAVB_TO_BAPI_IHPA
MAP2E_IHPA_BAPI2080_NOTPARTNRI
MAP2E_IHPA_M_BAPI2080_NOTPNRI
MAP2I_BAPI2080_NOTPARTNRI_IHPA
MAP2I_BAPI_IHPA_TO_IHPA
PM_DB_FILL_DIIHPA
PM_PARTNERCOPY_FILL_XIHPA
PM_PARTNER_DELETE_XIHPA
PM_PARTNER_GET_XIHPA
PM_PARTNER_PUT_XIHPA
PM_PARTNER_REFRESH_XIHPA
these are the bapis which are dealing with the IHPA table,
Segregate them as needed and then go to the std program
Revert for further clarification.
Thanks
Sri -
How can I find out which of the devices assosiated to my account made a purchase?
the only reliable way to do this is by scanning table TBTCP using the person's userID in field AUTHCKNAM and filtering by job statuses: scheduled, released, ready and active (sorry I can't remember the code#'s off top of my head, something like P=scheduled, S=scheduled...you have to look it up). When you search SM37 it only permits you to scan by the userID who created the job, but it won't tell you if a different userID is defined in a job step. That's why you need to scan TBTCP. Don't forget that you should also check for a user's open Workflow items before deletion.
I noticed some posts in this forum that suggest a userID should never be deleted, only locked, added to a special user group, and all role assignments removed. However I've never worked somewhere that does this. -
How to find out sites using MMS term sets
Hi,
We have many site collections utilizing MMS termsets and terms across libraries and lists. Is there a way to take out an extract across the farm as to which sites/libraries/lists are using which term sets or terms?
Shonilchi..Hi Shonilchi,
You can try iterating each site and list, check if there is a managed metadata column in a list then iterate each list item to read managed metadata column value, and output to a file programmatically.
http://sharepoint.stackexchange.com/questions/65066/how-to-programatically-tell-if-a-field-is-a-taxonomy-managed-metadata-field
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/677028e8-de4f-484a-9405-41a85f1b3071/read-taxonomy-field-value-of-a-list-item-from-sandbox-webpart
Thanks
Daniel Yang
TechNet Community Support -
How to find out who has release the purchase requisition?
Hi,
I have a Purchase Requisition Number with me and I want to know who has released it. Can any body please help me how to find this?
Waiting for your valuable responses! Thanks in advance.
Regards
FaisalHi,
Thanks for your response. However, is there not any tcode by which we can find it out?
By the way I have done the following to find it. Kindly confirm if I have done it correctly:
1. Executed tcode me23n
2. Menu Purchase Requisition->Other requisition
3. Specified the PR number.
4.Menu Environment -> Item Changes
5. Here in this screen, I got some information saying :
Person responsible (user id), Date, Time, Transaction, Change Doc etc..
Here it says that, one user executed tcode me54 and release indicator is changed to 3.
I think this is only the user who has released it.
Anyway, kindly confirm the same.
Regards,
Faisal
Maybe you are looking for
-
Approvers of Rejected line items not getting removed -Process controlled WF
I have developed shopping cart approval using process controlled workflow. We are using SRM 7.0, patch level 9. Decision set used is item based approval for partial documents (Type 4) While testing I observed that when I reject any item, the correspo
-
Cant find photo from Mail in iPhoto
From Mail, I selected Save. The photo went into Downloads. I went to iPhoto but how do I get the photo into iPhoto. Does it appear by default or do I have to do something from Download folder?
-
Disk Utility Permissions Repair
I did a permission repair on my hard drive and got the following messages: 2010-03-05 11:43:55 -0800: Permissions differ on "usr/share/derby", should be drwxr-xr-x , they are lrwxr-xr-x . 2010-03-05 11:43:55 -0800: Repaired "usr/share/derby". 2010-03
-
Work with Black and white color shades
is there any class in java for different shades of black and white colors.
-
How do i retrieve deleted notes
My notes were deleted by accident. Can they be retrieved?