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: 

How to make an AT NEW in OLE ABAP?

Former Member
0 Kudos

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:

CODE:

RESULT IN EXCEL :

I would greatly appreciate your help.

1 ACCEPTED SOLUTION

SimoneMilesi
Active Contributor
0 Kudos

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

6 REPLIES 6

SimoneMilesi
Active Contributor
0 Kudos

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

0 Kudos

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?

0 Kudos

Hi Rosa,

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

0 Kudos

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).

Sandra_Rossi
Active Contributor

What is not working? What do you expect?

matt
Active Contributor

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