Smartform Graphic Probelm
hi,
how to transfer graphics uploaded via tcode OAAD(archive link) into SE78 for display in smartform..
can we display graphics uploaded via archive link direclty on smartform..
<removed_by_moderator>
Edited by: abapuser on Nov 11, 2008 10:59 AM
Edited by: Julius Bussche on Nov 11, 2008 11:36 AM
Hi,
you have to upload the image through SE78 tcode ...and the image should me one Bit Map Image...i.e .bmp format...then you can include that in your smart form.
Arunima
Similar Messages
-
Dear Experts,
I faced a probelm while i am trying to take print the smartform. It's shows Graphic is not displayed message shows.
what is the probelm please guide me.
Thanks in Advance
purnaneelucheck there is no mismatch in black n white and color..
may be this is the possiblity. that u uploaded graphiv in B&W andusing colour.
had u check window size problem ? -
Get looped SMARTFORMs Graphic via WD
Hi Experts,
i want to get a looped graphic (table containing a text has been constructed in Smartforms) in the PDF.
the table will be filled with a text( 10 till 1000 words) in a textedit UI-elemt( dynamic textedit with type TLINE). so each time the user click on 'write text' Button, a new textedit appears and the user can write his text there. in the end if the user have wrote 10 times texts in textedit UI-element( means 10 textedit UI-element will appear in Portal) this should also in the PDF appears.
the coding is following, but i dont know where i have to make changes or where shall make loop?
i hope that everything is clear for you ,
DATA: fm_name TYPE rs38l_fnam,
ls_contp TYPE ssfctrlop,
ls_output TYPE ssfcompop,
ls_output_data TYPE ssfcrescl,
tab_otf_final TYPE TABLE OF itcoo.
DATA : bin_filesize TYPE i,
bin_file TYPE xstring,
pdf_tab TYPE TABLE OF tline.
Set the output parameters
ls_output_options-tdprinter = 'PDF1'.
set control parameters to get the output format (OTF) from Smart Forms
ls_contp-no_dialog = 'X'.
ls_contp-getotf = 'X'.
ls_contp-preview = 'X'.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'Z_TAD_PAP'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3
CALL FUNCTION fm_name
EXPORTING
control_parameters = ls_control_parameters
output_options = ls_output
user_settings = space
IMPORTING
job_output_info = ls_output_data
TABLES
z_tad_pap_data = lt_table (this table is containing my data )
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
tab_otf_final[] = ls_output_data-otfdata[].
" Convert OTF data into PDF data
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = bin_filesize
bin_file = bin_file
TABLES
otf = tab_otf_final
lines = pdf_tab
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
cl_wd_runtime_services=>attach_file_to_response(
i_filename = 'mail.pdf'
i_content = bin_file
i_mime_type = '/Desktop').
thank you for helphi Kowluri,
sorry that i didnt answer you so quik, i was busy with other stuff.
well, what i am looking for, is how to fill my table in SMATRFORMS from WD, i already have an internal Table that contains the data, (this table contains only the data for one textedit UI-elements).
the problem is , this component (table) in smartforms , should be called more than one time ( the same component) . if the user have wrote 2 or 3 or 4 texts ( each textedit UI-elemet contains a text in the Portal), all of those texts should be displayed on the PDF , and this component(table) in SMARTFORMS should be called each time for each text.
i hope that everything is clear, if not , i will explain more
Best Regards
Natel -
URGENT!! Smartform : graphical edition impossible!
Hi,
I created a Smartform for Delivery Note with its print program in a newly upgraded ECC6.0 system. I customized in NACE in proper column.
When I try to print it via VL02N, the message is:
"Graphical edition impossible"
Does anyone know how to solve this problem??
Points rewarded immediately since its very urgent!
Tarick.Hi again!
I found out the reason!
There was a graphic which was not uploaded properly in SE78...
Tarick. -
Hi,
I uploaded a color graphic bitmap correctly - 100 DPI and with 'reserve height aut' and 'resides in the printer memory' options checked. I can preview it on the T/SE78.
I created the graphic on the Page1 of the smartform with the same above attributes. However in the print preview of the smartform the graphic looks just like a one-color-square.
Can you tell me what I'm doing wrong?
Thanks in advance.Hi Sonia,
are you sure to have select the radio button to BCOL and not BMON in the Graphic option in the smartforms ?
Rgd
Frédéric -
Regarding SmartForms -- Graphics Node
Hi,
I imported SAP logo (which is in sap.com site) using the transaction se78.
Now I am using this in my smartform for the graphics node.
But I am not getting the full picture.
Bottom portion of the picture is with some blue color like a rectangle.
What may be the problem?
Please help me soon.
Thanks and regards
Balakrishna.NIf I try to get it printed , I got the error message like:
Exception: SEND_ERROR
Messge ID: SPOC
Message :
Messge Numebr : 003
Error in spool C call: spool overflow
What does it mean?
What should I do to rectify the error and get the form printed. -
Smartforms Graphics in mail viewing outside the network
Hi Gurus
We need to insert the company logo below the signature.
I have uploaded the image to MIME repository and it works fie withint the network
But when then mail is sent to outside the network, the image appears as red X mark because the image link is pointing towards SAP Server.
I need to embed the picture rather than attaching it through the link .. Have seen few codes but its not applicable here..
Please suggest
Thanks
RakeshMany thanks for your reply Sandra
I did uplaod the picture in SE78 and attached the graphic to smartforms. However I am not using PDF hence it does not get enbedded in the mail and instead sends a link to the SAP MIME repository URL.
Anyways I was able to embed the picture in the emails using the blog
http://www.sdn.sap.com/irj/scn/weblogs?blog=/cs/user/view/cs_msg/11570
Thanks
Rakesh -
Hi All,
I upload the TIFF format image thru the SAP standard program "RSTXLDMC" and now i need to display this image into my smartform. How can I use this image in smartform?
Can I see this image which I upload thru standard program?
My Main Question I am repeating again that how to use this image in smartform?
Thanks & Regards,
Jaten SangalHi ,
If you are following the same steps :
se78 : to import the tiff file
then in smartforms using create-graphics
then you are going good . This should not lead you to the error . I think error reason would be something else.Might be something related tro size , is your image very big ?\
Please see have you successfully uploaded your image in SAP?
I am looking for it meanwhile you can try uploading another short image.
also refer this
Upload .TIF images in SE78
Regarding Smartform output Issue....(very Urgent)
Problem with SMARTFORM.
Regards,
Uma Dave
Edited by: UmaDave on Jun 14, 2010 11:34 AM
Edited by: UmaDave on Jun 14, 2010 11:34 AM -
hi ,
I am facing one problem with the graphics
I have to Print the logo of my company when i put this logo in the graphics i can see it in the form painter but it is not visible in the print preview .
The same problem occurs with standard logos also like that of mysap.com etc .
Pls Help ....hi
have u give all the proerties correclty
eg.
Name ENJOY
Object GRAPHICS
ID BMAP
O-Black and Whilte bitmap image et..
once chek -
Transport the Form Graphic probelm
Hi All,
I would like to know how to transport the Form Graphic to the traget system?
I create the transport Request in SE78 but haven't see the graphic in the Traget system, So can any one help me ?
Regards,
LukeHi,
1.The Error is Due to the Inactive objects in the Form or Once again goto Se78--->Click Truck Symbol.(it will transport the Graphic).
2.Activate the form once again and copy the Form.
3.Test it.
Regards,
Shiva Kumar -
hi ,
i have designed a layout and did a coding in driver program,but problem is when i fetch docno which contins line items of 68 .
in page 1:
Item Pk Account Account Short Text Assignment Amount Rs. Cost Center Line Item Text
001 40 402202 Salaries 20080531 100BIOTCCO Basic Pay May 08
192,100.00
013 40 402202 Salaries 20080531 100INTELOG Basic Pay May 08
60,700.00
014 40 402202 Salaries 20080531 100INTEMKT Basic Pay May 08
end of page 1.
page 2:
Item Pk Account Account Short Text Assignment Amount Rs. Cost Center Line Item Text
135,000.00
see above my amount is not in same line of items,
and in page1 the 14th entry half of the line is displaying in page 1 and reaminig(amount line) is displaying in second page.
and also it is not showing total no of pages ,here it is showing Pages:1 of *.
can any body help me..Hi,
Please check the below points for coming the whole item in a single line.
1. check the the column lengths and adjust as large width for amount type fields .Increase the table width.
2. Check the textelement corresponding to the amount field (which displaying in next line) 'output options' tab . there select as new cell instead of new line. then it will contiue on the same line of the item. There page protection check box also there. if u want then check for not spliting the item into 2 lines.
Please drag and drop the field&SFSY-FORMPAGES& from system fields . then value will display.
Thanks,
Suma. -
Dynamic Graphic printing in Smartforms
Hello all.
I have to print pictures from web repository (SMW0) using smartform.
I know in smartform, graphics need to be defined with name, Object and ID, that exist in from graphic repository (SE78).
Exist any way for printing any picture from other source than SE78 Dynamically?
Thank you in advance.
Ibrahim AndresHello Ravi....
Thanks for posting...
I understand that I can change graphic name, but it does not fit to me because my graphics are not in SE78 and in WEB repository (SMW0) , and I need to import each graphic to SE78 using one name, before calling graphic printing....
The best solution for me is that I could decide where from assign graphic, not only from SE78. But that is not possible at the moment.
thank you very much.
Ibrahim Andres -
How to use Read_Text in Smartforms
Hi Experts,
I am developed smartforms .My probelm is i need to use the read_text in smartforms . i am fetch the text in print program how to use this text in smartform.
Pls suggest me.
This is my print program .
REPORT zsd_invoice_text.
PARAMETERS : p_vbeln TYPE vbrk-vbeln.
DATA : fname TYPE rs38l_fnam.
DATA:BEGIN OF i_vbrk OCCURS 0,
vbeln type VBELN_VF,
END OF i_vbrk.
DATA: lt_lines TYPE STANDARD TABLE OF tline,
wa_lines TYPE tline.
DATA: ld_text(18) TYPE c.
*DATA: tdobname TYPE tdobname.
CONSTANTS: c_id TYPE thead-tdid VALUE '0002',
c_object TYPE thead-tdobject VALUE 'VBBK'.
DATA: lv_name TYPE tdobname.
select vbeln from vbrk into table i_vbrk where vbeln eq p_vbeln.
loop at i_vbrk.
read table i_vbrk with key vbeln = i_vbrk-vbeln.
endloop.
lv_name = i_vbrk-vbeln.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = c_id
language = sy-langu
name = lv_name
object = c_object
* IMPORTING
* header = ld_header
TABLES
lines = lt_lines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5.
IF sy-subrc <> 0.
ELSE.
LOOP AT lt_lines INTO wa_lines.
CONCATENATE ld_text wa_lines-tdline INTO ld_text.
ENDLOOP.
ENDIF.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZSD_INVOICE_TEXT'
* VARIANT = ' '
* DIRECT_CALL = ' '
IMPORTING
fm_name = fname
EXCEPTIONS
no_form = 1
no_function_module = 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 fname
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
* CONTROL_PARAMETERS =
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
* OUTPUT_OPTIONS =
* USER_SETTINGS = 'X'
p_vbeln = p_vbeln
* IMPORTING
* DOCUMENT_OUTPUT_INFO =
* JOB_OUTPUT_INFO =
* JOB_OUTPUT_OPTIONS =
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Thanks in Advance
purnaneelu
Edited by: Purnaneelu on Jun 9, 2009 7:11 AMHi,
Used below code:
1) Call FM READ_TEXT and pass
DATA :
T_LINES
TYPE TABLE OF
TLINE
W_TDLINES
TYPE
TLINE
V_WORK
TYPE
CHAR255
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'Z038'
LANGUAGE = sy-langu
NAME = BIL_NUMBER
OBJECT = 'VBBK'
TABLES
lines = T_LINES
IF sy-subrc = 0.
loop at t_lines INTO W_TDLINES.
CONCATENATE V_WORK W_TDLINES-TDLINE INTO V_WORK SEPARATED BY SPACE.
CONDENSE V_WORK.
CLEAR W_TDLINES.
ENDLOOP.
REFRESH T_LINES.
ENDIF.
OR
2 ) See below attached screen shot -
HOW TO UPLOAD BACKGROUND IMAGES IN SMARTFORMS
HI
HOW TO UPLOAD BACKGROUND IMAGES IN SMARTFORMSHi,
goto se78 -> in the menubar click graphic and import to select ur images from ur system .. then click transport button .. it automatically gets into the smartform graphic image list.. then get into transaction smartform and use the image u imported into that..
U can import anykind of image which u have stored in ur pc through se78..
Regards,
Priya. -
Hi,
I have created the Pay slip thourhg PE51. Now i want to add logos.
How to add the logos. If you have any program for this pls send me.
Thanks and Regards,
Revathi.http://www.sap-basis-abap.com/smartforms/inserting-logo-in-smartform.htm
http://****************/Tutorials/Smartforms/Graphics/import.htm
Re: Smartforms Logo
Dynamic Logos in Smart forms
check this one and let me know
if still anything is there let me know i will do the needful
Maybe you are looking for
-
24" iMac and 20" Cinema display extended desktop mode ?
I got a 24" iMac and a 20" Cinema display. I wanted to know if they will work on extended desktop mode? I didnt try to hook it up yet as I am waiting for mini dvi to dvi adapter to come. Thanks
-
Make Plug-in to Directory Server
Hi, Iwas trying to get some API documentations and examples to create plug-ins to Directory Server in Java, however I was not able to download any useful. I have to integrate a special authentication method into Directory Server (that is part of a Po
-
Variables defined in OnRequestStart - cant use in another template??
In my onrequest start i have the following code: <cfset pagetype = 1> <cfif isDefined("URL.type")> <cfset pagetye = #URL.type#> </cfif> <!--- query to get the page type ---> <cfquery name="qryGetPageType" datasource="#Application.dsn#"> select type f
-
Template not updating child pages
Hi, here's a link to the conundrum: http://theexperience-exchange.co.uk/stop.html This page (as are a few others) is based on a template document (stored in a Templates folder in the site root). I added an editable region in the form of a new div wi
-
Approval workflow with multiple approvers in sharepoint
Hi All, I have created a sequential workflow using visual studio 2012 for sharepoint 2013. I have multiple approvers for approving a document. I am able to create individual tasks for each approver by code my problem here is tasks should be created b