1. i am using one internal table "it_reptab" with SOLI structure to store records.
2. writing these records to Application server (Unix Type)
3. used function module
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
DOCUMENT_DATA = st_doc_head
PACKING_LIST = it_packlist
OBJECT_HEADER = it_objhdr
CONTENTS_TXT = it_attachment
RECEIVERS = it_receivers
in it_packlist, i am having two records one for mail body and one for attachment, the attachment record is having document type TXT.
now problem is i am not getting output like this in text file, the second line coming at 255 column or 512 column, Can anybody please help is how we can solve this problem.
Please let me know you need any other info. What delimiter we have to used when appending the records to "it_reptab".
Orders without, or with partial confirm qty
System ID : SID
Report Date : 15.08.2006
Report Time : 06:15:29
Plant Code : X000