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

Deliery Number missing from .csv

Former Member
0 Likes
631

Dear All,

Please kindly help me out on this issue.

The delivery number is missing from the .csv. No idea when this started to disappear.
It appears on the .pdf.  We need the delivery number for the brokers and our electronic auditing.

Can somebody please tell me why this is happening? Also tell me how i can resolve this!

Appreciate your immediate help

Thanks in advance!!
Snigdha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
603

Hi Sandeep,

Thanks for a quick reply.
Yes the file is being downloaded from ABAP..

The Delivery number is also being displayed when i debug the file, hence it is being displayed in the pdf file.
Thanks!!
Snigdha

5 REPLIES 5
Read only

sandeep_katoch
Contributor
0 Likes
603

Hi Snigdha,

Some information regarding this

Are you downloading the file from ABAP?

Are you able to see the delivery no. while debugging in the table which you are passing to FM download?

Is there any adobe form or smartform in which you are able to see the delivery no's.?

Rgds,

Sandeep Katoch

Read only

Former Member
0 Likes
604

Hi Sandeep,

Thanks for a quick reply.
Yes the file is being downloaded from ABAP..

The Delivery number is also being displayed when i debug the file, hence it is being displayed in the pdf file.
Thanks!!
Snigdha

Read only

0 Likes
603

hi,

Ok so the thing is till the time you are passing the data to FM for dwonload the delivery no. is there.

But are all characters not seen in csv or only one or two digits are missing?

If you are using ALV grid display and then downloading the file then their may be one cause.

1: you will have to check the filedcatalog build where in you are building the fieldcat.

There are cases wherein if the length of variable is less then the actual length then in SAP you will see the delivery in alv but some characters will be lost in download because the variable length used in fieldcat is less than actual lenght of delivery.

Rgds,

sandeep katoch

Read only

0 Likes
603

Thanks Sandeep,

I found the issue.
The issue is all because, the field Delivery number is not declared in the internal table which is being called when the download is needed.
And the pdf file generated is fetched from the spool and hence it is picking the value from the ALV. Pdf file cannot be compared to the csv file as both of them are generated from two different internal tables

Regards,
Snigdha

Thanks Sandeep

Read only

0 Likes
603

Your most welcome

Please close the thread if it has been answered.

Rgds,

Sandeep Katoch