on 07-14-2023 3:17 PM
Hi Experts,
I have SAP BTP trial account, with CPI activated. In which i am trying to fetch data from ECC system using an iflow. Please find below the iflow, the same has been done following the links tutorial to an extent.
When i am trying to test the API i am getting the below error.
An internal server error occured: <?xml version="1.0" encoding="UTF-8" standalone="no"?><rfc:RFCExceptions xmlns:rfc="urn:sap-com:document:sap:rfc:functions"><Exceptions>
<E1>getDocument Failed</E1>
</Exceptions></rfc:RFCExceptions>.
The MPL ID for the failed message is : AGSxVkh8Nlce5Fph9EwgtPLtS27z
I had put a trace but could not understand the rootcause. Please find the log attached.messagelog.txt. Please suggest / help
Note: Cloud connector and destination are already in place and connection was successful.
Thanks,
Kunj Bihari Shukla
bhaskarsaishankar
This issue is because of invlid parameter when calling RFC.
In my case it is name space issue.
In my case it wss 'ns0' at beginning but changed to 'ns1' one day later and I don't know why.
If you found this kind of issue, you can always to below steps to find and solve the issue:
1.Download the WSDL of RFC(save as wsdl type, not xml type) via URL: <server address>:44300/sap/bc/soap/wsdl11?services=<RFC name>&sap-client=<client>
2. Create a mapping in front of request reply of RFC call and upload the wsdl as the target in the mapping and you will see the exact RFC parameter structure. If you input XML directly, you should enter correct data structure like below: In most syystems the name space is ns0 but in my case it is ns1.
<?xml version="1.0" encoding="UTF-8"?><ns1:ZFIFM045 xmlns:ns1="urn:sap-com:document:sap:rfc:functions"> <SYSID>FSP</SYSID></ns1:ZFIFM045>You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.