on 11-17-2009 8:38 PM
Hello,
I am attempting to construct Schemas for use with Microsoft BizTalk server for some BAPI functions. I am using the Microsoft mySAP Adapter to do this. Some BAPI functions work without issue, but I have three that I am trying to construct and I get a n error similiar to this:
Microsoft.ServiceModel.Channels.Common.MetadataException: Retrieval of Operation Metadata has failed while building WSDL at 'http://Microsoft.LobServices.Sap/2007/03/Bapi/BUS1001/ARCHIVEDDOCSDISPLAY/ARCHIV_DISPLAY_META' ---> Microsoft.ServiceModel.Channels.Common.MetadataException: RFC ARCHIV_DISPLAY_META could not be resolved against SAP system because its metadata could not be obtained. ---> Microsoft.Adapters.SAP.RFCException: Details: ErrorCode=RFC_INVALID_PARAMETER. AdapterErrorMessage=An error occurred while determining the function interface of the RFC ARCHIV_DISPLAY_META.
In the RFC trace I see this:
*> RfcGetFunctionInfoAsTable(ARCHIV_DISPLAY_META):
Parameter :Table-Field T Dec. Len.1 Off.1 Len.2 Off.2 Optional
-
I:ARCHIV_DOC_INDEX :SAPB -SAPADOKID C 0 40 0 80 0 X:SPACE
I:AR_OBJECT :TOAOM-AR_OBJECT C 0 10 48 20 80 X:SPACE
I:AUTH_FLAG : - 0 4 64 4 112 X:SPACE
I:DISPLAY_FLAG : - 0 4 80 4 128 X:SPACE
I:NO_WORKFLOWINFOS :TOAOM-AR_STATUS C 0 1 96 2 144 X:SPACE
I:OBJECT_ID :SAPB -SAPOBJID C 0 50 112 100 160 :
I:SAP_OBJECT :TOAOM-SAP_OBJECT C 0 10 176 20 272 :
I:WINDOW_ID :SAPB -SAPWINID C 0 10 192 20 304 X:SPACE
I:WINDOW_TITLE :SAPB -SAPWINTITL C 0 40 208 80 336 X:SPACE
X:ERROR_ARCHIV : - 0 0 0 0 0 :
X:ERROR_COMMUNICATIONTABLE: - 0 0 0 0 0 :
X:ERROR_CONNECTIONTABLE : - 0 0 0 0 0 :
X:ERROR_KERNEL : - 0 0 0 0 0 :
X:ERROR_PARAMETER : - 0 0 0 0 0 :
X:ERROR_VERSION : - 0 0 0 0 0 :
<* RfcGetFunctionInfoAsTable [1] : returns 0:RFC_OK
>>> RfcAlignFunctionInterface [1] ...
Error in program 'devenv': RfcAlignFunctionInterface, ARCHIV_DISPLAY_METAႹ컈Ⴙ line 3 AUTH_FLAG Exid is space
Error in program 'devenv': RfcAlignFunctionInterface, ARCHIV_DISPLAY_METAႹ컈Ⴙ line 4 DISPLAY_FLAG Exid is space
Error in program 'devenv': <* RfcAlignFunctionInterface [1] : returns 19:RFC_INVALID_PARAMETER
>>> RfcLastErrorEx
<<< RfcLastErrorEx
Can anyone tell me what the solution is to this? Is it a problem of authorization? Something else?
Thanks,
Kent
Edited by: Kent Maxwell on Nov 17, 2009 9:39 PM
This error is thrown by the mySAP adapter when an attempt is made to generate a schema for a function module in SAP that is not remote enabled.
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.