How to show image in Smart Form dynamically , Image is stored on local PC
Hi All,
I have a requirement where user can attach any image to PM Order in T-code IW33. Now this image gets stored on user`s local PC.
After this user will generate a report which is a Smart form, On this Smartform i have to show that attached image.
So that image will contain Order Id and attached image.
How this can be achieved.
Regards,
Abhishek
Actually this Image(Image of Signature ) will be coming from Mobile device and then it will be stored as an attachment for an PM Order.
So there will not be any manual interuption and therefore no one will be storing this in se78. But this image gets stored in local PC. And now i have to get this image on my Smartform.
Any idea how to do it?
Regards,
Abhishek
Similar Messages
-
How to change the font of variables in smart forms dynamicly
Dear all,
Is there any suggestion of how to change the font of variables in smart forms dynamicly?
Thanks in advance.Hi,
You cant change the font dynamically but tell me the scenario I will try to give the solution.
Regards,
Nageswar -
How to Mask URL in Smart forms
Hi,
i wanted to mask the URL in my smartform so that it is concise and readable, like suppose url is like this http://www.myurl.com/pages/abcd&attr=19093 i wanted to create text which is something like click here on clicking click here it should take me to the desired page which the above mentioned URL ( http://www.myurl.com/pages/abcd&attr=19093 ) actually navigates.
How can i achieve this Smart forms??
Please suggest
Edited by: kranthi kumar on Oct 29, 2010 12:56 PM
Edited by: kranthi kumar on Oct 29, 2010 12:59 PMHi Aidan,
Thanks for your answer, Just got an alternative solution, when i got XSF output from smartform function Module, the same XSF output (me->sf_job_output-xmloutput-trfresult-content) i used in below method to convert to string.
CALL METHOD cl_hrrcf_cs_sf=>convert_xsf_html_to_txtstring
EXPORTING
content = me->sf_job_output-xmloutput-trfresult-content
IMPORTING
html_string = me->doc_properties-output_c
html_tab = me->doc_properties-output_c_tab.
later i realised that URLs in the smartform has got corresponding HTML code as below in the (me->doc_properties-output_c_tab).
<a href="https://www.google.com">
<span>
https://www.google.com
</span>
</a>
when i changed the link in the debugger https://www.google.com which was inside
<span> </span>
to "Click Me", the output was as i expected in the E-Mail which showed me Click Me and when i click that it took me to google web site.
so i decided that i would change this table(me->doc_properties-output_c_tab.) for every URL in code, though it did not seem like right solution, as suggested in this forum there is no straight solution for this, i have no other option.
Please comment.
Thanks,
Kranthi.
Edited by: kranthi kumar on Oct 29, 2010 9:43 PM
Edited by: kranthi kumar on Oct 29, 2010 9:44 PM -
How to print bullet in smart form
Hi Experts,
I have a requirement in smart form where different points of texts should come under a bullet.
Can you please tell me how to print bullet in smart form.
Note : I have to use Standard text
Thanks in advance
Bikashi
good
We can create bullets in smartforms.
For this change the editor to text editor and then
goto insert->characters->SAP Symbols and select the
symbol you want.
This may help your requirement.
You cannot see the bullets in print preview, it'll
appear only on a hard copy.
reward point if helpful.
thanks
mrutyun^ -
Displaying Image in Smart form
Hello CRM Gurus,
I am getting the image Data, Is there any method or function module to dispaly image in smart form.......... with out Graphich Window.....
Thanks,
Feroz.Hi Feroz,
Use FM SSFCOMP_PRINT_GRAPHIC
Please refer to following Code template:
CALL FUNCTION 'SSFCOMP_PRINT_GRAPHIC'
EXPORTING BM_NAME = %GRAPHICKEY-TDNAME
BM_OBJECT = %GRAPHICKEY-TDOBJECT
BM_ID = %GRAPHICKEY-TDID
BM_TYPE = %GRAPHICKEY-TDBTYPE
BM_RESIDENT = ' '
BM_RELMODE = 'W'
BM_ALIGNMENT = 'L'
BM_MARGIN = '0.00'
BM_UMARGIN = 'CM'
BM_VALIGNMENT = 'C'
NAME = 'Z_LOGO'
EXCEPTIONS NON_MAIN_OVERFLOW = 1
OTHERS = 2.
Best Regards,
Pratik Patel
Reward with point it is of any use to you! -
How to Generate a complex smart form for the Sales Order different pages h
How to Generate a complex smart form for the Sales Order different pages has different page Layouts explain me?
in print program in interface when calling the form there should be some option to tell it to make a NEW spool everytime.
I have it in mind for sap-script it is ITCPO-TDNEWID. Dont have it in mind for SAMRTFORMS but still it should work somehow similar. -
How do u get New page in Smart form dynamically
How do u get New page in Smart form dynamically
page break in smart form
Re: New Page in Smart Forms
Page break inside a loop in smart form -
ADOBE Forms, dynamic images
Hi to all,
I'm working with Adobe Forms and I need to show the photo of an employee depending on his personal number.
So I can´t put the location of the image directly on the URL box of the object.
Does any one knows how to show jpg images dynamically?.
I can do it with Smartforms but I don´t know how to with Adobe Forms.
Thanks.
Nico.-Hi,
I'm working with Nico. We already could show photos dynamically in our Adobe form, uploading them into the Unix server (into AL11) and then referencing the path dynamically. But we still can't show the photos of the employees. The problem that we have now is that we would need a path of the photos on the server to be able to show them in the Adobe form, but we actually couldn't find the path where they are physically stored.
The photos are being stored with ArchiveLink, using the content repository YE, which is configured as follows:
Content Repository: YE
Description: ...
Document Area: ArchiveLink
Storage type: SAP System Database
Rep. Sub-Type: Normal
Protocol: SAPAL
Version Number: 0046
Contents Table: ZCONT_DB --->> the structure of this table corresponds to the table SDOKCONT1
Transfer directory: Z_GRAF_EMPLEADOS2
Physical path: O:\DACON_RH\Sapgraf_prl\
When calling 'HR_IMAGE_EXISTS' and 'SCMS_DOC_URL_READ' functions to get the URLs of the photos, those functions return URLs like this:
SAPR3://SAPR3CMS/get/070/YE/45C3EED1A64E1956E10000000AFA081B/DATA
but those URLs don't work in our Adobe form as the path of the photo (the photo isn't shown when we put that URL in the place of the path).
Does anyone know where could be the photos physically stored or what can I do to solve this problem?
Thanks!
Dani -
How to Printe Graphics in Smart-Forms
Guys,
Need your help
Is it possible to print graph in smart form???
If yes, if you have any document, please pass it to me
DhirajHi Ram,
Go through this hope u can understand.
How to Upload graphics (IMAGE) to your Sapscript?
Command in your Sapscript
/: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E
These are the steps to be followed for uploading graphics in R/3 system
1. First save the file as BMP
2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and
make it Zoom as 100% and save as *.TIFF
3. Open SE38 and execute program RSTXLDMC
4. Give your TIFF file path name
5. Select Bcol (for Color)
6. TEXT ID will be ZHEX-MACRO-*.
7. Inplace of * write your own logo name (ZCOMPANYLOGO)
8. Execute the program
9. Now Goto SE71 create your ZFORM
10. Create logo window
11. Goto text element of logo window
or
In 4.6x :-
1. Goto SE71 Change the mode to GRAPHICAL
2. Choose the Graph Tabstrips
3. Now type in some name for the LOGO WINDOW
4. Press the IMPORT BUTTON (third button from left) and then IMPORT the BMP file from your DESKTOP
5. The code will be written automatically. You just need to drag and drop wherever you want
the graphics to be.
/: INCLUDE Z_COMPANY_LOGO OBJECT GRAPHICS ID BMON LANGUAGE EN
Reward points if help ful.
http://www.sap-img.com/ts001.htm
Sorry i think for Scripts ..
better to go for above post . it definetly works
Thanks
Naveen khan
Message was edited by:
Pattan Naveen -
Possible to generate graphics within smart forms dynamically like SVG ?
Hello,
I would like to generate a graphic for a smart form. This graphic will only be needed in the smart form. Therefore my question:
It is <b>possible to generate dynamically graphics using ABAP</b> as programming language? In the same line like SVG (Scalable Vector Graphics) or ChartDirector? I know it works in many other programming languages.
Smart forms can handle *.bmp and *.tif picutres. Therefore the output of this ABAP program should be a picutre within the format *.bmp and *.tif.
DanielWelcome to SDN,
I am not sure whether you can use SVG in smart form, but certainly in ABAP yes. check out the following atricle for more info.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/how to generate and display svg graphics in abap,%20Part%201.article
Regards
Raja -
SMART FORM: HOW TO IMPORT STYLES IN SMART FORM
Hi Experts,
im working in verion 6.0 . how to import styles in my smart form.
in 6.0 im not finding the label styles were we import the styles. so plz experts help me in this.
plz show me the path step by step.
Thnaks & regards
Sunita.Hi Arpit,
Thnx for ur early reply .here in 6.0 i cant find the styles option .yeah in 4.6 or 4.7 we find in the output options.but in 6.0 im unable to find so plz help me.
Thnaks & regards
Sunita -
How to Print Vertically in Smart Forms
I need to print data in vertical format into columns in smart forms. Can any one give me the solution.
Hi Sreedhar,
In Smartforms, if you need to print vertical text, only possible way (That i know) is, Create a Bitmap image of the text and rotate the same to 90 deg and then use that image in your smartform....
If you can use adobe forms, you can rotate the text to any angle that you want....this is one of the main advantage of adobe forms.
Best Regards,
Ram. -
How to create barcode in Smart Forms with MS Word as Editor?
Hi,
I created a character format for a barcode in a smart style.
The problem is that I do not know how to assign it to the text in Smart Form because the Editor is MS Word and not the normal Editor.
Any suggestion or idea.
Thanks & best regards
ViktoriaHi and thanks for the fast reply,
I have created a smartstyle and also a characterformat for the barcode. This is not the problem.
I call the layout via HRFORMS. The Form Builder for Smart Forms is called and the Editor for the text nodes is preset and is the MS Word editor. This cannot be changed. I tried different things also in the settings. The normal text editor cannot be called.
I choose and enter the field that I want to convert into the barcode &wa_barcode&. I do not work with standard texts (SO10). The text field is a normal text node in Smart Forms. The character format that applies converts the number in the variable field into the barcode.
In the MS word editor I have only formats that are in the office environment (arial, ...) I do not see the formats that I created in smartstyle also when I assign it in the output options of the text node.
So maybe I have to work like this for now. Swich between HRFORMS and SMARTFORMS when working with barcodes. In the Smart Forms transaction it is the normal editor where I can see the paragraph/ character formats from smartstyle.
Thanks and best regards
Viktoria -
How to use Rstxt in smart forms
hi
how to use Rstxt in smart formsHi Ram,
Go through this hope u can understand.
How to Upload graphics (IMAGE) to your Sapscript?
Command in your Sapscript
/: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E
These are the steps to be followed for uploading graphics in R/3 system
1. First save the file as BMP
2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and
make it Zoom as 100% and save as *.TIFF
3. Open SE38 and execute program RSTXLDMC
4. Give your TIFF file path name
5. Select Bcol (for Color)
6. TEXT ID will be ZHEX-MACRO-*.
7. Inplace of * write your own logo name (ZCOMPANYLOGO)
8. Execute the program
9. Now Goto SE71 create your ZFORM
10. Create logo window
11. Goto text element of logo window
or
In 4.6x :-
1. Goto SE71 Change the mode to GRAPHICAL
2. Choose the Graph Tabstrips
3. Now type in some name for the LOGO WINDOW
4. Press the IMPORT BUTTON (third button from left) and then IMPORT the BMP file from your DESKTOP
5. The code will be written automatically. You just need to drag and drop wherever you want
the graphics to be.
/: INCLUDE Z_COMPANY_LOGO OBJECT GRAPHICS ID BMON LANGUAGE EN
Reward points if help ful.
http://www.sap-img.com/ts001.htm
Sorry i think for Scripts ..
better to go for above post . it definetly works
Thanks
Naveen khan
Message was edited by:
Pattan Naveen -
How to insert logo in smart forms
how to insert logo in smart forms
Hi Ram,
Go through this hope u can understand.
How to Upload graphics (IMAGE) to your Sapscript?
Command in your Sapscript
/: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E
These are the steps to be followed for uploading graphics in R/3 system
1. First save the file as BMP
2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and
make it Zoom as 100% and save as *.TIFF
3. Open SE38 and execute program RSTXLDMC
4. Give your TIFF file path name
5. Select Bcol (for Color)
6. TEXT ID will be ZHEX-MACRO-*.
7. Inplace of * write your own logo name (ZCOMPANYLOGO)
8. Execute the program
9. Now Goto SE71 create your ZFORM
10. Create logo window
11. Goto text element of logo window
or
In 4.6x :-
1. Goto SE71 Change the mode to GRAPHICAL
2. Choose the Graph Tabstrips
3. Now type in some name for the LOGO WINDOW
4. Press the IMPORT BUTTON (third button from left) and then IMPORT the BMP file from your DESKTOP
5. The code will be written automatically. You just need to drag and drop wherever you want
the graphics to be.
/: INCLUDE Z_COMPANY_LOGO OBJECT GRAPHICS ID BMON LANGUAGE EN
Reward points if help ful.
http://www.sap-img.com/ts001.htm
Sorry i think for Scripts ..
better to go for above post . it definetly works
Thanks
Naveen khan
Message was edited by:
Pattan Naveen
Maybe you are looking for
-
COMPUTERS AND ITUNES WILL NOT RECOGNIZ MY IPOD NANO
MY NANO IPOD IS NOT RECOGNIZED BY MY COMPUTERS OR ITUNES. WHEN I TRY TO SYNC IT IS IN GREY AND WILL NOT LET ME SYNC
-
Macbook pro and photosmart 7960 connection greyed out.
Macbook pro 10.7.5 Lion. trying to connect a HP photosmart 7960. via USB, the printer used to work on my macbook pro , every box is now greyed out , Add, print & scan. I hagve tried everything to no avail. When connected to my sons macbook it regste
-
Business Model - Logical Table Source
Can someone give me clarification on exactly when you would follow scenario 1 when modelling a logical table and exactly when you would follow scenario 2, and what the key difference in behaviour between the two is. It would help if someone could ill
-
SharePoint 2013 provides a Microsoft .NET server programming model that you can use to build custom solutions and apps that include eDiscovery functionality. As per the documentation we can see this programming model applies to Sharepoint Server. Can
-
Start rtorrent in tmux with systemd
I am trying to setup a server with rtorrent, but it closes or will not run. [Unit] Description=rTorrent Requires=network.target local-fs.target [Service] Type=oneshot RemainAfterExit=yes KillMode=none User=nobody ExecStart=/usr/bin/tmux new-session -