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

not enough output length in backend mode program executing

raffinkira
Participant
0 Likes
1,463

Hi, guys.

I have an ALV program, when it is executed by normal means, it is displayed correctly.

But when I execute it in backend mode, then check the output result in sm37, the output length is not wide enough,

so that some columns are moved to the second line that result in a mess displaying.

could anyone give me some ideas, thank you.

8 REPLIES 8
Read only

Former Member
0 Likes
1,302

Hi Ming,

Change the Line Size in the report.

REPORT  ZREPORT_NAME    LINE-SIZE 1024
                                                                         LINE-COUNT 65
                                                                         NO STANDARD PAGE HEADING
                                                                         MESSAGE-ID z_messages.
255 is the limitation of the SPOOL I suppose.
Read only

FredericGirod
Active Contributor
0 Likes
1,302

Hi Ming,

you have to specify a printer when you create a background job, and after that you have to define a size of the page 65x80 ... 255x ...     select the biggest one (maybe 1024)

regards

Fred

Read only

0 Likes
1,302

I already chose the biggest.

I think there is too many columns.

Read only

former_member198834
Participant
0 Likes
1,302

hi

1.firstly  The maximum line width is 1,023 characters.

2. if you want more than 1023 chars use " SUBMIT LINE-SIZE width ".

3. layout optimize width should be 'X'.

Suresh

Read only

Former Member
0 Likes
1,302

Hi,

GO to SPAD Transaction code   

  • In the menu Settings -> Spool System
  • In the others tab check the first check box in the Output Controller block, SAVE and exit.

 

Now Schedule the ALV report again by providing the output device and format

BTW, it is a very common problem.

Regards,

Monami.

Read only

0 Likes
1,302

I tick the checkbox in the Output Controller block and it doesnt work.

Read only

0 Likes
1,302

Hi Ming,

Have you specified the output device and format and scheduled the report again?

It should work.

Regards,

Monami.

Read only

raffinkira
Participant
0 Likes
1,302

And what i am saying is background result display, it is different from frontend ALV display.

Even if I change the output length of ALV columns, it does not change anything in the layout of background result.