on 09-09-2009 10:26 PM
Hi All,
I can easily search .JSP files by NWDS's Search tool, but I have a hard time to search Java files by this tool. Can anyone guide me how to search Java files which contain a specified string by using Search tool in NWDS? or any other tool?
Thanls. Jin
Hi Jin,
You can search Custom Java files with NWDS Search tool for specified string. But not standard Java files.
Suppose you have extend z_userR3 base on UserR3 and contains string some help then you can click on search in NWDS
Then click on File it will open Search box with 4 tag
1. File Search
2. Help Search
3. Java Search
4. Plug-in Search
Click on File Search tab and provide the text in Containing text input box and give java file name with wild characters like *.java
Select Workspace under Scope and hit search button. It will search string in your custom Java file. This method will not search string in Standard Java classes of SAP.
If you want to search in standard SAP java classes then you should know about what you are searching i.e. whether it is field, Method, Package, Constructor and Type select proper radio button under Search For box then tryo to select proper radio button under Limit To if you want to search everywhere then select All Occurrences. You should select Workspace under Scope.
Suppose nothing comes after selected Type then go for other option one by one Method, Field etc...
Expert people will give you more information.
I hope this will help you.
Regards.
eCommerce Developer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jin,
Ecommerce expert has already given the detailed anwser on how to search so I can only tell
you few of the java files where you can find setFaxNumber() method, below are the file names :
com.sap.isa.businessobject.Address
com.sap.isa.dealerlocator.businessobject.DealerLocator
com.sap.isa.backend.crm.WrapperCrmIsa
com.sap.isa.backend.r3base.rfc.RFCWrapperPreBase
com.sap.isa.businesspartner.backend.r3.rfc.RFCWrapperBusinessPartnerR3
com.sap.isa.user.backend.r3.rfc.RFCWrapperUserBaseR3
com.sap.isa.businesspartner.backend.crm.BusinessPartnerCRM
com.sap.isa.user.backend.crm.IsaUserBaseCRM
com.sap.isa.user.backend.UserBaseUME
com.sap.isa.isacore.AddressFormularBase
com.sap.isa.backend.crm.SalesDocumentStatusCRM
Hope this helps you.
One more thing I would also like to stress on is that you wont find sap standard java files in your NWDS, you can find the custom your written java files only.For standard you will find .class files.But if you want the standard java files than go to your server deployment path for your standard application which would be something like D:\usr\sap\SBX\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\crmb2b ...If you click on crmb2b folder there you will find src.zip. This src.zip is the standard java source code for all the java classes, here you will find all the standard .java files.
Regarding your ship to new field problem, for that I wil also try by writing code.Will let you know if any success.
Regards,
Arshi
Edited by: Arshi Arshi on Sep 10, 2009 12:45 PM
Thanks Shanto for giving me that usefull method.
Hi Arshi,
Thank you so much again for your help. That's what I'm looking for. Before I close this thread, could you please give me the steps for you to find these .class?
here is my steps:
select crmhomeshrextsap.com -> Search -> Java -> enter fax in Search string and decheck case sensitive, Search for Method, Limit to - I tried all top 4 options
but I get nothing.
Thanks, Jin
Hi Jin,
I also did the search like below and got the above results
Click on Search(ctrl+H) --> Java Search --> Search For(check Method radio button) --> Limit To(All Occurences) --> Scope --> Workspace --> Now click on Search button
Just have a recheck on your setting like this
Click on Window --> Preferences --> Enlarge Workbench --> Click on Search --> Select None for Default perspective for the search view
Please let us know if you are still not able to search these files.
Regards,
Arshi
Thank you so much Arshi for such detail steps.
I did exactly the same steps, but nothing found (maybe my NWDS has a bug?). I just closed this thread for now.
Big Thanks to eCommerce Developer for all your help and such detail steps. I wish I could give you a 10, next time for sure (sorry).
Thank you alll again, Jin
Jin,
To search .java files you can use cntrlshiftT
Thanks and Regards
shanto aloor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.