Print Capture Signature in Smartforms
Hi experts,
I would like to know if it is possible to print a captured signature from a mobile device into my smartforms.
The customer will sign through a device and the output for the invoice will be printed with the signature.
I believe another SAP module(SAP MAM) is used to capture the signature but as an ABAPPER how can I retrieve the signature and include it in the printout of the invoice?
Thanks!
eric
Hi,
Ask sap-mam people to call a workflow or a report porogram in which .
1) if it is workflow run rrstxldmc and provide the captured sign file name and after that event is successful trigger and anotherr task that runs the script's driver program. Now the captured sign will be appered in your smartforms
Note: add the logo in the script(logo name is constant in the script)
2) if it is report submit rxtxldmc with the file name captured by the sapmam and remaining all are same.
Thanks,
NN.
Similar Messages
-
How to print Signature in smartform in a dynamic place ?
Hi experts,
i have a requirement to print signature in a smartform (purchase order print) ,the signature has to printed in dynamic place.
i have to Print signature in in authorized signatory place, we cannot place static window with scanned signature in page ,
as we cannot predict where the page will end.
how can this be attained, i have attached a print preview , where signature has to be attached ?
please Help.Hi Prakash,
'create a secondary window and in it create a text then print these text of signature in secondary window and call the secondary window when the data of main window ends.
Means you should create a secondary window just after your main window as shown below
and in this secondary window create a text for sign, and in the Condition Tab, please select "Only After End of Main Window." -
How to Print Signature in smartform
Hi all,
how to find Last Page of a Sold-To-Party to Print Signature in Smart Form?Hi ,
Can u tell me where u r counting the No.Of Pages in your smartform...
If u r counting no.of Pages other than final window it will not work(I mean in final window only u will get the value of the sfsy-formpages count) . Put the break-point in the final check what ever the condition for printing the signature window .
Let me know if u have any concerns....
Regards,
Lokesh. -
Placing Electronically Captured Signature on Documents
I need to identify a solution that takes a document we create in SAP and apply an electronic signature from a signature pad, like that used when you use your charge card. Each document and signature will be different u2013 this is not a static signature or a digital signature. We do not want to print a hardcopy, have the customer sign it, and scan it back into the system for storage.
The ideal solution will be only one hardcopy signed document which would be given to the customer. We would have an electronically stored copy of the document (with signature) saved internal to the company. The solution would not involve any hardcopies stored by our company and no scanning of any hardcopies.
A hypothetical example would be to store a signed copy of a grocery store order.
u2022 A customer shops at the grocery store and then proceeds to check out.
u2022 The clerk then registers the order.
u2022 The customer signs the electronic signature pad and receives a copy of their order with their signature.
u2022 The system u201Cplacesu201D the electronically captured signature on the appropriate location on the order and stores the signed order for later reference. This is all on one image u2013 the order with the signature.
Is anyone familiar with this kind of functionality working in SAP?Hi Robert,
I'm not sure about any such feature in SAP, but, can suggest you some solution to achieve this.
If you can link the signature on the pad with automatic naming of the image file generated, (e.g. Bill No. + Date + Time Stamp) and store it in a central repository.
You can then pass this name via an RFC to SAP and call a SMARTFORM for bill storing.
The SMARTFORM can then read the image file from the central repository and print the dynamic image as required.
Regards,
Pranav. -
How to Print Digital Signature in Smart forms.
Hi Experts,
Any one please help me how to use digital signatures in SMARTFORMS.?
Which are the tables used to store digital signatures and please any one have any demo program which prints the the digital signature using smartforms kindly let me know.
Thanks,
Sunil kairam.Hi Sunil,
After doing some research in sdn and other sources i found the following result...
Digital Signatures are nothing but graphics that we can store in SAP and use in our Smart Forms.
For Example you can create a .bmp file of your signatures, upload it via SE78, and then use it in your Smart Forms in your Footer Area as "Authorized Signatory".
The Logic in the Print Program can be something as follows -
1. Maintain a Z Table having fields like PLANT, FORMID (Name of the SmartForm), USERID.
2. Before calling the Form, the validation is made for the Logged in User with the Z Table created.
3. If the User Entry exists in the Z-Table, the Form is called and the Signature Image is displayed in the Footer Block i.e. the Authorized Signature.
4. If user entry does not exist in the Z-Table then the message is displayed "You are not the Authorized for Printing the Form" and exits the Transaction.
refer to these links:
[http://help.sap.com/saphelp_nw04s/helpdata/en/23/c8b4cb4b3847a9bc32fe100f368411/frameset.htm]
[http://help.sap.com/saphelp_nw04/helpdata/en/21/530b37cb3ed605e10000009b38f936/frameset.htm]
if u find some info on the topic pls let me know..
best of luck!!!
thanks
ravi -
Hi,
We have employee photos(JPG Format) stored in Content server. And now we want to print the photos in smartforms. For this I had written the below code to read the photo from content server in binary format as below.
REPORT ZTEST1.
PARAMETERS P_PERNR TYPE PERNR_D.
DATA: PS_CONNECT_INFO TYPE TOAV0,
IT_BINARY TYPE TABLE OF SDOKCNTBIN.
CALL FUNCTION 'HR_IMAGE_EXISTS'
EXPORTING
P_PERNR = P_PERNR
* P_TCLAS = 'A'
* P_BEGDA = '18000101'
* P_ENDDA = '99991231'
IMPORTING
* P_EXISTS =
P_CONNECT_INFO = PS_CONNECT_INFO
* EXCEPTIONS
* ERROR_CONNECTIONTABLE = 1
* OTHERS = 2
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.
IF PS_CONNECT_INFO IS NOT INITIAL.
CALL FUNCTION 'SCMS_DOC_READ'
EXPORTING
STOR_CAT = SPACE
CREP_ID = PS_CONNECT_INFO-ARCHIV_ID
DOC_ID = PS_CONNECT_INFO-ARC_DOC_ID
* PHIO_ID =
* SIGNATURE = 'X'
* SECURITY = ' '
* NO_CACHE = ' '
* RAW_MODE = ' '
* IMPORTING
* FROM_CACHE =
* CREA_TIME =
* CREA_DATE =
* CHNG_TIME =
* CHNG_DATE =
* STATUS =
* DOC_PROT =
TABLES
* ACCESS_INFO =
* CONTENT_TXT =
CONTENT_BIN = IT_BINARY
* EXCEPTIONS
* BAD_STORAGE_TYPE = 1
* BAD_REQUEST = 2
* UNAUTHORIZED = 3
* COMP_NOT_FOUND = 4
* NOT_FOUND = 5
* FORBIDDEN = 6
* CONFLICT = 7
* INTERNAL_SERVER_ERROR = 8
* ERROR_HTTP = 9
* ERROR_SIGNATURE = 10
* ERROR_CONFIG = 11
* ERROR_FORMAT = 12
* ERROR_PARAMETER = 13
* ERROR = 14
* OTHERS = 15
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.
ENDIF
Now the issue is I want to convert that binary data to bitmap image and upload the same in to SE78. So that I can use that BMP image from SE78 in my smartforms.
I had used the class CL_IGS_IMAGE_CONVERTER to covert the image into bmp but it is giving error that error in IMAGE DATA CORRUPT & Error Code 3. The conversion code used is as below.
******* CONVERT THE JPG IMAGE INTO BMP PHOTO. **********
DATA: L_IGS_IMGCONV TYPE REF TO CL_IGS_IMAGE_CONVERTER,
L_IMG_BLOB TYPE W3MIMETABTYPE,
L_IMG_SIZE TYPE W3PARAM-CONT_LEN,
L_IMG_TYPE TYPE W3PARAM-CONT_TYPE,
L_IMG_SUBTYPE TYPE W3PARAM-CONT_TYPE,
L_IMG_URL TYPE W3URL,
L_ERR_CODE TYPE I,
L_ERR_TEXT TYPE STRING,
P_DEST TYPE CHAR32 VALUE 'IGS_RFC_DEST'.
DATA: G_IMG_BLOB TYPE W3MIMETABTYPE,
G_IMG_TYPE TYPE W3PARAM-CONT_TYPE,
G_IMG_SIZE TYPE W3PARAM-CONT_LEN.
IF NOT IT_BINARY[] IS INITIAL.
G_IMG_BLOB[] = IT_BINARY.
CREATE OBJECT L_IGS_IMGCONV
EXPORTING
DESTINATION = P_DEST.
CALL METHOD L_IGS_IMGCONV->SET_IMAGE
EXPORTING
BLOB = G_IMG_BLOB
BLOB_SIZE = G_IMG_SIZE.
CASE PS_CONNECT_INFO-RESERVE.
WHEN 'TIF'.
G_IMG_TYPE = 'image/tiff'.
WHEN 'JPG'.
G_IMG_TYPE = 'image/jpeg'.
WHEN 'PNG'.
G_IMG_TYPE = 'image/png'.
WHEN 'GIF'.
G_IMG_TYPE = 'image/gif'.
WHEN 'BMP'.
G_IMG_TYPE = 'image/x-ms-bmp'.
WHEN OTHERS.
EXIT.
ENDCASE.
L_IGS_IMGCONV->INPUT = G_IMG_TYPE.
L_IGS_IMGCONV->OUTPUT = 'image/x-ms-bmp'.
* PERFORM GET_SIZE USING PICTURE_CONTAINER
* L_IGS_IMGCONV->WIDTH
* L_IGS_IMGCONV->HEIGHT.
CALL METHOD L_IGS_IMGCONV->EXECUTE
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC IS INITIAL.
CALL METHOD L_IGS_IMGCONV->GET_IMAGE
IMPORTING
BLOB = L_IMG_BLOB
BLOB_SIZE = L_IMG_SIZE
BLOB_TYPE = L_IMG_TYPE.
SPLIT L_IMG_TYPE AT '/' INTO L_IMG_TYPE L_IMG_SUBTYPE.
ELSE.
CALL METHOD L_IGS_IMGCONV->GET_ERROR
IMPORTING
NUMBER = L_ERR_CODE
MESSAGE = L_ERR_TEXT.
BREAK-POINT.
ENDIF.
ENDIF.
ENDIF.
So could you please some one help me how to convert JPEG Photo to BMP programatically.
Regards,
Mayur.johnandersonpalmdesert wrote:
My printer is requesting a vector file.
Jpeg File format does not support vectors. Photoshop has limited vector support and tools. Photoshop can not save vector file formats like SVG. What File type does your printer want?
Adobe Illustrator is Adobe vector application. -
Stadard text signature in Smartforms
Hi,
I am able to print the signature uploaded in standard text so10 in scripts. How to print the same in smartforms what is the procesure. I am able to print the text in standard text but signatre in print preview is not coming.
Regards,
SrinivasHi,
Kindly chceck the window size where you are trying to ahve the signature to be printed. There might be a possibility that the window size is too small or inadequate for printing the signature. Secondly, check on the character n Paragraph format that you ahve attached to the signature Text.
Revert if your problem is unresolved by the above!
Cheers,
Varna -
Capturing signatures and writing invoices
i'm looking to use the iphone in the future to create invoices, capture signatures and print off, email, of remotely fax them to customers. it should also be able to link to merchant account services. perhaps even to attach a customers picture to the invoice.
can this be doneWe do this all the time on other devices. I've written signature capture tools for various WM/ WinCE/ XP/ other devices.
First, you'll need an iPhone stylus that works well for the signature.
I'd buy one of each available (Google "iphone stylus"), and try them with a web-based drawing program or a jailbroken phone with a paint program, to see which works best.
(Of course, compared to the horrible signatures that many devices capture at various stores I've been to, perhaps accuracy isn't that important - grin ) -
How to print horizantal lines in smartforms?
hi friends,
how to print horizantal lines in smartforms.
waiting for ur valuble replies.
Thanks,
KiranHI,
If u use templates or table,then use borders to print the horizontal lines.
Eg : Create template-->Table painter->click select pattern button->Display framed pattern->select 3rd one.it will display only horizantal lines.
if want to print horizantal line under the text, then create one paragraph or character formate with Underline in smartstyles.Use that paragraph or character to u r text element -
How to print a bullet in smartforms?
Hi All,
How to print a bullet in smartforms?
I need it urgently.
Any help would be appeciated.
Regards,
Mahesh.Hi,
if i remember correct <600> is the value for bullets.
you can insert this using sap system symbols ---> select bullets (before this place your cursor where ever you want the bullets.
eg:
P1 <600> test.
Thanks,
Sree. -
How to print Check Box in smartform
HI,
How to print check box in smartforms. I am using Include Sap Symbol but in the print it is coming as #. Do we need to do any setting like we do for barcode?
Thanks
Raghavendrahi,
u can print a check box in different ways.. by inserting symbols and making window as check box..
once go through the thread u will get to k now differnt ways
putting checkboxes in smartform?
Please Close this thread.. when u r problem is solved. Reward all Helpful answers
Regards
Naresh Reddy K -
Printing dunning notices using SMARTFORMS,error during parameter transfer
Hi Friends,
I face a error message "Include text ZGA_DUN_HDR does not exist (object TEXT, ID ST)" when i run the dunning run.
I had searched every node for text ZGA_DUN_HDR in the smartform,I didnt find the text in it.
However when I execute the smart form for print preview an error message "Printing dunning notices using SMARTFORMS,error during parameter transfer".This error i believe is due to wrong parameter passing in the fm 'GET_SF_DUNN_DATA'.It raises an error no_parameters_found.All parameters are passed correctly.
Can you guys help me out.
Edited by: RAJIV KAUSHAL on Nov 14, 2008 6:03 PMyou can create this text ZGA_DUN_HDR in SO10 tcode and try ...
-
Printing Dunning Letters using Smartforms
Hi all,
I have a requirement wherein I need to print dunning letters using smartforms; the dunning data are extracted in program SAPF150D2;I modified the subroutine OFI_DUN_ACT to call function module FI_PRINT_DUNNING_NOTICE_SMARTF.
Now I need to extract the dunning data in program SAPF150D2 to be imported to my new form using GET_SF_DUNN_DATA, my question is where do I code the calling of FM GET_SFG_DUNN_DATA? I'm a little bit confused on the step by step process of the dunning data extraction to printing of the form... Thanks...In the INITIALIZATION of the Smartforms, after the call to GET_SF_DUNN_DATA, you have a many informations back, of which the record of MHNK and an internal table of MHND, which you can use to select other informations from database.
So fill or enrich your own internal table in the initialization.
I enclose thereafter a sample to help you
* Load data
CALL FUNCTION 'GET_SF_DUNN_DATA'
EXPORTING
is_sfparam = is_sfparam
IMPORTING
es_mhnk = mhnk
es_t001 = t001
es_knb5 = knb5
es_lfb5 = lfb5
es_t047 = t047
es_t047c = t047c
es_t047i = t047i
es_t056z = t056z
es_f150d = f150d
es_fsabe = fsabe
es_adrnr = adrnr
es_uadrnr = uadrnr
es_adrs = adrs
es_uadrs = uadrs
es_t047b = t047b
eb_testprint = testprint
e_langu = langu
e_lang2 = lang2
es_f150d_esr = f150d_esr
es_paymi = paymi
es_paymo = paymo
TABLES
t_mhnd = th_mhnd
EXCEPTIONS
no_parameters_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
sy-msgid = 'FM'.
sy-msgty = 'E'.
sy-msgno = 461.
RAISE others.
ENDIF.
h_t040a-text1 = space.
show_interest = space.
LOOP AT th_mhnd INTO mhnd WHERE xzins = ' '.
show_interest = 'X'.
EXIT.
ENDLOOP.
* Load user information
DATA: usr21 LIKE usr21, addr3_sel LIKE addr3_sel.
CLEAR: usr21, addr3_sel, addr3_val, adr6.
* Charger fiche profil
SELECT SINGLE * FROM usr21 WHERE bname = sy-uname.
* Récupérer l'adresse
MOVE-CORRESPONDING usr21 TO addr3_sel.
CALL FUNCTION 'ADDR_PERS_COMP_GET'
EXPORTING
address_pers_in_comp_selection = addr3_sel
IMPORTING
address_pers_in_comp_value = addr3_val
EXCEPTIONS
OTHERS = 1.
* load SMTP address
CLEAR adr6.
SELECT SINGLE * FROM adr6
WHERE addrnumber = usr21-addrnumber
AND persnumber = usr21-persnumber.
* date format
SET COUNTRY adrs-land1.
* Group similar posts
DATA: xbseg TYPE bseg,
xbkpf TYPE bkpf,
xpost TYPE th_outtab.
REFRESH: t_post, t_cumul_waers.
LOOP AT th_mhnd INTO mhnd.
* Select lines to use
IF mhnk-gmvdt IS INITIAL.
IF mhnd-xzalb <> space OR mhnd-mansp <> space.
CONTINUE.
ELSEIF t047b-xpost NE 'X' AND mhnd-xfael <> 'X'.
CONTINUE.
ENDIF.
ENDIF.
* Map data
CLEAR xpost.
MOVE-CORRESPONDING mhnd TO xpost.
* Load text from bseg
SELECT SINGLE sgtxt INTO xpost-sgtxt FROM bseg
WHERE bukrs EQ mhnd-bbukrs AND belnr EQ mhnd-belnr
AND gjahr EQ mhnd-gjahr AND buzei EQ mhnd-buzei.
PERFORM edit_text CHANGING xpost-zuonr mhnd-xblnr xpost-sgtxt.
* if "Payment difference" get the date of original document
IF mhnd-bschl = '06'.
SELECT SINGLE bldat INTO xpost-bldat
FROM bkpf
WHERE bukrs = mhnd-bukrs
AND belnr = mhnd-rebzg
AND gjahr = mhnd-rebzj.
ENDIF.
* Collect posts to print
COLLECT xpost INTO t_post.
* Collect amount per currency
MOVE-CORRESPONDING xpost TO cumul.
COLLECT cumul INTO t_cumul_waers.
ENDLOOP.
* Load customer information
SELECT SINGLE * FROM kna1 INTO kna1
WHERE kunnr = mhnk-kunnr.
SELECT SINGLE * FROM knb1 INTO knb1
WHERE bukrs = mhnk-bukrs
AND kunnr = mhnk-kunnr.
* Convert date to text
PERFORM convert_date USING control_parameters-langu mhnk-laufd
CHANGING text_date.
PERFORM convert_date USING control_parameters-langu mhnk-prndt_before
CHANGING text_prev.
PERFORM convert_date USING control_parameters-langu mhnk-grdat
CHANGING text_extr.
Regards -
How to print specific page in smartform !
Hello Friends,
I like to print specific page in smartform. for Ex. page 4. But when I give page no. 4, the print preview not showing the exact page.
Thank you for your time.
SenthilHi Senthil,
chk this link you get a brief idea abt Smartforms.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf
Reward points if you find this helpful
Regards,
Harini -
How to Print next Page in smartform ?
Hello ,
I want to print next page in smartform.
The situation is :-
I am passing an internal table containing list of personal numbers.
I have to print their details . Every candidate's detail should be printed on a new page .
I have designed the whole form , but I am not print their details on a New Page.
Please guide.
Thanks in Advance.Hi, Nikita.
Please Have a Look the following Link
[MODERATOR MESSAGE: SapScript/Smartform questions go in FORM PRINTING forum|/thread/1360534 [original link is broken];
So, Please Post Questions Regarding SapScript and Smartform in FORM PRINTING.
1. First of all you need to set a Flag at the end of every Personal Number.
2. Than Right Click on the object Like Main Window
--> Create --> Flow Logic --> Command
3. From First Tab of Command General Attributes Check the Check Box Go to New Page and Select Your Page
4. In the Conditions Tab Give you Flag Condition.
Hope will help you to solve out your problem,
Please Reply if any Issue,
Best Regards,
Faisal
Maybe you are looking for
-
How do I Restore my iPhoto library from my time machine if it does not give me the restore option? When I go into my backups and click on the iPhoto library it does not come up with an option to restore it just says open and of course then won't let
-
When I click on finalize project or when I tried to share on Vimeo iMovie goes through this ten hour operation and the, somethime while I'm away from the computer, I get this error message. UNABLE TO PREPARE PROJECT FOR PUBLISHING. The project coul
-
Loop back adapter host file configuration issue?
i did not exactly follow the following instructions : Add a line to the C:\winnt\system32\drivers\etc\hosts file with the following format, right after the localhost line: IP_address hostname.domainname hostname instead I have the following in my hos
-
Hi All, I have a scenario where I have to make sure that the correct lot quantities (udf's) are entered based on the quantity in sales quotations. The user may or may not use all the lot quantities. The requirement is like this: Quantity - (Lot1Lot2L
-
Some very basic problem PLEASE HELP ME :(
hi, im just new to EJB's and WebLogic. i have integrated JBuilderX with BEAweblogic 8.1 and then made simplest ejb. started the server. server successfuly startedthen made test client and while running test client i got following error... "EJBModule.