Skip to Content

How to make an AT NEW in OLE ABAP?

Aug 24, 2017 at 05:45 PM


avatar image

Hello everyone could help me in a problem, it happens that I am implementing an AT NEW in OLE ABAP for an Excel document, but it does not work for me. This is the format you have and the code:



I would greatly appreciate your help.

10 |10000 characters needed characters left characters exceeded

What is not working? What do you expect?


The fact that it is OLE is irrelevant. AT NEW has a prescribed way of working. What is between the AT NEW and the END AT makes no difference.

Please share the contents of it_completo

* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Simone Milesi Aug 24, 2017 at 06:07 PM

Check your ALMVA1 field is the first one in your table.

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Thank you Simone checked.

IS the First field of my internal table but AT NEW is Still not working.

Casually. Do you know of any function or method to eliminate empty rows?


Hi Rosa,

but if you debug, the variable used to fill the cell, is filled?


Hello Simone

I comment that if the varible is cleaned, that is, if you enter the correct data.

The problem is with the AT NEW does not take it properly,

since I check it with WRITE and if it works, it does not assign the rows of more (Empty).