2012 Jul 18 2:25 PM
Hi Experts,
We are facing a problem while checking alv from spool.
SPAD part is done by cheking the format checkbox, apart from that our ALV contains only 10 column.
We have checked the format type also, it is also ok.
Its' working fine from foreground but we are facing the following probllem while running in background ..
The last column header of the report output is coming (10th )but the value part (ALV line item) is not coming rather its' overwritting the value in 9th column.
If we hide two column then the output from spool is coming ok.
I am giving the code piece of building of fieldcatalogue and layout, is there anything extra needs to be done?
7 of my ALV output is of charactet type and last three columns are currency type.
It will be very helpful if we can have any feedback.
LAYOUT...
wa_layout-zebra = c_check. "Value X
wa_layout-no_input = c_check. "Value X
wa_layout-no_input = c_check. "Value X
wa_layout-no_vline = space.
wa_layout-colwidth_optimize = c_check. "Value Xe
Fieldcatalogue
lwa_output_fcat-col_pos = 1 ,2 and so on " column pos
lwa_output_fcat-fieldname = 'BUKRS' 'PERNR' and so on
lwa_output_fcat-tabname = 'IT_FINAL'
\wa_output_fcat-reptext_ddic = 'Company Code' and so on .
lwa_output_fcat-seltext_l ='Company Code' and so on .
lwa_output_fcat-fix_column = c_check. "X
2012 Jul 18 2:43 PM
Does it work correctly in foreground? If not, check that field catalogue to be sure you're populating all fields correctly.
2012 Jul 18 2:43 PM
Does it work correctly in foreground? If not, check that field catalogue to be sure you're populating all fields correctly.
2012 Jul 18 4:19 PM
Hi,
Yes , we checked, its' working correctly in foreground,
The problem is while running in background.
I have given the exact layout and fieldcatalog used by us.
2012 Jul 19 12:11 PM