How to find custom schema?
Hello there,
I want to do a command line search to list all of my custom schema which we are using in the 99user.ldif file on Sun ONE 5.2Patch4.
I know how to add/mod/del using console, but i want to list all the extended objectclasses and attributes.
Can anyone tell me the search command? I appreciate it.
Thanks
SS
There is no easy way to do this. Even if you only look at attributes and objectClasses which have "USER DEFINED" ... you'll still get out of the box 5.2 Patch 4 Directory Server schema elements.
Here's what we did to work around the problem.
Dump the schema in LDIF format (using the -L flag with ldapsearch to get the entries in attribute: value format) and store to a file. Do this on your existing installation / deployment (the one with the custom attributes).
Dump the schema in LDIF format from a vanilla 5.2 Patch 4 install, with no modifications made at all to the schema, out to another file.
Join the lines in the two files (they're in LDIF format, so they wrap lines with a leading space) ... use the following command:
sed -e :a -e '$!N;s/\n //;ta' -e 'P;D' < myschema > $myschema.joined
sed -e :a -e '$!N;s/\n //;ta' -e 'P;D' < sunschema > $sunschema.joined
Sort each file.
sort myschema.joined > myschema.joined.sorted
sort sunschema.joined > sunschema.joined.sorted
Find the differences in the two files. These should be your custom attributes and objectClasses, with the server schema elements removed. All you have to do is cleanup the output (the diff utility will add some "<" and ">" characters to the beginnings of the lines).
diff myschema.joined.sorted sunschema.joined.sorted > myschema_extensions.txt
I really hope this helps. I don't think there is any easier way to do this, but I'll watch this thread hoping I get proved wrong! :-)
Cheers,
sn3ak3rp1mp
Similar Messages
-
How to find custom forms in FND_FORM
Hi All,
I Retrieved data from fnd_form table.I got total forms.But i want only custom forms.How to find custom forms.How to retrieve only custom forms.
Thanks& Regards,
RaghuHi,
Edit form
You use this form to create or change individual documents (for example, single news items). Typically, this form contains input fields in which you can create content (for example, the title or text for a news item).
Show form
You use this form to display a single document. Typically, the Show form displays all elements of a document (for example, the title, author, and all the text contained in a news item). Do not use entry controls on the Show form.
RenderListItem form
You use this form to define the layout of a list entry in a folder in the flexible user interface. Typically, you display some of the elements of a document, such as the title and summary of a news item, on this form. You call up the Show form if you want to display the entire document.
You do not create pushbuttons or links for creating, changing, or deleting XML documents in the RenderListItem form. You define which commands are to be displayed using command groups of the flexible user interface. You can create several iViews for displaying the same XML documents with different command groups.
ListEdit form
You use this form to change a list of documents. Typically, this form contains pushbuttons for creating, changing, and deleting entries. You call up the Edit form if you want to change or create content. You call up the Show form if you want to display all entries.
ListShow form
You use this form to display a list of documents. Typically, this form only displays part of a document element (for example, the title of a news item). You call up the Show form if you want to display the entire document.
Refer this documents
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ee639033-0801-0010-0883-b2c76b18583a
Regards,
Kumar -
How to find CUSTOMER EXIT for a Standard SAP program
How to find CUSTOMER EXIT for a Standard SAP program
Hi
To introduce the techniques of enhancement in standard SAP system. SAP creates customer exits for specific programs, screens, and menus within standard R/3 applications. These exits do not contain any functionality. Instead, the customer exits act as hooks. You can hang your own add-on functionality onto these hooks.
They do not affect standard SAP source code.
When you add new functionality to your SAP System using SAPs exits, you do not alter the source code of standard SAP programs in any way. The code and screens you create are encapsulated as separate objects. These customer objects are linked to standard applications, but exist separately from SAPs standard software package.
They do not affect software updates.
When you add new functionality to your SAP System using SAPs exits, your objects (called customer objects) must adhere to strict naming conventions. When it comes time to upgrade a to a new software release, customer objects names ensure that they will not be affected by any changes or new additions to the standard software package.
Customer exits are not available for all programs and screens found in the SAP System.
Any change made to an SAP object in a customer system is called a modification. Customers usually modify their systems for one of two reasons. Either they make changes to the SAP standard in order to adjust the R/3 System to their specific business needs (actual modifications), or they alter individual SAP objects in order to correct an error (as recommended in an SAP error note).
You should only modify the SAP standard if the modifications you want to make are absolutely necessary for optimizing work flow in your company. Be aware that good background knowledge of application structure and flow are important prerequisites for deciding what kind of modifications to make and how these modifications should be designed.
SAP application programmers create SAP enhancements in transaction SMOD using function module exits, menu exits, and screen exits.
Customers are given a catalog containing an overview of existing SAP enhancements. They can then combine the SAP enhancements they want into an enhancement project using transaction CMOD.
SAP enhancements are made up of component parts. These components include function module exits, menu exits, and screen exits. A specific component may be used only once in a single SAP enhancement (this guarantees the uniqueness of SAP enhancements).
Customer enhancement projects consist of SAP enhancements. Each individual SAP enhancement may be used only once in a single customer enhancement program (this guarantees the uniqueness of a customer project).
SAP application programmers preplan function module exits, menu exits, and screen exits for their applications and combine them to create useful enhancements for the R/3 System.
Customers create their own enhancement projects for their systems using SAP enhancements. You can customize the individual components of an enhancement project by creating your own include programs (for function module exits), texts (for menu exits), and subscreens (for screen exits). -
Hi,
How to find the size of the schema in a daabase.
Thanks,
MahiMahi,
One more option, though not so clean would be use Data Pump and its estimate file size option for the schema. The estimate would tell you the info about the size of the schema.
HTH
Aman.... -
How to find custom parameters and its values?
Hi,
Please let me know how to find the list of custom parameters with its possible values and its use in programs?
Thanks.There is no validation for the values that can be input so you can put anything in the value field. For example, try "BUK" and
then a value for a company code you know does not exist.
When you run a transaction with that it will default that value. -
How to find Customer receivable including Opening Balance
Hi Experts,
I am using SAP B1 8.8 PL 09.
I have gone through the Customer receivable report available under Finance / Finance Report / Account / Aging.
When I see this report Sales Employee wise, I notice that SAP does not include opening balance in report.
My customer has mentined sales employee againse each customer in BP master.
Can anybody help me on how to find Sales Employee wise Customer receivable including opening balance ?
BR
Samir GandhiHi Sameer,
If you used BP opening balances window to put BP opening balances there is no field for selecting sales employee name. So you will not find the opening receivable against sales employee. But update the fields in respective journal entries and see the report.
Regards,
Datta Kharat -
How to find customer paying method .. Credit card or nor ???
Dear SAP Gurus,
One more question ?? How Can I find whether a customer pays with credit card or not ??
please give your valubale suggestions.
Regards
VenkatHi Venkat,
Pay through the credit card is a by the customer is one of the existing functionlity in
SAP.
For which we have a separte Sales Document type and processing of Credit Card Process
will be having some extras fields like Card Type, Card Number and Expire date when
compared with Normal Sales Order.
Hope this Clarifies your Doubts and Please Reward If Really Helpful,
Thanks and Regards,
Sateesh.Kandula -
How to find custom table in Oracle EBS
Hi experts,
I am looking for the query that can find out all custom tables/objects in Oracle EBS? For some reasons, the custom tables/objects's name does not follow any standard. That a reason why I cannot find all custom objects in database. If you have that query, please share with me.
Thanks in advance
HieuI am looking for the query that can find out all custom tables/objects in Oracle EBS? For some reasons, the custom tables/objects's name does not follow any standard. That a reason why I cannot find all custom objects in database. If you have that query, please share with me.There is no direct way to list the custom objects in the database/application unless you follow the customization standard (naming convention).
https://forums.oracle.com/forums/search.jspa?threadID=&q=Find+AND+Custom+AND+Objects&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=Custom+AND+Objects+AND+Naming&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
How to find DB schema from Java codes
Hello,
Do you know whether there are java packages/classes to find the DDIC (schema) info of DB tables (the tables created by Netweaver Dev. studio)?
Thanks,
MartinHello,
when you are using a MaxDB as your database the tables created by the J2EE application belong to the SQL user SAP<SID>DB. For example your SID is called C11 the name of the SQL user is sapc11db
You can logon to the database with the SQL Studio. To see what users are in the database logon as the DBA ( default superdba,admin ) and run the select "select * from users"
Hope that helps, Stefan -
How to find custom Tcodes,programs and enhancement.. for a specific country
hi...
Is there any way in ABAP to find the Custom Tcodes, programs and enhancements only for specific country in our present system.Hi Srujan,
Use the table name TSTC to find the custom program and t-code.
To find the custom enhancement use t-code : CMOD.
Regards
Dev -
How to find - Customer Master IDoc was created Manually or by Change pointe
Hi all,
I have an IDoc(Customer master) number (which I have taken from the payload in SXMB_MONI). I would like to know whether this has been created by a user manually(BD14) or by a change pointer.
Please help.
Cheers
danusHi Vardharajan,
Yes I agree with you. What I mean by IDoc created by change pointer is - 'IDoc generated because a change(pointer) is tracked by the system', in other words, due to some change made to the data.
As you know, the other option of creating IDoc is by BDxx transaction. This option is usually used to push (unchanged) data.
So in essence, what I am interested to know is , has the IDoc been generated because someone made a change using say, VD02 / XD02 or pushed the data manually.
Please do ask, if anything is not clear.
cheers
danus -
How to find custom converter code in ADF?
Hi,
I am trying to understand/debug a code which has a input text in page fragment(.jsff) in ViewController project with the following converter
<af:convertDateTime pattern="#{userPrefs.timeFormatPattern}"
timeZone="#{userPrefs.UPTZ}"
timeStyle="short" type="time"
hintTime="#{userPrefs.timeFormatPattern}"/>
I want to see the code of userPrefs.Where can I find the corresponding java code?
I have checked out faces-config file but I can't find it.Googling about the location of converter also did not help me.
ThanksThe userPrefs is most likely a managed bean defined in some configuration file in your application. It is not a "framework bean".
If not in faces-config.xml you can look in adfc-config.xml or other adf task flow defintion files, where it is possible to define managed beans.
JDeveloper has a search function that can search in all source files for a project. Using that you should be able to find where userPrefs is defined... unless it is included from another ADF application as an ADF library.
Another option is that the userPrefs object (POJO/managed bean) is added to application-, session- or request scope programmatically... in that case you must search through the projects source code. -
Hi,
I just want to know,
based on the sql statements in v$sql, want to know the schema from which the queries are being executed.
and one more thing,
one sql procedure/function got failed from the application , I want to know from which schema it got failed and the time when it got failed?
RRYou can define the EXCEPTION for any PL/SQL block to catch errors
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/exception_definition.htm#LNPLS01316
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
[Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/] -
How to find last schema modification time ?
Hello. I would like to get the following info about our db (11gR2 Linux x64) full schema list and each schema last modification time (so, if any changes were made in any table, etc). It also could be good get any info about who was last modifier, but as I understand, it is not possible without audit turned on ?
DML changes isn't something Oracle tracks unless you explicitly do something like enable auditing.
It would require full scanning every table in the schema, but you could do
select max(ora_rowscn )
from schema_name.table_nameand pick the largest value. Assuming that you don't care about deletes, this would give you the SCN of the last INSERT or UPDATE on a table in the schema. If the last such change was relatively recent, you could convert it to a timestamp by calling SCN_TO_TIMESTAMP. But that mapping is only retained for a few days. If "long time" means more than a week, then you're trying to extrapolate a SCN back in time which is likely to be very error-prone.
Justin -
How to hide custom fields in Shopping cart depening on user role
Hi,
We have some custom fields in shopping cart for basic view. Every thing works fine. Now client is asking to hide all the custom fields based on user role.
I found some function module to fund roles. now my main problem is unable to find the cusotm filed screen field name.
When I tryed to find the screen field name using BBPSC02/03, its giving 'GT_DISPLAY_100-FIELD'. If I try to use this field, its not working.
Could you pls tell me how to find custom screen filed name to hide in shopping cart.
Thanks,
RamHi Ram,
As Laurent suggested,to hide the custom fields based on the user role,you need to implement the logic in BADi "BBP_CUF_BADI_2".
You have the importing parameter IV_USER in this BADI.
Pass this parameter to tables AGR_USERS and AGR_USERT to get the user role
OR
Use FM: BAPI_USER_GET_DETAIL
with USERNAME= user id and can retrieve Table: ACTIVITYGROUPS Field:AGR_NAME
if you want the otherway around
you can also use FM: RSRA_USERS_OF_AGR_GET
with I_AGR_NAME= role and you can retieve Table: ACTIVITY_GROUPS_USERS Field: UNAME(usr Id)
Then check the value for the User role as obtained using the above steps and accordingly set the property for the custom fields to hide them.
BR,
Deepti.
Maybe you are looking for
-
Why am I being charged to update apps that I know were free?
I have several apps that I've downloaded that I know are free 100% and even ones I've had for years, but since updating to a whole new phone, things aren't acting right. Every time I try to update these apps, I get this thing where I have to sign in
-
MacBook looses WIFI and freezes frequently
Hello there! Since a few days, my MacBookPro Mid 2009 frequently looses the WIFI connection and freezes (not both at the same time). Both problems started to occur at about the same time, so I think there may be a connection. The WIFI just looses con
-
In MCSI we have our own customized info structure S991.In the present system, Credit Memo values are getting updated in Gross Credit Memo column. Our client wants the Credit Memo value to be updated in Gross Inv sales Column. In Gross invoice column
-
X230 Trackpoint buttons do not work at all
Hi, i am running Debian Wheezy. The trackpoint buttons of my x230 do not work at all. I also tried an actuall Kanotix live distribution. The buttons do not work with Kanotix also. Has anybody experienced similar issues, or have an idea, whats wrong?
-
Where can I find "iMovie splash" video?
Following a catastrophic kernel panic and subsequent erase and install, I seem to have lost that little QuickTime video called "iMovie splash". Does anyone know where I can download it again? It lasts about 7 seconds and consists of a group of childr