Home > database >  KETTLE of SAP INPUT incoming parameters of type conversion problem
KETTLE of SAP INPUT incoming parameters of type conversion problem

Time:09-30

Questions about call SAP RFC interface incoming parameters, always quote this error:
Com. SAP. Conn. Jco. ConversionException: (122) JCO_ERROR_CONVERSION: always convert field IN_WERKS of type CHAR to StructureRecord
Also try to use Java script converts the werks field into string, also is invalid, could you tell me how to solve this problem?

CodePudding user response:

In the kettle, there are three kinds of SAP data types, respectively table parameters (table), Structure (parameters), Single (variable parameters), the building Lord RFC function set should be of variable parameters, but in the kettle automatically, is the default system Structure, so the mismatch error,
Solution is that: in the SAP data type, the Structure into a single, empty the table/Structure at the same time (variable parameters the bar should be empty), and then through the access to,
  • Related