Application Development and Automation 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: 
Read only

EXCEL

Former Member
0 Likes
801

Hi,

I am using XXL_FULL_API function module.

But what is there there are approx. 1.85 records.

So it is exceeding its limit 65536.

Now i want to download that record in EX-CEL.

Now i am planning to divide that record in different EXCEl.

So i am dividing that (record/65536)

And in XXL_FULL_API i am passing itab.

So pls tell me the logic.

Thanks.

6 REPLIES 6
Read only

Former Member
0 Likes
773

Hi,

May be you can copy the FM into ZFM and then increase the limit.

Reward if useful!

Read only

0 Likes
773

Hi,

i am not getting you.Pls explain in detail.

Thanks.

Read only

0 Likes
773

Just Loop around the same FM based on the number of Entries. It will be the easies way.

Regards,

Atish

Read only

0 Likes
773

Hi Atish,

You are saying like this way.

DESCRIBE TABLE DATA LINES L_DATA.

N = DATA / 65536.

Do n+1 times.

CALL FUNCTION 'XXL_FULL_API'

EXPORTING

n_vrt_keys = 0

n_att_cols = 34

n_hrz_keys = 1

sema_type = 'X'

no_dialog = space

TABLES

vkey = xmplt_v

hkey = xmplt_h

data = itab

sema = xmplt_s

online_text = xmplt_o

print_text = xmplt_p

EXCEPTIONS

file_open_error = 71

file_write_error = 72

inv_winsys = 73

inv_xxl = 74

cancelled_by_user = 75

OTHERS = 99.

CASE sy-subrc.

WHEN 0. "WRITE /'in Ordnung'.

WHEN OTHERS. WRITE: /'Fehler', sy-subrc.

ENDCASE.

ENDFORM.

Pls tell me this is your mean or sth else.

Thanks.

Read only

0 Likes
773

Hi,

yes this is what I meant.

Just do it in this way.

Regards,

Atish

Read only

Former Member
0 Likes
773

Hi,

Copy this FM to Customized FM through SE37.

Change the value MAX_ROW_XXL_LIMIT TYPE I VALUE 65536.

Reward if useful!