I need to change a pdf format to data? help?
I really need to change a pdf tax return into a data return so I can amend it, the tax program I used will not let me transfer a pdf, I saw some choices when I went to save it under the name but I don't know which one would be data. Thanks hope someone can help,
That's probably not possible at all. Contact the IRS for advice on how to file a new, correct return.
Similar Messages
-
I need to change a PDF document
how do I change a PDF Document?
Hi Graffiti
I just signed up adobe Export PDF paid 23.88 per year,. to be able to
change a PDF document. I don’t see where the icon or how to start to use
PDF to change a document sent to me. Please help.
Thank you,
Terry
From: ~graffiti
Sent: Friday, April 03, 2015 2:48 PM
To: Allan Sockol
Subject: I need to change a PDF document
I need to change a PDF document
created by ~graffiti <https://forums.adobe.com/people/%7Egraffiti> in *Adobe
Reader* - View the full discussion
<https://forums.adobe.com/message/7402911#7402911> -
How to download a web document and change to pdf format
i have tried downloading a web form which requires printing but in order to print, i need to download it and change it to a pdf format for my printer, but when i try downloading the web form, it downloads as a picture. How do i download it as a document and change it to pdf?
Generally all you should have to do is select what you want to copy (and copy it) and paste it into Pages.
-
Needs content not in pdf format
Hi all,,
I have an ABAP program where i could send mails to the recipients.
But the recipients are able to receive the content of the mails only in attached pdf format.
But could not get into the body of the mail.
I had passed packing_list-Document type = 'RAW' in in so_document_send_API1
What should i need to do in the settings..
will be awarded..Hi Naveena,
given below is a sample code to send mail with both body and an attachment.
pack-doc_type is RAW for sending the body.
vérifier qu'une adresse a été rentrée
CHECK NOT s_execut IS INITIAL.
Zone objet du mail
CLEAR str_docdata.
str_docdata-obj_name = text-m01.
str_docdata-obj_descr = text-m03.
Alim table des destinataires
LOOP AT s_execut.
tbl_dest-rec_type = 'U'.
tbl_dest-receiver = s_execut-low.
APPEND tbl_dest.
CLEAR tbl_dest.
ENDLOOP.
Alim tbl_text pour corps du mail
"ne pas répondre"
CLEAR tbl_text.
REFRESH tbl_text.
tbl_text-line = text-m02.
APPEND tbl_text.
CLEAR tbl_text.
saut de ligne
APPEND tbl_text.
nb de lignes lues / en anomalie / qui seront dans le corps du texte
WRITE p_filpar TO tbl_text-line NO-ZERO LEFT-JUSTIFIED.
IF tbl_text-line IS INITIAL.
tbl_text-line = '0'.
ENDIF.
CONCATENATE text-cr1 tbl_text-line INTO tbl_text-line
SEPARATED BY space.
APPEND tbl_text.
CLEAR tbl_text.
WRITE p_filali TO tbl_text-line NO-ZERO LEFT-JUSTIFIED.
IF tbl_text-line IS INITIAL.
tbl_text-line = '0'.
ENDIF.
CONCATENATE text-cr1 tbl_text-line INTO tbl_text-line
SEPARATED BY space.
APPEND tbl_text.
CLEAR tbl_text.
WRITE p_recycl TO tbl_text-line NO-ZERO LEFT-JUSTIFIED.
IF tbl_text-line IS INITIAL.
tbl_text-line = '0'.
ENDIF.
CONCATENATE text-cr2 tbl_text-line INTO tbl_text-line
SEPARATED BY space.
APPEND tbl_text.
CLEAR tbl_text.
WRITE w_enr_10 TO tbl_text-line NO-ZERO LEFT-JUSTIFIED.
IF tbl_text-line IS INITIAL.
tbl_text-line = '0'.
ENDIF.
CONCATENATE text-cr3 tbl_text-line INTO tbl_text-line
SEPARATED BY space.
APPEND tbl_text.
CLEAR tbl_text.
WRITE w_enr_20 TO tbl_text-line NO-ZERO LEFT-JUSTIFIED.
IF tbl_text-line IS INITIAL.
tbl_text-line = '0'.
ENDIF.
CONCATENATE text-cr4 tbl_text-line INTO tbl_text-line
SEPARATED BY space.
APPEND tbl_text.
CLEAR tbl_text.
APPEND tbl_text.
WRITE text-cr5 TO tbl_text-line NO-ZERO LEFT-JUSTIFIED.
APPEND tbl_text.
CLEAR tbl_text.
CLEAR w_lines.
DESCRIBE TABLE tbl_text LINES w_lines.
CLEAR tbl_pack.
REFRESH tbl_pack.
tbl_pack-head_start = 1.
tbl_pack-head_num = 0.
tbl_pack-body_start = 1.
tbl_pack-body_num = w_lines.
tbl_pack-doc_type = 'RAW'.
tbl_pack-obj_name = text-m01. "Program name
tbl_pack-doc_size = ( w_lines - 1 ) * 255 + STRLEN( tbl_text-line ).
APPEND tbl_pack.
Alim tbl_text pour pièce jointe
- en-tête des colonnes
CLEAR tbl_text.
CONCATENATE text-ti1 text-ti2 text-ti3 text-ti4
kst_retours
INTO tbl_text-line SEPARATED BY ';'.
APPEND tbl_text.
contenu des colonnes
LOOP AT tbl_compte_rendu.
CLEAR tbl_text.
CONDENSE tbl_compte_rendu-text1.
CONCATENATE tbl_compte_rendu-text1
tbl_compte_rendu-text2
tbl_compte_rendu-text3
tbl_compte_rendu-text4
tbl_compte_rendu-text5
tbl_compte_rendu-text6
kst_retours
INTO tbl_text-line SEPARATED BY ';'.
APPEND tbl_text.
ENDLOOP.
DESCRIBE TABLE tbl_text LINES w_lines2.
CLEAR tbl_pack.
tbl_pack-head_start = 1.
tbl_pack-head_num = 0.
tbl_pack-body_start = w_lines + 1.
tbl_pack-body_num = w_lines + w_lines2.
tbl_pack-doc_type = 'CSV'.
tbl_pack-obj_name = text-m07.
tbl_pack-obj_descr = text-m08.
tbl_pack-doc_size = ( w_lines2 - 1 ) * 255
+ STRLEN( tbl_text-line ).
APPEND tbl_pack.
Envoi du mail
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = str_docdata
put_in_outbox = space
commit_work = 'X'
TABLES
packing_list = tbl_pack
contents_txt = tbl_text
receivers = tbl_dest
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
Message was edited by:
Alvaro Tejada Galindo -
Need Smartform materials in PDF Format
Hi Guys,
Please give me the links to download the SMARTFORM materials in PDF format.
I am new to smartforms so i need all the materials to learn SMARTFORMS.
Regards,
Chandrufor Smartforms material
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Re: Need FAQ's
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
Subtotals - Check the link...
Re: Subtotal with Table Node in smartforms
Go through these SAP Standard programs also,
sf_example_01
sf_example_02
sf_example_03. -
I need to change from "frames" format to html...
I published my first website using iWeb. Evidently the search engines aren't finding it because it is "frames" format. It needs to be in "html" format. How do I convert what I've already created? I'm a novice Mac user (since April) and definitely a novice website designer/publisher. Any help will be greatly appreciated! Thanks in advance...Sandi
Same thing, I made a few sites w/ iWeb and they dropped off Google serches completely. But I love the ease of iWeb so I went searching and I found this article very helpful, and it makes good, common sense.
http://www.ragesw.com/blog/2008/04/12/seo-for-iweb-how-to-get-your-iweb-websites -into-google-other-major-search-engines/
It is the Rage SEO website (no affiliation). I used their free SEO Tool to add meta tags and alt tags to photos, and then bought Rage Sitemap Automator to make a sitemap. I also got a Google Webmaster account and verified my sites. Google asks you to create an html file with a specific name provided by Google. I made a blank html page and just named it per Google then uploaded it on my site.
However, I just did this a few days ago and my sites still aren't showing up in searches but I figure Google hasn't crawled them yet. We shall see. -
Need to change Adobe PDF Port.....where??
When I select File/Print and select the Adobe PDF printer I get a message saying the PDF printer is not "bound" to Adobe PDF port.
It wants me to change the Port to Adobe PDF Port but I can't find where to change it.
Anyone know where to find the port selections?
Using Acrobat X standard, win. 7 and MS office filesYou can change the port from your Windows printer settings menu:
Start > Settings > Printers > right-click on Adobe PDF > Properties > Ports
Or you can delete the Adobe PDF printer, then choose Help > Repair from the Acrobat menu. That'll put it back in the right place. -
View xml in pdf format? - Please help-
I have a webpage that has a link that directs customers to a pdf form I created with Adobe Designer 7.0 and when the customer is done filling out their information in the form and click's the submit email button. It comes to my inbox in an .xml! is there a way I can have it to where the file comes as a .pdf or can I jus convert the .xml into a word .doc or .pdf?
-Thank You SOoo Much!->In your opinion, why is it better to work with the .xml data instead of emailing the forms back and forth as a .pdf?
1. XML is a standard format and many programs can read the data from
XML. So if you work with XML it allows you more flexibility,
especially to reprocess all the saved e-mails.
2. The free Adobe Reader can't submit in PDF format unless the PDF
file is specially prepared, on which there are contract limitations.
3. PDF files will be much bigger than the XML, resulting in bigger
e-mails.
That said, e-mail it self is very limited, and not recommended for any
serious use. Submitting forms to a web server is recommended, but does
need a web programmer.
Aandi Inston -
Changed Easy Setup Format...help!
Hi all. I figured out that I needed to change the set-up in FCE from DV to HD, since our video was shot with HD cameras. My sample already looks a billion times better when compressed.
HOWEVER, I copied and pasted the sequence over from the old to the new, hoping I wouldn't have more work to do. Sad because everything appears small since I assume FCE formatted everything. I did re-import all the files into the new HD sequence, hoping it would re-link and become 1920 x 1080 again.
Question: does anyone know if there is a way to save me the trouble of re-editing the entire project again? I did select a file in the timeline, select ITEM PROPERTIES and was hoping that would be the way to do this. I can see both options but can't select it.
Any help would be eternally appreciated!!! Thanks much in advance. JimTom, that did it! Thanks so much for your advice! It was 100% spot on and I just finished the video work in the new, appropriate set-up. I really and truly appreciate that you took the time to share your knowledge and help me out. You saved the day (and week!)
-
Using Reports6i to Publish Reports On The Web As PDF Format - Arabic Data
Hi everybody.
I am using Reports6i to create some reports and publish them on the web as PDF format for security reason. The problem is that the opened document displays Arabic letters in encrypted way, I tried to use Acrobat Reader version 5 but it is still not working. Then I try to publish reports as HTML document, In this way, the arabic letters look fine but any vertical lines I designed in the reports did not show up, furthermore, the user can edit HTML document, change the data, then print the report, so using HTML as an output is not secure.
Any suggestions?Hello ,
You can try out the following
1. Click on the Report name and bring up the property palette to show all of the properties for the whole report.
2. Under Report Escapes->Before Form Value, change form method from POST to GET .
Thanks
The Oracle Reports Team -
When I try to open my Adobe Illustrator CS6 a message pops up stating: Missing required plugins pdf format.aip please help
dahlberg,
This is the second report about that issue today.
I am unsure whether the suggestion in the first case will help, but you may try:
Zusatzmodul PDF Format.aip fehlt. Was tun? -
as caption, thanks help !
Hello bykwong
iBooks supports ePub and most PDF’s as far as reading items outside of the iBooks Store and would need to export them as a pdf to sync them across. Also as an alternative Microsoft does make Word for iPad to read the documents. If you want to write and edit them, then there is a subscription that can allows that for you. Pages for iOS also has a new feature to where you can have word documents and keep them as view only option for when sharing out the document.
iBooks and the iBooks Store
http://support.apple.com/kb/ht4059
Microsoft Word for iPad
https://itunes.apple.com/us/app/microsoft-word-for-ipad/id586447913?mt=8
Pages
https://itunes.apple.com/us/app/pages/id361309726?mt=8
Regards,
-Norm G. -
Ihave created a script, i need to email in pdf format.
Hi Experts,
There are 2 criterias...
1. criteria
I have created a script, i need to mail it. Please give me a step by step guide to perform it .. . Please give the comments in all the functional module to be used.
Do we have to write a separate program to send email or in the same program. i'll post my program along with this mail. I'm using this program to display report after delivery on that particular date.
REPORT ZREPORTTOEMAIL LINE-SIZE 400.
data : count, i type i.
TABLES : VBFA, "Sales Document Flow
VBAK,
KNA1,
VBKD,
VBAP,
LIPS,
LIKP,
KONP,
KOMK,
KOMP,
zkna1,
konv.
data : l_vbeln like vbfa-vbeln,
l_posnr like vbfa-posnn,
l_KNUMV like vbak-KNUMV,
L_BILL_ITEM LIKE vbfa-posnn ,
l_netwr like vbrp-netwr,
l_MWSBP like vbrp-mwsbp.
DATA: BEGIN OF TKOMV OCCURS 50.
INCLUDE STRUCTURE KOMV.
DATA: END OF TKOMV.
DATA: BEGIN OF TKOMVD OCCURS 50.
INCLUDE STRUCTURE KOMVD.
DATA: END OF TKOMVD.
TYPE-POOLS: SLIS.
DATA: FIELDTAB TYPE SLIS_T_FIELDCAT_ALV,
HEADING TYPE SLIS_T_LISTHEADER,
LAYOUT TYPE SLIS_LAYOUT_ALV,
EVENTS TYPE SLIS_T_EVENT,
REPNAME LIKE SY-REPID,
F2CODE LIKE SY-UCOMM VALUE '&ETA',
G_SAVE(1) TYPE C,
G_EXIT(1) TYPE C,
G_VARIANT LIKE DISVARIANT,
GX_VARIANT LIKE DISVARIANT.
DATA: GT_LIST_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER.
CONSTANTS: FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE'.
DATA: BEGIN OF itab occurs 0,
kunnr like likp-kunnr, "ship to party
NAME2 LIKE KNA1-NAME1, "text
ORT01 LIKE KNA1-ORT01, "City
BSTNK LIKE VBAK-BSTNK, "customer P O
BSTDK LIKE VBAK-BSTDK, "date
vbeln like likp-vbeln, "delivery
ernam like likp-ernam, "person
vstel like likp-vstel, "shipping point
vkorg like likp-vkorg, "sales org
lfdat like likp-lfdat, "delivery date
kunag like likp-kunag, "sold to party
NAME1 LIKE KNA1-NAME1, "text
bil_to like VBAK-KUNNR,
name3 like kna1-name1,
traid like likp-traid, "transport/vehicle no
BOLNR LIKE LIKP-BOLNR,
wadat_ist like likp-wadat_ist, "good mov. date
posnr like lips-posnr, "item
matnr like lips-matnr, "material
arktx like lips-arktx, "item text
matkl like lips-matkl, "mat group
werks like lips-werks, "plant
lgort like lips-lgort, "stoage location
lfimg like lips-lfimg, "del qty
MEINS LIKE LIPS-MEINS,
vrkme like lips-vrkme, "sales unit
UMVKZ LIKE LIPS-UMVKZ,
UMVKN LIKE LIPS-UMVKN,
charg like lips-charg, "batch
vgbel like lips-vgbel, "reference doc
mtart like lips-mtart, "mat type
vkbur like lips-vkbur, "sales office
vkgrp like lips-vkgrp, "sales group
vtweg like lips-vtweg, "Distribution Channel
spart like lips-spart, "division
billno like vbak-vbeln,
basic like komvd-kwert,
budat like bkpf-budat,
fin_amt like vbrp-NETWR,
END OF itab.
data : begin of jtab occurs 0,
kunnr like likp-kunnr,
name2 like kna1-name2,
vbeln like likp-vbeln,
zkunnr like zkna1-zkunnr,
zname like zkna1-zname,
end of jtab.
SELECTION-SCREEN SKIP 1 .
SELECTION-SCREEN BEGIN OF BLOCK BLOCK1 WITH FRAME TITLE TEXT-003.
SELECT-OPTIONS : ABC FOR LIKP-WADAT_IST DEFAULT SY-DATUM
NO INTERVALS .
SELECT-OPTIONS : S_MATNR FOR LIPS-MATNR NO INTERVALS .
SELECT-OPTIONS : S_VKORG FOR LIKP-VKORG NO INTERVALS.
SELECT-OPTIONS : S_VSTEL FOR LIKP-VSTEL NO INTERVALS.
SELECT-OPTIONS : S_VKBUR FOR LIKP-VKBUR NO INTERVALS.
SELECT-OPTIONS : S_VKGRP FOR LIPS-VKGRP.
SELECT-OPTIONS : S_SPART FOR LIPS-SPART.
SELECT-OPTIONS : S_VBELN3 FOR LIKP-VBELN.
SELECT-OPTIONS : S_MATKL FOR LIPS-MATKL NO INTERVALS,
S_KUNAG FOR LIKP-KUNAG.
SELECTION-SCREEN END OF BLOCK BLOCK1.
select * from likp into corresponding fields of itab
WHERE WADAT_IST IN ABC
AND VBELN IN S_VBELN3
AND VKORG IN S_VKORG
and VSTEL in S_VSTEL
AND VKBUR IN S_VKBUR
and lfart like 'Z%'
AND VBTYP = 'J'
AND KUNAG IN S_KUNAG.
select * from lips into corresponding fields of itab
WHERE VBELN = ITAB-VBELN
AND MATNR IN S_MATNR
AND MATKL IN S_MATKL
AND VKBUR IN S_VKBUR
AND VKGRP IN S_VKGRP
AND SPART IN S_SPART.
IF ITAB-VRKME = 'RM' AND ITAB-MEINS = 'KG'.
ITAB-LFIMG = ITAB-LFIMG * ( ITAB-UMVKZ / ITAB-UMVKN ).
ITAB-VRKME = 'KG'.
ENDIF.
SELECT SINGLE BSTNK BSTDK INTO (ITAB-BSTNK,ITAB-BSTDK) FROM VBAK
WHERE VBELN = ITAB-VGBEL.
SELECT SINGLE NAME1 ORT01 FROM KNA1 INTO (ITAB-NAME2,ITAB-ORT01)
WHERE KUNNR = ITAB-KUNNR.
SELECT SINGLE NAME1 FROM KNA1 INTO ITAB-NAME1
WHERE KUNNR = ITAB-KUNAG.
*select single vbeln POSNN into (itab-billno,L_BILL_ITEM) from vbfa where VBELV = itab-vbeln
*and POSNV = itab-posnr and VBTYP_N in ('M','U').
select vbeln POSNN from vbfa up to 1 rows into (itab-billno,L_BILL_ITEM) where VBELV = itab-vbeln
and POSNV = itab-posnr and VBTYP_N in ('M','U') order by vbeln DESCENDING .
endselect.
select single * from vbfa where vbelv = itab-billno and posnv = l_bill_item and
vbtyp_n = 'N'.
if sy-subrc = 0.
clear : itab-billno, l_bill_item.
endif.
select single budat from bkpf into itab-budat where xblnr = itab-billno and
blart = 'RV'.
select single NETWR MWSBP into (l_netwr, l_MWSBP) from vbrp where vbeln = itab-billno
and posnr = l_bill_item.
itab-fin_amt = l_netwr + l_MWSBP.
clear : l_netwr, l_MWSBP.
select single kunnr from vbpa into itab-bil_to where
vbeln = itab-BILLNO and PARVW = 'RE'.
select single name1 into itab-name3 from kna1
where kunnr = itab-bil_to.
*select single VBELV POSNV from vbfa into (l_vbeln,l_posnr)
*where VBELN = itab-vbeln and
*POSNN = itab-posnr and VBTYP_N = 'J'.
*select single VBELN POSNN from vbfa into (l_vbeln,l_posnr)
*where VBELV = itab-vbeln and
*POSNV = itab-posnr and VBTYP_N = 'M'.
select VBELN POSNN from vbfa up to 1 rows into (l_vbeln,l_posnr)
where VBELV = itab-vbeln and
POSNV = itab-posnr and VBTYP_N = 'M' order by vbeln DESCENDING.
endselect.
select single * from vbfa where vbelv = l_vbeln and posnv = l_posnr and
vbtyp_n = 'N'.
if sy-subrc = 0.
clear : l_vbeln, l_posnr.
endif.
if sy-subrc = 0.
*select single KNUMv into l_KNUMv from vbak where vbeln = l_vbeln
select single KNUMv into l_KNUMv from vbRk where vbeln = l_vbeln
select * from konv where knumv = l_knumv and kposn = l_posnr and
kschl in ('ZR00','ZR01','ZR02','ZOBC').
itab-basic = itab-basic + KONV-KBETR.
ENDSELECT.
else.
*select single KNUMv into l_KNUMv from ekko where ebeln = itab-vgbel.
*select single KBETR from konv into itab-basic where knumv = l_knumv
*and kposn = itab-posnr and kschl = 'P101'.
select single KNUMv into l_KNUMv from VBRK where VBELN = itab-BILLNO.
select * from konv where knumv = l_knumv and kposn = l_BILL_ITEM AND
kschl in ('ZR00','ZR01','ZR02','ZOBC').
itab-basic = itab-basic + KONV-KBETR.
ENDSELECT.
*zkna1-zkunnr = itab-kunnr.
*insert zkna1.
endif.
clear : l_vbeln, L_BILL_ITEM, L_POSNR.
APPEND ITAB.
clear : itab-basic, itab-lfimg.
ENDSELECT.
clear : itab.
ENDSELECT.
<b>perform zscript.</b>
*& Form zscript
text
--> p1 text
<-- p2 text
FORM zscript .
CALL FUNCTION 'OPEN_FORM'
EXPORTING
APPLICATION = 'TX'
ARCHIVE_INDEX =
ARCHIVE_PARAMS =
DEVICE = 'PRINTER'
DIALOG = 'X'
FORM = 'ZREPORT2EMAIL'
LANGUAGE = SY-LANGU
OPTIONS =
MAIL_SENDER =
MAIL_RECIPIENT =
MAIL_APPL_OBJECT =
RAW_DATA_INTERFACE = '*'
SPONUMIV =
IMPORTING
LANGUAGE =
NEW_ARCHIVE_PARAMS =
RESULT =
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
INVALID_FAX_NUMBER = 8
MORE_PARAMS_NEEDED_IN_BATCH = 9
SPOOL_ERROR = 10
CODEPAGE = 11
OTHERS = 12
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT ITAB.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'MANU'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
IMPORTING
PENDING_LINES =
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDLOOP.
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT =
RDI_RESULT =
TABLES
OTFDATA =
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SEND_ERROR = 3
SPOOL_ERROR = 4
CODEPAGE = 5
OTHERS = 6
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " zscript
The above one is first criteria just to understand how to send mail to the customers.
<b>Second criteria</b> is i have to send the mail to the particular customer with only their details, the process should continue until it sends to all the customers with their details for that particular date.
Please help me out.
I have seen so many posts in the sdn but not able to understand the functional modules, how they declare that and how does it works...
Please provide me a good material to understand the functional module and to declare them.
Please solve this query i'll reward them with very good points.
Thanks in advance.
A.Rafique.Hi babar haroon,
Thanks for the link.....
I went through that link, i created smart form but i was not able to get the results because the pgm gets terminated after executing. I'll show u the code, the code is active. Please check out and tell me if i have missed anything in the code...
*& Report ZZZ_TEST3
REPORT ZZZ_TEST3.
*internal table declarations
data: i_otf type itcoo occurs 0 with header line,
i_tline type table of tline with header line,
i_receivers type table of somlreci1 with header line,
i_record like solisti1 occurs 0 with header line,
*Objects to send mail.
i_objpack like sopcklsti1 occurs 0 with header line,
i_objtxt like solisti1 occurs 0 with header line,
i_objbin like solisti1 occurs 0 with header line,
i_reclist like somlreci1 occurs 0 with header line,
*workarea declaration.
w_objhead TYPE soli_tab,
w_ctrlop TYPE ssfctrlop,
w_compop TYPE ssfcompop,
w_return TYPE ssfcrescl,
w_doc_chng typE sodocchgi1,
w_data TYPE sodocchgi1,
w_buffer TYPE string,"To convert from 132 to 255
Variables declarations
v_form_name TYPE rs38l_fnam,
v_len_in LIKE sood-objlen,
v_len_out LIKE sood-objlen,
v_len_outn TYPE i,
v_lines_txt TYPE i,
v_lines_bin TYPE i.
call function 'SSF_FUNCTION_MODULE_NAME'
*call function '/1BCDWB/SF00000105'
exporting
formname = 'ZZZ_TEST2'
importing
fm_name = v_form_name
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.
w_ctrlop-getotf = 'X'.
w_ctrlop-no_dialog = 'X'.
w_compop-tdnoprev = 'X'.
CALL FUNCTION '/1BCDWB/SF00000105'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB = itab1
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO = wa
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.
CALL FUNCTION v_form_name
EXPORTING
control_parameters = w_ctrlop
output_options = w_compop
user_settings = 'X'
IMPORTING
job_output_info = w_return
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.
i_otf[] = w_return-otfdata[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = v_len_in
TABLES
otf = i_otf
lines = i_tline
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.
Convert PDF from 132 to 255.
LOOP AT i_tline.
Replacing space by ~
TRANSLATE i_tline USING '~'.
CONCATENATE w_buffer i_tline INTO w_buffer.
ENDLOOP.
Replacing ~ by space
TRANSLATE w_buffer USING '~'.
DO.
i_record = w_buffer.
Appending 255 characters as a record
APPEND i_record.
SHIFT w_buffer LEFT BY 255 PLACES.
IF w_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
Refresh: i_reclist,
i_objtxt,
i_objbin,
i_objpack.
clear w_objhead.
Object with PDF.
i_objbin[] = i_record[].
DESCRIBE TABLE i_objbin LINES v_lines_bin.
Object with main text of the mail.
i_objtxt = 'Find attached the output of the smart form.'.
APPEND i_objtxt.
DESCRIBE TABLE i_objbin LINES v_lines_txt.
i_objtxt = 'Regards,'.
APPEND i_objtxt.
i_objtxt = 'J.Jayanthi'.
APPEND i_objtxt.
DESCRIBE TABLE i_objtxt LINES v_lines_txt.
Document information.
w_doc_chng-obj_name = 'Smartform'.
w_doc_chng-expiry_dat = sy-datum + 10.
w_doc_chng-obj_descr = 'Smart form output'.
w_doc_chng-sensitivty = 'F'. "Functional object
w_doc_chng-doc_size = v_lines_txt * 255.
Pack to main body as RAW.
Obj. to be transported not in binary form
CLEAR i_objpack-transf_bin.
Start line of object header in transport packet
i_objpack-head_start = 1.
Number of lines of an object header in object packet
i_objpack-head_num = 0.
Start line of object contents in an object packet
i_objpack-body_start = 1.
Number of lines of the object contents in an object packet
i_objpack-body_num = v_lines_txt.
Code for document class
i_objpack-doc_type = 'RAW'.
APPEND i_objpack.
Packing as PDF.
i_objpack-transf_bin = 'X'.
i_objpack-head_start = 1.
i_objpack-head_num = 1.
i_objpack-head_num = 0.
i_objpack-body_start = 1.
i_objpack-body_num = v_lines_bin.
i_objpack-doc_type = 'PDF'.
i_objpack-obj_name = 'Smartform'.
CONCATENATE 'Smartform_output' '.pdf'
INTO i_objpack-obj_descr.
i_objpack-doc_size = v_lines_bin * 255.
APPEND i_objpack.
Document information.
CLEAR i_reclist.
e-mail receivers.
i_reclist-receiver = '[email protected]'.
i_reclist-receiver = '[email protected]'.
i_reclist-express = 'X'.
i_reclist-rec_type = 'U'. "Internet address
APPEND i_reclist.
Sending mail.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = w_doc_chng
put_in_outbox = 'X'
TABLES
packing_list = i_objpack
object_header = w_objhead
contents_hex = i_objbin
contents_txt = i_objtxt
receivers = i_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
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 reply me back, it is very urgent..
Thanks and regards.
A.Rafique -
Pleas I need help from somone!Thanks
You may finf this useful: http://helpx.adobe.com/acrobat/kb/application-file-icons-change-acrobat.html
-
Converting sap script output into pdf format?
Hi all,
I have modified the standard purchase order script form MEDRUCK . Now i need to generate the output into pdf format.
This is not only limited to spool requests , But also when the user creates the purchase order and clicks on print or print preview the output should be in pdf format.
Please help on where and what code has to be written for this requirement?
Thanks,
Aravind.Hi
I don't know which is your release, but I don't think it's possible to create a preview in pdf format, but u can create a pdf file instead of the spool and then open it automatically, this is an example:
- A) Open form
IF P_PDF = 'X'.
XDEVICE = 'PRINTER'.
* Get OTF
ITCPO-TDGETOTF = 'X'.
ENDIF.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
DEVICE = XDEVICE
DIALOG = 'X'
FORM = 'ZFI_CL_EC_MOVI'
OPTIONS = ITCPO
MAIL_SENDER = LVS_SENDER
MAIL_RECIPIENT = LVS_RECIPIENT
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
INVALID_FAX_NUMBER = 8
MORE_PARAMS_NEEDED_IN_BATCH = 9
SPOOL_ERROR = 10
OTHERS = 11.
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
B) Close FORM
CALL FUNCTION 'CLOSE_FORM'
TABLES
OTFDATA = T_OTF
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SEND_ERROR = 3
SPOOL_ERROR = 4
OTHERS = 5.
IF SY-SUBRC <> 0.
MESSAGE I208(00) WITH 'Errore chiusura stampa'(A02).
ELSE.
PERFORM DOWNLOAD_PDF.
ENDIF.
C) Create PDF and open it:
FORM DOWNLOAD_PDF.
DATA: BIN_FILESIZE TYPE I.
DATA: T_FILE_PDF TYPE STANDARD TABLE OF TLINE,
DOCTAB_ARCHIVE TYPE STANDARD TABLE OF DOCS.
DATA: FILE_TABLE TYPE FILETABLE WITH HEADER LINE.
DATA: RC TYPE I,
USER_ACTION TYPE I.
DATA: TITLE TYPE STRING,
FILENAME TYPE STRING.
CHECK P_PDF = 'X'.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
IMPORTING
BIN_FILESIZE = BIN_FILESIZE
TABLES
OTF = T_OTF
DOCTAB_ARCHIVE = DOCTAB_ARCHIVE
LINES = T_FILE_PDF
EXCEPTIONS
ERR_CONV_NOT_POSSIBLE = 1
ERR_OTF_MC_NOENDMARKER = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE I208(00) WITH 'Errore conversione PDF'(A03).
EXIT.
ENDIF.
TITLE = 'Creare File'(T02).
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
EXPORTING
WINDOW_TITLE = TITLE
DEFAULT_EXTENSION = '*.pdf'
CHANGING
FILE_TABLE = FILE_TABLE[]
RC = RC
USER_ACTION = USER_ACTION
EXCEPTIONS
FILE_OPEN_DIALOG_FAILED = 1
CNTL_ERROR = 2
ERROR_NO_GUI = 3
OTHERS = 4
IF SY-SUBRC <> 0.
MESSAGE I208(00) WITH 'Errore creazione PDF'(A04).
EXIT.
ELSE.
IF USER_ACTION = 9. EXIT. ENDIF.
IF RC = 1.
READ TABLE FILE_TABLE INDEX 1.
ENDIF.
ENDIF.
MOVE FILE_TABLE-FILENAME TO FILENAME.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
EXPORTING
BIN_FILESIZE = BIN_FILESIZE
FILENAME = FILENAME
FILETYPE = 'BIN'
CHANGING
DATA_TAB = T_FILE_PDF
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF SY-SUBRC <> 0.
MESSAGE I208(00) WITH 'Errore creazione PDF'(A04).
EXIT.
ELSE.
MESSAGE S208(00) WITH 'File creato con successo'(S01).
ENDIF.
CHECK P_OPEN = 'X'.
CALL FUNCTION 'CALL_BROWSER'
EXPORTING
URL = FILE_TABLE-FILENAME
EXCEPTIONS
FRONTEND_NOT_SUPPORTED = 1
FRONTEND_ERROR = 2
PROG_NOT_FOUND = 3
NO_BATCH = 4
UNSPECIFIED_ERROR = 5
OTHERS = 6.
IF SY-SUBRC <> 0.
MESSAGE S208(00) WITH 'Impossibile aprire file'(A05).
ENDIF.
ENDFORM. " DOWNLOAD_PDF
Max
Maybe you are looking for
-
I just installed (on my Windows 7 Ultimate (64 bit) operating system/Intel i5 CPU M560 2.67 GHz) and am now using as my default browser Firefox 4.0.1 because Internet Explorer 9 was giving me so much trouble--lack of display of web content, lack of P
-
How do I get my iPod classic 160GB to sync with the new iTunes 11.4 (64-bit)
None of the solutions I tried have worked: I reinstalled iTunes. I reauthorized my computer I restored my iPod Each time I sync, it says that sync is complete, but no songs are on my iPod. Since restoring my iPod, I get this error mess
-
TestStand 4.0 reportgen_html.seq Type Conflict
We have converted from TestStand 3.5 to TestStand 4.0. We had created a custom reportgen_html.seq in TestStand 3.5 which we copied over to the TestStand 4.0\Components\User\Models\TestStandModels directory and updated using the Update Sequence Files
-
Add an option to replace the current slideshow content
Currently, the content of a slideshow is only replaced when going straight from the sample images. Would it be possible to add a checkbox to force the new content to replace the current images, rather than append them? This would be really helpful wh
-
Migrating db using golden gate
Hi, I heared about a word that is golden gate. which is used for migration. how can migrate db using golden gate..? and where it has to install. is there any other features of this. please let me know thank you