on 10-12-2006 1:50 AM
I have a File to File Scenario.
The Incoming File needs to be Validated for certain fields and if it is empty then we need to reject the whole Record.(I know I can achieve that in Message Mapping, but we are trying with Adapter Module Processing for our Learning purpose).
I have written a Java program, that reads the File and if the particular field is empty it deletes that from that files and writes that in an Error File.
Its working fine and I have converted that as a Jar file(I dont have NWDS and I have written my java program in a Notepad file).
And what should be the next step? And should this Java program has to have any Arguments?
Thanks for your help.
Hi,
This might be help you
http://help.sap.com/saphelp_nw04/helpdata/en/cd/5af7c0c994e24fb0d0088443513de2/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cd/5af7c0c994e24fb0d0088443513de2/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
Regards
Agasthuri Doss
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jenni-
Bhavesh has given Adapter module development approach and deploy with guide with this I just wanted to give a Case-Study doc-
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jenni,
While dealing with adapter modules,
1. First, create an EJB Module.
2. You create a Stateless session bean.
3. You use the following attributes for the bean,
Remote Interface: com.sap.aii.af.mp.module.ModuleRemote
Home Interface: com.sap.aii.af.mp.module.ModuleHome
Local Interface: com.sap.aii.af.mp.module.ModuleLocal
LocalHome Interface: com.sap.aii.af.mp.module.ModuleLocalHome
4. Your class must implement,
Module.process(ModuleContext, ModuleData).
5. You buiild an EAR archive and an Application Archive and then deploy this on your J2EE engine.
Take a look at this document,
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.