Reputation: 1
I'm using TSAPFunction
to connect to SAP with Delphi 2009.
Everything works fine, I can use some BAPIU like (RFC_READ_TABLE
, BAPI_GOODSMVT_CREATE
, etc...).
I'm trying to use HU_CREATE_GOODSMVT_RFC
but it doesn't work.
If I try to add functions from OCX I got this error
Could not add functions
When I try to add it from this code :
FormClientSAP.SAPFunctionsWork.Add('HU_CREATE_GOODSMVT_RFC');
I tried with this code too :
myIFunction:=FormClientSAP.SAPFunctionsWork.Add('HU_CREATE_GOODSMVT_RFC') AS IFunction;
But my function isn't added (FormClientSAP.SAPFunctionsWork.Count = 0)
.
I try with and without UNICODE components.
I've checked in SAP and this BAPI is RFC enabled. And from SE37
I can use it and it works fine.
Can anyone can help me to understand what is wrong?
Thanks for your help.
Upvotes: 0
Views: 230