cancel
Showing results for 
Search instead for 
Did you mean: 

CAF Destinations Error

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

rohit_j
Participant
0 Kudos

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