on 11-19-2008 5:09 PM
Hello Experts,
Some unusual thing is happening.
Till this time my scenario was HTTP to RFC. So i have imported RFC in XI and its structure was perfact.
Tables having cardinality as 1...1, and fields were having cardinalities as 0....1.
Now we have planned to switch to the proxies and ABAP Web services. I have created the ABAP Web service with the same function module and imported it into the External definations.
When i am trying to use it into the mapping, Table cardinalities are 1....1 and fields are also having cardinalities as 1...1.
Now because of that i hv to map all the fields with some constants, but m not comfortable with it as there are nearly 1000 fields.
Do anyone of you have any idea what might be the problem? or how can i solve it.
Hope the question is clear.
Please help in this problem.
Thanks,
Hetal
In your ABAP Web Service, did you make all the fields required? Also for importing a WS you need to import the WSDL.. Hope you have dome that only. If you are doing a server proxy, then you must create the receiver side data type and messgae type in XI then generate the proxy for the inbound interface on R3 then need to call your RFC there.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Hetal,
This is happening because when you genarte the Webservice out of a Function Module, all the fields in your are mendatory in the generated WSDL.
This can be avoided. The WSDL that you have generated for your webservice, can be manually edited in Stylus studio etc to change the cardinality and make it optional. We also did the same in one of our scenario and it is working fine.
As you are mapping these fields with constants, so it doen't make a difference if those are optional too.
Just edit the WSDL/xsd and reimport it.
Thanks
-Kulwant
Thanks Kulwant.
I already have started doing but its like there are 1000 of fields so i need to do the coding for all of them
which i think is not a correct way.
One more thing bothers me is if in future there will be change in RFC and if we need to regenrate the Webservice and import it again, then again we need to make a change.
Is there any other option?
Thanks,
Hetal
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.