on 08-19-2008 10:47 PM
I am trying to run the RFC server programing example that begins on page 44 of the SAP NetWeaver RFC SDK - Release 7.1. I am using MS VS 2005
This line appears to be the problem:
repoHandle = RfcOpenConnection (repoCon, 8, &errorInfo);
repoHandle is not null, but the handle field within it is.
Then when I get to RfcGetFunctionDesc:
stfcDeepTableDesc = RfcGetFunctionDesc(repoHandle, cU("STFC_DEEP_TABLE"), &errorInfo);
I get this error:
RFC_INVALID_PARAMETER: inconsistence in description detected: non-unicode length is too small
I have tried different users and different function modules with no luck.
Any suggestions ?
Thanks Satish
I had read that before but I reread it after your post and it led me to the problem.
The problem is RfcGetFunctionDesc cannot read a function that imports or exports a structure.
For my case I can get by with simple types.
Some system details:
Kernel: 640 NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10
Patch Level: 175
SAP_BASIS 620 0051 SAPKB62051
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.