Smartform output in word format
dear all
i have created a smartform which needs to send to external mail ID.s as an .doc attachment.
how to do this. even i have no basic idea also. kindly help out.
regards
Hi,
You cannot convert the smartfrom to word doc for this sap has not provided any provision, Instead you can convert to pdf and send as email.
You can check my reply in this thread..
[convert smartform output to pdf |Re: convert smartform output to pdf]
Similar Messages
-
Download Smartform output in word document
Hi All,
I had a requirement to download the smartform output in ".doc" format.
I had run FM CONVERT_OTF with parameter value format = 'ASCII', and downloaded using .doc format
I was able to download but the output is not having logo and some different symbols are added.
Can any suggest what would be the exact procedure to download the output in word document.
Regards,
Dinakar.Hi Dinakar,
Please check the link provided:
Help with Smartform download - unwanted items showing in file
The solution provided in this link is very relevant for your question, so hope you will get the solution.
Thanks & regards,
Sarita Singh Rathour -
How can we save smartform output as word document
Hi Friends,
Can anybody help me, how to save Smartform output as Word document instead of PDF file.
Thanks,
Ramana.Hi Venkat,
I think you can do it manually.
After the print preview, Select the menu <b>Goto->List Display</b>.
Now select the menu <b>System->List->Save->Local File</b>.
Now you can select the radio buttion <b>Rich Text Format</b>.
Now you save the document as a .doc file (say test.doc)
That is it!!!!!
<b>Award points if found useful.</b>
Regards,
SP. -
I have a problem in converting smartform output to pdf format.
Hi,
While converting the smartform output to pdf format.
It is showing this error.
otf end command // missing in otf data.
I have used this function.
Assigning the OTFDATA to OTF Structure table
CLEAR gt_otf.
gt_otf[] = gs_otfdata-otfdata[].
Convert the OTF DATA to SAP Script Text lines
CLEAR gt_pdf_tab.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = gv_bin_filesize
TABLES
otf = gt_otf
lines = gt_pdf_tab
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Please help me in this regard. Thanks in advance.Hi ,
I am getting this exception "err_conv_not_possible"
CALL FUNCTION f_name " '/1BCDWB/SF00000092'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = st_control_parameters
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS = st_output_options
USER_SETTINGS = 'X'
ZST_TEXTSYMBOLS = ZST_TEXTSYMBOLS
wa_kna1 = wa_kna1
wa_claim_header = wa_claim_header
IMPORTING
DOCUMENT_OUTPUT_INFO = st_document_output_info
JOB_OUTPUT_INFO = st_job_output_info
JOB_OUTPUT_OPTIONS = st_job_output_options
TABLES
IT_CLAIM_VERSION = IT_CLAIM_VERSION
IT_CLAIM_ITEM = IT_CLAIM_ITEM
IT_CLAIM_PARTNER = IT_CLAIM_PARTNER
IT_FINAL = IT_FINAL
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.
ELSE.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
EXPORTING
USE_OTF_MC_CMD = 'X'
ARCHIVE_INDEX =
IMPORTING
BIN_FILESIZE = v_bin_filesize
TABLES
OTF = st_job_output_info-OTFDATA[]
DOCTAB_ARCHIVE = it_docs
LINES = it_lines
EXCEPTIONS
ERR_CONV_NOT_POSSIBLE = 1
ERR_OTF_MC_NOENDMARKER = 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.
ENDIF.
HERE when i tried to debug it i got SY-SUBRC = 1.
Please help me in this regard. Thanks in advance. -
Can anybody tell me the way of getting Smartform output as xml format??
Dear Experts,
Can anybody tell me the way of getting Smartform output as xml format??
Is there exists a standard way of getting it?
Regards,
Nikhil JainHi,
Use function module FB_DOWNLOAD_FORM .
Provide your form name as input for i_formname.
you will get the output in xml format.
or use utilities--> download option for downloading in xml format.
For your referrence:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0b6bc290-0201-0010-5b87-a0e7c7eb55d0?quicklink=index&overridelayout=true
May it helps you.
Regards.
DS -
Smartforms output in Powerpoint format
Hi ,
I am an ABAPER working in CRM Module .Also working in PCUI . I got a requirement for CRM Portal where I need to display the Smartforms output in Powerpoint format when user clicks on Print button. Previously there are in PDF Format.Can anyone help on this ?? Please..Hey Anil
Your requirement is not specific ,weder you want the output saved in XLS format in the smartform....or u want to download the data in XLS format?
1. Function Module 'SAP_CONVERT_TO_XLS_FORMAT' : from internal table to Excel file .
2. FM ''SO_DOCUMENT_REPOSITORY_MANAGER' : To attach this file as an attachment in a mail in this pass the file and other details of sender and receiver.
Regards
Swapnil
Edited by: swapnil kamble on Sep 11, 2009 2:12 PM -
SMARTFORMS output in XLS format
Hi,
We are in ECC 5.0, and have a client requirement to show the smartforms output in XLS format.
Could you please advice or suggest various options to do this?
Appreciate the response,.
thanks much in advance,
Anil
Edited by: Rob Burbank on Sep 10, 2009 5:05 PMHey Anil
Your requirement is not specific ,weder you want the output saved in XLS format in the smartform....or u want to download the data in XLS format?
1. Function Module 'SAP_CONVERT_TO_XLS_FORMAT' : from internal table to Excel file .
2. FM ''SO_DOCUMENT_REPOSITORY_MANAGER' : To attach this file as an attachment in a mail in this pass the file and other details of sender and receiver.
Regards
Swapnil
Edited by: swapnil kamble on Sep 11, 2009 2:12 PM -
Conversion of smartform output to DOC format
Hi,
I have a requirement to convert Smartform output to DOC format. Could anyone provide me any direction for this?
SSHi SS,
In the link sent by Anki Reddy... you can follow the same but in this FM change PDF to DOC thats it.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'DOC' * Change from 'PDF' * to DOC
MAX_LINEWIDTH = 132
ARCHIVE_INDEX = ' '
COPYNUMBER = 0
ASCII_BIDI_VIS2LOG = ' '
PDF_DELETE_OTFTAB = ' '
IMPORTING
BIN_FILESIZE = W_bin_filesize
BIN_FILE =
TABLES
otf = T_OTF
lines = T_pdf_tab
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
ERR_BAD_OTF = 4
OTHERS = 5
Regards,
sg -
Smartform output in word document
hi all,
how to download a smartform in word document so that the user can make changes in it. i tried converting the output into OTF format but formatting is not coming properly.how to overcome this?Hi,
Even i had the same requirement for a sales order form to download in word and then change it manually before sending to customer. I tried a lot of ways to do the same and finally raised a sap noted for the same.i got a reply from SAP that it is not possible to download forms in word with same allignments maintained with logo. SAP note 641560 says the same thing.
All you need to do is find a technical solution to fill the data which they want to fill maually or go for adobe form. Thats amazing technology to solve your issue. -
Produce smartform output in word doc
I want to get my smartform output in a word doc instead of PDF. I've gone thorough the previous threads for the same thing but couldn't find any exact solution. can anyone tell me how this is to be done?
<promise removed by moderator>
Moderator message: please do more research before asking.
Edited by: Thomas Zloch on Apr 13, 2011 3:26 PMHi yogesh.,
There is no standard possibility to do Word outputs in SAP.
you can do manually..
After the print preview, Select the menu Goto->List Display.
Now select the menu System->List->Save->Local File.
Now you can select the radio buttion Rich Text Format.
Now you save the document as a .doc file (say test.doc)
That is it!!!!!
Anyway you can develop connection of Mail-merge technology of Microsoft and SAP ABAP class i_oi_document_proxy.
http://help.sap.com/saphelp_sm32/helpdata/EN/e9/0be980408e11d1893b0000e8323c4f/content.htm
with interface get_mail_merge_interface:
http://help.sap.com/saphelp_sm32/helpdata/en/6e/8fc2e3dd0d11d2bdba080009b4534c/content.htm
Refer this use ful link for word output
http://www.sap2word.de/abap.html
hope this helps.,
Thanks & Regards
Kiran
Moderator message: copy/pasted from several sources, please do not repeat if you want to keep your user ID!
http://www.google.com/search?q=%22Aftertheprintpreview%2CSelectthemenu+Goto%22&hl=en&source=hp&lr=&aq=f&aqi=&aql=&oq=
http://www.google.com/search?hl=en&source=hp&q=%22AnywayyoucandevelopconnectionofMail-merge%22&meta=lr%3D&aq=f&aqi=&aql=&oq=
Edited by: Thomas Zloch on Apr 13, 2011 3:35 PM -
Smartforms output in HTML format
Hi Experts,
I want to save my smartforms in HTML format.Is there any Standard programe is available for it.
Like as RSTXPDFT4 for converting output in PDF format.Hi,
Check this link.In that,I am converting the output of smartform to PDF and then attaching it through mail.
https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap code samples/smartforms/smartform in abap.pdf -
Smartforms output in XML format
Hi everyone,
I am very new for smartforms and my requirement to convrt given smartform in XML format, I am going through
Form Attributes -> output options -> output format -> XSF output , then I am giving proper value in output mode & in Output Device but not getting proper output, can You please tell me what i have to do (in Detail ) ?
Thanks & Regards,
Vimarsh B.Hi Abhinay
I have billing order invoice, client is getting its output in standard format but now he needs the output of that form has to come in XML format, if we are using standard output format in form attributes, its showing output but when we are chenging its option we are not getting any output, only one spool create, and we are not able to understand what exactly output will come, it will come same like standard format or only spool will create and if only spool create then how we can send it to our client. please solve this issue, thanks for ur support.
Thanks & Regards,
Vimarsh B. -
Logo in Smartform output to pdf format is coming as Junk Character
Hi All,
I have a requirement to generate the Smartform output in PDF file. But when i am doing that i am getting the LOGO as Junk character in the PDF file. Can any one help me to resolve this issue?.
Thanks,
Muruganand.KYes check the spool and the output displayed correctly in the spool it means there is a problem when you convert OTF to PDF. Check that part of the code and try different options.
-
Smartforms output in XDF format within single spool
Hello,
i have created a form which is called by a custom report.
The report selects the data for different customers of the same company code and
is then calling the form. The form is only opend and closed once for each run of
the report:
Open form
output 1
output 2
output n
Close form
The result is exactly one spool request (in OTF format).
Now i changed the output options before calling
the form (output_options -> structure SSFCOMOP):
output_options-xdfcmode = 'X'.
output_options-xdf = 'X'.
output_options-xdfoutmode = 'S'.
output_options-xdfoutdev = 'IDS3'."->output device of type PLAIN
The result was a regular spool request in OTF format.
Within a debugging session of the generated function module
of the used form i learned that in case of multiple outputs into the same
spool request the above output options (for XDF output) are completely ignored
(or not used).
Is this behaviour intended by SAP or is this simply an error
in the generated code of the smartforms function module?
Regards,
Ralf MatthiesHello,
i have created a form which is called by a custom report.
The report selects the data for different customers of the same company code and
is then calling the form. The form is only opend and closed once for each run of
the report:
Open form
output 1
output 2
output n
Close form
The result is exactly one spool request (in OTF format).
Now i changed the output options before calling
the form (output_options -> structure SSFCOMOP):
output_options-xdfcmode = 'X'.
output_options-xdf = 'X'.
output_options-xdfoutmode = 'S'.
output_options-xdfoutdev = 'IDS3'."->output device of type PLAIN
The result was a regular spool request in OTF format.
Within a debugging session of the generated function module
of the used form i learned that in case of multiple outputs into the same
spool request the above output options (for XDF output) are completely ignored
(or not used).
Is this behaviour intended by SAP or is this simply an error
in the generated code of the smartforms function module?
Regards,
Ralf Matthies -
How can i change my smartform as ms word format
Hello Experts ,
presently my sap version is NW 701
now i am facing one issue i,e one abaper wants ms word editor in smartforms ,for that i tried below seteps
1) Execute T-code -I18N --> I18n customizing --> doubleclicking MS WORD as EDITOR
when i click button , it gives one message "MS WORD IS a default editor now Please Read SAP note 742662"
also i checked that note
in that note shows we dont required to enable ms word as a editor
but my abaper wants same as word edoior but now it is showing graphical editor
please reply how can i convert this graphical editor to word editor
RegardsYou change the name of your ID at https://appleid.apple.com. See http://support.apple.com/kb/HE40.
Maybe you are looking for
-
Can I return my new laptop to lenovo because of its quality problem?
IBM is one of the best brand as I know, especially showing us not only high quality of products but the service. But now one thing happened to me, if I don't have this case I can't believe. I found there is something with the laptop(T61 Model 7658CTO
-
Why Doesn't "Gift This Movie" Work For HD Movies?
So I'm making up the list of movies I'd like for Christmas, only to discover there's no way for someone else to gift me the HD iTunes movies I want. To reproduce this, go to an HD movie like Kill Bill or Star Trek, click on the little arrow next to "
-
Can't install apps after updating to iOS 8.2
After installing iOS 8.2 I'm unable to install new apps. When I click "Get" next to the chosen app and then "Install", after 2-3 secs the button is reset back to "Get". This happens every time I try to install any app. It's possible the apps are not
-
What does mean by Socket Readers? How it improves the performance of Application by configuring percentage of threads as socket readers? Can someone please answer my questions?
-
Realeasing Billing Document to Accounting problem
Hi experts, One billing document is already released to accounting. I want to re-release it to accounting to test some scenario. How to do the reversal of billing document release to accounting? Thanks in Advance, Sreenivas Reddy.