‎2010 Oct 15 6:45 AM
Hello,
My requirement is there is a file placed in the application server 'IN folder'. I will read the entries in those file and post the data in SAP using transaction F-02. Once the documents are posted , it will generate three files, one for successful posting , another containing error texts and 3rd one containing error file. I have to write the outputs in the application server in 'OUT' folder. After the BDC , I have to send those files through email . I am using function module 'SO_NEW_DOCUMENT_ATT_SEND_API1' for that.
My development is almost over. The problem is in those files, the first line is coming blank. All the data's are coming correctly. I also want to know the importance of HEAD_NUM and HEAD_START parameter in the FM.
Regards
D. Mallick
‎2010 Oct 15 7:28 AM
Hi,
HEAD_START
Requires the start row of the table OBJECT_HEADER, as of which the specific header data of the object is stored.
HEAD_NUM
Requires the number of rows in the table OBJECT_HEADER that contain specific header data for the object. The relevant rows are arranged in a block and defined uniquely together with the entry in HEAD_START.
Check if the header setting can help for you .
Thanks,
Rahul