on 02-11-2009 7:33 PM
HELLO ALL,
I was working on SOAP to RFC scenario having a simple message mapping in it. The interface was working perfectly fine.
Later on I got a requirement to remove the mapping from my interface.
I was able to run the interface after the changes but It doesnt return any value, which usually happens when we pass wrong parameters to the RFC for which RFC doesnt find any entry.
I tested the RFC with the same test data using se37 and it returned me the records.
Any clue, why the RFC doesnt understand the input values when we dont have a mapping ? Does the message mapping convert/format the input data ?
I will appreciate for your inputs.
Thanks to all.
PEERU
Hi,
>remove the mapping from my interface
Place a Constant function and try
Cheers
Agasthuri Doss
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,PIndrani:
I ever did a test about RFC A-XI-RFC B.The 2 RFC are in the same business system and RFC B is copied from RFC A.In the scenario,interface mapping is still obligatory.So i think when we use RFC in a scenario,the interface mapping is always needed,it's SAP's limitation!
regards
yu ming
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For converting soap data into RFC understandable format, you must have a mapping (Even if you have same field names). The only possibility for avoiding mapping could be when soap sender sends data with the same message type name and namespace as present in RFC and which doesn't seem to be logical enough. Otherwise in all usual cases, you must use mapping to convert sender side data to RFC request format.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks both, for your replies.
As per my understanding mapping is optional in XI.
I am using the RFC request and response structure for the SOAP end. I just created a message interface for the SOAP sender, based on the RFC request and response structures.
Correct me if in the case of RFC, SAP makes mapping a mandatory object. I dint find any document which says that mapping is always needed for RFC receiver interface.
Thank You.
PEERU
As I said in my previous reply, you are doing exactly that
"The only possibility for avoiding mapping could be when soap sender sends data with the same message type name and namespace as present in RFC and which doesn't seem to be logical enough."
Mapping is not mandatory, but without mapping, the outbound message interface data won't be populated into RFC data.
Regards,
Prateek
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.