Reports output screen
I am using Developer Server 6 and Application Server 4.0.7 on NT
SP5.
When I use browser to run my app and run reports from a form
using run_product with destype=screen or preview, the Windows
Save File dialog appears instead of report output on screen.
Can anybody help me about this problem?.
Ruy
null
Hi Vishnu,
Try setting your desformat parameter to 'html'. You may also want
to check the value of the FORMS60_REPFORMAT environment variable.
Ensure that the value for this environment variable is 'html'
rather than 'HTML'. After setting the FORMS60_REPFORMAT
environment variable, restart the forms listener. I experienced
the same problem that you describe, and the above fix worked for
me.
Regards,
Thomson Attasseril
Ruy Chicaco (guest) wrote:
: Hi Vishnu,
: I have configured desformat='HTML', destype=FILE and
: desname=File_Name.html.
: The report saves the File_name.html in the server directory
: c:\temp with extension html.
: The virtual directory corresponding c:\temp is /web_img/ and is
: configured in Listener ows:www virtual directory page.
: When I call this file with web.show_document or executing
: http://ows.rjo.oec.com.br:80/web_img/file_name.html, the Save
as
: dialog appears.
: Ruy Chicaco.
: Vishnu Vadla (guest) wrote:
: : Ruy Chicaco ,
: : the problem is confirm your browsers file type extension
: : setting, iwhether it is htm or html, accordingly use the
: : destype parameter. if the browser doesnot indentify the
: : extension then it ask to save the file, thus displaying the
: : dialog box
: : Vishnu V.
null
Similar Messages
-
DEAR ALL
in my alv grid program output (which is basically for sales register),the standard menu bar is filled with full of ????????????????????? (question marks) i can able to see only few standard menus such as edit ,system rest of the menus are hide behind the question marks.Help me to understand this problem.
i have the screen shots with me ,if someone needs that for providing solution i will send it to him/her.
looking forward to here from u all.
Regards
KarthikHi frend,
Pls check the pf-status module in ur program and define suitable buttons in that.
U can send the program and screen-shots to me at my id-
[email protected]
Regards,
Ameet -
'Save layout' button missing in the ALV report layout screen
Hi Friends,
In one of our ALV report the 'save layout' button is missing in the report output screen.i have used the OO concept for creating the ALV output and not the function module.I have attached the code below used for creating the ALV grid.
CREATE OBJECT alv_grid
EXPORTING i_parent = g_container_2.
CALL METHOD alv_grid->set_table_for_first_display
exporting
i_structure_name = 'PA0002'
is_layout =
CHANGING
it_outtab = gt_outtab
it_fieldcatalog = wa_fieldcat.
But i'm not able to trace why the 'save layout' button is missing in the output.Can anyone of you help me in sorting out this problem.
Thanks and Regards,
Vadivel.Pass <u><i><b>A to I_SAVE</b></i></u> parameter. That will give the options to the user to save the layout outs.
I_SAVE = SPACE
Layouts cannot be saved.
I_SAVE = 'U'
Only user-defined layouts can be saved.
I_SAVE = 'X'
Only global layouts can be saved.
I_SAVE = 'A'
Both user-defined and global layouts can be saved.
Regards,
Ravi
Note : Please mark all the helpful answers
Message was edited by: Ravikumar Allampallam -
How can we format the download file as it is as report output.
hi all,
I have a issue, when i execute the program the the report output displays on output screen.
now, in menu when i down load this output data into a word file the format is not correct i.e. it is not as it is in report output screen.
how we can correct this output format, when we download in word format file through menu.
pls help me on this .its very urgent.
thanks!
vipinVipin,
U will have to use OLE methods to format your MS-WORD output.
Check the tcode DWDM for sample code
Also check out the threads:
Get WORD Options with OLE
Re: OLE and MS Word
Also search in code samples with OLE-MSWORD
Reward if helpful,
Karthik -
Report output Export to CSV issue
Hi Experts,
I have a Bex Query. After running the report when I export the report in CSV format using "Export to CSV" from the report output screen, the data
is being dumped in different columns And when i try to convert that particular CSV file to Excel as we can only select one single column for delimiting the values using a separator into different cells the data in the other column is being truncated.
Kindly suggest me how to resolve this.
Thanks in Advance,
SushmaHi,
(If anything else on the BW side doesn't help).
Not so long ago I had a similiar problem all data (originally taken from several columns) were in one column - solved it with the help of VB coding.
Sth like this could help you.
Regards, Leszek
Dim tekst As String
last_row = Selection.SpecialCells(xlCellTypeLastCell).Row
Range("A1:Z" & last_row).Select
Cells.Select
Selection.NumberFormat = "@"
For wiersz = 1 To last_row
Cells(wiersz, 1).Select
tekst = Selection.Value
Cells(wiersz, 1).Value = Left(tekst, 21)
Cells(wiersz, 2).Value = Right(Left(tekst, 27), 6)
Cells(wiersz, 3).Value = Right(Left(tekst, 37), 10)
Cells(wiersz, 4).Value = Right(Left(tekst, 50), 13)
Next wiersz -
Link to SAP Report Output from SAP Mail Inbox
Hi Experts,
I wants to send a link of SAP ALV Report output screen to SAP mail inbox and if a user clicks that link ,the report output
screen should open and user has to see & interact the ouput of that ALV Report.how can i achieve this without webdynpro
and workflow.
Regards,
Veera.Hi Asif
When I said 'pdf/rtf/html/htmlcss', I meant any one of the above.
You need to run the report as:
rwrun60 <report_name> <connection_string> desformat=pdf destype=mail desname=<email_id> batch=yes
In case you want to mail as HTMLCSS, replace PDF in DESFORMAT option in the above command to:
DESFORMAT=HTMLCSS.
Regards
Sripathy -
Excel option is displaying blank Excel in Report output
Hi All,
We have created the ALV report and everything is working fine except the Excel icon in the report output screen. When we are clicking on the excel icon it is displaying the blank excel. In our systems MS Office 2007 has been installed.
Is there any link between MS office version that has been installed in the system and the Excel Icon option in the report output screen.
Please provide me the solution. Thanks in advance.
Thanks & Regards,
Sreelatha Gullapalli.Please try the following steps:
1. Click on Microsoft excel icon on the toolbar from ALV report.
2. Right click on the toolbar of the excel and select u2018Customize Quick Access Toolbaru2019.
3. Select Trust Centre -> Trust Centre Settings
4. Check u2018Trust access to the VBA project access modelu2019 checkbox in Macro Settings.
5. Save the settings and rerun the report.
You should now be able to see data in the excel if you click on the Microsoft Excel icon on the toolbar from the ALV report.
Regards,
Shayeree -
Automatic notification containing the report output
Hi,
I need to send an automatic notification containing the report output and a link to the SAP screen containing the report output to sap inbox.
The notification contains a link to the report output screen.
When user clicks on it(link), it takes him to the SAP report output screen which contains only the customers that the credit rep is assigned to..
I had done this using BDC , if itu2019s possible without BDC or Webdynpro and Workflow please let me know.
Thanks for your help.
Shilp....Hi
Your pgm is not passing anything in obj_descr in packing list for excel file. If you pass a name your excel file will have that.
Regards
Sathar
perform send_file_as_email_attachment
tables it_message
it_attach
using p_email
'Example .xls documnet attachment'
'XLS'
'PO'
' ' *------> no value*
changing gd_error
gd_reciever.
form send_file_as_email_attachment tables pit_message
pit_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription *----> no value*
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
t_packing_list-obj_descr = ld_attdescription. -
Bookmark Issue in WAD (Report Output without Variable Screen)
Hi ,
This issue is with the Saving of Report Output to Bookmark.
Expected Output:
Clicking on the Bookmark should bring out the Report Output with the Period and Year, which was used while saving the Bookmark. It should not pop up variable screen at the beginning.
Issue:
Currently, when I click the bookmark, Its triggers the default template and it brings out the Variable Screen with the default Selections, which i dont want to. I need to get the same output with the values which I saved under Bookmark.
Please suggest me a solution...
Thanks / SelvanHi, i dont rememberm but, can you check mark you DP_1 and properties->Behavior->Display variables screen->on
I hope helps. -
How to Print Selection-Screen along with ALV Report output
Hi,
I have a requirement wherein i need to also print the Selection Screen of a report when I print the ALV report output.
Basically i need to print the ALV output along with selection screen.
Could you plz suggest me the way.
Regards,
NitinHi,
My selection Screen is a very big one. It contains around 30 select-options.
So is their any standard method in which you can choose whether you want to take the output printout with or without Selection screen.
Regards,
Nitin -
Report OutPut directly to the printer by selecting in the selection screen
Hi Guys,
Can any one help,
How to give Report output (ALV report ) directly to the printer by selecting the printer name in the selection screen .
Sap Version is ECC 6.0.
Thanks In advance
praveen khi,
u can do it using submit statement.
SUBMIT TO SAP-SPOOL
Basic form
SUBMIT rep ... TO SAP-SPOOL.
Extras:
1.... DESTINATION dest ... COPIES cop
... LIST NAME name
... LIST DATASET dsn
... COVER TEXT text
... LIST AUTHORITY auth
... IMMEDIATELY flag
... KEEP IN SPOOL flag
... NEW LIST IDENTIFICATION flag
... DATASET EXPIRATION days
... LINE-COUNT lin
... LINE-SIZE col
... LAYOUT layout
... SAP COVER PAGE mode
... COVER PAGE flag
... RECEIVER rec
... DEPARTMENT dep
... ARCHIVE MODE armode
... ARCHIVE PARAMETERS arparams
... WITHOUT SPOOL DYNPRO
2. ... SPOOL PARAMETERS params
... ARCHIVE PARAMETERS arparams
... WITHOUT SPOOL DYNPRO
3. ... Further parameters (for passing variants)
are described in the documentation for SUBMIT
The syntax check performed in an ABAP Objects context is stricter than in other ABAP areas. See Missing print parameters with SUBMIT.
Effect
Calls the report rep with list output to the SAP spool database.
Additions
... DESTINATION dest(output device)
... COPIES cop(number of copies)
... LIST NAME name(name of list)
... LIST DATASET dsn(name of spool dataset)
... COVER TEXT text(title of spool request)
... LIST AUTHORITY auth(authorization for display)
... IMMEDIATELY flag(print immediately ?)
... KEEP IN SPOOL flag(keep list after print ?)
... NEW LIST IDENTIFICATION flag(new spool request ?)
... DATASET EXPIRATION days(number of days list
retained)
... LINE-COUNT lin ( lin lines per page)
... LINE-SIZE col(col columns per line)
... LAYOUT layout(print format)
... SAP COVER PAGE mode(SAP cover sheet ?)
... COVER PAGE flag(selection cover sheet ?)
... RECEIVER rec(SAP user name of
recipient)
... DEPARTMENT dep(name of department)
... ARCHIVE MODE armode(archiving mode)
... ARCHIVE PARAMETERS arparams(structure with archiving
parameters)
... WITHOUT SPOOL DYNPRO(skip print control screen)
With the parameters IMMEDIATELY, KEEP IN SPOOL, NEW LIST IDENTIFICATION and COVER TEXT, flag must be a literal or character field with the length 1. If flag is blank, the parameter is switched off, but any other character switches the parameter on. You can also omit any of the sub-options of PRINT ON. mode with SAP COVER PAGE can accept the values ' ', 'X' and 'D'. These values have the following meaning:
' ' : Do not output cover sheet
'X' : Output cover sheet
'D' : Cover sheet output according to printer setting
armode with ARCHIVE MODE can accept the values '1', '2' and '3'. These values have the following meaning:
'1' : Print only
'2' : Archive only
'3' : Print and archive
arparams with ARCHIVE PARAMETERS must have the same structure as ARC_PARAMS. This parameter should only be processed with the function module GET_PRINT_PARAMETERS.
Effect
Output is to the SAP spool database with the specified parameters. If you omit one of the parameters, the system uses a default value. Before output to the spool, you normally see a screen where you can enter and/or modify the spool parameters. However, you can suppress this screen with the following statement:
... TO SAP-SPOOL WITHOUT SPOOL DYNPRO
You could use this option if all the spool parameters have already been set!
reward points if hlpful.
Note
When specifying the LINE-SIZE, you should not give any value > 132 because most printers cannot print wider lists.
Addition 2
... SPOOL PARAMETERS params(structure with print
parameters)
... ARCHIVE PARAMETERS arparams(Structure with archive
parameters)
... WITHOUT SPOOL DYNPRO(skip print parameters
screen)
Effect
Output is to the SAP spool database with the specified parameters. The print parameters are passed by the field string params which must have the structure of PRI_PARAMS. The field string can be filled and modified with the function module GET_PRINT_PARAMETERS. The specification arparams with ARCHIVE PARAMETERS must have the structure of ARC_PARAMS. This parameter should only be processed with the function module GET_PRINT_PARAMETERS. Before output to the spool, you normally see a screen where you can enter and/or modify the spool parameters. However, you can suppress this screen with the following statement:
... WITHOUT SPOOL DYNPRO
Example
Without archiving
DATA: PARAMS LIKE PRI_PARAMS,
DAYS(1) TYPE N VALUE 2,
COUNT(3) TYPE N VALUE 1,
VALID TYPE C.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING DESTINATION = 'LT50'
COPIES = COUNT
LIST_NAME = 'TEST'
LIST_TEXT = 'SUBMIT ... TO SAP-SPOOL'
IMMEDIATELY = 'X'
RELEASE = 'X'
NEW_LIST_ID = 'X'
EXPIRATION = DAYS
LINE_SIZE = 79
LINE_COUNT = 23
LAYOUT = 'X_PAPER'
SAP_COVER_PAGE = 'X'
COVER_PAGE = 'X'
RECEIVER = 'SAP*'
DEPARTMENT = 'System'
NO_DIALOG = ' '
IMPORTING OUT_PARAMETERS = PARAMS
VALID = VALID.
IF VALID <> SPACE.
SUBMIT RSTEST00 TO SAP-SPOOL
SPOOL PARAMETERS PARAMS
WITHOUT SPOOL DYNPRO.
ENDIF.
Example
With archiving
DATA: PARAMS LIKE PRI_PARAMS,
ARPARAMS LIKE ARC_PARAMS,
DAYS(1) TYPE N VALUE 2,
COUNT(3) TYPE N VALUE 1,
VALID TYPE C.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING DESTINATION = 'LT50'
COPIES = COUNT
LIST_NAME = 'TEST'
LIST_TEXT = 'SUBMIT ... TO SAP-SPOOL'
IMMEDIATELY = 'X'
RELEASE = 'X'
NEW_LIST_ID = 'X'
EXPIRATION = DAYS
LINE_SIZE = 79
LINE_COUNT = 23
LAYOUT = 'X_PAPER'
SAP_COVER_PAGE = 'X'
COVER_PAGE = 'X'
RECEIVER = 'SAP*'
DEPARTMENT = 'System'
SAP_OBJECT = 'RS'
AR_OBJECT = 'TEST'
ARCHIVE_ID = 'XX'
ARCHIVE_INFO = 'III'
ARCHIVE_TEXT = 'Description'
NO_DIALOG = ' '
IMPORTING OUT_PARAMETERS = PARAMS
OUT_ARCHIVE_PARAMETERS = ARPARAMS
VALID = VALID.
IF VALID <> SPACE.
SUBMIT RSTEST00 TO SAP-SPOOL
SPOOL PARAMETERS PARAMS
ARCHIVE PARAMETERS ARPARAMS
WITHOUT SPOOL DYNPRO.
ENDIF. -
ALV Report - Selection screen information should appear in Output screen
Hi experts,
I am working on ALV Reports.
I want selection screen information to appear in ouputscreen when report executed.
Those who know the sloution pls tell me as soon as possible.
regards,
ImranHi Imrangs ,
Ur requirement is not clear -
if u want ur selection screen and the output screen on the same screen, i.e if u fill ur selection options with input and press the button then ur ALV will display on the same screen. For this try to use Screen painter, it will get resolved.
http://www.kodyaz.com/articles/sap-abap-tutorial-alv-grid-cl_gui_alv_grid-screen-painter.aspx
chreers
Regards
Neha -
Different Report Output based on different tabstrips on selection screen
Hi all,
I have a selection screen which has 3 tabstrips.
The screen nos are 101,102 and 103.
Now in each tab there are different input parameters and based on each tab there will be 3 different outputs.
i.e when I click on tab1 and give the required inputs i will get 1 report output.
similarly I will get different ouput in the other 2 tabs.
Can any one suggest some solution how to achieve this.
Thanks and Regards
Nazmul AzadLook for documentation at [SELECTION-SCREEN - TABBED BLOCK |http://help.sap.com/abapdocu/en/ABAPSELECTION-SCREEN_TABBED.htm]
Adapgt the sample provided, and in the START-OF-SELECTON event add a CASE/WHEN to execute whichever report you want based on mytab-dynnr value.
Regards,
Raymond -
FM to display Selection screen on report output??
Hi Experts,
Is there an FM to display Selection screen on report output.
Thanks In Advance.Hi Ashwin,
Refer to below link
http://help.sap.com/saphelp_nw04/helpdata/en/2a/755b94ca5911d299af5c9604c10e27/content.htm
or
The easiest way is to define your selection screen in the TOP include of your module pool.
Then call the selection screen.
Selection Screen
selection-screen begin of screen 1010 as window title text-001.
selection-screen begin of block b1 with frame title text-002.
parameters: p_vornr type resb-vornr,
p_refno(20) type c,
p_plnid type zplcfg-plnid as listbox visible length 20,
p_sorts type c as listbox visible length 20.
selection-screen begin of line.
selection-screen comment (20) text-004.
selection-screen position 33.
parameters: p_order as checkbox default 'X'.
selection-screen end of line.
selection-screen end of block b1.
selection-screen end of screen 1010.
Now call the selection screen.
call selection-screen 1010.
if sy-subrc = 0.
perform get_production_orders.
perform process_orders.
endif.
Thanks!! -
FI Report Painter (FGI1) - add new button in output screen
Hi all,
I have a report created by tcode FGI1 (Create Drill-down Report) which bases on form 0SAPBSPL-01 (Fin. Statement: Actual/Actual Comparison). I wanna know if there are any ways to add a new button in output screen after report execution (i.e to print the content into smartforms).
Thanks in advance.
Solaris.Instead of creating after the output you can add the button to create the form on the main screen itself i.e. program SAPMKCEE screen1125. Either on the application tool bar or on the screen 1125.
Maybe you are looking for
-
SharePoint Search Service Application Restore Is Failing
Issue: When performing a Search Service restore with the CA UI, the restore is failing. The backup was generated from a Full level backup that is run nightly from the cmdlet Backup-SPFarm. The Farm is running SharePoint 2013 SP1, Windows Server 2012
-
Utl_file not getting generated
hi i wrote one procedure using utl_file , to check the output of the file in a text format and it was created successfully , intially it had problems with directory and i created that directory and even granted permissions using system user but nothi
-
How can I send photos in an email without them being embedded (and therefore un-downloadable)?
-
Posting answers on web based groups...problem
I belong to several Yahoo groups and read group mail on the web as a couple of them are very large and prolific. To be polite, we are asked to cut out existing verbiage when replying except for the specific point we are answering...I am unable to do
-
Identification Test- and Production-System in Mapping
Hi, we have a Java-function in a mapping step. There we need an identification if it runs in our Test- or Production-system. Currently we use a property file in the Java-Package for realizing this. But this is not a very good solution. The last time