on 02-07-2007 6:53 PM
Hi,
I have a SAP Library, which works with the SAP .Net Connector;
All the supported Bapi were generated against one SAP System. (all were Standard BAPIS).
Now we can observe several Systems, where certain calls fail with a 'Marshaling Exception' right out of the SAP .Net Connector; it seems that this has to do with the length and offset attributes for each call's parameters.
So, the question is: do i need to regenerate the Proxies for each SAP System? shouldn't this be the same at least for the Standard Bapi calls ? are there differences between different revisions of a e.g. 4.6 System regarding the BAPICall parameters length and offsets?
Any help appreciated
Marcel Heling
Hello Marcel,
I can't understand why offset and length should be different. It can only be you use different versions of SAP system and the Types it self are different between the systems, may be there is an element/property more in the structure ? In this case you could be able to change the values of the Attributes on runtime with use of System.Reflection ?!
Regards
Holger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marcel,
how are you doing ?
for std bapis it is enough to generate the proxy once, and then run them againt any identical system [more importantly version of bapi]
when dealing with custom rfc's, it is critical that the same version is active
with respect,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
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.