on 10-07-2006 6:59 AM
I have a file to file scenario. The incoming file contains Employee Details and I need to validate each record and need to reject them if they are invalid as per the business rules.
For this I know I need to create the Adapter Module Processing.
I am following the below mentioned document.
https://websmp209.sap-ag.de/~sapdownload/011000358700003237612005E/HowToCreateAdapterModules.pdf
I dont have an NWDS installed, but I want to develop my java program in Eclipse? Whether it is OK to do it in Eclipse? Once I develop my Java program what exactly I need to do? How to create a Jar file in Eclipse? How to import that in XI?
Thanks.
kbjenni@hotmail.com
Hi,
Reg your question whether to use Eclipese for developing the modules. Well , NWDS by default uses Eclipse as its JAVA Editor . SO just use NWDS and there will be no issue.
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jenni,
As Bhavesh said you can use any editor to develop a adapter module, even you can use notepat to do it. Its ultimately the editors makes development simple and easy. Since you are writing a adapter module its always eays to develop using an editor provided by SAP. As most of the documents and guides will be based on it.
Regarding deployment of he adapter modules, first you need to create a JAR and then a enterprise archive file with those famous ejb-j2ee-engine.xml and ejb-jar.xml. Once you have generated your EAR (enterprise archive) file you can deploy it using SDM. Thats it your adapter module is deployed
For using it you need to goto the Module tab in the communication channel and add that module in the list.
More details can be found in the same pdf document link that you have already posted. You can see page 12 for using of modules in communcation channel.
Thanks,
Prakash
Hi Jenni,
This topic has been already discussed in the below thread:-
In general, I will explain how to create .JAR file:-
Creating a .JAR file is easy. Go to the directory where your classes are stored and type :-
jar -cf myfile.jar *.class
(jar is the command to run the jar utility. -cf are options, where c create arhive and f specify archive file name)
Now, if you have an existing JAR file, and want to extract it, you'd type:-
jar -xf myfile.jar
Also go thro' this link for step by step procedure on simple Module Processing:-
https://websmp201.sap-ag.de/~sapdownload/011000358700003237612005E/HowToCreateAdapterModules.pdf
I hope this provides you a solution.
Regards.
Praveen
Hi,
There is more pros than cons of doing it in mapping than in adapter. First of all you are not losing control what you are deleting, second it's easier to implement.
Regards,
wojtek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jenni,
You can very well use Graphical Mapping to do this. Look for standard functions to achieve this.
Regards.
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Why you are not doing in graphical mapping?
regards,
wojtek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.