on 11-17-2011 5:56 PM
Hi All,
I've created a CAF to expose a BAPI as a WebService. During the import process I've defined a destination that was created in the development environment. In the development environment everything works.
When I deploy the CAF in the quality environment with the destination with the same name already created, I get an error because the application is using another Destination.
Is there any server configuration that overrides the destination chosen in the development phase (NWDS) when importing the BAPI ?
Thanks.
Hi Luis ,
When you import an RFC into the CAF application a java Bean is generated. You will find it in the src folder of the "ejbModule" DC. The file name will be <Bapi_name>Bean.java . In the java file you will see sapConnectionFactory.getRecordFactory("Destination_Name") . Check if the string in Destination_Name is having the correct value.
I have observed that everytime we press generate in CAF the "Destination_Name" is being removed.
Best Regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.