on 06-16-2011 8:09 AM
Hello Everyody,
Is anyone aware of BeanShell Editor or BeanShell plugin for Java IDE?
If not, what are the alternatives that we are using for making scripting in SAP Sourcing simpler?
Thanks
Devesh
Hi Devesh -
I normally use a standard java editor, for example Eclipse. I also will sometimes use a more basic text editor such as Notepad++.
If you have an on-premise install of Sourcing/CLM, you could inclue the API jar files to get method completion functionality. If you are working with a Hosted or On-Demand system, you will have to key in the method names on your own.
Hope this helps.
Rob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rob,
Thanks for the response.
We have an on-premise system and I am using the same approach of including the API jar files in a Java IDE.
I was looking for some editor or plug-in that would make writing scripts easy for on-demand systems as well. Can we expect something in this regard from SAP in future?
Thanks
Devesh
Hi Rob,
I am trying to develop custom code in NWDS and deploy on server. But when I deploy jar, I am getting NumberFormatException on Input String:Session_Timeout.
If I try to run code in NWDS, it throws NullPointerException on Session Object.
Please let me know how to resolve this issue.
Thanks,
Saloni
Hello Devesh,
I am using NWDS for scripting .also for the code odification which needs to be deployed into custom jar file.
you can import all external jars and liberary. I hope this would be helpful for you also.
Thanks,
RItu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Has anyone got the answer to Kavya's question?
I am using V7 of the Sourcing and finding it very frustating to write code in the notepad or equivalent editor. Also we are running out of space in some scripts because of the script lenght limitation.
Can someone please tell me steps for
1. From where to get the IAPI jars which can be used while development in Eclipse?
2. Where and how to deploy custom jars on esourcing so that we can overcome the limitation of 32K characters.
Thanks,
Yogesh
Hi Yogesh,
I can answer your first question:
The JAR files are contained at <esourcing installation root>\lib. To use them in Eclipse, create a new Java Project and under the Library configuration screen, add the JAR files using the Add External Jar option. Should work.
What I usually do is create a class with a main function and when I'm ready to import my code into Sourcing I copy the code contained within the main function and the imports at the top of the file.
Hope that helps,
Shanker
Hi Shankar,
I need to write some custom code, build/compile it and create a jar to be used in IAPI Schedule task. If I try using the code writtten in format as in scripts and compile them, its not compiling. I think it might get resolved by using IAPI jar files in eclipse as mentioned in last post.
Do I need MAIN method to compile the code or it will work if I just have Import statements and the code?
Please guide me.
Thanks,
Saloni
User | Count |
---|---|
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.