Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to generate excel attachment for large volume of data , using CL_BCS class

Himayatullah
Active Participant
0 Kudos

Dear Friends,

I am sending the report output as excel attachment  in the mail ,with CL_BCS class functionality.When there are few records excel attachment is generating and subsequently mail is sent.

But here i am facing one issue,for large volume of data(More than 1000 records),excel attachment is not generating and unable to send the mail.

Please  let me know the reason for this

1 REPLY 1

Former Member
0 Kudos

I assume that you're using BCS_EXAMPLE7 program as your model?  Are you passing the size parameter (12-characters type c)  in your document->add_attachment( ) parameters?  I'm not sure this will fix, but I would look at all the parameters for the add_attachment method call.