cancel
Showing results for 
Search instead for 
Did you mean: 

How to process a text file(header,1,record,*) with "Content Conversion Parameters"?

Former Member
0 Kudos

Hello,

I can't find my error at my configuration for a file adatper to process a text file.

The Adapter only process the Record rows and not the Header row, what is my mistake?

The SAP documentation could help me, because I don't found the right or I didn't understand where is my mistake.

I hope you can help!

DataType

FileAdapter

File

Accepted Solutions (1)

Accepted Solutions (1)

manoj_khavatkopp
Active Contributor
0 Kudos

Hi Lars,

The key filed length in the file and the length mentioned in the FCC doesn't match could you try to change Header.fieldFixedLength = 28;

And also the Keyfieldvalue for Record is mentioned as 10 but the length of the filed MANDT is mentioned as 3 . Try correcting these.

Br, Manoj

Former Member
0 Kudos

Thanks, the value of the parameter "Header.fieldFixedLength" was the mistakte.

I change the value into "28" and it works.

I can't believe this was the error, I was thinking then there blanks at the end of the field.

former_member186851
Active Contributor
0 Kudos

Excellent Observation Manoj

Answers (3)

Answers (3)

former_member398373
Participant
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi Lars,

You are maintaining different field name of your header in the parameters. Please check it.

Regards,

Suhale Shaik.

former_member186851
Active Contributor
0 Kudos

Check your document name ,I guess it should be Personal_DT.