How to create interactive forms in ABAP WebDynpro
Hi Experts,
we are trying to create our first interactive form with the "how to guide for ABAP WebDynpros".
Unfortunatelly we have a big problem on Step 17, where we want to save the created WebDynpro Application. After safing the system shows a pop up with following error message:
"you are not authorized to use function - Netzwerkadministration". Although we have all the necessary access rights in the system (ERP/Developer User).
But if we go on and create a service call (it's a guided procedure) for an existing BAPI, we can't select the function module interface parameters that we want to add to the context via checkboxes. There are no checkboxes available. but the how-to-guides shows checkboxes.
is maybe the first error the reason that we can't select the function modules? Please help. If you need the how-to-guide, please give me your eMail and I will provide it to you immediately.
Thank you very much in advance and regards,
H.-J. Kersten
Hello
I got the same problem when i try to create WD ABAP application.
Did you find the solution?
Regards
Nir
Similar Messages
-
How to create interactive forms using Webdynpro for ABAP
Hi All,
I have worked on Webdynpro for ABAP, and now I want to start creating adobe interactive forms using Webdynpro for ABAP. Please provide me with basic examples to start.
Also Please provide me introduction as how interactive forms are related to ISR senarios.
Thanks in Advance.
PhaniHi Varun!,
Can you please send me also the above said step by step tutorial on [email protected]
and can you please also guide me any configurations to be done on Sneak Preview SP12 before developing the interactive forms.
Thank you in advance.
regards
Ravi -
Possible to run Adobe Interactive Forms in ABAP Webdynpro?
Hi,
Thanks all...
I was request to install Adobe Interactive Forms (Adobe Document Server) and integrate with Web Dynpro web application.
Would ABAP webdynpro could be fully integrated with Adobe Interactive Forms (Adobe Document Server)???
How could i proceed with this?
Anyone can send me guidance regarding this??
Appreciate yours assisting.
THANKS!!!
BR
TerryI required to load JAVA engine in my sys in order to run ADS (Adode document Server) follow the attached procedure?
to do a java add-in.
-Run sapinst
-use option Java Add-in for ABAP in Additional Software Life-Cycle Tasks.
Please correct me if i was wrong.
THousand thanks,
BR,
Terry -
How to read interactive form data into webdynpro
Hai ,
In my web dynpro Application , I have created a ul element interactive form and interted the form in to that element in that interactive form I have a submit button once the button has been clicked the data need to be passed to the webdynpro .Please guide me how to achive this .
Regards
K.Vinay KumarHi Vinay,
When u use this UiElement. there is a action called Submit (you will get it automatically).
and Submit is a special button in interactive form. So when you click submit button the submit action in
the Web DynPro triggers.
You can than get the context value in Web DynPRo.
Hope this will help you.
Thanks & Regards,
Arvind -
Zci type ADOBE Interactive Form in ABAP Webdynpro short dump
Adobe Reader version 8.1.2
Life Cycle Designer version 7.1.4270.1.421766
ECC 6.0 patch 13
When I ran the 'FP_PDF_TEST_00' , it shows
Version Information: 710.20061024154505.342190
In my ABAP Webdynpro app., it has 3 inputfields.
In the Form layout, I changed the form layout type to 'ZCI' for interactive form, and Insert the WebDynpro Script.
And in the ABAP Webdynpro view layput designer, I enabled the pdf form element.
All objects compiled without any problem.
During the runtime, it got the following short dump:
21 METHOD CX_WD_GENERAL=================CP CX_WD_GENERAL=================CM003 5
CX_WD_GENERAL=>RAISE
20 METHOD CL_WD_ADOBE_SERVICES==========CP CL_WD_ADOBE_SERVICES==========CM008 193
CL_WD_ADOBE_SERVICES=>CREATE_PDF
19 METHOD /1WDA/LADOBE==================CP /1WDA/LADOBE==================CCIMP 1955
CL_INTERACTIVE_FORM_ZCI=>IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT
Our BASIS sent me the ADS trace:
SAP Interactive Forms by Adobe
Render Error Report
'pdf' Log Entries
restoreState is not a valid attribute of subform, Attribute not loaded. Line 5.
Invalid node type: dataGroup
The fault occurred on line 0.
The SOM expression '$record.BAPIBNAME' for the dataRef specified on field 'BAPIBNAME', resolved to an incompatible node type of 'dataGroup'.
Any comment or advise?Hi,
As far as i know when you use Adobe forms in a WD4A application, language is your "web" connection language.
You can have a look at standard class CL_WD_ADOBE_SERVICE, it's used when generating an adobe forms from WD4A. , more particulary look at method DETERMINE_DOCPARAMS.
regards -
How to create an iview for ABAP Webdynpro Application in Portal?
HI,
I am Webdynpro Java webdynpro developer.
I want to create an IVIEW for an ABAP Webdynpro application in the enterprise portal.The process is almost exactly the same as creating a Web Dynpro Java iView. You simply chose the ABAP instead of the Java radio button when you reach that step in the Web Dynpro iView creation process. There is a video on the topic here:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/eae111e7-0b01-0010-6cb7-e0dd2bfbfa7a
You can also read about the process in the online help:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/1d/e4a34273f60b31e10000000a1550b0/frameset.htm -
Multi language support for Adobe interactive form in ABAP WD
Hi ,
I translated the adobe form in multi language in SE63, If i execute the form with passing LANGU(language) parameter, form supports for multi language.
I created XML schema based interface and if a execute interactive form in ABAP Webdynpro, i am unable to pass launguage(LANGU) parameter. because InteractiveForm element property does not have language key parameter.
Apart from creating different language dependent forms, is there any alternate way we can pass the LANGU key parameter to Interactive Adobe form???Hi,
As far as i know when you use Adobe forms in a WD4A application, language is your "web" connection language.
You can have a look at standard class CL_WD_ADOBE_SERVICE, it's used when generating an adobe forms from WD4A. , more particulary look at method DETERMINE_DOCPARAMS.
regards -
Interactive Form with ABAP DDIC Interface
Hi,
I'm new on adobe interactive forms and I have some problems. I have a form with a abap dictionary based interface.
When I test my web dynpro application with the interactive form, it is not interactive. :-P
And yes the property "enabled" of the UI-Element is marked.
First I watched an e-Learning an build a web dynpro application with a from which has a interface based on xml.
I generated the inteface of the form from my context. It works fine.
But with a interface based on xml I dont't know how I can get a table on my PDF in the Adobe Lifecycle Designer.
So I searched snd n the forum and found a tutorial (InteractiveForm_and_Dynamic_Tables). Like in this tutorial I created a interface based on ABAP Dictionary and a form with a table. Then I choose this form on my UI-Element as templateSource and generate the context from the interface. But as i mentioned above, now the PDF isn't interactive.
Any idea?
Thx Florian
PS: when someone can tell/help me in german it would be much easier for me to understand...You can create Interactive form with ABAP dictionay based interface. You need to add following code in method "WDDOMODIFYVIEW" of your view.
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( 'TEST' ).
LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( ABAP_TRUE ).
Refer:: http://help.sap.com/saphelp_nw70/helpdata/en/42/c247dc6227311ce10000000a1553f7/content.htm -
Can we create Interactive forms only with ABAP & without using GP, or Java
Hi,
I would like to know if we can create Interactive forms only with ABAP & without using GP or Java. We want to develop an offline solution using Interactive forms, but would like to use only ABAP for creating the forms. All the documents so far either refer to creating the forms, in reference to / in sync with: ISR (Service Requests), GP (General Procedures) or Java. Can this be done with ABAP alone?
Regards,
Ramesh
Edited by: Ramesh Nallabelli on Apr 16, 2008 12:02 AMHello Ramesh,
You should be able to create Adobe Interactive Forms using only the ABAP stack (without GP, Java, etc). Please refer to the thread below. Hope it helps.
Re: help for-offline interactive forms based on sending receiving mails in ABAP
Regards,
Rao -
Error occured while showing adobe form in abap webdynpro application
Dear SAP-Masters ,
This is the mail regarding the error occured while showing adobe form in abap webdynpro application .
When i run the adobe form seperately it works fine but with abap web dynpro , i'll get following error .
Pls tell me how to resolve this problem .
The following error text was processed in the system D35 : WebDynpro Exception:
The error occurred on the application server DV35_D35_00 and in the work process 2 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: UPDATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
Method: RENDER_WINDOWS of program CL_WDR_CLIENT_SSR=============CPHi Arjun ,
Thanx for ur reply ,
i got following results in ST22 dump analysis :
' An exception occurred that was not caught ' .
and
Source Code Extract
Line
SourceCde
79
x_xml = get_wd_context_as_xml( data_source = data_source ).
80
m_pdf_object->set_data( formdata = x_xml ).
81
catch cx_fp_exception into lr_fpexc.
82
raise exception type cx_wd_general
83
exporting
84
previous = lr_fpexc.
85
endtry.
86
if fillable = abap_true.
87
if m_version is initial.
88
m_version = m_pdf_object->get_version_info( ).
89
endif.
90
if version < ''.
91
set_usage_rights( m_pdf_object ).
92
endif.
93
endif.
94
endif.
95
endif.
96
97
only call the ads if requested
98
if execute_ads_call = abap_true.
99
try.
100
set document
101
m_pdf_object->set_document( pdfdata = pdf ).
102
103
execute, call ADS
104
m_pdf_object->execute( ).
105
106
get result
107
m_pdf_object->get_document( importing pdfdata = pdf ).
108
catch cx_fp_exception into lr_fpexc.
>>>>>
raise exception type cx_wd_general
110
exporting
111
previous = lr_fpexc.
112
endtry.
113
endif.
114
115
endmethod.
and
Error analysis
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_WD_GENERAL', was not caught and
therefore caused a runtime error.
The reason for the exception is:
WebDynpro Exception:
The occurrence of the exception is closely related to the occurrence of
a previous exception "CX_FP_RUNTIME_SYSTEM", which was raised in the program
"CL_FP_PDF_OBJECT==============CP",
specifically in line 255 of the (include) program
"CL_FP_PDF_OBJECT==============CM02Y".
The cause of the exception was:
ADS: com.adobe.ProcessingException: PDF is not interactive. Data can only be
| imported into interactive forms.(201501). -
Missing code in "Offline Interactive Forms Using ABAP" SDN document?
I am trying to build a sample offline form scenario using the code published in the SDN document "Offline Interactive Forms Using ABAP" written by Vani Krishnamoorthy. Everything works perfectly up to the point where we instantiate the PDF Object to extract the data from the form. Then there seems to be some code missing just before we call the method SET_DOCUMENT. We are supposed to export the parameter pdfdata = pdf_data , but I cannot find where pdf_data variable is declared or assigned. Also, an ENDTRY statement seems to be missing.
Has anyone had success with Vani's offline scenario, and if so, do you know what code is missing, if any?
Thanks in advance for any help you can offer.I found the missing code in sample program FP_PDF_TEST_06. Everything works well now.
The PDF file that was uploaded from the PC first needs to be converted from binary to XSTRING before you can create the PDF object:
data: lt_rawtab type standard table of raw255,
g_pdfdata type xstring,
l_len type i.
call method cl_gui_frontend_services=>gui_upload
exporting
filename = l_filename
filetype = 'BIN'
importing
filelength = l_len
changing
data_tab = lt_rawtab "PDF file (binary)
exceptions
file_open_error = 1
file_read_error = 2
etc. etc.
Convert binary tab to Xstring
call function 'SCMS_BINARY_TO_XSTRING'
exporting
input_length = l_len
importing
buffer = g_pdfdata "converted to Xstring
tables
binary_tab = lt_rawtab
exceptions
failed = 1
others = 2.
if sy-subrc is not initial.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
Instantiate PDF object..
data: l_fp type ref to if_fp value is initial,
l_pdfobj type ref to if_fp_pdf_object value is initial,
l_fpex type ref to cx_fp_runtime,
l_type type string,
l_errmsg type string.
Get FP reference
l_fp = cl_fp=>get_reference( ).
Handle exceptions with Try..Endtry
try.
Create PDF Object using destination 'ADS' (<--this is how it is
defined in SM59)
l_pdfobj = l_fp->create_pdf_object( connection = 'ADS' ).
Set document
l_pdfobj->set_document( exporting pdfdata = g_pdfdata ).
Tell PDF object to extract data
l_pdfobj->set_extractdata( ).
Execute the call to ADS
l_pdfobj->execute( ).
catch cx_fp_runtime_internal
cx_fp_runtime_system
cx_fp_runtime_usage into l_fpex.
case cl_abap_classdescr=>get_class_name( l_fpex ).
when '\CLASS=CX_FP_RUNTIME_INTERNAL'.
l_type = 'INTERNAL ERROR'.
when '\CLASS=CX_FP_RUNTIME_SYSTEM'.
l_type = 'SYSTEM ERROR'.
when '\CLASS=CX_FP_RUNTIME_USAGE'.
l_type = 'USAGE ERROR'.
endcase.
l_errmsg = l_fpex->get_short( ).
message e010(ad) with l_type ':' l_errmsg.
endtry. -
How to create pdf forms in wda
how to create pdf forms in wda
hi,
check these links
https://www.sdn.sap.com/irj/sdn/adobe
https://www.sdn.sap.com/irj/sdn/interactiveforms-elearning
http://help.sap.com/saphelp_nw2004s/helpdata/en/37/47a2be350c4ac8afe36b691203971f/frameset.htm
The following links contain all the detailed information (PDF & PPT docs) on Adobe Interactive Form with examples which wil make u'r learning easier:
https://www.sdn.sap.com/irj/sdn/adobe
Improving the Performance of Adobe® LiveCycleu2122 Designer Forms(scripting)
http://www.adobe.com/devnet/livecycle/articles/lc_designer_perf_guidelines.pdf
Interactive Forms Based on Adobe Software: Overview
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e635e290-0201-0010-a9be-9e8e4ce04770
Adobe Interactive Forms
http://www.saplounge.be/Files/media/pdf/Huberland-Interactive-Forms-2007.10.10.pdf
Taking interactive forms to next level
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8c103c36-0301-0010-cda8-f6b381bedb6e
Introduction to Adobe PDF Library SDK(PDFL SDK)(Simply scroll the document)
http://partners.adobe.com/public/developer/en/webseminars/PDFL_WebSeminar.pdf
Creating Interactive forms in webdynpro for java
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f27e290-0201-0010-ff82-c21557572da1
PDF-Based Print Forms/SAP Interactive Forms by Adobe
http://help.sap.com/saphelp_nw04s/helpdata/en/c8/4adf7ba13c4ac1b4600d4df15f8b84/frameset.htm
Date Objects in Adobe Designer
http://help.sap.com/saphelp_nw04/helpdata/en/dd/60694fddb74ad88cdb7d2a094f3dd2/frameset.htm
Checking and Testing a PDF-Based Print Form
http://help.sap.com/saphelp_nw04s/helpdata/en/c2/1fe9aa4d7b413e8515f90b73729e97/frameset.htm
Architecture
http://help.sap.com/saphelp_nw04/helpdata/en/f2/21021b911f4c0cae11459a4ce0bc62/frameset.htm
http://www.nl4b.com/Adobe/Invitation_SAPBrussels_Q407.pdf
Yogesh N -
Adobe interactive form with ABAP workbench
Hi Experts,
Need to know, can we run Online Adobe interactive form using ABAP ( Not webdynpro ABAP or Java) workbench? If so how? and if possible please provide the driver program which run the form & after filling it, it updates SAP data online.
Regards,
NikThat is possible by using FLM tool. You need to buy it separately. Its an ARCH product. Or if its HR forms then you can use HCM proceess & forms.
-
Hi ,
Is it possible to design Interactive forms in ABAP. I have a requirement for a client using R/3, there is no Portal involved so WebDynpro ABAP is not an option.In this case I am wondering is this a possibility using general ABAP.
Cheers
S KumarHi S Kumar,
You can design the Adobe Interactive Forms without WebDynpro or Portal, This can be done by writing a driver program similar to driver program where we write for SmartForm. Or you can use the WebServices to design your forms. But some functionalities may not be satisfied as in the WebDynpro or Portal.
Regards
Pradeep Goli -
Create Interactive Form UI element Dynamically
Hi Experts,
I have a requirement according to which i need to create multiple PDF forms at runtime.
The approach that i would be using is creating interactive form U I element at runtime.
So as a test application in a views wdDoModifyView i added the below
In the do modify view i have added the below piece of code
if (!firstTime)
IWDNodeInfo l_sel_nodeInfo =
wdContext.nodeCtx_vn_binary().getNodeInfo();
IWDAttributeInfo l_attrInfo =
l_sel_nodeInfo.getAttribute(
IPrivateAdobeView1.ICtx_vn_binaryElement.CTX__VA__BINARY);
if (view.getElement("adobeFrm") == null) {
IWDTransparentContainer container =
(IWDTransparentContainer) view.getElement(
"RootUIElementContainer");
IWDInteractiveForm adobeFrm =
(IWDInteractiveForm) view.createElement(
IWDInteractiveForm.class,
"adobeFrm");
adobeFrm.bindDataSource(
wdContext.nodeCtx_vn_adobe().getNodeInfo());
adobeFrm.setMode(WDInteractiveFormMode.UPDATE_DATA_IN_PDF);
adobeFrm.setTemplateSource("AdobeView1_InteractiveForm.xdp");
adobeFrm.setDisplayType(WDInteractiveFormDisplayType.NATIVE);
adobeFrm.bindPdfSource(l_attrInfo);
adobeFrm.setVisible(WDVisibility.VISIBLE);
container.addChild(adobeFrm);
adobeFrm.setTemplateSource("AdobeView1_InteractiveForm.xdp");
But now i am stuck at this point as its giving me null pointer exception on execution.
Could some one provide me links to the tutorials which contains dynamic creation of Interactive form UI element
Thanks in advance!!!Hi Rekha ,
I do have this link but as per this tutorial the layout of adobe form is generated during design time whereas i need to create the mulitple PDF at runtime.These PDF need to be displayed to the user . The approach that i am using is to create Interactiveform U I element at runtime.
The code that i tried is already provided in my first post.I need some more concrete tutorials /examples for this.
Basically i need to know how to add elements like a table/textfield and data within those table/ textfields in an adobe form(Interactive form UI element) at runtime.
Regards ,
Navya.
Edited by: navya_4321 on Feb 2, 2011 6:22 AM
Maybe you are looking for
-
Copy Controls from Quotation to Sales Order
Dear Gurus, My client will create the sales order with reference to the Quotation. Once they create sales order, the quotation should not allow any chages. How to Configure that... pls help me in this. Thanks in advance. SUbbu..
-
How to create a custom listview with a specific listview item style?
Hi everybody, I am trying to implement a custom image gallery. It has a very distinct design though, It supports drag and drop reordering. Each item has a button on the left and a thumbnail. The drag and drop should happen only when we drag the thumb
-
Good Morning, I am having problems with the window.open() syntax. My application has 14 pages and is in 3.2. I need the whole application open in a new browser window. I have tested the code with a blank screen on page 101 and it opens correctly. Whe
-
hello I am wondering if anyone has found a fan control program for windows 7 that is like smcfancontrol i already know about restarting with smc still running and two other programs that i forget the names of that dont work. it would be greatly appre
-
HI: I tried to download latest software to my iphone 5....It is stuck. Screen shows itunes to usb screen.....cannot get it to reset. What do I do?