cancel
Showing results for 
Search instead for 
Did you mean: 

Any BeanShell Editor or BeanShell plugin for Java IDE?

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Devesh - There are some items on the product backlog requirements list related to improving the usability for script developers in both On-Premise and OnDemand deployments. These items, however, have not been selected for a release as of yet.

Rob

Former Member
0 Kudos

Thanks for the info Rob.

--Devesh

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Ritu ,

I'm new to E-sourcing application .please provide steps to refer the java files for code modification and deploy into custom jar file

also the path to place our custom jar files

Looking for your inputs . Thanks in Advance

Regards,

Kavya

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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