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 - List Background problem

Former Member
0 Likes
921

Hi Expertu2019s,

One of the requirement , I have Developed block of ALV list in a report.(In single report 3 times calling FM REUSE_ALV_LIST_DISPLAY ).In foreground its working fine ,display output with Top of page and column header.

But in Background the output list fields are in improper position ,Single record displaying in 3 lines. Its generating a list by truncating 4-5 fields without top of page and column header . I understand that due to the default page formate not able to accommodate all fields. So I tried the page formate to X_65_255 & X_65_1024 but not change output list.

I have checked in the spool request of X_65_255 page formate ,but in spool it shows X_65_80 ,i.e explicitly if you change the page formate also it taking default one.

In layout I have tried below options ,no changes in spool request output.

colwidth_optimize

no_colhead

no_min_linesize

min_linesize

max_linesize

Questions:

1.Truncation 5-6 fields in output.

2.Top of page is not coming in display.

3. Column headers are not output.All the three problems are coming when executing the report in background.

Kindly give suggestions for the above issue.

Thanks&Regards,

Ram.

3 REPLIES 3
Read only

Former Member
0 Likes
567

Hi,

This problem is because in back ground while creating spool, system picks up only 255 characters form left. That is why it is not coming fully in background mode.

Go to transaction SPAD -> FULL ADMINISTRATION -> DEVICE TYPES -> FORMAT TYPES and there you can see all the available formats. Create a new format Z_65_700 in the similar manner with X_255... With a different number of columns (700) and save it.

Then in the tab DEVICE/SERVERS go to OUTPUT DEVICES and type your printer -> ENTER -> then from the Menu GOTO device type -> then there is a button FORMATS where you can see all the existing formats (plus the one you have just created). Find it and choose it. Then save.

Regards,

Shamma

Read only

0 Likes
567

Hi all,

I have tried out with new page formate using X_65_700 ,but its taking X_65_80 by default after check the spool request I came to know. So what could been the reason for taking the default formate values.

In this report I am using multiple ALV list ,by using the option layout-list_append = u2018Xu2019. So totally 3 list is displaying in one report .Multiple ALV list will been the problem ?

Experts kindly advise on the above.

Thanks in advance,

Ram.

Read only

Former Member
0 Likes
567

solved