on 2011 Apr 06 1:10 PM
I get an error when invoking FUNCTION "BAPI_ALM_ORDERHEAD_GET_LIST".
Error :
SAP.Middleware.Connector.RfcTypeConversionException = {"FIELD BASIC_FIN of STRUCTURE BAPI_ALM_ORDER_LISTHEAD_RESULT (SETTER): cannot convert String into TIME"}
Code I use (error thrown during Invoke):
Dim API As IRfcFunction = ecc.Repository.CreateFunction("BAPIALM_ORDERHEAD_GET_LIST")
'
Dim myStructure As IRfcStructure = ecc.Repository.GetStructureMetadata("BAPIALM_ORDER_LISTHEAD_RANGES").CreateStructure
myStructure.SetValue("FIELD_NAME", "OPTIONS_FOR_DOC_TYPE")
myStructure.SetValue("OPTION", "EQ")
myStructure.SetValue("LOW_VALUE", "ZM01")
'
Dim myTable As IRfcTable = API.GetTable("IT_RANGES")
myTable.Append(myStructure)
API.SetValue("IT_RANGES", myTable)
API.Invoke(_ecc)
Any ideas on how to solve this ?
Request clarification before answering.
This was a bug in the early versions of the Nco 3.0 connector. SAP solved it from patch 3.02 onwards.
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.