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

ALV Grid Back ground Execution Problem

0 Likes
3,799

Hi Firends,

If i run my ALV Grid Report in background, i am getting X instead of the last digit in the external number . All other fields are coming correctly.

Ex..Customer number is 90000036..in output i am getting 9000003X.

<removed by moderator>


Thanks,

Murali K

Message was edited by: Thomas Zloch

20 REPLIES 20
Read only

avik_ghosh
Explorer
0 Likes
3,710

Hi Murali,

Why don't you create the structure of the internal table in SE11 which you are passing for display.

Regards,

Avik

Read only

0 Likes
3,710

Hi Avik,

Thanks for the reply.

I hope it is not a good idea to create a new structure , just for ALV Grid download Purpose.

I don't think, it is the cause the problem.

Thanks,

Murali K

Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,710

Once you are confident with your field catalog (The Consistency Check) check your report width (REPORT LINE-SIZE width) as well as the layout and line size of the generated spool (Print parameters).

Regards,

Raymond

Read only

Former Member
0 Likes
3,710

Hi

Increase the output length of KUNNR in the fieldcatalog and try...

Regards

Read only

0 Likes
3,710

Hi,

My Field is in the Middle of the Report. I am getting all the values correctly in Foreground.

Thanks,

Murali K

Read only

ankurgodre
SAP Mentor
SAP Mentor
0 Likes
3,710

Hello Kakarla,

This generally happens due to less report line size or incorrect print parameters settings.

>Try checking the field length of the field defined in the internal table which is getting the value 'X'.

> You may increase the LINE-SIZE in the Report statement to see if the value come properly.

> Also, you may set the print parameters to accommodate your output in spool settings.

Hope any or all options resolve your issue.

BR

Ankur

Read only

0 Likes
3,710

Hi Ankur,

i tried the same but no use.

You Can see from the below output , my field is 2nd one.

Spool i can see X, if copy the same and paste, even X is missing.( Paste in word or excel)

1101      7051582X  OLTP_20111226_000313612 12/26/2011 P11RFCUSR  01/01/2010        12/31/2010      KMT           P11RFCUSR  01/01/2010      12/31/2010

Thanks,

Murali

Read only

0 Likes
3,710

Hi

Try using Conversion routines....

CONVERSION_EXIT_ALPHA_OUTPUT

Regards

Read only

0 Likes
3,709

This may be a column width size (caused or not by a report/print width too small), try as already previously suggested to increase report and print width, you could also use an ALV variant with enouth width for the column or use colwidth_optimize in the layout.

Regards,

Raymond

Read only

0 Likes
3,709

Hello Kakarla,

Try the following:

GO to Transaction code SPAD >> Go to the Menu item Settings -> Spool System >> go to the tab OTHER >> Click on the First check box & SAVE it as below:


Also, you may try increasing the No. of COLUMN/ROWS in Spool Administration: Format Type to see if it works.

BR

Ankur

Read only

0 Likes
3,709

Hi Ankur,

I tried the same but no luck.

Thanks,

Murali

Read only

0 Likes
3,709

Hi ,

One more thing, just now i tired in my Colleague system..He is getting 2 dots .. instead of X.

Thanks,

Murali K

Read only

0 Likes
3,709

Hi Kakarla,

Why don't you post a screenshot of the spool to give us some idea of how it is displaying?

Did you try the consistency check to make sure no error/warning messages are displayed?

Regards,

Karthik Dharmarajan

Read only

0 Likes
3,709

Hi,

How to do consistency Check.

Thanks,
Murali K

Read only

0 Likes
3,709

Hi Kakarla,

Try the below link;

http://scn.sap.com/community/abap/blog/2009/09/25/sos--my-alv-report-is-not-working

Regards,

Karthik Dharmarajan

Read only

0 Likes
3,709

Hi,

Screen shot is here

Read only

0 Likes
3,709

Debug the background job using JDBG in SM37 and by setting the external debugger in report or check the settings of spool.

Read only

0 Likes
3,709

Hi,

Consistency Check is Good..No Errors.


Thanks,

Murali K

Read only

0 Likes
3,709

Hi

Customer number in foreground is displayed as '0090003636' and in background as '90003636x'.

no leading zeroes.

Y don't u try using suppress leading ZEROS in fieldcatalog or conversion routines....?????

Regards

Read only

0 Likes
3,709

Hi Vamshi,

As i know conversion routines to suppress / show zeros. But i am getting 9000363x.

Here x is coming instead of 6.

Thanks,

Murali K