Regarding printing an circle in smartforms
Hi,
i want to print an circle in the smartform.
i had tried to draw the circle in MSword, word painter,
and upload it as bmp file and used it as graphic in the smartform but it is coming distorted. so please help if you know the solution.
hi,
Guru,
Thank you for the answer distortion is reduced but still there. and each time i increase the DPI size of the graphic decreases.
i am also having problem that if i creat a window inside another window i have a problem that some times i can display the contents(mainly graphics) but some times it doesn't come what might be the cause.
actually inside the same window i have created 2 other window each contains the different graphic.
when i see the preview only one graphic is seen the other one is not seen.
it window size is also big enough to print the graphic as i check it separately in other form with same size.
there is no difference in the window settings also as i have copied the same window which is working fine and just changed the positions.
please let me know if any remedy is there
thanks in advance
Similar Messages
-
Regarding printing word file using smartforms
Hi SAP Gurus,
My requirement is as follows,
I need to print an xls file or a word file from pc using smartforms. ie, uploading into internal table convert to smartforms format and print.
Please suggest.
Thanks & Regards,
Pavan.Hi,
Please find the below link
http://help.sap.com/saphelp_47x200/helpdata/en/a9/de6838abce021ae10000009b38f842/frameset.htm
Regards
Haritha -
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 -
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 -
Print Check box in smartform standard output
Hi All,
My requirement is to print a checkbox in the smartform output page. Somehow i came to know that in Web properties of the text node , we can choose a checkbox. But i am not able to figure out how it is to be implemented or what are the steps to create a checkbox.
Kindly help me on this.hi
Re: How to create checkbox in smartforms??
Re: Regarding usage of checkbox in smartforms
reward if useful
Sathish. R -
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 -
Runtime error in print program of a smartform
Hi,
While trying to execute the print program of a smartform I am getting the following runtime error.
The reason for the exception is:
The call to the function module "/1BCDWB/SF00000288" is incorrect:
In the function module interface, you can specify only
fields of a specific type and length under "IT_BOOKINGS".
Although the currently specified field
"IT_BOOKINGS" is the correct type, its length is incorrect.
In the form interface of the smartform under tables parameters I have declared like this.
IT_BOOKINGS LIKE SBOOK
IT_SCHEDULE LIKE SPFLI
Can anyone tell me why do we get this error?
Regards,
HemaHello,
program to call smartform is really simple :
-> function SSF_FUNCTION_MODULE_NAME give you the name of the function link to your sapscript.
-> function WFMC_PREPARE_SMART_FORM help your to prepare your options to your smartform.
-> function xxx to call your smartform (find with the first function).
Sometimes you have to play with values of NAST (for ex) to find the language (set in control_parameters) or for example if you want to print without display (when it ask you for print / print preview and the name of the print device) .....
Frédéric -
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. -
Print program for the smartform for selecting the output type (email/fax)
Hi All,
Requirement :I have to create a print program for the smartform where the output type may be print out,email or fax ,so i need to put the condition for selecting the output type (like printout,email,fax).
can any body please let me know how to put the condition for selecting the desired output type ?
Thanks in advance
RahulHi
It is not the output type that has to be changed
it is the MEDIUM which you have to change and configure
for printout medium is 1
for FAX medium is 2
for MAIL it is 7.
so instead of printout change the medium to 2 or 7 for the same output type and attach to the same driver program and smartform/form.
Reward points for useful Answers
Regards
Anji -
How to Print Employee Photo using Smartform
Dear All,
I have requirement to print Employee photo using Smartform.
Here I want to give breif backgorund to uploading employee image procedure,we are uploading employee Image using transaction code OAOH by providing Business Object PREL and Document Type HRICOLFOTO. Click on create button on second screen by providing employee Code XXXXXXX and infotype 0002 after click on enter button system ask path for uploading image file.After storing image we can see the employee image by using transaction code PA30 after passing employee code.
These employee image I want to print in Smartform layout.If any body have done this type of the requirement.Pl.explain me .
Thanks ,
RegardsHi ABAP Programmer,
Refer this link
i want to retrieve a photo image of an Employee to display in smartforms
Regards,
Sravanthi -
Problem when printing Thai Characters in Smartform
Hi All,
When printing thai characters in smartform it takes more spaces between characters than required. I tried all possible font to adjust the character spacing.
Can anyone help me out.
Thanks,
Khushboo DandDear Khushboo, Jag
I have observed that tThe tiny boxes that are appearing in the Smartform text element is only occuring when you are printing a variable whose content is thai and nothing else with that. by nothing else i mean no THAI hardcoded text.
if you try and check you will observe that when you try to print something like this in your Text element
with your paragraph format alright/ output device and device type everythng in place
eg:
ของผู้มีเงินได้ &G_VAR& -
is printing alright : content of G_VAR is thai characters
but if you are printing just the variable
eg:
&G_VAR& --- it will print boxes
to overcome this after trying no.of checks / online helps / settings etc etc which , ofcourse, did not help
I did a lil bit trick with the system
You can create a character format in your smartstyle with FONT : THANGSAN and maintain the COLOR as white
now go to your text element key in a THAI character at the start or end of you variable and assign your new character format to that character. and Eureka! it will work
eg: <CF> ข </> &G_VAR& - --- seen in your change editor
where CF is the new "colorless" character format I have asked you to create.
Thanks and Regards,
Charu.
Edited by: Charu Borkar on Aug 3, 2011 00.14 am -
Printing Euro symbol in smartform
how to print Euro Symbol in smartform.
copy paste from MS word is not working..
please tell me another way..
thanks..Hi,
I was also facing the same problem while printing the Euro symbol.
what's the solution?
how to print using it's char value. i.e <156>
Regards,
Mrunal
Edited by: Mrunal Mhaskar on Sep 16, 2009 1:10 PM
Edited by: Mrunal Mhaskar on Sep 16, 2009 1:11 PM -
Print Arabic text in smartforms
Hi,
How to print Arabic text in smartforms, where i have to write in arabic please help me as soon as possible.
Thanks,
MSA.Hi,
create the text in Arabic .
ex: goto SO10 give the text name and language is Arabic.
when u call that pass the language as Arabic.
ex:
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = txt_id
language = txt_langu "Rabic language.
name = txt_name
object = txt_obj
TABLES
lines = t_line.
Regards,
Venkat. -
Cannot Print Order Confirmation with Smartforms
Dear Sir/ Madam,
I tried to print Order confirmation with Smartform but failed with the return message as "Output could not be issued".
The followings were my settings:.
At NACE, the Processing rouines confiugration for Application: V1, Output Type:BA00 was
Medium: 1 Print output
Program: R2RRVADOR01
Form routine: ENTRY
PDF/SmartForm Form: R2RBL_SDORC_L
Type: Smartform
At VA02, the output was added as:
Output: BA00
Description: Order Confirmation
Medium: 1 Printout
Func: SP
Lng: EN
Could anyone consult out?
Cheers,
Simon
Cheers,
SimonHI,
In Txn. NACE... Select your "Application V1".. then choose the button "condition Record" then choose your output type then maintain the condtion..
Doc Type: <Value>
Function: SP
Medium 1
Date/Time: 4
Language:EN...
then choose the line and click on "Communication" button here maintain the "output Device, flag print immedieately/release After output.
and then try again.
If your using Smartform/Scriptform then you need to define like this:
Medium: 1 Print output
Program: R2RRVADOR01
Form routine: ENTRY
Form: R2RBL_SDORC_L
*PDF/SmartForm Form: *******Blank
*Type: ******Blank
Regards
GK.
Edited by: Gnana Kumar on Nov 17, 2010 5:24 AM
Maybe you are looking for
-
Downloading CD going to wrong Album
I have been downloading/Importing my CD's onto my computer, and for some reason a couple of the CD's are putting the songs in an album that already exists. For example I was importing Queen album and it was going into the Dan Seals album. Tried it ag
-
Shopping cart not emitted to the right manager cause change unit
Hi guys, We did a shopping cart , unfortunately the manager assigned is not the good one , the status is 'Awaiting approval' ,the requester is not linked to the same unit of the manager's one. We would like to redirect his shopping cart towards th
-
Generating full-size image from thumbnail using BLOB DB images
Hi all, Assuming that all necessary steps were taken in other posts and tutorials to display images on a web page from BLOB objects stored in an Oracle 10g DB, how is it possible to set the size of the created images (from the servlet that creates th
-
I was having problems with a Mac Mini. It seemed to be losing the mouse pointer. However, today I happened to check the display settings and to my utter amazement I saw that there were 7 displays listed. So in fact the mouse pointer was getting lost,
-
I often copy video clips from the internet using Quicktime. The downloaded Clips play fine using QT Player or Preview, but when I drag the clips to IMovie to edit them for burning to a disk, there is no sound. The video plays fine in IMovie, but ther