on 09-01-2016 8:37 PM
Hello there,
My interface is using a RFC Lookup in the graphical mapping and it is passing as input parameter an IDOC, the RFC in ECC is calling a abap class to create the entire mapping as per target system request for this interface, so the RFC exports the target xml, below the messaging mapping:
And this is the definition of the RFC in ECC:
However when I am testing the mapping I am not able to get any results from RFC, always get an empty result, my question is somebody knows how do I need to handle the data type for the Input and Output parameter in the RFC? Should be string? or what other data type I need to use in order I can pass though the xml correctly from PI into the RFC?...
Thanks.
Erika Juarez.
Hi Erika,
My interface is using a RFC Lookup in the graphical mapping and it is passing as input parameter an IDOC,
Use the root node of the idoc as your input and then encode it in base64 before passing into the rfc.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your Mapping has WPDBBY01 mapped as the RFC input, basically the IDoc Root Node. As far as I know this will just send a blank input value to the RFC as the Input and this is why it proabably gets a blank response back.
Right click on WPDBBY01 and select option Return as XML. This will make sure your Entire IDoc is converted into a XML and is mapped to the RFC's Import Parameter- SOURCES as a String
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Erika,
Are you testing the whole scenario or from the test tab?, if you are in the test tab, have you set the RFC channel parameter?. Also check in the RFC system if there is any dump or to test it with the data that you are using.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Erika,
Try executing the same RFC locally in ECC in se37 with the same input which you are passing in mapping and see if you get any result or its blank.
if its blank then its a data issue which dosent has an entry in the table in ECC.
if its non-blank try stop and start the rfc channel.
Br,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.