2009 Jun 09 11:19 AM
Hi
I have a alv grid display. when i run the report in background, i am able to see that a spool number is generated but i dont know how to check whether what is inside the spool is same as in ALV.
2009 Jun 09 11:41 AM
If u want to check the data of spool then goto T-Code SP01 give the spool number and execute it.
To compare spool data with ALV , downlaod data of spool in spread sheet through T-Code SP01 and compare it.
2009 Jun 09 11:25 AM
From what I understood....you want to check what data is there in the spool?right
Then, all you have to do is go to SM37 transaction, select the job...click on Spool button in the application toolbar , then select the spool output and you will be able to see the same report i.e. the ALV Grid Display..
If I am not clear with you requirement...then let me know..
2009 Jun 09 11:35 AM
I am running the the prog from se38 itself as background and giving the variant. IN sp01 i can see spool number number created. I dont want to create a job .
2009 Jun 09 11:42 AM
Hi,
Transaction SM37 is used to view the job and not to create one...Select the job...click on Spool button in the application toolbar , When you click on the sppol output you will be able to see your data.. It will be the same which you viwed in your ALV
2009 Jun 09 11:30 AM
Hi,
Goto Tcode SM37, select ur job & click on 'spool' in menu bar.A table is displayed, in which u click on Type column & u will see your output.
Thanks & Regards,
Anagha Deshmukh
2009 Jun 09 11:41 AM
If u want to check the data of spool then goto T-Code SP01 give the spool number and execute it.
To compare spool data with ALV , downlaod data of spool in spread sheet through T-Code SP01 and compare it.
2009 Jun 09 11:54 AM
when i am going to SP01, checking the contents and clicking the type to get the contents of ALV, i see a table "records passed" in one column "2" in another. Yes, there are only 2 records in ALV output. But i need to see the 2 records contents.How
2009 Jun 09 11:56 AM
Change the way you are displaying the ALV Grid....that is display with the contents then it will show the same...
Remember: Whatever you are displaying in ALV Grid...the same will be displayed in Spool
2009 Jun 09 12:04 PM
change the way?????????????????? is it like ALV Grid cannot be dispalyed in spool whereas ALV list can..?
2009 Jun 09 12:06 PM
grid can also be displayed...no issues..
which button are u clicking to display the spool???
2009 Jun 09 12:06 PM
Check whether you are using the function module 'REUSE_ALV_GRID_DISPLAY'
Edited by: Vin on Jun 9, 2009 1:07 PM
2009 Jun 09 12:08 PM
Hi,
If you have used the FM 'Reuse_alv_grid_display' and executed the program in backgroud..Goto transaction SM37 and choose the spool.. You will be able to view the data....
2009 Jun 09 12:09 PM
Are you running your Z program using SUBMIT? Then you check the below statement.....
SUBMIT ztest TO SAP-SPOOL
WITHOUT SPOOL DYNPRO
DESTINATION space
COVER TEXT ' Your Report Title'
NEW LIST IDENTIFICATION 'X'
IMMEDIATELY space
AND RETURN.
Thanks and Regards
2009 Jun 09 12:17 PM
Hi all,
In se38 i am executing the report Program->execute->background. Then i am giving a varaint . In sp01 i find the spool number | type| date|...clicking the type it is showing a table with 2 columns data statistics, number of ( in graphical mode) ..when i change to RAW, i can see the contents but it is not proper
2009 Jun 09 12:20 PM
Raj...for that entry in the type column there will be a button or a list image...click on that...you should be able to see the contents....else it means you are not displaying data properly..
Edited by: Vin on Jun 9, 2009 1:25 PM
2009 Jun 09 1:19 PM
Hi,
Your spool is displaying only the first page, the records you need are in the second page. In order to display the second page also you need to change the settings.
Click on the 'Settings' button in the page where you see the "records passed" page.Change the display area 'From page' 1 'To Page' 10.
Give it a try.
Regards,
Soumya.
2009 Jun 09 1:34 PM
here is FM i used
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = report_id
i_callback_top_of_page = 'LIST_HEADING'
is_layout = i_layout
it_fieldcat = i_fieldcat
TABLES
t_outtab = ALV_OUT[]
EXCEPTIONS
program_error = 1
OTHERS = 2
.