Print Version ALV
hi ,
I am able to use the print version option in ALV report for 10 - 20 records. But when the data is 25000 records it says print failure. I know we have 1000 records restriction when displaying the Visible row count. Does this restriction apply for print version also?
Any clues?
Thanks
Well a workaround! Export the records to excel and then call print from EXCEL may be that would let you over come the record limit.
Greetings
Prashant
Similar Messages
-
Move Print Version and Export of ALV to the right
Hello online experts,
Merry Christmas and Happy New Year!
I am working on a webdynpro that displays data in ALV format.
I now want to move Print Version and Export of ALV to the right side and hide View(Standard View).
I am able to hide View(Standard View), but the Print Version and Export are automatically moved to the
left.
How can I have Print Version and Export on the left side when I hide View(Standard View)?
Thanks,
AS.Hi Anna,
For the standard ALV Function ( Print version, Export, View, Filter ) you can only to display or hide them. And unfortunately you can not change their position or their order .
Regards,
$=====$
Are you newbie? Check this out: [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] -
Hi,
I have displayed some columns in an ALV table. One of the columns has data element length of 400.
When I use the print version button the data get exported to PDF but the column which has length of 400 takes the entire page width but then too some data of that column get truncated.
I have selected Poster radio button from Print Version tab in settings because when I select the other 2 radio buttons it displays the entire ALV data in one page which is not readable.
Ho should I enable the wrapping for the column which is of length 400 in the PDF
Thanks,
FerozHi Feroz,
Try programmatically setting the column attributes via the ALV Model:
Regards,
Uday
data: l_ref_cmp_usage type ref to if_wd_component_usage.
l_ref_cmp_usage = wd_this->wd_cpuse_alv_adv( ).
if l_ref_cmp_usage->has_active_component( ) is initial.
l_ref_cmp_usage->create_component( ).
endif.
data l_salv_wd_table type ref to iwci_salv_wd_table.
l_salv_wd_table = wd_this->wd_cpifc_alv_adv( ).
data l_table type ref to cl_salv_wd_config_table.
l_table = l_salv_wd_table->get_model( ).
data l_column type ref to cl_salv_wd_column.
data textview type ref to cl_salv_wd_uie_text_view.
l_column = l_table->if_salv_wd_column_settings~get_column( 'ADD_PARTICIPANTS' ).
create object textview.
textview->set_text_fieldname( 'ADD_PARTICIPANTS' ).
textview->set_wrapping( abap_true ).
l_column->set_cell_editor( textview ). -
Removing "print version" button in alv
Hi Experts,
I am trying to hide the buttons in ALV table.
I did hide all other buttons except "Print Version".
Can anyone assist.
Thanks,
Siva.Hi,
I think use this "'SALV_WD_EXPORT' to hide the print version
Use the below code -
***Reference to the standard button reference of the ALV
DATA:
ls_functions_std type SALV_WD_S_FUNCTION_STD_REF.
***Modifying The standard functionality buttons
if lt_functions_std1 is not initial.
loop at lt_functions_std1 into ls_functions_std.
case ls_functions_std-id.
when wd_assist->GC_APPEND_ROW. "'SALV_WD_INPUT_APPEND_ROW'
CALL METHOD LS_FUNCTIONS_STD-R_FUNCTION->SET_VISIBLE
EXPORTING
VALUE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
when wd_assist->GC_INPUT_DELETE. "'SALV_WD_INPUT_DELETE'
CALL METHOD LS_FUNCTIONS_STD-R_FUNCTION->SET_VISIBLE
EXPORTING
VALUE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
when wd_assist->GC_INSERT_ROW. "'SALV_WD_INPUT_INSERT_ROW'
CALL METHOD LS_FUNCTIONS_STD-R_FUNCTION->SET_VISIBLE
EXPORTING
VALUE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
when wd_assist->GC_EXPORT_EXCEL. "'SALV_WD_EXPORT_EXCEL'
CALL METHOD LS_FUNCTIONS_STD-R_FUNCTION->SET_VISIBLE
EXPORTING
VALUE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
when wd_assist->GC_PDF. "'SALV_WD_PDF'
CALL METHOD LS_FUNCTIONS_STD-R_FUNCTION->SET_VISIBLE
EXPORTING
VALUE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
when wd_assist->GC_INPUT_CHECK. "'SALV_WD_INPUT_CHECK'
CALL METHOD LS_FUNCTIONS_STD-R_FUNCTION->SET_VISIBLE
EXPORTING
VALUE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
when wd_assist->GC_EXPORT. "'SALV_WD_EXPORT'
CALL METHOD LS_FUNCTIONS_STD-R_FUNCTION->SET_VISIBLE
EXPORTING
VALUE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
when wd_assist->GC_FILTER . "'SALV_WD_FILTER'
CALL METHOD LS_FUNCTIONS_STD-R_FUNCTION->SET_VISIBLE
EXPORTING
VALUE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
when wd_assist->GC_SETTINGS. "'SALV_WD_SETTINGS'
CALL METHOD LS_FUNCTIONS_STD-R_FUNCTION->SET_VISIBLE
EXPORTING
VALUE = CL_WD_UIELEMENT=>E_VISIBLE-NONE.
endcase. "Case ls_functions_std-id
clear LS_FUNCTIONS_STD.
endloop. "LOOP at lt_functions_std1 into ls_functions_std.
endif. "IF lt_functions_std1 is not initial.
Regards,
Lekha. -
Show print version button on ALV
Hi gurus!
I need to show (and use) the Print Version standar button on my ALV component.
I have set l_table->if_salv_wd_std_functions~set_pdf_allowed( abap_true ) but nothing appears.
Any idea about it?
RegardsHi,
by default the Print Version button will be displayed on ALV. you may want to refer the code in method WDDOINIT method of standard application WDT_ALV.
regarding using this button - Once the Print Version button is displayed then click it. if everything is fine then you will be able to see PDF else error message will be displayed along with Display Help link. Just click it and follow the instuctions as per it.
It says, Note 918236 contains detailed information.
I hope this is useful for you.
Thanks,
Chandra -
Print version System Failure: Bean SALV_WD_EXPORT_PDF not found on host
Hi,
I have created a ALV report in ABAP Webdynpro.
When i try to print the ALV Report it gives Communication failure : Print version System Failure: Bean SALV_WD_EXPORT_PDF not found on host.
I belive i need to install Usage Type BI Java.
Can someone help me with the same how to find the installation. I am unable to find what to install.
Thanks and Regards,
NuzhatHi Sergio,
Thanks for the immediate reponse.
I have already gone thru the blog u have sent.
I am uable to do installation of Usage type BI-Java.
I need anyone's help for the same.
Thanks and Regards,
Nuzhat -
Print version about BORGR_C
My system is R3 46C.I want to output GR slip via WE03 condition type. The material document doesn't generate message after I post goods receipt via BORGR_C, I have created the condition record for the condition type. I check the access sequence about WE03, it consist of Transaction/event type, print version and print item. Transaction/event type is WE about GR, We can set the print version when we use transaction code MIGO. But I can not set the print version in BORGR_C. I check the setting via OMBR, but I canu2019t find the setting with
BORGR_C. So I want to know which print version the system use when I post goods receipt via BORGR_C. thank you!Hi,
by default the Print Version button will be displayed on ALV. you may want to refer the code in method WDDOINIT method of standard application WDT_ALV.
regarding using this button - Once the Print Version button is displayed then click it. if everything is fine then you will be able to see PDF else error message will be displayed along with Display Help link. Just click it and follow the instuctions as per it.
It says, Note 918236 contains detailed information.
I hope this is useful for you.
Thanks,
Chandra -
GRC 10 Print Version -Export to PDF in User Interface
Hi Experts ,
There is a functionality for getting pdf files generated for most of the reports in GRC 10 user interface elements .but in all the screens while generating the pdf via print version we are getting communication failure as follows :
Print Version Communication Failure : RFC Destination SALV_WD_EXPORT_PDF does not exist.
What could be the reason, export to MS excel worked fine . We are on NW 7.02 SP08 and GRC SP05.
Cheers ,
Dev. ParabDear Parab,
This is a general requirement.The reason why you are getting the communication failure error is because the print version for generating ABAP ALV is not set-up.
The flow is : The system (GRC here)uses the RFC connection SALV_WD_EXPORT_PDF to call a portal service >the portal service uses Adobe Document Services>the system uses RFC to return the PDF document to the WD ABAP ALV
and displays the document.
For your NW version and SP level , please implement SNOTE 1413938 - WD ABAP ALV -creating print version.
The Web Service Destination for Adobe Document Services (in SAP NetWeaver
Administrator) needs to be set-up as explained in note.
Also see IMG > SAP Netweaver >AS> Setup Printing for Web Dynpro ABAP ALV .
Best Regards,
Vishal Padiyar -
HI There
I have setup the RFC connection to the ADS service etc but the "Print Version" button does not appear after running a report
Please adviseDear Parab,
This is a general requirement.The reason why you are getting the communication failure error is because the print version for generating ABAP ALV is not set-up.
The flow is : The system (GRC here)uses the RFC connection SALV_WD_EXPORT_PDF to call a portal service >the portal service uses Adobe Document Services>the system uses RFC to return the PDF document to the WD ABAP ALV
and displays the document.
For your NW version and SP level , please implement SNOTE 1413938 - WD ABAP ALV -creating print version.
The Web Service Destination for Adobe Document Services (in SAP NetWeaver
Administrator) needs to be set-up as explained in note.
Also see IMG > SAP Netweaver >AS> Setup Printing for Web Dynpro ABAP ALV .
Best Regards,
Vishal Padiyar -
Hi, how to set printer to alv grid, please check my code
Hi,
Iam giving my code, please observe...
DEFAULT PRINTER NAME "A909".
NOW IAM SETTING OT "LP01".
GS_PRINT-PRINT = 'X'.
P_PRINTR = 'LP01'.
CALL FUNCTION 'UPDATE_DEFAULT_PRINTPARAMS'
EXPORTING
USER = SY-UNAME
DESTINATION = P_PRINTR
IMMEDIATELY = ' '
RELEASE = 'X'
NEW_LIST_ID = 'X'.
SY-BATCH = 'X'
CALL METHOD GO_GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_BUFFER_ACTIVE =
I_BYPASSING_BUFFER =
I_CONSISTENCY_CHECK = G_CONSISTENCY_CHECK
I_STRUCTURE_NAME = 'KNA1'
IS_VARIANT = GS_VARIANT
I_SAVE = 'A'
I_DEFAULT = 'X'
IS_LAYOUT = GS_LAYOUT
IS_PRINT = GS_PRINT
IT_SPECIAL_GROUPS =
IT_TOOLBAR_EXCLUDING = GT_EXCLUDE
IT_HYPERLINK =
IT_ALV_GRAPHICS =
IT_EXCEPT_QINFO =
IR_SALV_ADAPTER =
CHANGING
IT_OUTTAB = ITAB2[]
IT_FIELDCATALOG = GT_FIELDCAT
IT_SORT =
IT_FILTER =
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
TOO_MANY_LINES = 3
others = 4
After running this program iam getting the default printer spool request number 'A909', Iam not getting printing form 'LP01'.
Need is to send the print to given printer (LP01), here printer may varry accoring to the selection. So nee is to set the printer that which has choosen.
Please give me the valuble solution as early as possible.
Please solve this as early as possible.Hi Ravi,
You can choose for the print version to be created as a PostScript file instead of a PDF document. The PostScript file is then sent directly to a printer of your choice
If you do not specify an output device here, a PDF file is generated and displayed on the screen.
You use the methods of the interface class IF_SALV_WD_PDF_SETTINGS for this (implementing class CL_SALV_WD_CONFIG_TABLE).
<b>Function</b> <b>Method</b>
Set ALV output to be printed immediately --> SET_PRINT_IMMEDIATE
Check whether the ALV output is to be printed immediately --> GET_PRINT_IMMEDIATE
Set printer --> SET_PRINTER
Get printer --> GET_PRINTER
See the below for SAP link
http://help.sap.com/saphelp_nw04s/helpdata/en/43/27472def40601ee10000000a422035/content.htm
see the thread also
Re: How to set the printer in set_table_for_first_display
mark all the helpful answers
Regards
Sudheer -
Hi Experts,
I am wondering if it is possible to create a button and when I click on this button, the Print Version of
ALV is triggered.
Thanks for your help!
AS.Hi,
Can I know the dump analysis.
Please check wether you model object (lo_value) is referencing to the model object or not Or
it might be the case that you did not create the object for the button choice.
Please try this code again-
DATA: lr_btnui type REF TO cl_salv_wd_fe_button,
lr_function TYPE REF TO CL_SALV_WD_FUNCTION,
lo_value type ref to cl_salv_wd_config_table.
**Custom buttons for Print version
CREATE OBJECT lr_btnui.
lr_btnui->SET_TEXT( 'Print' ).
lr_function =
lo_value->IF_SALV_WD_FUNCTION_SETTINGS~create_function( id = 'PRINT').
lr_function->set_function_std( IF_SALV_WD_C_STD_FUNCTIONS=>PDF ).
lr_function->SET_EDITOR( lr_btnui ).
In the Event handler ( type ON_FUNCTION of your ALV), you should write the code-
DATA: lv_temp TYPE string.
lv_temp = r_param->id.
If lv_temp EQ 'PRINT'.
wd_this->set_print( ). " Your method for print
endif.
Regards,
Lekha. -
Is there a way in Pages to show and print all the added "comments?" (those you add by highlighting text) I am a teacher, and I would like students to be able to view my comments on printed versions of their papers. I know word displays the comments off to the side of the document, and those comments can be viewed all at once and printed alongside the document.
There doesn't appear to be a way to print conmments in either Pages or Numbers in the Mavericks versions.
Jerry -
"Error while generating pdf" error come when clicking on "Print Version "
Hello ,
When we execute Query in the Portal there is a 'Print version' button.
When you select it, it opens up print dialog and click OK
It is supposed to send 'pdf' stream to Web browser client on end user but it is not able to generate the pdf .
getting ' Error while generating pdf '
I am working on BI 7.0 .
The same is running fine in the Q Environment .But in Production we are getting this error .
Thanks ,
RahulHi,
I think this is an ADS error. This is a reason why pdf's are not working. We had the same issue.
You can check your installation:
Usage of SAP NetWeaver BI Diagnostics & Support Desk Tool
SAP Note Number: [937697|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393337363937%7d]
Exceptions: Prerequisites for messages in the area BI Java
SAP Note Number: [1224043 |https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31323234303433%7d]
Solution in our case was to update the SAPADS package to 7.00 17.1
Regards
Andreas -
How to add LOGO to the print version of a webreport
Hi experts..can anyone tell me the detail steps for the below query?
Q)how we can add a logo to the print version of a web report. The report is displayed in pdf and the logo should come on every page of the pdf.hii marasa naidu,
pls check the foll. link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4f439490-0201-0010-b3af-d33b499f00fa
hope it helps,
Assigning points is say thanks,
regards,
raghu. -
Unable to print Complete ALV report
Hi All,
I have made an Object Oriented ALV report .
When I try to print the ALV output I get a warning message "Unable to print last 25 records ."
Any suggestions to remove that message !
Regards,
Mukul Sharma.This could be an Formscentral issue, the expected behavior is when you click "generate summary report" button, if the form has no responses, it will show "your form has no responses." UI with Test Form button. if the form has at least one response, the report should be generated for you.
One of such templates is "Training Feedback", "generate summary report" button is on Summary Report tab since this template only have plain text field and an data field.
Would you mind share your form with me([email protected]) if you don't see upon "expected" behavior.
Thanks,
Pengpeng Sun
Maybe you are looking for
-
Getting to data stored in time machine hard drive
I was running time machine on my macbook pro, and tonight the logic board of the MBP died on me. There are several files I need ASAP on the (external usb) time machine drive. If I plug the drive to another mac (mac pro I have at work), is it possible
-
Is it possible to use Siri to send text messages to groups (categories, distribution lists)? I want to be able to say to Siri "Send a text message to the people in 'group 4' category." I then dictate the text message, confirm, and out it goes. Groups
-
After preforming a migration from moss 2007 to 2013 on-prem we have noticed that html tags are showing up in the discussion board posts. I have tracked the problem down to the flat.aspx page throwing a js error. 'SPAnimationUtility' is undefined -
-
Which is better ipod touch or airport express?
hi, I'm running itunes from my mac through a standard home hifi unit but want to upgrade my speakers. I'm thinking of buying a set of zeppelin speakers (http://www.bowers-wilkins.co.uk/display.aspx?infid=2466) but as I dont have an ipod was wondering
-
Downloaded music doesn't play correctly
I've recently downloaded two albums from the itunes store and they don't play correctly on the computer or my iphone. All of my previous downloads have worked fine. I even purchased one of them a second time in case the problem was on my end. How d