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

Trouble with update fields on Excel sheet

Former Member
0 Likes
581

I am currently facing following trouble.

i have added on existing excel template two more fields. But still now it showing that reading fields are 32 instead of 34.

CALL METHOD spreadsheet->get_ranges_names

*     EXPORTING

*       NO_FLUSH = ' '

*       UPDATING = -1

    IMPORTING

      error    = error

      retcode  = h_retcode

      ranges   = lt_rangelist

lt_rangelist is still the old value. How can i solve this problem.

It will be great if someone can help me.

Thanks in advance,

I am currently facing following trouble.

i have added on existing excel template two more fields. But still now it showing that reading fields are 32 instead of 34.

CALL METHOD spreadsheet->get_ranges_names

*     EXPORTING

*       NO_FLUSH = ' '

*       UPDATING = -1

    IMPORTING

      error    = error

      retcode  = h_retcode

      ranges   = lt_rangelist

lt_rangelist is still the old value. How can i solve this problem.

It will be great if someone can help me.

Thanks in advance,

3 REPLIES 3
Read only

Former Member
0 Likes
540

Hi

Pass value 1 for import parameter UPDATING in the method get_ranges_names.

Regards

Raj

Read only

0 Likes
540

Hi Raj,

i doesn't solve my problem. It showing still now that it contain only 32 column.

regards,

Dami

Read only

0 Likes
540

Problem is solved. Excel template created new and uploaded. Now the ranges are read correctly