Application Development 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: 

Output length of SALV doesn't work in job mode

Jefferson-Rojas
Explorer
0 Kudos
148

Hello,

Currently I use SALV for showing a report with three columns currency values. It works when I execute it normally, but when I execute it in job mode, the currency values are showed without separation of millions in some columns

Scenario 1

JeffersonRojas_0-1732834621912.png

Scenario 2

JeffersonRojas_0-1732835396291.png

 

I tried to specify a fixed output length, but it doesn't work when I execute in job mode because it continues to show me the columns with the same output length as the previous image.

I set these values for the currency values columns:

lo_column->set_currency_column( 'WAERS' ). " Column of my structe with the currency

lo_column->set_optimized( abap_false ).

lo_column->set_output_length( 30 ).

 

1 REPLY 1

raymond_giuseppi
Active Contributor
76

In 'background' mode, check also the print parameters of the job, the ALV will adapt to the expected print width.