on 01-10-2012 6:23 AM
Hi,
While exporting from ALV report to excel following issue was faced:
ALV report contains 81 columns out of which 67 columns are displayed properly but from 68th column onwards data is dispalyed on next row
I want all columns displayed on single row..
Any help will greatly appreciated..
Thanks,
Deepak
Hi Deepak,
I was browsing through these threads to find anwer for the same issue.
So thought of putting my analysis which helped me resolve my problem.
Analysis/Solution:
When we export ALV data to excel worksheet, as sap notes say the maximum lenght allowed is 1023 charaters and the max no of columns supported is 90.
(I never faced any issue related to no of columns as it worked fine for columns >90 too)
Issue occured when row size of exported data gets more than 1023 character.
Therefore the row data must not exceed 1023 character, otherwise column splits and moves to next row.
One additional aspect generally missed is that:
When data in any particular column changes it's length, alv header also changes its lengh (short text, medium text, long text; depending on the length of of the longest cell in the column)
therefore even if you have total length of row less than 1023 character, there might be cases when your ALV header size exceeds this length.
Hopefully it will be helpful for you too.
Regards,
Parveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply but actually I already used this link but I have not found any option which helps me to arrange all columns in one row.
All my data is exported in excel but only issue is that all columns is not displayed in single row, 68 column onward data is displayed on next row
For example:
Emp Code Emp Code CPF No Employee Name Designation
MISC deduction CPF1 Adv.(Reg. Pay) CPF2 Adv.(Reg. Pay) Vehicle Adv.(Regular)
Explanation : MISC deduction field should come after designation field but is displayed on next row
Thanks
Deepak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dirk,
I was browsing through these threads to find anwer for the same issue.
So thought of putting my analysis which helped me resolve my problem.
Analysis/Solution:
When we export ALV data to excel worksheet, as sap notes say the maximum lenght allowed is 1023 charaters and the max no of columns supported is 90.
(I never faced any issue related to no of columns as it worked fine for columns >90 too)
Issue occured when row size of exported data gets more than 1023 character.
Therefore the row data must not exceed 1023 character, otherwise column splits and moves to next row.
One additional aspect generally missed is that:
When data in any particular column changes it's length, alv header also changes its lengh (short text, medium text, long text; depending on the length of of the longest cell in the column)
therefore even if you have total length of row less than 1023 character, there might be cases when your ALV header size exceeds this length.
Hopefully it will be helpful for you too.
Regards,
Parveen
Hello Deepak,
Check this link to format ALV reports http://www.erpgenie.com/sapgenie/docs/Using%20ALV.pdf
Check if you missed something.
Regards,
Amit Barnawal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.