2012 Oct 11 12:02 PM
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
2012 Oct 11 12:33 PM
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
2012 Oct 11 12:05 PM
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
2012 Oct 11 12:33 PM
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
2012 Oct 11 12:51 PM
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
2012 Oct 11 2:23 PM
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
2012 Oct 11 5:28 PM
Your most welcome
Please close the thread if it has been answered.
Rgds,
Sandeep Katoch