on 12-23-2009 8:24 AM
Hi,
In the RFC to File, the RFc is called in the ABAP program.
So when i am executing the ABAP program for the 1st time it doesnt reach PI, only when clicking the execute button multiple times execution reaches PI and a message ID is created along with the required data.
what is the problem? why is it not reaching PI when i execute at the first time itself?
Hi,
U r scenario is RFC->XI->File.
First u have check RFC destinatios wheter it working or not.
1) U r program ID should match with RFc destination and RFC adapter configurations.
2)should write commit work at last in the Abap Program.
3)Refresh the Cache objects using SXI_CACHE and below urls.
http://XXXXXXX:50000/CPACache/refresh?mode=full
http://XXXXXX:50000/CPACache/refresh?mode=Delta
4)Then run ur program.It will sent successfully
5)Check in SM58 .
Thanks
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
Thanks for the response.
>>> First u have check RFC destinatios wheter it working or not. 1) U r program ID should match with RFc destination and RFC adapter configurations.
I have tested the RFC destinations and it works fine. I have also given the same Program ID in adapter configuration
>>>2)should write commit work at last in the Abap Program.
Commit is present at the end of the ABAP program
Cache refresh was also done. But still facing the same problem.
>>>5)Check in SM58 .
And we are getting the following errors randomly:
Server repository could not create function template for 'ZFN_EXTRACT
Commit fault: com.sap.aii.adapter.rfc.afcommunication.RfcChannelMismatchE
Hello,
To catch the error try to set up break point in your abap program and debug work of RFC function from input parameters to output. During debugging draw your attention at next points: clearing content and header of internal tables, rollback and commit operations and of course logic of filling result table(s) of your RFC function.
BR,
Dzmitry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dzmitry,
Thanks for the response.
in ECC if i use breakpoints and do the testing, it works fine.
The porblem is only when calling the RFC from PI side. If the C.C is triggered in PI only the 4th or 5th attempt reaches ECC, the connection is not happening at the first time itself when we trigger the CC in PI.
Hi,
Could anybody suggest me some solution for this. i m still facing the same issue.
This is the case with synchronous method (File - RFC - File) as well and also in QA also we are facing this error.
Regards,
JJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.