on 09-05-2006 3:25 PM
Dear All, I have a problem that i can't write a stamp text on the PDF files in ECL Viewer, it works with all original types like dwg,dxf,jpg,gif,bmp,... except pdf.
I am using the method SHOW_DOC_META_DATA in the badi defination DOCUMENT_ECL01.
Here is my code, Please Advise.
Thanks
METHOD if_ex_document_ecl01~show_doc_meta_data.
DATA: BEGIN OF line,
a(20) TYPE c,
v(50) TYPE c,
END OF line.
Adjusting Viewer Settings
y_position = 35.
x_position = 25.
font = 'Arial'.
size = 1.
color = 255.
transparent = 'X'.
Printing Line#1
line-a = 'Document#'.
line-v = 'Test'.
INSERT line INTO meta_data INDEX 1."Here is the problem
ENDMETHOD.
Hi,
Try to call set_print_watermark method with the foolowing parameters:
CALL METHOD viewer->set_print_watermark
EXPORTING
watermark_text = 'Document#
watermark_size = size
watermark_font = font
watermark_transparent = 1
watermark_color = 1
watermark_x_position = 1 "10
watermark_y_position = 1."10.
Hope this helps.
Regards,
Vanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I'm sorry that the suggested note didn't solve your problem. Unfortunatly I don't know any other note, because all similar problems where solved by this note before.
So I would recommend you to contact SAP Remote Consulting Service under component XX-RC-.. They will try to provide you a solution for the required functionality.
Best regards,
Christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
maybe SAP note 690497 could help you.
It's an enhancement of BADI DOCUMENT_EC01 to control the behavior of the EAI-viewer. You can use it, for example, to:
o Activate functions like saving or opening in the
viewer or
o Dectivate functions like saving or opening in the
viewer
o Implement customized authorization checks for
Redlininng Layer
Best regards,
Christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.