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

Picture printing

Former Member
0 Likes
510

How can i print a picture from the container?

I take a picture from the sap server and put it on the container. and then i need to print it. how cani do it???

help please.

4 REPLIES 4
Read only

Former Member
0 Likes
485

does anyone know?

i really need help!

Read only

Former Member
0 Likes
485

Hi Julia,

Iam not very sure but try uploading picture into sap server through transaction SMW0 and then print it through ALV container.

Tha ALV class used for displaying in container is CL_GUI_CUSTOM_CONTAINER.

HOPE THIS HELPS U......

reward if useful

thanks and regards

suma sailaja pvn

Read only

0 Likes
485

You can only display it through CL_GUI_CUSTOM_CONTAINER.

But this class doesnt have the print method.

thats what i was looking for...

do you know how to print it exactly?

Read only

RoySayak
Active Participant
0 Likes
485

Hi Julia,

To handle printing adjustments via a structure to be passed to the parameter is_print of the method set_table_for_first_display”.

*************************************************************************

Field name : GRPCHGEDIT

Description: Enables user-definable group change editing for the print preview mode. If this field is set, the jump to the SAP List Viewer is configured accordingly. On the sort dialog box, the user can then determine how a sorting criterion value change is indicated graphically: as a page break or as an underline.

Using the sort table you can dynamically set this formatting.

Value range : SPACE, 'X'

**************************************************************************

Field name : NO_COLWOPT

Description: The ALV Grid Control sets all columns to their optimum width before the list is printed or displayed in the print preview. If you set this parameter, this default setting is overridden.

Value range : SPACE, 'X'

***************************************************************************

Field name : PRNTLSTINF

Description: Prints list information. If this field is set, information on sorting, subtotals and filters defined as well as data statistics are printed at the beginning of the list.

Value range : SPACE, 'X'

***************************************************************************

Field name :PRNT_TITLE

Description:Specifies the time at which the grid title is to be printed.

Value range : 0-3 with the following meaning:

• 0: Before the event PRINT_TOP_OF_LIST

• 1: After the event PRINT_TOP_OF_LIST

• 2: Before the event PRINT_TOP_OF_PAGE

• 3: After the event PRINT_TOP_OF_PAGE

****************************************************************************

Field name : RESERVELNS

Description: Number of reserved rows for event print_end_of_page. If no number is specified, the text specified there is overwritten by the list.

Value range : Natural number

****************************************************************************

The print output of the field “PRNTLSTINF” is not visible in the print preview of the ALV Grid. If you create a spool request first, you can check the final list layout in transaction SP01.

Regards,

Sayak... ..."reward if it is useful"