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

Fields getting truncated in the Spool

Former Member
0 Likes
3,044

Hi All,

           I have a report which is used to display the sales order details,I am using docking container ( cl_gui_alv_grid) to display the result in ALV. When i execute the report in background all the columns are displayed correctly in the development layer. But when i execute the same program in background mode in pre-production, half of the columns are truncated in the spool. The report has 35 fields in development layer all the 35 are displayed in spool whereas only 10 are displayed in pre production. I dont know what is the wrong.

I checked in SDN and i am not able to get it. I am using docking container. The same code is there in both the layers what may be the wrong.

CREATE OBJECT go_alvgrid

       EXPORTING

         i_parent          = go_docking

       EXCEPTIONS

         error_cntl_create = 1

         error_cntl_init   = 2

         error_cntl_link   = 3

         error_dp_create   = 4

         OTHERS            = 5.

   ELSE.

*   if background job

     CREATE OBJECT go_alvgrid

       EXPORTING

         i_parent = go_docking.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,849

Hello velasankar,

As output fields are getting truncated,just check following spool setting.  goto SPAD transaction. then Settings -> Spool System.

In the others tab check the first check box in the Output Controller block, SAVE and exit.

Also, Check for the wider available spool format for the printer devices if not sufficient then try to create with dummy printer using SPAD transaction.

Hope it works.

Regards,

Sudhir Kothavale.


Hi All,

           I have a report which is used to display the sales order details,I am using docking container ( cl_gui_alv_grid) to display the result in ALV. When i execute the report in background all the columns are displayed correctly in the development layer. But when i execute the same program in background mode in pre-production, half of the columns are truncated in the spool. The report has 35 fields in development layer all the 35 are displayed in spool whereas only 10 are displayed in pre production. I dont know what is the wrong.

I checked in SDN and i am not able to get it. I am using docking container. The same code is there in both the layers what may be the wrong.

CREATE OBJECT go_alvgrid

       EXPORTING

         i_parent          = go_docking

       EXCEPTIONS

         error_cntl_create = 1

         error_cntl_init   = 2

         error_cntl_link   = 3

         error_dp_create   = 4

         OTHERS            = 5.

   ELSE.

*   if background job

     CREATE OBJECT go_alvgrid

       EXPORTING

         i_parent = go_docking.

3 REPLIES 3
Read only

FredericGirod
Active Contributor
0 Likes
1,849

Hi,

did you have check the option of the program command : line-size ?      

Fred

Read only

Former Member
0 Likes
1,850

Hello velasankar,

As output fields are getting truncated,just check following spool setting.  goto SPAD transaction. then Settings -> Spool System.

In the others tab check the first check box in the Output Controller block, SAVE and exit.

Also, Check for the wider available spool format for the printer devices if not sufficient then try to create with dummy printer using SPAD transaction.

Hope it works.

Regards,

Sudhir Kothavale.


Read only

0 Likes
1,849

Thanks. I checked in both dev and pre-prod layer. The check box is not checked in pre-prod but checked in DEV . I will activate and check it.