cancel
Showing results for 
Search instead for 
Did you mean: 

Flat file to XML in SAP SFTP adapter

former_member185881
Active Participant
0 Kudos

Hello All

I am trying to convert flat file to xml using SAP SFTP adapter.

Flat File is like below:

AABEN;20141106;20141106;45;0.00

AABOL;20141106;20141106;45;0.00

ABGRI;20141106;20141106;45;0.00

ADDEA;20141106;20141106;45;0.00

ALADA;20141106;20141106;45;58.43

AMSCH;20141106;20141106;45;0.00

ANOLV;20141106;20141106;45;0.00

ANROY;20141106;20141106;45;0.00

AVMCD;20141106;20141106;45;0.00

Message Type structure I created like below

In Server SFTP adapter in Module tab I am using "AF_Modules/MessageTransformBean" and conversion type ="StructPlain2XML"

I am getting error = "Error: com.sap.aii.af.sdk.xi.adapter.trans.TransformException: Transformer Conversion3.0.5226 Error initializing Class: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found (4408) Parameter 'xml.keyFieldName' is missing (4403) Parameter 'xml.keyFieldType' is missing (4403) ; nested exception caused by: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found (4408) Parameter 'xml.keyFieldName' is missing (4403) Parameter 'xml.keyFieldType' is missing (4403) "

I am not using any key field then please let me know how to overcome this issue.

I searched on SDN but did not get any perfect answer.

Thanks

Dheeraj Kumar

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Dheeraj,

Did you solved this problem? If yes, could you let me know, how?

Even I am getting the same error. My structure is also looks similar to yours.

Best Regards,

Satish.

former_member185881
Active Participant
0 Kudos

Hello Satish

Kindly create one new discussion and send me that link I will tell you the solution there, also paste your input file and parameters which you applied in SFTP for conversion.

Thanks

Dheeraj Kumar

Former Member
0 Kudos

Hello Dheeraj,

Thanks for your reply. I created a new discussion,

Thanks well in advance for your help!

-Satish.