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

problem while viewing data in alv from background (configuration done)

Former Member
0 Likes
624

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
592

Does it work correctly in foreground?  If not, check that field catalogue to be sure you're populating all fields correctly.

3 REPLIES 3
Read only

Former Member
0 Likes
593

Does it work correctly in foreground?  If not, check that field catalogue to be sure you're populating all fields correctly.

Read only

0 Likes
592

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.

Read only

0 Likes
592

Its' working.some basis issues was there.