Interactive Form within Web Dynpro ABAP
Hi,
I've an Adobe interactive form element within Web Dynpro ABAP view. I've more than one WebDynproActiveX buttons within the Interactive form (like Submit, Cancel, Clear).
How can I differentiate the user selection within Webdynpro ? Whether the user selected Submit or Cancel or Clear ? Can we associate any function code for each button ?
Thanks
Ravikumar
Hi Ravi,
You can take a context attribute lets say "STATUS"(string) in your form context. For your buttons in the form, in click event set the value. like
STATUS.rawValue = "1"; (eg Submit)
STATUS.rawValue = "2"; (eg Cancel)
And in your submit event read this context attribute and you can use CASE like when 1 , when 2 etc and you can execute your code accordingly.
it should solve your problem.
With Regards,
Ravi.D
Similar Messages
-
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 -
Interactive form in web dynpro abap
hi experts,
i am beginner to adobe interactive form in web dynpro using abap.
my scenario:
To use interactive form ui element and place all fields of lfa1 in view.
my context look like
context:
adobe(node 1, 1:n, singleton = true)
lfa1(node2,1:n,singleton =true) with its fields.
pdf_source(attribute)
layout type : zci layout and xml interface.
my view look like:
all fileds of lfa1.
button-add.(to add to below table)
table.
button-submit to sap.
i want to place all fields in view and get values from the user online and need to display the same in an table in same view and
when the user click ok entered values should be displayed in table and after clicking submit to sap it should hit the database table.
as i am beginner dont know how to do.pls i need ur help in finishing it.thanks in advance.
cheers,
vinoth.hi all,
expecting reply from u all. pls help me and give some sugesstion.
regards,
vinoth. -
F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
Hello,
I have created an Interactive Form with ZCI type.
I placed a text field MATNR on the form.
Then I placed a Native WD UI element 'Value Help' as mentioned in the below link: http://help.sap.com/saphelp_nw70/helpdata/EN/42/fb2fe500553ee4e10000000a1553f7/frameset.htm
This form was then embeded into Web Dynpro ABAP view.
The problem is that when I click on the F4 button, nothing happens.
Is anything else needs to be done?
Thanks
SagarHi Amol,
After binding the Context variable in the view, and in the Adobe Layout Designer from the Library go to WebDynpro Native Tab and drag and drop the Value Help and for this automatically JavaScript is being generated, go that script and edit the line
Var fieldname = "yourfieldname";
Note: Don't forget to link the context attribute to search help. ie. in the context properties of the attributes select the input help mode as dictionary search help and specify the name of the search help present in data dictionary.
And now go to Utilities and click on u201CInsert Web Dynpro Scriptu201D.
Also make sure that you specify the Layout as ZCI Layout in the Propertioes of the Adobe Form.
Ragards,
Amol Patil. -
Adobe Reader error with SAP interactive form in Web dynpro ABAP
Hi,
We are having a strange intermittent problem with Adobe Reader. When we try to open PDF files from SAP Frontend we get an error pop-up. The pop-up does not have any text. The title of the pop-up has "Adobe Reader". There is a blue question mark and an OK button. The form is inserted into Web Dynpro ABAP page. This web dynpro application is executed in SAP GUI by this program:
REPORT TEST1 MESSAGE-ID SWDP_RUNTIME.
start-of-selection.
CALL FUNCTION 'WDY_EXECUTE_IN_PLACE'
EXPORTING
PROTOCOL = 'HTTPS' " HTTP | HTTPS
INTERNALMODE = 'X' "SPACE - browser is started
PARAMETERS =
APPLICATION = 'Z_FORM'
CONTAINER_NAME = 'TEST'
EXCEPTIONS
INVALID_APPLICATION = 1
BROWSER_NOT_STARTED = 2
OTHERS = 3.
IF sy-subrc EQ 1.
MESSAGE a400.
ELSEIF sy-subrc = 2.
MESSAGE a401.
ELSEIF sy-subrc = 3.
MESSAGE a667.
ENDIF.
Adobe Reader version is 9.1.2
Is there any solution for this?
Many thanks for answer.Jiri,
The reason why I thought downgrading would help is because Reader 9 and above is probably not fully supported by SAP yet.
You can maybe open an OSS and see if Adobe 9 is fully supported or not.
Chintan -
ADOBE INTERACTIVE FORMS in Web dynpro ABAP
Hi
Iam new to this Web dynpro ABAP.I can able to import the pdf file in the Web dynpro ABAP.While i was taking the values in the "Data View"....Iam getting
"Adobe live cycle designer" has encountered a problem.we are sorry for the inconvinience..."
Please help me where i went wrong.
Regards
SushmaHi,
i am getting warnings in the pdf.
"Field f1 may not work properly.Using Normal Data Binding when the default data connection is defined and produces undefined data results.
can you give more details...so that i shall try to help you.
any how one more advise we have sepate forums for adobe forms try in this too.
[Web Dynpro ABAP;
Regards,
Mahesh.Gattu -
Adobe Interactive Form in Web Dynpro ABAP
Hi all.
I want to create an web dynpro application in ABAP using an Adobe Interactive Form. Can anybody share the document regarding this or any articles.
Thanks & Regards
Sagar IngalwarHi,
it is so simple..
1) Create AdobeInteractiveForm UI element in your screen.
2) Create pdf_source for pdf source attribute to bind it should be byte data.
3) Create node for data Source. (The data which you want to place on the pdf form)
4) right click on interactive form UI element & edit
5) PDF editor will be open.
6) drag the required data fields from data source to the form.
7) place submit button on the form.
Finally there are two kinds of interactive modes
1) native mode (it runs on firefox browser)
2) active X mode (it runs on Internet Explorer 6)
Please use appropriate submit button on the form (i.e. native/ActiveX submit button)
Best Regards
Ravi -
Interactive form and web dynpro abap
Hi All,
I'm working on a web dynpro application that embeds an interactive forms.
When I sent the property "enabled" of the interactive form to false , the form is displayd.
When I sent the property "enabled" of the interactive form to true, the application dumps :
"WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.pdf on the application server "
Do you know where this comes from?
Thanks,
ArchanaIt looks like the ADS (adobe document services) is not (properly) installed.
There are some test reports to check this:
FP_PDF_TEST_00
(FP_PDF_TEST*)
Edited by: Micky Oestreich on May 29, 2009 2:58 PM -
Dropdown help on Interactive form in Web Dynpro ABAP.
Hi all,
we are creating an SAP Interactive forms for the Material Master Creation.
We want the value help to be displayed in dropdown boxes for various mandatory fields to be filled up by the user.
Please suggest how to do that??
These helps are there when we create a material master through Transaction mm01.Hi Sasidhar,
Could you please clarify.
I had taken a value node in the Context of the view for the field for which i have to display the value help.
I have also bound this value node to the dropdown list on the form by specifying it in the binding tab. Still i am not getting the help.
Do we have to write some code for that in the method tab of the view?? -
Interactive forms in web Dynpro 4 ABAP
Hi,
where can i get the step by step procedure to use INTERACTIVE form in Web Dynpro4 ABAP
Thanks
SAIHi,
see http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/frameset.htm
and also have a look at the e-learning tutorials by Thomas Jung in SDN.
Regards, Heidi -
Calling adobe form from Web Dynpro ABAP
Hi Friends,
This is the following error, which i got when i tested my application. Calling adobe form from Web Dynpro ABAP.
WebDynpro Exception: ADS: Request start time: Tue Nov 16 14:00:22 YEKT
2010(200,101).
Can some one tell me how to solve this....
Regards
SankarHi,
Please refer to this same link in forum
WebDynpro Exception: ADS: Request start time, start Interactive Form
WebDynpro Exception: ADS: Request start time
Thanks
Pradeep -
Adobe Interactive Forms without Web Dynpro and ACF???
Hi All, we would like to build an interactive forms solution based on the Adobe software integrated into WAS. However, the customer requires a true thin client application with no additional installation on the client. Integrating Adobe Interactive Forms into Web DynPro however requires the Active Component Framework (ACF) to be installed since these forms are integrated into the page within an ActiveX container.
So the question is whether there is a way to use Adobe Interactive forms including the Adobe Documents Service within WAS but without(!) using Web Dynpro?(the full blown Adobe LifCycle Forms solution is not an option). Any suggestions on this are highly appreciated!
Tanks!
FrodoHello everyone,
I would like to add a couple of points from the SAP Product Management perspective.
Adobe has a number of stand-alone products that are the foundation for what SAP can now offer thanks to our partnership. This is exactly why we decided on a partnership that provides us with established technology, which is now integrated.
It is true that Web Dynpro is the main SAP way of integrating the interactive functions of the solution. We made this decision consciously, because the development and run-time environments provide very useful features that reduce the need for manual coding, such as the possibility of passing the data back to the backend using the Web Dynpro context. The automatism we offer here needs to be implemented from scratch with any other solution, including the Adobe stand-alone one.
While it is true that the ACF constitutes a certain limitation for the reasons you mention, Adobe will remedy this in 2005. The Reader/Web Dynpro integration will be available later this year for multiple platforms (OS, browsers) and will not require ACF anymore.
If you do not want to use a full-blown Web Dynpro application for your concrete scenario, consider developing an application that provides nothing but the interactive PDF form to the end user, to be filled in using the stand-alone Reader. The submit of the form data (with or without the PDF itself) could then happen via HTTP or e-mail.
Kind regards,
Markus Meisl
SAP NetWeaver Product Management -
Adobe interactive forms in web Dynpro java
Hi Everyone,
I am new to webDynpro development and as I am working on Interactive forms, I need pdf's and related materials for the same.
I mean pdf's for how to create Adobe interactive forms in web Dynpro java.
Thanks in advance.Go Through the following document.
It will give you good overview.
Interactive Forms-->Functionality
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-ffd41e8e8d59
Cheers
Satya -
Problem when generating an non-interactive form in Web Dynpro java.
Hi,
I'm trying to create a PDFDocument using a creation context in java. Everything works fine when the Interactive property of the creation context is set to true. When I change it to false however, the Web dynpro application hangs and eventually throws the following exception:
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:806)
I'm wondering why this exception occurs when i'm generating a non interactive form and never appears when i'm generating a form with the Interactive property set to true.
Any ideas?
Edited by: Arjan Nieuwenhuizen on Feb 25, 2008 3:24 PMYeah I know changing the form properties will solve my problem, but since i'm developing a training for Interactive Forms in Web Dynpro Java, I wanted to figure out why the (static / non-interactive) combination didn't work, turned out to be a template problem, which i still didn't figure out, except the fact that having flowed content on your template is not the problem.
My ideas about your question:
When we have the layout of an Interactive Form, its clear if it's meant to be static or dynamic, we don't know however, if it's interactive or non-interactive.
I don't think we can judge a layout to have an Interactive or non-interactive purpose, can depend on the situation in which the same form is shown/used:
- One moment it can be interactive, e.g. user is filling in the form, can enter data etc.
- Next moment it can be non-interactive, e.g. form is shown to another user.
So it's more the scenario/situation that determines if the form is interactive or non-interactive. -
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
Maybe you are looking for
-
How do I use a movie rental credit in iTunes?
I received, along with thousands of others, a rental credit from The Avengers because of the double foreign translations which appeared at the bottom of the screen. My question is : how can I apply the refund?
-
PowerBook randomly shut off, no longer boots - URGENT
I have a PowerBook G4 15" 1.33GHz that up until now ran flawlessly. Today I was watching a movie on it with some friends when it randomly shutdown. Since then, it no longer turns on. The battery is fully charged and there is no problem with my AC ada
-
Accual report for account assigned PO's
Hi Pl. let me know if there is any month end accrual report for account assinged PO's. or any PO's accrual report indicating total ordered value vs line wise invoiced value , should be able to download. account assignement cat.- K thanks Prasanna
-
Two clicks for getting focus in h:inputtext ?
Hello. I have a JSF page whose three first components are *<h:inputText ...* When I press Tab for get focus on the next inputText, the cursor pass to the next field and disappear. I need click mouse on the field for getting focus again. Why? Thank yo
-
Create Crystal Report Dynamically using XML based design metadata
Hi, I have a CR Report Development environment. Please refer to workflow and requirement description below; I have a Java application(Report Customization Tool), which allows users to dynamically select structure and content for a report. The process