PDF forms cancellation
how do I cancel my latest adobe purchase order 7-06-2013?
Contact support:
https://www.acrobat.com/misc/en/contact-support.html
I suggest using the chat option... its usually faster.
Similar Messages
-
How to create a multiple PDF-form outputs into one PDF?
Hi,
I`d like to create a PDF document with a few pages in it, build from different PDF-forms using many form-function calls. Where each PDF-form can use its own interface.
I`ve made a simple programme, but as the result I have a few separated documents with scrolling tab instead of one document with all pages in it.
What am I doing wrong?
*& Report ZZ_TEST_PDF_MULTY
REPORT zz_test_pdf_multy.
PARAMETERS:
p_page TYPE i DEFAULT 2,
p_row TYPE i DEFAULT 4.
END-OF-SELECTION.
DATA:
tb_itf TYPE tsftext,
s_itf TYPE tline.
DATA:
c_fmname TYPE rs38l_fnam,
s_outputparams TYPE sfpoutputparams,
s_docparams TYPE sfpdocparams,
s_formoutput TYPE fpformoutput,
s_sfpjoboutput TYPE sfpjoboutput,
c_page TYPE string,
c_row TYPE string.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = 'FP_TEST_00'
IMPORTING
e_funcname = c_fmname.
s_outputparams-nodialog = 'X'.
s_outputparams-device = 'PRINTER'.
s_outputparams-preview = 'X'.
s_outputparams-dest = 'PDF'.
s_outputparams-getpdf = ' '.
s_outputparams-title = sy-title.
* s_outputparams-bumode = 'M'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = s_outputparams
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.
s_docparams-langu = 'R'.
s_docparams-country = 'RU'.
DO p_page TIMES.
MOVE sy-index TO c_page.
REFRESH tb_itf.
DO p_row TIMES.
MOVE sy-index TO c_row.
c_row = sy-index.
CONCATENATE
'page' c_page 'row' c_row
INTO s_itf-tdline SEPARATED BY space.
APPEND s_itf TO tb_itf.
ENDDO.
CALL FUNCTION c_fmname
EXPORTING
/1bcdwb/docparams = s_docparams
textlines = tb_itf
IMPORTING
/1bcdwb/formoutput = s_formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 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.
ENDDO.
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
e_result = s_sfpjoboutput
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.Sorry, but making single PDF from many smartforms is not what I want to achieve. I wold like to know how to get one PDF document made by ALC-forms.
In my example I have many PDF documents. So, how to get (or put) them all in one PDF?
ps: the way to get one PDF from smartforms is also here:
"Combining Multiple Smartform Outputs Into One PDF file"
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/62ae7fcd-0b01-0010-3e9d-a54f26944450 -
Download the PDF Form as a attachment when button click in BSP application
Hi All,
I have scenario, when button click in the BSP application PDF Form want to download in the IE (like one window open with Open,Save and cancel button).
I have written this code:
data: pdf type fpformoutput-pdf.
< Logic for populate value to pdf field ....
.>
response->set_header_field(
name = 'cache-control'
value = 'max-age=0' ).
response->set_header_field(
name = 'content-disposition'
value = 'attachment; filename=webforms.pdf' ).
response->set_data( data = pdf ).
Once button is clicked pop up is opened and closed automatically because of browser or adobe reader issue.
How can I resolve this problem ?
In the IE i need to change any settings ?
IE version = 7.0
Adobe reader = 9.0
I have tried in the same code with IE = 6.0 and adobe reader 8.1.2 its getting download the pdf form working fine.
The same think i want in IE 7.0 and adobe reader 9.0, what needs to be done ?
Regards,
Boopathi MHello Ravi,
Best would be to bind the dataSource of the InteractiveForm ui element to the parent node containing the table's data. Then specify a name of a template to be created in the templateSource and hit <enter>. Some popups later, the system will have created a template from the structure of the context. All you need to do now is to drag&drop the data structure inside the template designer to the template itself. This will result in a table. Save, activate and return the Web Dynpro view. Don't forget to unbind the pdfSource and enjoy.
Best regards,
Thomas -
Send PDF form to email address user enters in textfield on form.
I would like to be able to allow the person using the form to choose what email address the PDF form is emailed to. I read this post which sounds like what I want but I keep getting a Submit Cancelled error. The email does get generated and the form is attached as a PDF so that part works okay.
http://forums.adobe.com/message/4167414#4167414
This is the code I am using as I only need the To: address populated.
form1.Page1.Button1::preSubmit:form - (JavaScript, client)
var strToAddress
//Capture the values from the form fields.
strToAddress = txtToAddress.rawValue;
event.target.submitForm({cURL:"mailto:"+ strToAddress,cSubmitAs:"PDF",cCharset:"utf-8"});Hi,
There is an example here: http://assure.ly/eUR4wJ.
// Declare the variable
var vEmail;
// Check that the email field is not null
if (txtToAddress.rawValue !== null) {
vEmail = txtToAddress.rawValue;
// Send email
event.target.submitForm({cURL:"mailto: " + vEmail + "?subject=&body=",cSubmitAs:"PDF",cCharset:"utf-8"});
Niall -
Support for PDF form editing in Acrobat Pro XI and futire versions?
Will Adobe Professional continue to support the creation and editing of PDF forms after Forms Central? Can I import my Forms-Central PDF forms into Acrobat XI? What are the plans for future versions of Acrobat Pro - any cancellations planned for forms-features?
>. I understand that this LifeCycle Reader Extensions allows for such a result
That's correct.
>but I have not clue how to add this funtionality to my already created PDF?!?
LiveCycle Reader Extensions is a product. You buy it. Note that the
price is "on application" and varies with your company's needs, but is
typically either tens or hundreds of thousands of dollars. This is to
offset the "lost sales" of Acrobat which people would otherwise have
to buy to save forms.
> I have downloaded the trial version Adobe LifeCycle Designer 7.1 (which appears to have full functionality for only 60 days)in hopes to just add this capability
There are many products with LiveCycle in the name from Adobe. That's
a different one.
Aandi Inston -
Employee photo is not Displaying on the PDF form
Hello Experts,
We have a static form and passing the form data and photo repository URL (Used FM to get the URL of the photo 'HRMSS_RFC_EP_READ_PHOTO_URI' ) to the form. And all these sent to ADS for made complete form.
But we are facing the probelm that Photo is not diplaying on the form. We have found that Photo URL is not worked priviously
now made the changes in OAC0 and working fine. But the photo is still not showing on the form.
Can anybody help us
Logic to call the PDF Form
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = lc_formname
IMPORTING
e_funcname = ld_fm_name.
*Function to open form processing
Set output parameters and open spool job.
ls_fp_outputparams-nodialog = lc_x.
ls_fp_outputparams-getpdf = lc_getpdf. "'M'
ls_fp_outputparams-connection = lc_connection. "'ADS'
ls_fp_outputparams-bumode = lc_bumode. "'M'.
ls_fp_outputparams-assemble = lc_x.
***Function module to open the Spool Job
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = ls_fp_outputparams
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.
Regards,
RajImage of Employee
CALL FUNCTION 'HR_IMAGE_EXISTS'
EXPORTING
p_pernr = wa_itab-pernr
IMPORTING
p_connect_info = p_connect_info
EXCEPTIONS
error_connectiontable = 1
OTHERS = 2.
IF sy-subrc = 0.
CALL FUNCTION 'SCMS_DOC_READ'
EXPORTING
stor_cat = space
crep_id = p_connect_info-archiv_id
doc_id = p_connect_info-arc_doc_id
TABLES
access_info = lt_infos
content_bin = lt_image_bin
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.
READ TABLE lt_infos INDEX 1 ASSIGNING <fs_info>.
IF sy-subrc = 0.
CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
EXPORTING
input_length = <fs_info>-comp_size
first_line = <fs_info>-first_line
last_line = <fs_info>-last_line
IMPORTING
buffer = l_employee_photo_content
TABLES
binary_tab = lt_image_bin
EXCEPTIONS
failed = 1
OTHERS = 2.
IF sy-subrc = 0.
wa_itab-pic = l_employee_photo_content.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
MODIFY itab FROM wa_itab. -
Hide the Save button in tool bar in pdf form
Hi All,
I need to hide the save button in the tool bar in pdf form out put. I need not hide the print button, hand tool and etc.
I have seen some forum threads,but i am not able to get the answer.
I have refered this links
http://help.sap.com/saphelp_nw04/helpdata/en/e1/fd9841e2ebb05fe10000000a1550b0/frameset.htm
How to hide tool bar from Adobe Form
The above link contains some scripts,The code id used for hide the hole tool bar not only save button.
I need to hide only save button in the tool bar.
How to hide the save button in the tool bar ?
Thanks and regards,
Boopathi MAdobe Designer 7.1 uses XFA 2.4
If you can upgrade to Adobe desinger 8.2 to be abel to use XFA 2.8 you can code in the following way:
Write the following code in the preSave method
if (do_not_save_condition == 1) then
xfa.event.cancelAction = 1
endif
Adobe Quote
cancelAction specifies whether to cancel a forthcoming action.
This property applies only to the following scripting events: prePrint, preSubmit, preExecute, preOpen, and preSign.
The user experience is determined by the scripting event that contains the cancelAction reference:
u2022 preOpen - The drop-down list does not expand to display the list of values.
u2022 preSubmit - Form submission does not occur.
u2022 preSign - The form is not digitally signed.
u2022 prePrint - No print dialog boxappears, and the form is not printed.
u2022 preSave The form is not saved. The user experience is that no action occurred.
Edited by: Reema Shahbazkar on Sep 10, 2008 7:54 PM
Using this, the save button will still be visible but, you can prevent the form from being saved. -
Sending PDF forms (created using SFP) as Email Attachment
Hi,
I have created bunch of ADOBE forms using SFP. They are not interactive forms. created using ADOBE Live cycle designer.
I have the Function module and by executing I can view the PDF form in print preview mode. But I have to save this in backend and attach to email.
I have a program that have to send one of the forms created in SFP as email attachment to outside SAP.
Please advice how to achieve this.
Thanks,
SanjeevHi ,
Please find below a code sample for your requirement
*& Report ZENVOI_PDF_MAIL
REPORT zenvoi_pdf_mail MESSAGE-ID ad.
TYPE-POOLS : abap .
DATA : data_for_update TYPE zdemopdf ,
hexa TYPE solix_tab.
DATA : fm_name TYPE funcname ,
param TYPE sfpoutputparams,
doc_param TYPE sfpdocparams ,
output TYPE fpformoutput .
param-nodialog = abap_true. " suppress printer dialog popup
param-getpdf = abap_true.
doc_param-langu = sy-langu.
doc_param-country = 'FR'.
doc_param-fillable = abap_true.
doc_param-dynamic = abap_true.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = 'ZDEMO_PDF'
IMPORTING
e_funcname = fm_name.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = param
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4.
CHECK sy-subrc EQ 0.
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = doc_param
data_for_update = data_for_update
IMPORTING
/1bcdwb/formoutput = output
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3.
CALL FUNCTION 'FP_JOB_CLOSE'
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = output-pdf "PDF file from function module
TABLES
binary_tab = hexa.
* Envoi du mail
** CLASS-DEFINITIONS
DATA: send_request TYPE REF TO cl_bcs.
DATA: document TYPE REF TO cl_document_bcs.
*DATA: sender TYPE REF TO cl_sapuser_bcs.
data: sender TYPE REF TO if_sender_bcs.
DATA: recipient TYPE REF TO if_recipient_bcs.
** INTERNAL TABLES
DATA: l_mailtext TYPE soli_tab.
DATA: iaddsmtp TYPE TABLE OF bapiadsmtp.
DATA: ireturn TYPE TABLE OF bapiret2.
** VARIABLES
DATA: mail_line LIKE LINE OF l_mailtext.
DATA: bapiadsmtp TYPE bapiadsmtp.
DATA: subject TYPE so_obj_des.
DATA : att_subject TYPE so_obj_des.
DATA : w_except TYPE REF TO cx_root .
CONSTANTS : c_defmail TYPE ad_smtpadr VALUE
'[email protected]' .
FIELD-SYMBOLS : <smtp> TYPE bapiadsmtp.
*Set subject of the mail
subject = 'Exemple de PDF interactif'.
* Set text of the mail
mail_line = 'Merci de remplir le formulaire et nous le retourner'.
APPEND mail_line TO l_mailtext .
att_subject = 'Template du PDF'.
TRY.
* Create persistent send request
send_request = cl_bcs=>create_persistent( ).
* Get sender object
sender = cl_sapuser_bcs=>create( sy-uname ).
* sender =
* cl_cam_address_bcs=>create_internet_address( '[email protected]' ) .
* Add sender
CALL METHOD send_request->set_sender
EXPORTING
i_sender = sender.
* Read the E-Mail address for the user
* CALL FUNCTION 'BAPI_USER_GET_DETAIL'
* EXPORTING
* username = sy-uname
* TABLES
* return = ireturn
* addsmtp = iaddsmtp.
* LOOP AT iaddsmtp ASSIGNING <smtp> WHERE std_no = 'X'.
* CLEAR bapiadsmtp.
* MOVE <smtp> TO bapiadsmtp.
* ENDLOOP.
* CASE bapiadsmtp-e_mail.
* WHEN space.
recipient =
cl_cam_address_bcs=>create_internet_address( c_defmail ).
* WHEN OTHERS.
* recipient =
* cl_cam_address_bcs=>create_internet_address( bapiadsmtp-e_mail ).
* ENDCASE.
* Add recipient with its respective attributes to send request
CALL METHOD send_request->add_recipient
EXPORTING
i_recipient = recipient
i_express = 'X'
i_copy = space
i_blind_copy = space
i_no_forward = space.
* Set that you don't need a Return Status E-mail
CALL METHOD send_request->set_status_attributes
EXPORTING
i_requested_status = 'E'
i_status_mail = 'E'.
* set send immediately flag
send_request->set_send_immediately( 'X' ).
*Build Document
document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = l_mailtext
i_subject = subject ).
* add attachment to document
CALL METHOD document->add_attachment
EXPORTING
i_attachment_type = 'PDF'
i_attachment_subject = att_subject
i_att_content_hex = hexa.
* Add document to send request
CALL METHOD send_request->set_document( document ).
* Send document
CALL METHOD send_request->send( ).
COMMIT WORK.
CATCH cx_send_req_bcs INTO w_except.
CATCH cx_address_bcs INTO w_except.
CATCH cx_document_bcs INTO w_except.
ENDTRY.
Hope this help you .
Best regards -
Change the PDF form In HAP_DOCUMENT
Hi Experts,
1)I have a requirement wherein i need to change the pdf form that is generated when we click on download button in hap_document bsp application. I need to use the custom PDF form in place of the actual PDF form. How can i acheive this?
2) In the layout, i want to replace some part of the screen with an interactive adobe form how to acieve this?
Thanks and Regards,
Madhu.This should not be handled by ABAP. If they were able to change it in the sales documents, they should be able to cancel the invoice in VF11 and create another one. That's the best practice.
-
Sending/receiving Mail by Online Interactive PDF Forms
Hai friends,
Following screnario is my first Online interactive PDF form.
1) User has to give the input like Employee Number,Employee Name,Employee Mail id in the Online PDF form.When user press submit button the detail which he has entered has to be sent to the entered Mail id.
2) According to that I can transfer the pdf file without the data which i has entered like Employee Number,Employee Name,Employee Mail id i,e with empty content.
3) But In my Pdf file should contain all the details i have entered.
4) I have created my interactive form with the following properties
Layout type: zcl layout
Interface type :XML Schema Based Interface.
I have attached my code here.
I don't know where the conflict occurs.
Could you please check it out my code.let me know the conflict.
DATA: FM_NAME TYPE RS38L_FNAM,
FP_DOCPARAMS TYPE SFPDOCPARAMS,
lt_att_content_hex type SOLIX_TAB ,
FP_OUTPUTPARAMS TYPE SFPOUTPUTPARAMS,
fp_result TYPE fpformoutput.
data:wa_empdet type zsat_emp.
data: input_node1 type ref to if_wd_context_node.
data:ip_xtr type xString.
input_node1 = wd_context->get_child_node( 'EMPDET' ).
input_node1->get_attribute( EXPORTING name = 'EMP_NO'
IMPORTING value = wa_empdet-EMP_NO ).
input_node1->get_attribute( EXPORTING name = 'EMP_NAME'
IMPORTING value = wa_empdet-EMP_NAME ).
input_node1->get_attribute( EXPORTING name = 'FEEDBACK'
IMPORTING value = wa_empdet-FEEDBACK ).
input_node1->get_attribute( EXPORTING name = 'EMAIL'
IMPORTING value = wa_empdet-EMAIL ).
Sets the output parameters and opens the spool job
*CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
IE_OUTPUTPARAMS = FP_OUTPUTPARAMS
EXCEPTIONS
CANCEL = 1
USAGE_ERROR = 2
SYSTEM_ERROR = 3
INTERNAL_ERROR = 4
OTHERS = 5.
*IF SY-SUBRC <> 0.
*ENDIF.
Language and country setting (here US as an example)
*fp_docparams-langu = 'E'.
*fp_docparams-country = 'US'.
*FP_DOCPARAMS-FILLABLE = 'X'.
DATA lo_nd_pdf TYPE REF TO if_wd_context_node.
DATA lo_el_pdf TYPE REF TO if_wd_context_element.
DATA ls_pdf TYPE wd_this->element_pdf.
DATA lv_pdfsource LIKE ls_pdf-pdfsource.
navigate from <CONTEXT> to <PDF> via lead selection
lo_nd_pdf = wd_context->get_child_node( name = wd_this->wdctx_pdf ).
get element via lead selection
lo_el_pdf = lo_nd_pdf->get_element( ).
get single attribute
lo_el_pdf->get_attribute(
EXPORTING
name = `PDFSOURCE`
IMPORTING
value = lv_pdfsource ).
call function 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = 'ZTEMPSAMPLE1'
IMPORTING
e_funcname = fm_name.
CALL FUNCTION fm_name
EXPORTING
/1BCDWB/DOCPARAMS = FP_DOCPARAMS
/1bcdwb/docxml = ip_xtr
IMPORTING
/1BCDWB/FORMOUTPUT = fp_result
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.
Close the spool job
*CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
E_RESULT =
EXCEPTIONS
USAGE_ERROR = 1
SYSTEM_ERROR = 2
INTERNAL_ERROR = 3
OTHERS = 4.
*IF SY-SUBRC <> 0.
*ENDIF.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = lv_pdfsource
APPEND_TO_TABLE = 'X'
IMPORTING
OUTPUT_LENGTH =
tables
binary_tab = lt_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 'Hi,' TO lt_message_body.
append ' ' to lt_message_body.
APPEND 'Please fill the attached form and send it back .'
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 = 'Interactive Form' ).
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 = 'Pdf Form'
I_ATTACHMENT_SIZE =
I_ATTACHMENT_LANGUAGE = SPACE
I_ATT_CONTENT_TEXT =
I_ATTACHMENT_HEADER =
i_att_content_hex = lt_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,
lo_sender = cl_cam_address_bcs=>create_internet_address( l_send ).
*DATA:
*lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL.
*lo_sender = cl_sapuser_bcs=>create( sy-uname ).
Set sender
lo_send_request->set_sender(
EXPORTING
i_sender = lo_sender ).
Create recipient
DATA:
eaddr TYPE ADR6-SMTP_ADDR.
eaddr = wa_empdet-email.
Data:
lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
lo_recipient = cl_cam_address_bcs=>create_internet_address( eaddr ).
*lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
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 'The form has been emailed to the recipient' type 'I'.
clear wa_empdet.
Regards,
Keerthi.Hi,
If i understand well you success to send the form without value , that's right ?
Now you are not able to popualte the fields inside your forms with what user set ?
Regards -
Hello all!
Does anybody know how to solve the following problem. We are new to iMac, so maybe it's very easy to do but we just do know know how and are pushing the wrong buttons
Anyway. We have a pdf-form filled out. We want to open it, modify it and then save it again. With the same name, and fully filled out. What happens is that we open the form, make some slight changes (for example correct some words which we have filled it out with) and then we press "save version", after which happens the following: the computer says something about not having double storage and asks you to press either "ok" or "cancel". By pressing "cancel" you simply stay with the form opened on your screen like it was, by pressing "ok" you do save it with the same name, only all the data in all the fields disappear. So the form is left completely empty, i.e. all your work is lost.
What should I do/click/press in order to just save the already opened pdf-form with the same name (or even with a different one) and not to lose all the filled out words in it?
Thank you all in advance for your possible help.
Olga
PS: I believe the system is iOS 10.7.4> Will Acrobat Standard save the attached form?
Yes. -
Hi all,
I'm using the code below to generate a pdf form ('ZPDF_TEST_FORM').
When the function in FM_NAME is called, it returns with SY-SUBRC eq 2 and this error message:
Adobe document services error: SOAP Runtime
Exception: CSoapExceptionFault : SOAP (100102)
Any ideas??
Thanks,
Jeroen
data: FP_OUTPUTPARAMS type SFPOUTPUTPARAMS,
FM_NAME type RS38L_FNAM,
FP_DOCPARAMS type SFPDOCPARAMS,
LV_FORMOUTPUT type FPFORMOUTPUT.
initialization.
FP_OUTPUTPARAMS-GETPDF = 'X'.
call function 'FP_JOB_OPEN'
changing
IE_OUTPUTPARAMS = FP_OUTPUTPARAMS
exceptions
CANCEL = 1
USAGE_ERROR = 2
SYSTEM_ERROR = 3
INTERNAL_ERROR = 4
others = 5.
call function 'FP_FUNCTION_MODULE_NAME'
exporting
I_NAME = 'ZPDF_TEST_FORM'
importing
E_FUNCNAME = FM_NAME.
call function FM_NAME
exporting
/1BCDWB/DOCPARAMS = FP_DOCPARAMS
importing
/1BCDWB/FORMOUTPUT = LV_FORMOUTPUT
exceptions
USAGE_ERROR = 1
SYSTEM_ERROR = 2
INTERNAL_ERROR = 3.
call function 'FP_JOB_CLOSE'
exceptions
USAGE_ERROR = 1
SYSTEM_ERROR = 2
INTERNAL_ERROR = 3
others = 4.This should be due to a user authorization error.
You should look for the ADS Configuration Guide at https://www.sdn.sap.com/irj/sdn/adobe -> Installation and Configuration and pick your scenario or http://help.sap.com/saphelp_nw70/helpdata/en/37/504b8cbc2848a494facfdc09a359b1/frameset.htm
Look specially at the chapter 5 Creating a User in the SAP NetWeaver AS ABAP for Basic Authentication -> Assigning the Security Role in Java at the ADS Conf. Guide.
If you need more information, I'll glad to assist you.
Regards,
Darwin Castillo
SAP Netweaver Consultant
Edited by: Darwin Castillo on May 17, 2009 6:27 AM -
Urgent Adobe PDF form as Attachment
Hi experts,
My need is when the user clicks on the Confirm button in Adobe form in Webdynpro ABAP, the Adobe form have to be saved as a PDF document within SAP and assigned to Material master Additional data. IS it possible to save the Interactive Adobe form as PDF within SAP?
With Kind Regards,
-RKHi,
First step is to create the DIR while using FM BAPI_DOCUMENT_CREATE2 ( don't forget to set a commit after calling it ).
Second step, call your PDF forms while setting GET_PDF to true in the output_params structure.
Here is a sample code for this second step
* retrieve Function module link to the parameter form_name
outputparams-nodialog = 'X'.
outputparams-getpdf = 'X'.
TRY.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = form_name
IMPORTING
e_funcname = fm_name.
* Open a spool before generate the forms
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4.
CHECK sy-subrc EQ 0.
docparams-langu = language.
docparams-country = country.
docparams-fillable = fillable.
docparams-dynamic = dynamic.
* Call the form
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = docparams
IMPORTING
/1bcdwb/formoutput = formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3.
* Close the spool
CALL FUNCTION 'FP_JOB_CLOSE'
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
CHECK NOT formoutput-pdf IS INITIAL.
* Convert PDF into Binary Table
binary_file =
cl_document_bcs=>xstring_to_solix( ip_xstring = formoutput-pdf ).
* Download the file
* if you are online use this code
cl_gui_frontend_services=>gui_download(
EXPORTING
filename = 'C:Tempsample.pdf'
changing
data_tab = binary_file
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
not_supported_by_gui = 22
error_no_gui = 23
others = 24 ).
* If you are in background use this
OPEN DATASET p_file FOR OUTPUT IN BINARY MODE.
IF sy-subrc EQ 0.
LOOP AT binary_file INTO w_binary.
TRANSFER w_binary TO p_file.
ENDLOOP.
CLOSE DATASET binary_file.
ELSE.
RAISE file_open_error.
ENDIF.
CATCH cx_fp_api_repository
cx_fp_api_usage
cx_fp_api_internal
cx_static_check
INTO w_exception.
RAISE EXCEPTION w_exception.
ENDTRY.
ENDMETHOD.
Third step , add the file into the DIR
lst_api_ctrl-no_update_task = 'X'.
lst_api_ctrl-save_flag = 'X'.
lst_api_ctrl-api_mode = 'X'.
lst_api_ctrl-check_level = '0'.
lst_api_ctrl-not_dequeue_all = 'X'.
lt_files-langu = language.
lt_files-active_version = 'X'.
lt_files-checked_in = 'X'.
lt_files-dappl = p_appl.
lt_files-storage_cat = p_storcat.
lt_files-filename = p_file.
IF p_doc CO '0123456789 '.
PACK p_doc TO lt_files-description.
CONDENSE lt_files-description.
ELSE.
lt_files-description = p_doc.
ENDIF.
CONCATENATE text-d01 lt_files-description INTO lt_files-description SEPARATED BY space.
APPEND lt_files.
CALL FUNCTION 'CVAPI_DOC_CHECKIN' IN BACKGROUND TASK
EXPORTING
pf_dokar = p_doctyp
pf_doknr = p_doc
pf_dokvr = p_docver
pf_doktl = p_docpar
pf_ftp_dest = 'SAPFTPA'
pf_replace = 'X'
ps_api_control = lst_api_ctrl
pf_file = p_filewithpath
* IMPORTING
* psx_message = lst_message
TABLES
pt_files_x = lt_files.
* Contrôle des anomalies
* IF lst_message-msg_type CA 'EAX'.
* RAISE doc_checkin_failure.
* ENDIF.
Hope this help you . -
Submit Pdf form to http w/ credentials (username/password)
Hi!
I developed a form in Adobe LiveCycle, it has a button which submits form with attachments to http site.
No coding involved, just configuration of the button.
Http site requires credentials (username/password). How do I pass those credentials with submission?
Can username/password be added to http header?
Or I can excecute some javascript before submission?
Thanks you!I got it working
1. WS (in .net) must be asmx service. WS method accepting attachment should have string as a parameter, which will be passed as base-64 encoded string. So to save it as a file it has to be decoded first. I used byte[] ... = Convert.FromBase64String(yourstring).
Keep in mind string <= 2GB
2. In PDF file add WS service as Data Connection (File->New Data Connection ->WSDL File-> wsdl -> etc...). PDF will generate all WS parameters and a button to call WS. Drag and drop data connection on the form OR right mouse click -> generate fields OR set <connect> element of different controls as you wish to match data connection. Let's say control generated and binded to WS input string parameter is called "base64StringDocContent" (name = "base64StringDocContent") and button that submits to WS is called "submitAttachmentBtn" (name="submitAttachmentBtn").
3. Javascript code to send attachment to WS:
//access pdf form
var formDom = event.target;
//attachment id should be unique, can be anything you like
var attachmentId = new Date().getTime() + "";
//prompt user for document and get it
var documentSelected = formDom.importDataObject(attachmentId);
if (documentSelected == true){
//user selected the document
//get stream of the document (attachment)
var inputStream = formDom.getDataObjectContents(attachmentId);
//get new stream encoded as base64
var vEncodedStream = Net.streamEncode(inputStream, "base64");
//get string from the stream
var sBase64 = util.stringFromStream(vEncodeStream);
//get conrol which is binded to WS input parameter
//my PDF form is called form1
var wsInputParam = form1.resolveNode("$..base64StringDocContent");
//get button which submits to WS
var wsSubmitBtn = form1.resolveNode("$..submitAttachmentBtn");
//assign attachment content (encoded string to input parameter)
wsInputParam.rawValue = sBase64;
//call click event of WS submit button
wsSubmitBtn.execEvent('click');
//done
//if WS returns any value it will be assigned to control binded to output value of the web service.
else{
//user clicked Cancel
4. Validation and try and catch should be added where/when needed.
Hope it saves a couple of days for somebody.
Good luck!!!
I am still curious how to work with credentials doing http submission.
If somebody has a solution please post it. -
Hi Guys,
I have an issue and I was wondering wether you can help me you with this.
I am trying to use QTP with ADTT plug-in to test a pdf form. Recording is fine.
However, when the script is played back Validation fails (after validate button is pressed). the item appears to be selected (see code snipset below). Is there any other property which needs to be set by QTP I should be aware of?
.....AcroXFAForm("EntryValue").AcroXFAListBox("xfa[0].form[0].Forms[0].MainFo").Select
.....AcroXFAListBox("xfa[0].form[0].Forms[0].MainFo").SetValue "GBR"
Many Thanks,
LeonidHi Leonid,
I've encountered exactly the same problem in our form.
Examine all the properties of the listbox from when it was recorded; an easy way I think is to go to the Object Repository, select the Test object and click the "Add Properties" button (a green +) to get a dialog of all the properties (click Cancel when done browsing). You will probably see:
value: GBR
rawvalue: GBR
displayvalue: United Kingdom
Here's my theory: I am not sure but I believe "rawvalue" is irrelevant. The QTP subroutine SetValue sets the "value" property to "GBR", and then there is some eventing on your form that does a lookup and will update the "displayvalue" to United Kingdom. The UI thread (and consequently the snapshot you show) waits for that eventing, but the next line of the QTP script doesn't (at least by default). So if the next line is a CheckPoint that looks at "displayvalue", the CheckPoint will probably fail (it's actually a race-condition, so it may pass sometimes) saying that "value" is blank (or whatever it was before SetValue). Then it takes a snapshot of the UI, which waits for the eventing thread, which shows "United Kingdom". Frustrating and beguiling.
Quick solution:
Insert a "wait(1)" to always wait a second (or make it longer) for the line after SetValue (between SetValue and your Checkpoint).
A more conservative solution:
If sometimes your form's eventing is quite complex and you might need to wait a long time, but don't want every SetValue to be followed by a long pause, then insert a command which waits for eventing on the form to finish between SetValue and the Checkpoint, eg.
PDFDoc("YourForm.pdf").WaitProperty "ready", true, 10000 ' waits for a maximum of 10 seconds
In theory, this call might not wait at all, however my experience has been that it seems to wait a minimum of 1 second and polls in increments of 1 second. So much for specifying a value in milliseconds.
Hope that helps!
- Brent
Maybe you are looking for
-
Hi, Can some one provide a resolution for below error: I have created an interface which load data from csv file which has 320 columns, to a Synonym which has 320 columns in it using LKM File to SQL, IKM Sql Control Append. I am getting below error w
-
Number of Placed Photos Missing in Book Editor
Recently my copy of Aperture stopped displaying the number badge that indicates the number of times an image has been placed in a book. The example of the indicator is shown on p. 372 of the Aperture User Manual. I have searched the Book preferences
-
Wireless G only on Vista but N works on Mac OS X side...
Uhh... Yeah. What's the deal!? I have an excellent connection and speed on my OS X side with Wireless N enabled but on Vista it is connected at 6MB/s and says it's only on Wireless G. What gives? I have a new 500GB Time Capsule router that works with
-
SPACES custom skin CSS Class reference ? which css styles do what?
I am creating a custom skin for spaces using the Extend Spaces custom project. I am not able to find which css class names are mapped to which elements of a page in spaces. Inspecting the code does not help since the css class names seem to be autoge
-
How I can receive information about focus on the JButton?
I create keyListener for Window. Then button OK has focus, method isSelected() returns false. I want know has button focus or no. How I can make it?