Mailing adobe forms
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = ie_outputparams.
*data : fm_name_appl type rs38l_fnam.
*CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
* EXPORTING
* formname = 'ZHR_OFFER_FORM'
* IMPORTING
* fm_name = fm_name_appl
* EXCEPTIONS
* no_form = 1
* no_function_module = 2
* OTHERS = 3.
* IF sy-subrc EQ 0.
* CALL FUNCTION fm_name_appl "'/1BCDWB/SM00000046'
CALL FUNCTION '/1BCDWB/SM00000046'
EXPORTING
/1BCDWB/DOCPARAMS = /1BCDWB/DOCPARAMS
APPLICANT_NAME = G_APPLNAME
POSITION = POSITION_1000
JOINING_DATE = join_1000
REPFORM = g_repFORM_name
REPMGR = g_repmgr_name
CONTROLMGR = g_controlmgr_name
PLACE = PLACE_1000
APPLICANT_GENDER = G_APPL_GENDER
BASE_PLACE = loc_1000
REPMGR_GENDER = g_repmgr_gender
REPFORM_GENDER = G_REPF_GENDER
CONTROLMGR_GENDER = g_controlmgr_gender
GROSSS = gross_1000
BASIC = basic_1000
CONVEYANCE = conv_1000
FOOD = food_1000
VARIABLE = var_1000
CITY = g_ORT01
DISTRICT = g_ORT02
ADDRESS = g_stras
C_DATE = sy-datum
APPLICANTID = pernr1_1000
IMPORTING
/1BCDWB/FORMOUTPUT = /1BCDWB/FORMOUTPUT
EXCEPTIONS
USAGE_ERROR = 1
SYSTEM_ERROR = 2
INTERNAL_ERROR = 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.
*endif.
CALL FUNCTION 'FP_JOB_CLOSE'.
Dear Experts i need to send this form which is created by (adobe forms) to mail how to do this can any one give some ideas,
Thanks and Regards,
Thirukumaran. R
I hope you want to send it as Attachment then in that case it is similar
using this /1BCDWB/FORMOUTPUT-PDF you can do that..
call function 'SCMS_XSTRING_TO_BINARY'
exporting
buffer = /1BCDWB/FORMOUTPUT-PDF
tables
binary_tab = t_pdf_data.
now use the binary data as attachement and send it. make sure the attachment type is 'PDF'
Similar Messages
-
Converting a RAWSTRING to RAW for mailing Adobe Forms
Hi,
I am trying to send a PDF form to an external email using the function module described in Weblog:
/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
The Adobe form was created using transaction SFP (ERP2004). After calling this FM parameter /1BCDWB/FORMOUTPUT-PDF gives me back the PDF file as a data type 'RAWSTRING' (so one single line with all data in it). In order to use the function module from the weblog I need to transform this single line to multiple 255 character lines in table CONTENT_HEX (data type 'RAW').
Does anyone know if there is an easy way to convert a RAWSTRING field to multiple RAW lines?
Thanks in advance,
Michiel van RhoonHi Michiel,
Check out this code, I am sorry it is in dutch, but these are just variables:
data: teller type I,
lengte type I,
restlengte type I,
pos type I.
lengte = xstrlen( FORMINHOUD-PDF ).
teller = lengte div 255.
restlengte = lengte - ( teller * 255 ).
pos = 0.
DO teller TIMES.
MOVE FORMINHOUD-PDF+pos(255) TO PDF_regel-line.
Append PDF_regel to PDF_tab.
pos = pos + 255.
ENDDO.
MOVE FORMINHOUD-PDF+pos(restlengte) TO PDF_regel-line.
Append PDF_regel to PDF_tab.
Cheers,
Noel -
Adobe Forms - How do I set up e-mail responses
I am an HTML web designer who has been frustrated by forms. So I purchased Adobe Forms. Extremely easy to create.
Here's what I don't understand: When someone responds, is it possible to have the e-mail response sent to the people I am creating the forms for?
I thought it would be sent to them if they were listed as a collaborator, but the e-mail notifications don't go to them.
What can I do?
Stan HoskinsRead this FAQ: http://forums.adobe.com/docs/DOC-1424
They need to go to their Options tab and turn it on. It is something each user controls, not you.
Randy -
Error while opening the ADOBE FORM via mail
Hi to all,
I have created a program to attached ADOBE FORM to mail.
When I execute the program, it sends ADOBE FORM to my mail ID successfully.
But when I open my mail and try to open attached ADOBE FORM, it gives error
ADOBE READER COULD NOT OPEN u2018PDF FORM (1). PDFu2019 because it is either not a supported file type or because the file has been damaged ( for example, it was sent as an email attached and wasnu2019t correctly decoded).
Please can any tell me, what the problem is and what the solution is for that?
I shall be thankful to you for this.
Regards
Pavneet Rana
Edited by: pavneet rana on Aug 1, 2011 2:22 PMThanks for reply,
below is the code.
data:
l_fm_name TYPE rs38l_fnam,
l_formname TYPE fpname VALUE 'ZTESTF1' ,
fp_docparams TYPE sfpdocparams,
FP_FORMOUTPUT TYPE FPFORMOUTPUT,
fp_outputparams TYPE sfpoutputparams.
data: I_ATT_CONTENT_HEX type SOLIX_TAB.
START-OF-SELECTION.
data: st TYPE ZTABFM11.
data: it type table of sflight.
data: wa like LINE OF it.
data: wa_st like LINE OF ST.
fp_docparams-langu = 'E'.
fp_docparams-country = 'US'.
fp_docparams-fillable = 'X'.
fp_outputparams-nodialog = 'X'.
fp_outputparams-preview = 'X'.
fp_outputparams-device = 'LP01'.
fp_outputparams-getpdf = 'X' .
fp_outputparams-dest = 'LP01'.
fp_outputparams-reqimm = 'X'.
fp_outputparams-reqdel = 'X' .
fp_outputparams-xfpoutdev = 'LP01'.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = l_formname
IMPORTING
e_funcname = l_fm_name.
E_INTERFACE_TYPE =
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = fp_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
select * from sflight into TABLE it.
loop at it into wa.
wa_st-CARRID = wa-CARRID.
wa_st-CONNID = wa-CONNID.
wa_st-FLDATE = wa-FLDATE .
wa_st-PLANETYPE = wa-PLANETYPE.
append wa_st to st.
endloop.
CALL FUNCTION l_fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
st = st
IMPORTING
/1BCDWB/FORMOUTPUT = FP_FORMOUTPUT
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
E_RESULT = result
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER = FP_FORMOUTPUT-PDF
APPEND_TO_TABLE = ' '
IMPORTING
OUTPUT_LENGTH =
TABLES
BINARY_TAB = I_ATT_CONTENT_HEX .
CLASS cl_bcs DEFINITION LOAD.
DATA:
lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
lo_send_request = cl_bcs=>create_persistent( ).
Message body and subject
DATA:
lt_message_body TYPE bcsy_text VALUE IS INITIAL,
lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
APPEND 'Dear,' TO lt_message_body.
append ' ' to lt_message_body.
APPEND 'Fill the details.'
TO lt_message_body.
append ' ' to lt_message_body.
APPEND 'Thank You,' TO lt_message_body.
lo_document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = lt_message_body
i_subject = 'flight details' ).
DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
TRY.
lo_document->add_attachment(
EXPORTING
i_attachment_type = 'PDF'
i_attachment_subject = 'flight details'
I_ATTACHMENT_SIZE =
I_ATTACHMENT_LANGUAGE = SPACE
I_ATT_CONTENT_TEXT =
I_ATTACHMENT_HEADER =
I_ATT_CONTENT_HEX = I_ATT_CONTENT_HEX ).
CATCH cx_document_bcs INTO lx_document_bcs.
ENDTRY.
Add attachment
Pass the document to send request
lo_send_request->set_document( lo_document ).
Create sender
DATA:
lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
l_send type ADR6-SMTP_ADDR value 'mail id '.
lo_sender = cl_cam_address_bcs=>create_internet_address( l_send ).
lo_sender = cl_sapuser_bcs=>create( sy-uname ).
Set sender
lo_send_request->set_sender(
EXPORTING
i_sender = lo_sender ).
Create recipient
DATA:
lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
lo_recipient = cl_cam_address_bcs=>create_internet_address( l_send ).
Set recipient
lo_send_request->add_recipient(
EXPORTING
i_recipient = lo_recipient
i_express = 'X' ).
lo_send_request->add_recipient(
EXPORTING
i_recipient = lo_recipient
i_express = 'X' ).
Send email
DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
lo_send_request->send(
EXPORTING
i_with_error_screen = 'X'
RECEIVING
result = lv_sent_to_all ).
COMMIT WORK.
message 'Form sucessfuly send to person' type 'I'.
plesase can any one, provide the soultion.
i shall be thankful toy you for this.
regards
pavneet rana -
Send Adobe form as PDF via E-mail
Hi,
I am doing one interacive adobe form where i need to send that filled form in PDF format via email.
I tried using below options but unfortunately its not working:
1.I used "Email Submit Button" but its sending attachment as XML which I dont want.
when reffred threads on this problem , they suggested to go to XML VIEW of this button and change SUBMIT FORMAT to "pdf" from "xml".... but in this case , that button is not working at all.
2.I used below solution
Use a regular form button: Place a regular form button on your form . Look on the Object Window for the button. On the Field tag, towards the bottom will be a set of "Control Type" radio buttons. Select the "submit" option. There should now be a "submit" tab in the Object window. Switch to the tab and on the "Submit As" pulldown select PDF. But this is also not working.
Your comments are helpful for me.Hi,
Get your form data in XML format from Interface. There are some standard classes available to convert the XML to PDF and sending mail.
Thanks,
Revanth Naidu -
How to send adobe form output in mail as a attachment
i am get the adobe form output
how to attach in a mail ....
Regards
Anbu Bmy program is like this.............
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = 'YHRIN_WELCOME'
IMPORTING
e_funcname = lv_funcname
gs_output-nodialog = 'X'.
gs_output-preview = 'X'.
gs_output-getpdl = 'X'.
gs_output-getpdf = 'X'.
gs_output-dest = 'LP01'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = gs_output
EXCEPTIONS
CANCEL = 1
USAGE_ERROR = 2
SYSTEM_ERROR = 3
INTERNAL_ERROR = 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.
DATA : gs_outputpara TYPE sfpdocparams.
DATA : ls_return TYPE fpformoutput .
gs_outputpara-langu = 'E'.
gs_outputpara-country = 'IN'.
CALL FUNCTION lv_funcname
EXPORTING
/1bcdwb/docparams = gs_outputpara
wa_data = wa_mail
IMPORTING
/1bcdwb/formoutput = ls_return
EXCEPTIONS
OTHERS = 1.
DATA lv_output TYPE sdokcntbins WITH HEADER LINE.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = ls_return-pdf "PDF file from function module
TABLES
binary_tab = lv_output .
*DATA : result TYPE sfpjoboutput WITH HEADER LINE .
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
e_result = result
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DATA : iv_len_in LIKE sood-objlen,
it_tline TYPE TABLE OF tline WITH HEADER LINE.
PERFORM pdf_file.
DATA: lt_imessage TYPE STANDARD TABLE OF solisti1 WITH HEADER LINE,
lt_iattach TYPE STANDARD TABLE OF solisti1 WITH HEADER LINE,
lt_ipacking_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
lt_ireceivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
lt_iattachment LIKE solisti1 OCCURS 0 WITH HEADER LINE.
DATA : lt_record LIKE solisti1 OCCURS 0 WITH HEADER LINE.
DATA : it_otf TYPE itcoo OCCURS 0 WITH HEADER LINE.
DATA: lv_email TYPE somlreci1-receiver
VALUE 'anbu.'.
PERFORM build_xls_data .
APPEND lt_iattach.
Populate message body text
CLEAR lt_imessage. REFRESH lt_imessage.
lt_imessage = 'Please find attached PDF file'.
APPEND lt_imessage.
Send file by email as .xls speadsheet
PERFORM send_email_with_xls TABLES lt_imessage
lt_iattach
USING lv_email
'PDF Attachment of an Employee'
'PDF'
'TestFileName'
'Employee Detail'.
Form BUILD_XLS_DATA
FORM build_xls_data .
DATA :lv_buffer TYPE string.
Convert PDF from 132 to 255.
LOOP AT it_tline.
Replacing space by ~
TRANSLATE it_tline USING ' ~'.
CONCATENATE lv_buffer it_tline INTO lv_buffer.
ENDLOOP.
replacing ~ by space
TRANSLATE lv_buffer USING '~'.
DO.
lt_record = lv_buffer.
Appending 255 characters as a record
APPEND lt_record.
SHIFT lv_buffer LEFT BY 255 PLACES.
IF lv_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
lt_iattach[] = lt_record[].
ENDFORM.
Form SEND_EMAIL_WITH_XLS
FORM send_email_with_xls TABLES pit_message
pit_attach
USING p_email
p_mtitle
p_format
p_filename
p_attdescription.
DATA: es_xdocdata LIKE sodocchgi1,
lv_xcnt TYPE i.
Fill the document data.
es_xdocdata-doc_size = 1.
Populate the subject/generic message attributes
es_xdocdata-obj_langu = sy-langu .
es_xdocdata-obj_name = 'SAPRPT' .
es_xdocdata-obj_descr = p_mtitle .
Fill the document data and get size of attachment
CLEAR es_xdocdata.
READ TABLE lt_iattach INDEX lv_xcnt.
es_xdocdata-doc_size =
( lv_xcnt - 1 ) * 255 + STRLEN( lt_iattach ).
es_xdocdata-obj_langu = sy-langu.
es_xdocdata-obj_name = 'SAPRPT'.
es_xdocdata-obj_descr = p_mtitle.
CLEAR lt_iattachment. REFRESH lt_iattachment.
lt_iattachment[] = pit_attach[].
Describe the body of the message
CLEAR lt_ipacking_list. REFRESH lt_ipacking_list.
lt_ipacking_list-transf_bin = space.
lt_ipacking_list-head_start = 1.
lt_ipacking_list-head_num = 0.
lt_ipacking_list-body_start = 1.
DESCRIBE TABLE lt_imessage LINES lt_ipacking_list-body_num.
lt_ipacking_list-doc_type = 'RAW'.
APPEND lt_ipacking_list.
Create attachment notification
lt_ipacking_list-transf_bin = 'X'.
lt_ipacking_list-head_start = 1.
lt_ipacking_list-head_num = 1.
lt_ipacking_list-body_start = 1.
DESCRIBE TABLE lt_iattachment LINES lt_ipacking_list-body_num.
lt_ipacking_list-doc_type = p_format.
lt_ipacking_list-obj_descr = p_attdescription.
lt_ipacking_list-obj_name = p_filename.
lt_ipacking_list-doc_size = lt_ipacking_list-body_num * 255.
APPEND lt_ipacking_list.
Add the recipients email address
CLEAR lt_ireceivers. REFRESH lt_ireceivers.
lt_ireceivers-receiver = p_email.
lt_ireceivers-rec_type = 'U'.
lt_ireceivers-com_type = 'INT'.
lt_ireceivers-notif_del = 'X'.
lt_ireceivers-notif_ndel = 'X'.
APPEND lt_ireceivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = es_xdocdata
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = lt_ipacking_list
contents_bin = lt_iattachment
CONTENTS_HEX = lv_output
contents_txt = lt_imessage
receivers = lt_ireceivers
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.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = '' AND RETURN.
ENDFORM. -
PDF Attachment problem in Adobe form and send mail is not working
Dear Experts,
Recently i'm facing a problem regarding Adobe form PDF attachment and sending an e-mail along with the PDF attachment to customer mail id.But when i execute the RFC Function module, in customer side no mail is comming. And when i check the transaction SBWP then i found that the PDF attachment hold only 1KB of data which is not right.For that i'm sending my code which i was declared in my program.Can anybody please help me to overcome this problem?
Warm Regards,
sameek.
CLASS cl_bcs DEFINITION LOAD.
DATA:
lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
lo_send_request = cl_bcs=>create_persistent( ).
data: t_att_content_hex type SOLIX_TAB.
DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
DATA: lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
l_send type ADR6-SMTP_ADDR value 'Already provided an e-mail address here'.
DATA: lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
Message body and subject*
DATA:
lt_message_body TYPE bcsy_text VALUE IS INITIAL,
lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
APPEND 'Dear,' TO lt_message_body.
append ' ' to lt_message_body.
APPEND 'Please fill the attached form and send it back to us.'
TO lt_message_body.
append ' ' to lt_message_body.
APPEND 'Thank You,' TO lt_message_body.
lo_document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = lt_message_body
i_subject = 'Customer Information Form').
TRY.
lo_document->add_attachment(
EXPORTING
i_attachment_type = 'PDF'
i_attachment_subject = 'Customer Information Form'
I_ATTACHMENT_SIZE =*
I_ATTACHMENT_LANGUAGE = SPACE*
I_ATT_CONTENT_TEXT =*
I_ATTACHMENT_HEADER =*
i_att_content_hex = t_att_content_hex ).
CATCH cx_document_bcs INTO lx_document_bcs.
ENDTRY.
Add attachment*
Pass the document to send request*
lo_send_request->set_document( lo_document ).
Create sender*
lo_sender = cl_cam_address_bcs=>create_internet_address( l_send ).
lo_sender = cl_sapuser_bcs=>create( sy-uname ).*
Set sender*
lo_send_request->set_sender(
EXPORTING
i_sender = lo_sender ).
Create recipient*
lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
lo_recipient = cl_cam_address_bcs=>create_internet_address( l_send ).*
Set recipient*
lo_send_request->add_recipient(
EXPORTING
i_recipient = lo_recipient
i_express = 'X' ).
lo_send_request->add_recipient(*
EXPORTING*
i_recipient = lo_recipient*
i_express = 'X' ).*
Send email*
lo_send_request->send(
EXPORTING
i_with_error_screen = 'X'
RECEIVING
result = lv_sent_to_all ).
COMMIT WORK.
message 'The Customer Information form has been emailed to the Employee' type 'I'.I am also facing issue with email send .
apex 4.1.1 oracle 11g
create or replace procedure email ( p_email in varchar2)
is
l_workspace_id number;
l_subject varchar2(2000);
l_body clob;
l_body_html clob;
l_email varchar2(40);
begin
l_workspace_id := apex_util.find_security_group_id (p_workspace => 'xyz');
apex_util.set_security_group_id (p_security_group_id => l_workspace_id);
l_email:= p_email;
l_body := ' ';
l_subject := 'You have new tasks';
--if l_email=:P3_CONFIRM_EMAIL_ADDRESS is not null then
-- email( l_email =>:P3_CONFIRM_EMAIL );
-- end if;
l_body_html := '<p />The following tasks have been added.';
apex_mail.send (
p_to => l_email ,
p_from => '[email protected]',
p_body => l_body,
p_body_html => l_body_html,
p_subj => l_subject );
APEX_MAIL.PUSH_QUEUE;
end; I also check the log and queue but both are empty,
select * from
apex_mail_queue
select * from
apex_mail_log Kindly suggest what to do ?
I also created a process in apex , which call this procedure and pass the email address entered by user. -
Update data of pdf (offline adobe forms) to sap system By Inbound E-mail
Hello,
I am trying to update data in PDF (offline adobe forms) to Sap system by Inbound E-mail. Kindly give some suggestions for scenario to do this task.Hi,
There ia a good information for your requirement.
Please check the below link.
http://www.sdn.sap.com/irj/scn/events?rid=/library/uuid/c0c139d3-3eae-2910-01a1-d253f2587b0e&overridelayout=true
Thanks.
Uma -
INBOUND MAIL PROCESSING in SAP for Offline ADOBE FORM Concept
Hi to all,
Please can anyone tell me, what INBOUND MAIL PROCESSING in SAP for Offline ADOBE FORM?
What is concept and how to use it, is any program need to write for that or only need to configure it.
I have searched the SDN, but only get topic how to configure inbound mail processing.
I am new to this area; please any one put some light on it.
I shall be thankful to you for this.
Regards
Pavneet RanaHi Pavneet,
Inbound processing of an offline adobe form consists of several things -
a) an email id to be created on the server (to accept the mail & process the adobe form - this needs to have the right roles)
b) the smtp config needs to be done by basis
c) the abap developer needs to create a handler class that gets called when an email is recd in SAP. This handler class has 3-4 methods (first to read the mail and extract the pdf, convert data in pdf to the abap variable, process the form to do the specific function in sap (which will vary from requirement to another).
I found this blog very useful when I was getting my adobe form done -
/people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher
Hope this helps.
Cheers, Liz
(ps: you might get more help in the adobe form specific forum in sdn) -
Sending Adobe form in perzonalized mail forms
Hi
I created a personalized mail form and I want to send the Adobe PDF form of the contract to the customer along with the personalized mail forms.
I know how to send a personalized mail form, but not sure how do we attach the generate the PDF and attach it to mail form through actions.
Regards,
Deepthi.Hi Bhargavi,
In your action method first get the FM name for your Adobe form using
fp_function_module_name.
Then you need to call Adobe form FM.Importing lv_formoutput.
Then you need to call bcs interface. sample logic
lcl_send_request - cl_bcs=>create_persistent( ).
lv_pdfsize = zstrlen( lv_formoutput-pdf ).
lt_pdfcontent = cl_document_bcs=>xstring_to_solix( ip_xstring = lv_formoutput-pdf ).
append the mail body to lt_text.
append mail subject to ls_subject.
then
lcl_document = cl_document_bcs=>create_document( i_type = 'RAW'
i_text = lt_text
i_length = '25'
i_subject = ls_subject ).
atach pdf to mail using
call method lcl_document->add_attachment
exporting
i_attachment_type = 'PDF'
i_attachment_subject = ls_mail_sub
i_attachment_size = lv_pdf_size
i_att_content_hex = lt_pdf_content.
lcl_send_request->set_documnt( lcl_document ).
lcl_receipient = cl_cam_address_bcs=>create_internet_address( i_address_string = email id ).
lcl_send_request->add_recipient( i_recipient = lcl_recipient ).
lcl_sender = cl_cam_address_bcs=>create_internet_address( i_address_string = sender email id ).
lcl_send_request->set_sender( i_sender = lcl_sender ).
lv_sent_to_all = lcl_send_request->send( i_with_error_screen = 'x' ).
commit work.
Regards,
Tejaswini P. -
Configure time to read e-mail to catch the adobe forms
Hi masters
I have developed a BPM project in SAP Netweaver CE 7.2 with Off line adobe forms, it already works very well, but when I send back an adobe form, the bpm engine waits much time to read the e-mail, is there any way to configure this time interval ?Verify/repair the startup disk (not just permissions), as described here:
The Repair functions of Disk Utility: what's it all about?
After having fixed all filesystem issues, if any, reinstall the Combo Update for the type of computer and the version of Mac OS X you’re using, unless this is the version of Mac OS X that came with your computer:
About the Mac OS X 10.4.8 Combo Update
Mac OS X 10.4.8 Combo Update for PPC
Mac OS X 10.4.8 Combo Update for Intel
Take a look at the following articles for guidelines on how to properly install system updates:
Troubleshooting installation and software updates
Installing software updates
Basically, you should verify/repair the startup disk before installing the update, no applications should be running while installing it, and you may experience unexpected results if you have third-party system software modifications (not normal applications) installed. -
Configuration receiving mails with attached adobe forms from BPM
System: CE7.20 SP2
Hi,
I am using Adobe Forms in SAP NW BPM. Therefore I have to configure the Mail, Notification Messages, and Forms Services described [here|http://help.sap.com/saphelp_nwce72/helpdata/en/e4/32ff7865fa483dba3686160f5c6dd0/content.htm].
To get this running at "Java System Properties - Applications - tcbpembase~ear"
I have to configure the mailbox which receives this adobe forms but actually I can not apply a mailbox from the exchange admin! That's always a very big bureaucratic effort, if you know what I mean
Do anybody of you have some experience how this could be solved in a big concern scenario with running exchange?
RegardsMartin,
I want to give points to your helpful answer, but I can´t do it here because you are the owner of the thread and just you can give points, so I have created a thread where you can answer me and there I can give points to anyone. -
Hello ALL
i am new to adobe forms...i have simple requirement like....
i am creating 2 text first one is " welcome to adobe forms'
second is some matter say " submit this matter by mail'
this 2 fields i have created already using adobe life cycle designer.....
now i want to send the matter which is in text filed 2 (i.e. "submit this matter by mail')
by mail....means it will go like a attachemnet to receiver.
also i have created one button for 'subot by e-mail".....
what i shd do now......?any ideasHello,
I didn´t understand if you need to send the whole form or just a text you got from the form.
In first case, send the whole form, search for the tutorial called Offline Interactive Forms Using ABAP.
If you need to "mine out" the text from the form then:
1) do you know that this form is called interactive?
2) do you know that this type of forms is licensed? do you have such a licence?
3) dou you know if you would run such a form offline or using WD, then it is called online scenario.
I can recommend you to move your questions about adobe under SAP NetWeaver - Interactive forms by adobe. Regards, Otto -
Set the time interval when BPM read e-mail to get offline adobe forms
Hi masters
Do you know where I can set the time interval when the BPM read the e-mail account to get the off-line adobe forms received ? I think it is 10 minutes but I need to change to 1 minute.there is a config attribute
-
Hi Experts,
I am using xml based Adobe forms (ordinary print form) in WebDynpro component. I got one requirement to send that form as an attachment to dynamic email id either from form or from WebDynpro component.
I tried using email submit button in adobe form , which allows to specify only static email id.
Please suggest your ideas to send that to dynamic email id.
Regards,
Kiruba.Hi Kiruba,
This question was addressed multiple times, you sud have searched it first.
have a hidden field in your form
set email id to this field.
have the belocode on click event of the email button.
this.resolveNode("#event.#submit").target = "mailto:"+<your emalid field's rawvalue>
Re: Dynamic E-Mail address in Interactive Forms?
this is the post with the solution and it worked.
Cheers,
Sai
Maybe you are looking for
-
Saving webi document from BOXI 3.0 in excel with special character
Issue :Saving webi document from BOXI 3.0 in excel with special character as report name then file name in excel is not correct. This happens only with Mozilla, get correct file name in IE. Steps to Reproduce: 1)Create a simple XI3.0 webi report thro
-
I have recently purchased 1000BC from Playstation Store for Planetside 2 and I am yet to recieve it. I have the receipt in the email, on my account transaction history. I talked to customer support of Planetside 2 who I initially inquired at regardin
-
How to change the select-options fields length to long
Dear friends: I had develop a program for sent email,and it have a field for fill mail address as below: data: lmail like adr6-smtp_addr. select-options: mailadd for lmail no intervals. my customer complain that the field is too short,but
-
I have a web service and I'm cfdumping the return variable, but I don't know how to get the value out. This is what it is giving me. 1 object of com.nextaxiom.www.soapservice.xsd1.APApprovalList Class Name com.nextaxiom.www.soapservice.xsd1.APApprov
-
Using an IF Statment to combine three columns
Post Author: smcbride CA Forum: Data Connectivity and SQL I'm trying to combine three columns inorder to use the one column in a crosstab table. I'm trying to use an IF statment to do this but it's not working. can some one help me with this. this is