on 07-12-2016 5:38 AM
Hi Experts,
I am reimporting an RFC into as CAF external service.
After importing the RFC the CAF application is not updating the relevant Java files to reflect the new structure of the RFC.
Kindly provide your inputs.
Regards,
Pavan
Hi,
Did you face any exceptions/errors during the reimport of your RFC?
Regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christian,
Thank you for responding.
No i am not getting any errors or exceptions. The Import is successful. I can see the new structure reflecting in the External service context as well, however, the java classes related to the enhanced structure is not getting updated.
This java file has some tags like below and has Setter and Getter method for the variables::
<p>Java class for complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
<complexType name=" ">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
Can I add these additional variables manually as well in these Java files related to RFC structure ?
Regards,
Pavan
Hi again,
No problem
Can I add these additional variables manually as well in these Java files related to RFC structure ?
I wouldn't suggest that - if a generate is performed on your CAF project it will be overwritten based on the ca_model.cafmm content . By the way - have you performed a complete generate on the CAF project after the reimport? If not - could you please generate the project and check if there are any errors/exceptions.
Regards,
Christian
Ok then
It's a long time ago since i've worked with RFC and CAF in combination but maybe one of this points might be of help:
Regards,
Christian
Ttoo bad....
I found a documentation link which supports my statement earlier:
I don't know if this also affects the RFC reimport but with the WS reimport we have to delete the WS External Service and all its used data types first and then perform the reimport (no CAF generate in between!)
Check out the documenation here: Reimporting External Services - Composing Services - SAP Library
Regards,
Christian
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.