10-08-2008 9:13 PM
hi guys i need help from you
actually it is a outbound interface file format is ex.csv file ,i need to print the header and footer in the outbound file ex.csv file .
fields:record type,sequence number,y2k compilant indicator,date,time,request data name,client id -header. record type,sequence number,y2k compilant indicator,date,time,request data name,client id,record countfooter
Output:
IS00000000000+10000045sy-datum, sy-datlo,employee name,client id -
header
IE00000000000+10000045sy-datum, sy-datlo,employee name,client id,record count---footer.
thanking you
rajesh raj
10-08-2008 10:19 PM
Create an internal table with field as string.
Append all data along with Header as first and Footer as last of the data.
Download it.
10-08-2008 10:19 PM
Create an internal table with field as string.
Append all data along with Header as first and Footer as last of the data.
Download it.
10-09-2008 2:21 AM
hi Amith thank for u reply could u provide me sample code or any other same type examples .
rajesh raj
10-09-2008 2:39 AM
Hi Rajesh Raj,
Is it posibble to adopt this logic for your requirement?
Declare a string type internal table.
Append the header, each record wanted to be downloaded and footer.
In appending each record, CONCATENATE if all fields are CHAR type, else use 'WRITE...TO' statement.
Finally, download it.
Regards,
R.Nagarajan.
-
We can -