Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

File Content Conversion for a CSV file with Field names in the first row.

Hi Geeks,

I need to pick a csv file which has the field names in the first row. But the data starts from line 2.

The file looks as follows

Shipment Date,Airline Carrier Code (DHL),Mode,Airline Carrier Number,Freight Airway Bill Number,Origin,Destination,Service Center,Weight,Weigt Unit of Measure,Pieces,Total Value


I am getting the payload as below.

- <ns:MT_CAL_DW_MULTI xmlns:ns="http://PurchOrder">

- <CAL_PO>

<shipment_date>Shipment Date</shipment_date>

<airline_carrier_code>Airline Carrier Code (DHL)</airline_carrier_code>


<airline_carrier_number>Airline Carrier Number</airline_carrier_number>

<freight_airway_billnumber>Freight Airway Bill Number</freight_airway_billnumber>



<service_center>Service Center</service_center>


<weight_unit_of_messure>Weigt Unit of Measure</weight_unit_of_messure>


<total_value>Total Value</total_value>


- <CAL_PO>















Here the requirement is that the communication channel should ignore the first row which contains the field names and should start reading from line 2.

It would be a great help if some body can throw light that how this can be achieved.



Former Member
Former Member replied

Hi Noorul,

In Sender Communication of File Adapter, set the value for Document Offset as 1.It means the first record of the file has not been come into payload.Check this it will solve u r problem.



>>> Reward points, if it is needful.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question