Submit button from Interactive adobe form in Web Dynpro ABAP
Hi all,
We seem to be having a problem with the 'submit' button on the Interactive Form for the Web Dynpro ABAP. The submit button is from the Web Dynpro active X or web Dynpro Native in the form designer. The submit button doesn't trigger the action in Web Dynpro. we are currently running on support pack 9 for the ABAP stack. We have Internet Explorer browser version 6. Could someone tell me if there are requirements for the IE version that will work in conjunction with a particular ABAP stack version. And, are there specific IE security settings or administrative privilages required with this version of the ABAP stack. Or, any other ideas as to why this does not seem to work.
Thanks in advance,
Michelle Hong
Hi Michelle,
Could you tell me how you resolved the problem - as I'm facing exactly the same issue!
Many Thanks
Christine
Similar Messages
-
Value Help in Interactive Adobe Form in Web Dynpro
I have to provide a value help for certain Fields in Interactive Adobe Form using Web Dynpro ABAP. I have managed to get the Value Help Popup for the fields using Java Script in Adobe, but the problem is that whenever I select the Value from the Value Help, the selected value in not getting populated in the field....
Please let me know the solution in case any one of you come across such kind of requirement.Priyanka:
Can you let me know the steps on how to provide value help in interactive forms?
Thanks
Vijai -
Submit button within Interactive adobe form
Hi,
We have developed an Interactive adobe form and inserted a submit button within it We have installed ACI also.We tried putting the submit button both within the adobe form body and also within the webdynpro java view. In both the cases pressing the submit button does not result in any action. Please advise on what we are missing. We checked the forums for similar issues and found out that we are abiding by most of it.
thanks
anantharamHi Anantharam,
Please create and action in your view and attach it to your Interactive form UI element's onSubmit event. By doing this, whenecver you press the Submit button in the form, this action will be invoked. You can place any methots/code that you want to execute on click of submit button.
If you are using the button outside the form, then you try printing one of the values that you filled in the form which is binded to context. This way you can test.
If you are using WDP activex UI element s in the form then you need to have ACF installed on the machine and also ensure that the displayMode property of Interactive form is set to ActiveX.
Hope this helps!!
Regards,
Arafat -
Data node mapped to Adobe Form empty - Web Dynpro ABAP
Hi,
I've created a web dynpro component in ABAP. One of the view contains an interactive Adobe form.
Form properties : Data source and pdf source are mapped
Enabled checked
Submit action mapped to a method. This method reads the node mapped to the form.
Form Layout: Used ZCI Layout and Inserted web dynpro script (XML interface)
Dragged attributes from data view to create text fields.
Submit button used from Web dynpro native group
I could not read data from the form.
When I submit the form, data is not captured in the context.
I have used the same context for view and could save the data from the view. But from the adobe form, I cannot read the data.
Is there anything I missed. I have been on this since 2 days with no solution. I dont see any mistake but the form doesnt work.
Version: Adobe Designer : 8.1 (from market place)
SAP Netweaver 2004s SP18
Any help on this is appreciated.
P.S. Used all possible help from SDN existing posts and SAP notes.
Thanks in advance,
SrinivasHi Srinivas,
place a button on webdynpro view it self then try.
make sure your form is working in interactive mode.
else keep this conde in modifyview method.
method WDDOMODIFYVIEW.
data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
check first_time = abap_true.
LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT(u2018<<ID_OF_YOUR_UIELEMENT>>u2019).
LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
endmethod.
or try these links
For More Information look at the link below.
http://help.sap.com/saphelp_nw70/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/frameset.htm
Please look into SAP Notes: 1229392
You can also look at the elearning below:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3
Regards,
Mahesh -
Problem with Table display in Adobe Form of Web Dynpro ABAP
Hi Team,
I'm trying to display a table in Adobe Print Form (not interactive). The table is bound to the context node in the Web Dynpro ABAP where the cardinality is 0:N. I get a short dump. Don't know what to do here. I'm able to display individual fields from my context successfully. Looks like something is missing when I try to display a table. Any pointers to display a data table in Adobe? Any step by step example you know of where I can find out what I did wrong? Many thanks for your time
We are on support pack SP06 on 2004S release.
DUMP INFORMATION:
Short text
Access via 'NULL' object reference not possible.
What happened?
Error in the ABAP Application Program The current ABAP program "CL_WD_ADOBE_SERVICES==========CP" had to be terminated because it has come across a statement that unfortunately cannot be executed.
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "CREATE_PDF" "(METHOD)", nor was it propagated by a RAISING clause.Hi Thomas,
We upgraded our system(2004S) to SP10 so that we can use the ADOBE form printing in Web Dynpro ABAP but could not apply note 1034425 because of the validity constraints in SNOTE. All the pre-requisite notes are already in the system apart from one note 1029721 which talks about supporting input helps. We don't want to use input helps in our system and cannot upgrade to SP11 because of problems with Business functionality.
Questions:
1) Is note 1034425 absolutely dependent on 1029721?
2) If NOT, can someone please correct the validity so that we can implement using SNOTE.
3) Would it be OK if we manually apply the changes specified in 1034425 without implementing 1029721?
4) If all of the above is not applicable, is there any other note which fixes the above mentioned short dump.
Your help in this matter will greatly help us in using the ADOBE services provided by SAP WDA.
Thanks much -
Issue While printing / Previewing a Adobe form in Web Dynpro ABAP application
Dear All,
We have designed 4 different adobe forms using SFP transaction for 4 different countries in SAP system.
Every country have different terms and conditions and therefore we have placed static texts (Hardcoded text) with text in different styles. Some text is in bold, some in different font (Bold, Italic). Font and Paragraph settings of the text was done as per expected. All the forms have same font and paragraph settings.
When we Launch Web Dynpro ABAP application to open the form in Print preview or to take print, form is not getting displayed / printed as it is designed in SFP. But if you open the form in SFP, everything looks fine.
It is working fine for 3 different forms but problem with only 1 form.
Kindly guide what is the reason for this strange issue when previewed or taken print. It is very urgent.
Thanks,
Bharath.KDear All,
Thanks for your responses.
We had identified the reason.
Customer has provided terms and conditions for all 4 countries in PDF document. Along with PDF, for 3 out of 4 countries customer has shared pre-prepared word document with pre aligned and justified terms and conditions as per expected outcome. We copied this text from word to Adobe form layout. It worked fine. For 1 country, customer have not shared terms and conditions in word document. Therefore we had copied text directly from adobe PDF document in to Form layout. Then this issue happened.
Solution for this issue is to, prepared a word document with expected alignment and justification of terms and conditions text . Then copied from word to adobe livecycle designer form layout. It worked fine.
Thanks,
Bharath. -
Submit button in interactive adobe form in abap web dynpro
Hi can anyone help me out to know hoe to use the submit button in adobe interactive form in abap web dynpro .
Iam creating a adobe form abap web dynpro . There i need to use the submit button to trigger some action in the adobe interactive form .
So i need to know how to use the submit button and coding for that in the abap web dynpro .
VighneshHi Michelle,
Could you tell me how you resolved the problem - as I'm facing exactly the same issue!
Many Thanks
Christine -
Drop Downs in adobe forms using Web dynpro ABAP
Hi all,
Im new to this adobe forms using webdynpro abap.
In my requirement i have two drop downs on the form.
by selecting value in one drop down i have to fill corresponding values in the other drop down.
Using only WDA i know how to do this but with adobe i dnt know how and where i have
to catch the drop down value and write my code. please let me know how i can achieve this.
one more thing whatever action or events we are performing on the form where we have to place our code for this?
Thanks,
santoshhope this helps -
[Thread: Populating one Drop-Down list from the selection of another Drop-down list |Populating one Drop-Down list from the selection of another Drop-down list; -
Search Help on Adobe Interactive Form with Web Dynpro ABAP
Hi All,
I have created Adobe Interactive Form with ZCI type and XML based interface type using Webdynpro ABAP.
I placed a text field USER_NAME on the form ( data element is linked to search help USER_COMP ).
Added Native WD UI element 'Value Help' to form to search for users and changed script
*var fieldName = "INSERT_NAME_HERE*"; to var fieldName = "USER_NAME";
The problem is that when I click on the value help button, nothing happens.
Is any more additional steps required ?
Thanks
KaruHello
Check this
F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
Thanks
Anirudh -
Making selective fields editable in adobe form [using web dynpro]
Hi,
I have displayed an adobe form using web dynpro application. But I have to make certain fields (not all fields) on this adobe form editable. I dont want to make this adobe form interactive because I dont have to save any data in database. The data entered in the editable fields will be saved as a pdf.
What I did so far:
1) The fields which I want as editable, I have given there type as "User entered/ optional" & for rest of the fields I have given type as "Read only".
2) In web dynpro, I have enabled the adobe
3) This is not making the fields editable.
4) If I write the following code in my webdynpro method WDDOMODIFYVIEW, then my data coming from adobe is not getting displayed even though the fields get selectively editable.
*data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
*LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
*check first_time = abap_true.
*LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT('adobe').
*LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
*LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
Any inputs regarding this??
Thanks & Regards.Hi,
Like I had mentioned using the following code in my webdynpro method WDDOMODIFYVIEW, my data coming from adobe form was not getting displayed even though the fields get selectively editable.
*data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
*LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
*check first_time = abap_true.
*LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT('adobe').
*LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
*LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
So I kept this code & I also kept the Interface type "ABAP Dictionary based".
Additionally in Webdynpro, I used adobe form generated FM to get the adobe content & passed it to the "content" parameter of my adobe component in webdynpro.
Thanks & Regards. -
Smart forms in web dynpro abap
how to use smart forms in web dynpro abap ????
what are the steps??Hi Ankit,
1.create a node(Eg:PDF) with attribute(SOURCE type xstring )
2.use Interactiveform UI element in the view
3.Bind the pdfSource property of the UI to the attribute SOURCE
4.in method write logic for call the smart form
Pass the output of the smartform function call to
function module CONVERT_OTF to convert it to PDF data.
method displaypdf .
data : l_x(1) value 'X'.
data: lv_text type char3,
lv_syucomm type char1,
ls_pdf type xstring,
lv_fm_name type rs38l_fnam,
lv_control_parameters type ssfctrlop,
lv_output_options type ssfcompop,
lv_ssf_output type ssfcrescl,
lt_otfdata type table of itcoo.
data:
node_input1 type ref to if_wd_context_node,
elem_input1 type ref to
if_wd_context_element,
stru_input1 type
ig_componentcontroller=>element_zinput.
* navigate from <CONTEXT> to <INPUT1> via lead selection
node_input1 = wd_context->get_child_node( name
ig_componentcontroller=>wdctx_zinput ).
* get element via lead selection
elem_input1 = node_input1->get_element( ).
* get all declared attributes
elem_input1->get_static_attributes(
importing
static_attributes = stru_input1 ).
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZSMARTFORM_NAME'
importing
fm_name = lv_fm_name
exceptions
no_form = 1
no_function_module = 2
others = 3
if sy-subrc <> 0.
* Error MESSAGE
endif.
* Set relevant control parameters
lv_control_parameters-getotf = l_x. "OTF output
lv_control_parameters-no_dialog = l_x. "No print dialog
lv_control_parameters-preview = space. "No preview
* Set relevant output options
lv_output_options-tdnewid = l_x. "Print parameters,
lv_output_options-tddelete = space. "Print parameters,
call function lv_fm_name
exporting
* ARCHIVE_INDEX * ARCHIVE_INDEX_TAB *
ARCHIVE_PARAMETERS control_parameters = lv_control_parameters
* MAIL_APPL_OBJ * MAIL_RECIPIENT * MAIL_SENDER
output_options = lv_output_options
user_settings = space
pernr = stru_input1-zpernr
reinr = stru_input1-zreinr
pdvrs = stru_input1-zpdvrs
importing
* DOCUMENT_OUTPUT_INFO job_output_info = lv_ssf_output
* 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.
refresh lt_otfdata.
lt_otfdata[] = lv_ssf_output-otfdata[].
call function 'SSFCOMP_PDF_PREVIEW'
exporting
i_otf = lt_otfdata
exceptions
convert_otf_to_pdf_error = 1
cntl_error = 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.
data: l_dummy type standard table of tline,
pdf_data type xstring,
pdf_size type i.
clear: pdf_data, pdf_size.
* convert otf to pdf
call function 'CONVERT_OTF'
exporting
format = 'PDF'
importing
bin_filesize = pdf_size
bin_file = pdf_data
tables
otf = lt_otfdata[]
lines = l_dummy
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.
data:
node_pdf type ref to if_wd_context_node,
elem_pdf type ref to
if_wd_context_element,
stru_pdf type
if_componentcontroller=>element_pdf ,
item_source like stru_pdf-source.
* navigate from <CONTEXT> to <PDF> via lead selection
node_pdf = wd_context->get_child_node( name if_componentcontroller=>wdctx_pdf ).
* get element via lead selection
elem_pdf = node_pdf->get_element( ).
* set single attribute
elem_pdf->set_attribute(
exporting
name = `SOURCE`
value = pdf_data ).
endmethod.
Thanks
Chinnaiya P -
How to View Smartforms or SAP Script Forms in Web Dynpro ABAP
Do anyone have idea of how to View Smartforms or SAP Script Forms in Web Dynpro ABAP?
Please let me know. ThanksHi Sameeksha,
You can display an smartform in WDA as an pdf file. Try go through this [article |https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785]where Nanda does explain about the same.
Regards,
Uday -
Handling Submit Button on the ADOBE form called from Web Dynpro
Hi,
I have placed a Button on the ADOBE Form. How to Handle the event on this button. When i click this button, i want to save the details of the form into a Custom table.Hi Majunath.
Create an event say, SUB_EVTin the view in WD where you have the Interactive Form UI element.
Bind this event to the onSubmit of the Form.
Now check the display type of the form. It will be either ActiveX or Native.
Now go to the form designer and open Library palette. Navigate to Webdynpro ActiveX or Native Library(Depending on the form display Type in WD).
Drag and Drop Submit button.
On click of the button, the event handler in WD view namely, onActionsub_evt will be invoked. You can write your code in this handler.
Now in order to read data from the form. Go to the form and go to Properties tab. Check the form layout type. If it is not ZCI, run transaction SFP_ZCI_UPDATE and convert the form to ZCI type.
Now back to the event handler.
as an example... I will use the following context node definitions
PDF_DATA 1..1
ACTUAL_DATA 0..n
ATTRIB01
ATTRIB02
Assume the the node PDF_DATA is bound to the data source of your form.
Now in the event handler write the foll code
data: lo_node type ref to if_wd_context_node,
lt_data type wd_this->elements_actual_data.
lo_node = wd_context->get_child_node( name = wd_this-.wdctx_pdf_data ).
lo_node = lo_node->get_child_node( name = wd_this-.wdctx_actual_data ).
lo_node->get_static_attributes_table(
importing
table = lt_data ).
This will get all the form data in the internal table lt_data.
Now you can process the data the way you want and save it in your custom tables.
Regards,
Reema .
Edited by: Reema Shahbazkar on Sep 16, 2008 11:39 PM
Hope this helps!! -
Adobe form in Web Dynpro Submit Button Problem
Hi all,
I've created an Adobe form as a UI element in Web Dynpro as a development component. In this Adobe form, I've included a "Submit to SAP" button from the Web Dynpro Library.
My whole purpose is to expose this DC as a callable object into Guided Procedures and then run this process, so that the Adobe form(embedded in Web Dynpro) can be seen and allows the user to enter information online into the form or download(maintain offline) and click on the submit button. After clicking of the button, I need the control to return to the GP framework to trigger to the next action. I have configured the button in the Adobe form as a submit format -> XML data and with submit to URL "%com.sap.caf.gp.if.PostProcessorUrl%". I did this because I want it to return the control to GP framework. However, there is also another option of the event submit button in the Web Dynpro UI Adobe element -> event-> onSubmit.... i created an action onsubmit which has the code wdThis.wdGetBformController().complete();
When I run the GP process, the adobe form appears and when i click submit button, nothing happens... Does anybody know the solution?? Thanks!Hello,
Can somebody tell me if i really need to put this code
"%com.sap.caf.gp.if.PostProcessorUrl%"
in the submit button. If so, do i need to configure somewhere what the PostProcessorUrl is? If so, can somebody tell me where i need to do this?
Thx in advance.
Kind regards,
Maarten. -
Login details when Webservice is called from Interactive Adobe form
Hello Experts,
Can you please suggest me the procedure to overcome the below issue.
I am calling the Webservice from my interactive adobe form.
When ever i click on the Submit button on my form, it is triggering the webservice but asking for the login details for authentication in the popup.
In the real time scenario i will not be having any user id and passwords. So, I don't want this popup.
What do i need to follow to get this done.
Regards,
RamTurn off security on your web service.
Paul
Maybe you are looking for
-
I have two apple IDs, one I created years ago for itunes and another I just created for my new iPhone 4S. Is there a way to merge the two accounts into one?
-
On m'a vole mon Mac book pro, comment- il possible de le traçer ou le retrouver?
-
Quick Preview/PDF question......
...Hi All am baffled - i have successfully opened a PDF file/form to fill out. is it not possible to write to a PDF file in preview? Preview shows a text tool and the pdf should be able to be written to - I have full read/write /permissions, but no g
-
My wife recently turned her iTouch on, to find this connect to iTunes screen. When we connect it to iTunes, we get this pop up. The problem is, the iPod will not allow us to do anything but shut it off and it remains on the connect to iTunes screen?
-
FI Report modification in report painter
Hi, We have few reports created through reports painter. Now neeed to modify one of the report group to add in another account number for the P& L report. Pl advice on the steps. rgds neha