How to print watermark in classical reports?
How to display the watermark in classical reports?
hi
go to se78 graphics -> enter
BMAP(BITMAP IMAGES)
Name MYBMP
select radio button
color ->import
filename: c:\pictures\123.bmp.
name : mybmp
description : BMP ->continur ->save.(activate it)
now go to se71->choose the prog -> layout ->right click ->create graphics.
utilities -> printing test -> output device -> LP01.
Hope this helps
if it helped, you can acknowledge the same by rewarding
regards
dinesh
Similar Messages
-
How to PRINT DATA in classical report when ever execute
Hi,
All ABAP experts,
I am updating PM work order in IW32 by using BADI, with addition to success or error log i need to display data in basic list and also system has to print that data automatically by using system's default printer. User can not press print button in basic list because sometimes this program will schedule in background, due to this user wants see upload results in a print out.
I dont know how to write logic to get output like this. Please can anyone share how to write logic for this issue.
Before posting this issue i search in forms but I didnt get appropriate solution.
Thanks in advance and any sort of help will appreciate highly.Hi,
Try with this piece of code
Declaration of local constants
CONSTANTS : lc_paart LIKE sy-paart VALUE 'X_65_132', " Paper Format
lc_locl TYPE sypdest VALUE 'LOCL'. " Destination
MOVE 'X' TO v_print.
Setup the Print Parmaters
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
authority = space
immediately = v_print
new_list_id = c_x
no_dialog = c_x
user = sy-uname
IMPORTING
out_parameters = v_print_parms
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF sy-subrc NE 0.
CLEAR : v_print_parms.
ENDIF.
The printer destination has to be set up
IF v_print_parms-pdest = space.
v_print_parms-pdest = lc_locl.
ENDIF.
Explicitly set line width, and output format so that
the PDF conversion comes out OK
v_print_parms-linsz = c_linsz.
v_print_parms-paart = lc_paart.
Regards,
nagaraj -
Print Logo in Classic Report (Write Method,Not ALV)
Hi All,
I'm currently doing conversion of the All the Classic Report with addition of Header with 'LOGO'.
I'm willing to find out that Function (CALL FUNCTION 'WWW_GET_MIME_OBJECT') is only able for display but not show out during printing.
Is that any method, I can do it(Print with Logo) without conversion to SAP Script or Smartform that was exhausted.
*Please take note is Classic Report with Write Method (Line by Line), Not ALV.
Thank you all in advance
Regards,
Trevor Wong.Hi,
It is possible to include logo in classical report but its not possible to print logo in classical report. It can be done in ALV's.
Write the code in Top-of-page event in ALV.
The following is the code for inserting the logo in ALV.
FORM TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
I_LOGO = 'ENJOYSAP_LOGO'
IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
ENDFORM.
Regards
Purnand -
How to print Data Model in Report??
Do anyone know how to print Data Model??
Thanks your help.
- FrankHi Venkat,
Thanks alot.... i am checking the appendix k.
I want to know that if i want to customize the report as per the client requirement,
can you please let me know which template i will use if i required remittence advice as well as check print data on the layout.
The following is the list of field i required:
Vendor ID
Check Date
Check number
invoice date
invoice/ CR memo number
invoice description
invoice gross amount
invoice discount amount
invoice net amount
total gross amount
total discount amount
total net amount
logo
company name and info
bank name and info
check number
check amount spelled out
check date
check amount numeric
payee name
CEO signature
MICR check number
MICR routing number
MICR bank account number
mailing return address
mailing address
Venkat it would be great help if you please let me know the exact process to be follow for check printing report.
I worked on bi publisher report in 11i, but in 12i the process is bit different.
also if you have any template ready can you please send me on my mail id ... i forwarded you the test mail from my official id or on [email protected]
Looking forward to your kind response.
Regards
Ratnesh -
Print LOGO in classical report printout
Hi GURUS,
Is it possible to take print of logo in classical report.refer this link:[click|http://tinyurl.com/5s22vp]
the code is copied from that link.
Make the changes in the code as given below.
REPORT zgb_prog06.
* START OF DO NOT CHANGE***********************************
DATA: docking TYPE REF TO cl_gui_docking_container,
picture_control_1 TYPE REF TO cl_gui_picture,
url(256) TYPE c .
DATA: query_table LIKE w3query OCCURS 1 WITH HEADER LINE,
html_table LIKE w3html OCCURS 1,
return_code LIKE w3param-ret_code,
content_type LIKE w3param-cont_type,
content_length LIKE w3param-cont_len,
pic_data LIKE w3mime OCCURS 0,
pic_size TYPE i.
* END OF DO NOT CHANGE*************************************
DATA : sum(4) , num1(4) , num2(4).
PARAMETERS: p_dummy(4) DEFAULT '4' .
PARAMETERS: p_dummy1(4) DEFAULT '5' .
AT SELECTION-SCREEN OUTPUT. "Remove this event
START-OF-SELECTION.
write 'Testing picture printing in classic report'.
PERFORM show_pic. "Add it here
end-of-selection.
*& Form show_pic
FORM show_pic.
DATA: repid LIKE sy-repid.
repid = sy-repid.
CREATE OBJECT picture_control_1 EXPORTING parent = docking.
CHECK sy-subrc = 0.
CALL METHOD picture_control_1->set_3d_border
EXPORTING
border = 5.
CALL METHOD picture_control_1->set_display_mode
EXPORTING
display_mode = cl_gui_picture=>DISPLAY_MODE_FIT.
CALL METHOD picture_control_1->set_position "change positions
EXPORTING
height = 70
left = 800
top = 20
width = 190.
*CHANGE POSITION AND SIZE ABOVE***************************
IF url IS INITIAL.
REFRESH query_table.
query_table-name = '_OBJECT_ID'.
*CHANGE IMAGE NAME BELOW UPLOADED IN SWO0******************
query_table-value = 'ZLOGO'.
APPEND query_table.
CALL FUNCTION 'WWW_GET_MIME_OBJECT'
TABLES
query_string = query_table
html = html_table
mime = pic_data
CHANGING
return_code = return_code
content_type = content_type
content_length = content_length
EXCEPTIONS
object_not_found = 1
parameter_not_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'DP_CREATE_URL'
EXPORTING
type = 'image'
subtype = cndp_sap_tab_unknown
size = pic_size
lifetime = cndp_lifetime_transaction
TABLES
data = pic_data
CHANGING
url = url
EXCEPTIONS
OTHERS = 1.
ENDIF.
CALL METHOD picture_control_1->load_picture_from_url
EXPORTING
url = url.
*Syntax for URL
*url = 'file://D:\corp-gbanerji\pickut\cartoon_184.gif'.
*url = 'http://l.yimg.com/a/i/ww/beta/y3.gif'.
ENDFORM. "show_pic -
How to Print the Attachment in Reports
Hi,
I am having a Custom form which captures information related to Items. User is attaching Picture of the Item as Attachments. I will generate the information what the User entering in this form.
Now, my question is, how to print this Item Picture attached as attachments in the report.
Regards/PrasanthYou can use a distribution file to define an attachment, have a look at http://download.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_dist.htm#i1006076
-
How to print date/time in report page footer?
Hi
I have a report which users can print as PDF.
However, I like to display current date/time in report footer.
I can see the Page Footer in section but can't figure out how to print date/time there.
Thanks for help.hi movilogo
Please try this.
Create hidden item P1_DATE
Create On load process in page 1 and put this code
begin
:P1_DATE:=TO_CHAR(SYSDATE,'DD-MON-YYYY HH:MM:SS');
end;
Open your region in Page 1 put this code in Footer area
*&P1_DATE.*
Refresh your page.
you will get the output like this.
16-SEP-2009 11:09:17
thanks
Mark Wyatt -
How to print logo in standard report
Hi,
How to print a logo in sap ordinary report
Thanks,
SreedharHi Sreedhar,
It is not possible to print logo in the ordinary report, but it can done through ALV.
Write the code in Top-of-page event in ALV.
The following is the code for inserting the logo in ALV.
FORM TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
I_LOGO = 'ENJOYSAP_LOGO'
IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
ENDFORM.
Rewards if it is helpful...
Regards,
Omkar. -
How to get theoutput of classical report in table format
hi all,
i am new to this forum.i want the help from experts over here.for example if we create the program in classical report for employee details.how to get the output in tabular column format.pls reply to me.
Thanks in advanceHI all,
I am new here. Currently I am trying to create a program which is able to compare and validate key fields from different tables.
my code looks like this:
*~Internal Tables
DATA:
LT/RAB/KPI_CONF TYPE STANDARD TABLE OF /RAB/KPI_CONF,
LT/RAB/KPI_MAPP TYPE STANDARD TABLE OF /RABL/KPI_MAPP,
LT/RABL/KPI_HEAD TYPE STANDARD TABLE OF /RABL/KPI_HEAD.
DATA:
/RAB/KPI_CONF_NEW TYPE SORTED TABLE OF /RAB/KPI_CONF WITH UNIQUE KEY XX100011 XX100004 XX100022 XX100010,
/RAB/KPI_MAPP_NEW TYPE SORTED TABLE OF /RAB/KPI_MAPP WITH UNIQUE KEY XX100009 XX000197 XX100007 XX100014,
/RAB/KPI_HEAD_NEW TYPE SORTED TABLE OF /RAB/KPI_HEAD WITH UNIQUE KEY XX100004.
DATA: GWA_/RAB/KPI_CONF TYPE /RAB/KPI_CONF,
GWA_/RAB/KPI_MAPP TYPE /RAB/KPI_MAPP,
GWA_/RAB/KPI_HEAD TYPE /RAB/KPI_HEAD.
*Fill the internal table with database values
PERFORM get_existing_records.
FORM GET_EXISTING_RECORDS.
SELECT *
FROM /RABL/KPI_CONF
INTO TABLE LT/RAB/KPI_CONF.
SELECT *
FROM /RAB/KPI_MAPP
INTO TABLE LT/RAB/KPI_MAPP.
SELECT *
FROM /RAB/KPI_HEAD
INTO TABLE LT/RAB/KPI_HEAD.
LOOP AT LT/RAB/KPI_CONF INTO GWA_/RAB/KPI_CONF.
READ TABLE LT/RAB/KPI_HEAD INTO GWA_/RAB/KPI_HEAD with key XX100004 = GWA_/RAB/KPI_CONF-XX100004.
IF SY-SUBRC <> 0.
WRITE: 'No header id found in formula'.
ENDIF.
LOOP AT LT/RAB/KPI_HEAD INTO GWA_/RAB/KPI_HEAD.
READ TABLE LT/RAB/KPI_MAPP INTO GWA_/RAB/KPI_MAPP with key XX100009 = GWA_/RAB/KPI_HEAD-XX100012.
IF SY-SUBRC <> 0.
WRITE: ' no selection ID found in table'.
endif.
ENDLOOP.
ENDLOOP.
ENDFORM.
I would like to have a output report in which the results from my above statement are displayed.
Any advise is welcome
Thanks.
Rabie -
Hi Experts,
I hv been used the COL_NEGATIVE and COL_TOTAL in my classical report for the SubTotal purpose. On the screen, they r looking fine.
But,
When am printing it on SAP Printer, am getting like, /////////////////////// over my totals!
So,
Is it my printer fault?
OR it is a property of theses clours? I mean, I need to change the clour to like, CLO_KEY!
thanq.Hi
No doubt it is purely a Printer problem
certain printers will behave like that for colors
I hope there is some OSS note also reg this
If you wants to take out print of the Report
better don't give colors to the fields and the data
Reward points for useful Answers
Regards
Anji -
How to print watermark in adobe forms
Hi Experts,
I have one requirement where i need to print watermark on PDF invoice outputs. I am using adobe forms to print invoice.
I am not sure whether logo needs to be used for printing watermark or text.? And please let me kow the procedure to use this in adobeforms.
Thanks in advance.
Regards,
Dileep.
Moderator Message: Search before you post.
Edited by: kishan P on Jan 13, 2012 11:12 AMHii,
Try to add one more field for text field for each line item and make sure use a flag .
if the flag is true then make it visible use the below JavaScript code to hide a particular field.
his script will hide the field in runtime if it is initial.
hidden or presence make sure use the conditions as per the require to hide the text or to make it visible
Enter the below JavaScript in the editor & Select the language as JavaScript.
if(this.rawValue == null)
this.presence = "hidden";
Edited by: Rajan.Dexter9 on Jan 20, 2012 12:17 PM -
How to put checkbox into classical report header row?
Hi,
I have a classical report that has a check item as a first column. I would like to put a check box item into the header row too, When checked it is supposed to set the check box item in all report rows. Something like in APEX Shared components / Links / Grid Edit.
Is this possible to do? TIA.
TamasHi,
See e.g. this post
Re: Tabular form check all checkbox header
Regards,
Jari -
How to Print aliases in the report
Hi,
I have a scenario where i need to print the alias names for one dimension and member names for the other, Here I am trying to generate a level 0 extract with the help of report script.
when i specify the function {OUTALTNAMES} for printing the aliases for that particular dimension. it prints the aliases for all the dimensions specified in the report script. here is my report script
<ROW (Time, Employee, JobCodes, Products, Branch, Accounts)
{NOINDENTGEN}
{SUPPAGEHEADING}
//{SUPCOLHEADING}
{SUPMISSINGROWS}
{SUPCOMMAS}
//{SUPZEROROWS}
{SUPBRACKETS}
{TABDELIMIT}
{ROWREPEAT}
//{MISSINGTEXT "#MI"}
{DECIMAL VARIABLE}
<SYM
<SUPSHARE
//"STRAT_LOAD"
//{OUTMBRNAMES}
"2007 - JAN"
//{OUTMBRNAMES}
<LINK (<LEV("Employee",0) )
//{OUTMBRNAMES}
<LINK (<LEV("JobCodes",0) )
//{OUTMBRNAMES}
<LINK (<LEV("Products",0) )
{ OUTALTNAMES }
<LINK (<LEV("Branch",0) )
"Actual_Units"
"Actual_$"
"Points_Units"
"Points_$"
Above i need to print the alias name of all the branches and the member names for employees,jobcodes and products. some how the outaltnames is not working. pls advice
ThnxHi,
this is a bug. It seems that once you select {OUTALTNAMES} you can't go back to {OUTMBRNAMES}.
The workaround I have used is to incorporate using the <OUTALTSELECT "Alias table name". This allows you to select from more than 1 alias table. So where I need to use the member name, I select an alias table that has no aliases defined for that dimension.
To incorporate this workaround, define {OUTALTNAMES} at the top (or even above each dimension), then put the <OUTALTSELECT "Alias Table Name" above the dimension in the script.
Robert -
How to print a sytem profile report to a PDF?
Hi,
I know how to get to the System Profile, but when I press print, it only prints the first page.
I know I can save it as a .SX report (or whatever the file extension is).
I want to print it to a PDF.
Once I get the .SX, can I open and print that file?
BethFiles generated by System Information are XML files. They contain code, which needs to be interpreted by software to make it human-readable. Open the file with TextEdit or Xcode and you'll see what I mean.
You'd have to find a third party application that is capable of reading XML files, making them human-readable and allows you to print the interpreted version instead of the source code of the file. I'm not aware of any such software. Maybe somebody else here on the forums can tell you more. -
How to Breake Column in Classic report.
Dear Friends
i want to display Employee information so I have created classicreport using below sql query
select
EMP_ID,
FIRST_NAME,
MIDDLE_NAME,
LAST_NAME,
GENDER,
BLOOD_GROUP,
MARITAL_STATUS,
ADDRESS_1,
ADDRESS_2,
CITY_NAME,
PINCODE,
PHONE_NO,
MOBILE_NO,
FAX_NO,
OFFICE_NO,
EXT_CODE,
EMAIL_ID,
ANNIVERSARY,
BIRTHDAY,
QUALIFICATION,
DESIGNATION,
MGR_CODE,
DATE_OF_JOINING,
EMP_IMAGE,
PASSPORT_NO,
SKYPE_ID,
ACTIVE_FLAG
from DEMO_EMP where EMP_ID =:APP_USER
Problem is all coloumn display in report but i need to display 4 column and then 4 column in right side and then 4 column in right side.
I need breake after 4 column .How can i do this.
Thanksmodify your query and include ROW_NUMBER, move everything to an inline view and include a CASE statement to hide some of the values... wow, very cryptic.. there is an example here:
SQL*Plus or Report style Break Groups in SQL Query</title> //<title>AMIS Technology Blog &raquo; SQL*…
Maybe you are looking for
-
Can't Delete Movies from 5th gen iPod Touch?
K... This is strange. Before we headed to the Marvel Universe Live performance, my son asked me to free up some space on his 5th generation iPod touch 32gig. So I did or at least I tried. It didn't free up any space at all and general settings sti
-
Having Troubles Gettin Lines Of Input!?!?!?!!?
I'm trying to build a command line application (named Assemble) which will read (from standard in) a tagged "discussion" stream and print a (somewhat) organized version of the tagged part of the discussion (to standard out).... but i'm having trouble
-
Memory Frequency-DRAM Clock (MHz)
Hi, I have a 875P Neo LSR with a P4 2.4GHz C 800MHz and 512 MB(1) Corsair XMS3200 OEM. The memory defaults to PC2700 as it was made befor the JDEC value was official. When I set the DRAM Frequency to 200MHz and reboot it stays at 200 MHz but the DRAM
-
Sound level options for voice analysis
I have two questions. I am analysing voice signals using GRAAS microphone, NI9234, cDAQ 9178 & labview 2011. I am trying to produce a two dimensional graph of the signal with SPL (DB)(y-axis) versus frequency (x-axis). I noticed that the SVT soun
-
Phone will only type one letter in text message
The last time I was using my phone I was deleting words from my user dictionary. I realized my phone was dying so I pushed delete and instead of the ones I had selected being deleted, the entire dictionary was just replaced with only three letter wo