I am doing an Interface to Journal upload. Transaction code is f-65. In this I have to upload Header data & Line Items data. I am using BDC Session method. For this I did Recording (Tr..shdb). By using this recording I am uploading the data from Excel file.
It is working for only for first one record, means header & line item. For second record there is no header I suppose to upload Line item only. I am trying to do this but it is not working. I am getting Error..
No batch input data for screen SAPLF040 0700.
There is data, after executing the pgm I am printing all internal table data in Grid. It is printing exactly line my Excel file.
For line item I am checking if first field is not HDR then I have to upload Line items, other wise it upload header & line item.
How I must do?
Every time I must upload the same header item for each & every line item or is there any other way?