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

Move a numeric field to Excel.

Former Member
0 Likes
527

Hi,

While trying to move a field containing only numbers, should the field contain leading zeros, Excel automatically removes them and stores it as a number.

Could anyone tell me the solution as to what i have to do in SAP before the GUI download?

Points will be awarded to the accurate solution.

Thanks,

Prem.

Hi,

While trying to move a field containing only numbers, should the field contain leading zeros, Excel automatically removes them and stores it as a number.

Could anyone tell me the solution as to what i have to do in SAP before the GUI download?

Points will be awarded to the accurate solution.

Thanks,

Prem.

4 REPLIES 4
Read only

Former Member
0 Likes
513

Use

shift <variable> left deleting leading '0'.

Or

conversion_exit_alpha_output

Read only

0 Likes
513

Hi SN,

I am sorry. But i forgot to mention that i want to preserve the field length and leading zeros in excel.

Could you please help?

Read only

0 Likes
513

Apparently is not possible. There is no FM that changes the attributes of the cells.

What you could do is place a symbol before the number, like *000001 and the zeros would be intact

Read only

0 Likes
513

That is exactly what i have done. But should there be thirty or forty fields, wouldnt this solution be highly time consuming?

If you have any docs about the same not being possible, could you send them across please? I would really to confirm before i use this solution.

Thanks a lot for your quick reply.