WebService Calls in Adobe Forms Offline Scenario
Hi,
I think this topic was discussed, but I have a very specific question.
I need to create an interactive form to be used in an offline scenario but consuming a webservice from an ABAP backend on user request.
I understand you need to create and configure the web service on ABAP side using SOAMANAGER, and you need to create a data connection using the binding WSDL in the Forms Designer.
For security reasons I would like to have a basic authentication at least. According to several blog entries this should be possible.
Now the dilemma: it seems that in SOAMANAGER you can only create a web service with basic authentication using HTTPS.
BUT: Adobe Life Cycle Designer does not support HTTPS.
The only option to not use authentication at all is not an option for me.
So, does anybody have the same problem and a solution?
Is SOAMANAGER changed that way or did I just not find the right configuration possibilities?
If it is that restrictiveL since when? It was different in NW 7.0, SP 14. I am currently working with SP 18.
Please respond if you can provide any helpful insight.
Michael
I hope you are putting the code in the click event of a a custom Regular button and not using the one that can be drag-drop from the connectionset.
Try sap-username as parameter instead of sap-user in above code statement.
var cURL = "http://....?sap-client=<client no>&sap-username=<username>&sap-password=<password>" ;
Similar Messages
-
"Error attempting to read file" at Webservice call from Adobe Form.
Hi Experts,
We have designed a Webservice form a Function Module in ECC 6.0, In the soamanager transaction the webservice works fine. But at the time of call from the Adobe form, it gives an error stating that "Error attempting to read from file" and then the URL of the Webservice to be excuted.
and if i attempt to open that file, it gives me this error:
- <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header />
- <soap-env:Body>
- <soap-env:Fault>
<faultcode>soap-env:Server</faultcode>
<faultstring xml:lang="en">SRT: Wrong Content-Type and empty HTTP-Body received</faultstring>
- <detail>
- <ns:SystemFault xmlns:ns="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/">
<Host>undefined</Host>
<Component>COREMSG</Component>
- <ChainedException>
<Exception_Name>CX_SOAP_CORE</Exception_Name>
<Exception_Text>SRT: Wrong Content-Type and empty HTTP-Body received</Exception_Text>
</ChainedException>
</ns:SystemFault>
</detail>
</soap-env:Fault>
</soap-env:Body>
</soap-env:Envelope>
In case I give my user the "SAP_ALL" role, this all works fine, so i think it is somewhere related to a missing role to be assigned.
any clues..??
any help would be appreciated, Please help..
Thanks,
AmitaHi Juergen,
I am using it as a WSDL based data connection.
How do i check this WSDL through a web browser? I have checked it through SICF Transaction code, It gives the output in explorer as given in the first post of this thread..
Please help me resolving this issue, i feel that this issue is somewhere related to the role assignment of the user as if i provide this user an authorization of SAP_ALL then everything starts working fine, but after removing SAP_ALL this error is encountered, do u hav any pin points on this??
Thanks
Amita -
Interactive Form Offline - Scenario invoke Web services
Hi All,
I need developed a adobe form offline invoked webservices to update the BackEnd. I can use WD for Abap?? or only work with wd for Java ??
Tks
Ivo HashimotoHi,
Whether its Ooffline or Online Adobe Interactive Form and/or whether its WebDynpro ABAP/JAVA you can use the WebService to post data to SAP or retrieve the data dynamically from SAP to fill some fields based on some fields entered.
Do review this Thread, I think this will help you.
[Adobe Interactive Forms / Web Services - Connection query|Adobe Interactive Forms / Web Services - Connection query;
Regards
Pradeep Goli -
Error "Job already started" when calling a adobe form in Z function module
Hi All,
I have a error when calling a adobe form in a custom function module.
I am using FP_FUNCTION_MODULE_NAME to get the adobe form function module and then i am using FP_JOB_OPEN function module to control the printing parameters such as no print preview or no dialog ..etc.. I dont have any exceptions during the call of FP_JOB_OPEN function module ..
Later I am calling my function module which was generated for the adobe form and i am getting the error called " JOB ALREADY STARTED".
I tried executing the same function module in se37 and the PDF form output was generated, and also by commenting FP_JOB_OPEN function module the PDF form output was generated.
But i need the FP_JOB_OPEN function module to control the output based on the output type which triggers the form output such as the medium from nast record which says print or email or fax.. etc
Please let me know how to handling this error.Just as a followup note. If you are testing a function module from SE37 and the test button you will get a value in SY-CPROG. You must override this value for everything to work.
If you override the value of SY-CPROG with the main program that will be calling the function module you have no problem.
John W. -
Hi,
I have an RFC that calls an adobe form to display the pdf output back in a bsp page...the RFC fails at the call to the adobe form (next call after after getting the form name) ...while debugging it looks like within this call it is trying to call fpcomp_job_open and failing on the call check_job_open ...
The code in my RFC looks like this....
DATA:
gs_outputparams TYPE sfpoutputparams,
fn_name TYPE rs38l_fnam,
fp_docparams TYPE sfpdocparams,
fp_formoutput TYPE fpformoutput,
frm_result TYPE sfpjoboutput,
lv_form TYPE fpname.
DATA: l_pdf_xstring TYPE xstring,
l_pdf_len TYPE i.
lv_form = 'ZHR_ASSESSMENT_FORM'.
Start formrocessing - OPEN spool job to send to printer
gs_outputparams-getpdf = 'X'.
call function 'FP_JOB_OPEN'
changing
ie_outputparams = gs_outputparams
exceptions
others = 1.
IF sy-subrc <> 0.
*// RAISE FP Open Error.
exit.
ENDIF.
Get name of the generated function module for the form
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = lv_form
IMPORTING
e_funcname = fn_name.
IF sy-subrc <> 0.
*// RAISE FP Get Form Module Name Error.
exit.
ENDIF.
Call the Adobe Form
CALL FUNCTION fn_name
EXPORTING
/1bcdwb/docparams = fp_docparams
gv_appraisal_id = gv_appraisal_id
IMPORTING
/1bcdwb/formoutput = fp_formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
IF sy-subrc <> 0.
*// RAISE Call Form Module Error.
perform f_build_message using 'E'
'ZEXT'
012
changing return.
exit.
ENDIF.
End from processing - Close spool job
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
e_result = frm_result
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
*// RAISE FP Close Error.
exit.
ENDIF.
form = fp_formoutput-pdf.
Thanks,
Venkateshwhat is the solution for this problem? I have the same problem. I get sy-subrc = 1 after CALL FUNCTION 'FPCOMP_JOB_OPEN'.
If I look more in detail I see that "Perform check_job_open" is creating the problem:
FORM check_job_open.
IF fpstat-is_opened = c_true. (--> exactly here is the problem. This condition is true so the program is terminated.)
PERFORM reset_status.
MESSAGE ID 'FPRUNX' TYPE 'E' NUMBER '101' RAISING usage_error.
ENDIF.
fpstat-is_opened = c_true.
fpstat-is_started = c_false.
ENDFORM.
Does somebody know why my job is open and what is the solution to have the job closed at the beginning of my processing?
Thanks in advance. -
Call for adobe form is going for dump for multiple users
hi,
i am calling an adobe form in a program i.e. for multiple users. now my problem is.....
3 people are using same tcode to generate the adobe form output for different data. but when they click at a time on the button to generate the adobe output, then adobe form is coming for only one user and it is going for dump for other users.
and this dump is coming because of exception "CX_FP_API_INTERNAL" in funtion module FP_FUNCTION_MODULE_NAME which i am using to get the function module name of the adobe form in my program.
can u please give me some solution to rectify this issue....That's nothing!
An engineer and I contacted Adobe technical support by phone to ensure the PC I was having custom built was configured to its optimum. They advised XP64 as the best operating environment. After that discussion we had to completely revise procurement, etc to get the bits and compatible XP64 compatible software, putting the build project back a few weeks as well, Imagine how I laughed when I found out on one of these forums that XP64 is the worst choice and totally unsupported by CS4!
I have written to Shantanu Narayen, Adobe CEO and didn't even get an acknowledgement I raised this last week on the Adobe stand at BVE and was told they'd get someone to contact me asap but guess what, niet...! To be fair there has been one Adobe executive that recognises the problem and the damage poor customer support is causing the company; he has been as helpful as he can. Unfortunately, it seems the overall Adobe culture at the top is "get the money and run". If your problem goes beyond what's already on their web pages, tough luck!
Regards,
Graham -
Hi,
In an Adobe form have a Submit button, after I click on this submit button should call another Adobe form.
How we can do?
Thanks and Regards,
Prabhakar DharmalaHi
To call an Adobe form u can use the folowing class CL_SSF_XSF_UTILITIES and method GET_BDS_GRAPHIC_AS_BMP as shown below.
CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
EXPORTING
p_object = c_graphics
p_name = lv_pernr1
p_id = c_bmap
p_btype = c_bcol
RECEIVING
p_bmp = ls_z_if_test_cv-im_photo
EXCEPTIONS
not_found = 1
internal_error = 2
OTHERS = 3.
So that the new PDF form will get opened with details. try it.
provide REWARD points...:-) -
Data transfer from one adobe form to another adobe form (offline)
Hi,
Is it possible to transfer data from one adobe form to another adobe form(offline).
Advance Thaks
Murali Papana.I dont know what your requirement but simple way is use 'Save' or 'Save as' to create a copy of offline form. ...:-)
-
How does Time Statment Web Dynpro calls an Adobe Form of R3?
Hi forum
I want to know how works the Web Dynpro of Time Statement. The cause of my dude is that this dynpro shows an Adobe Form that is into R3, not in NWDS and Adobe. I want to calls some Adobe Forms since a Web Dynpro for Java. Some body knows how to do this.
Thnks
Josué CruzHi,
If you go for TC HRFORMS, there you can find some HRFORMS global. we need to activate that form and configure the feature called "HRFOR". This works once implemented time evalution.
Thanks & Regards. -
Adobe Interactive Form - Offline Scenario
Dear Experts,
I am new to this feature. I am developing sap interactive form with offline scenario. I try to put the button in adobe designer and call my Function module that exposed as web services.
Questions
1. When I execute, It was failed. Do I need to install adobe professional in order to make it work?
2. What can I see, we can put Java Script code. In the end user side, do we need to install adobe professional or adobe reader is enough?
Many many thanks.
Thanks & Regards,
L.MochisukiHi,
At the user end, Adobe Reader is enough to call the web service. What is the issue that you are facing while calling the web service? If you search you will get many threads which explains the steps of calling web service.
Thanks & Regards,
Sanoosh -
Consuming a Webservice & 'bapi_transaction_commit' in adobe form
Hi All,
I am working on a scenario wherein i am consuming a webservice in an offline adobe form.
This webservice is a function module exposed as webservice.
Now if i attempt to use following statement in my Function Module:
call function 'bapi_transaction_commit'.
This webservice stops returning me the response from Function Modules, Any clues on this front??
Any inputs would be of great help!!
Thanks,
AmitaHello Amita,
SAP recommends using BAPI_Transaction_Commit and not using Commit Work in the BAPI to control transation in a "client" system.
but its up to you to decide how you want to do it.
Kirill -
Calling the Adobe form in a workflow step for Approval
Hi All,
We are creating a PCR scenario using Adobe forms for "Employee seperation". This form will require 7 subsequent approvals from various agents which is to be handled using a workflow.
I had gone through the ISR cookbook and managed to create a scenario. I have also assigned it to a PDF form and a dummy workflow. Now from my PCR iview i am able to submit the form for my scenario which also triggers the dummy workflow(through the BUS7051-CREATED event).
Right now this dummy workflow just sends a mail(by sendmail step) to the first approver. Now i want this workflow to send a workitem to the first approver for approval of this form which will have to appear in his UWL. When the approver double clicks on the workitem in UWL he should be able to view the form along with Approve/Reject/Cancel buttons. I am not aware how to do this. My questions are,
<b>Is this handled by a decision step or an activity?
If it is an activity step which Task/Business object method is used to handle this?
If it is a decision step how do we make the Adobe form also to be displayed along with approve/Reject buttons?</b>
We are using ECC5.0 and EP6.0.
Thanks in advance for any help.
Prasath NHi Rajasekhar,
The UWL issue has been resolved now and i am receiving the workitems in my UWL. But i am getting the following error when i am trying to execute the workitem from my UWL.
<b>Service cannot be reached
What has happened?
URL http://xxxxxxxx.xxxx.xxx.xxx:8000/webdynpro/dispatcher/sap.com/pcui_gp~isr/IsrFormApprove call was terminated because the corresponding service is not available.
Note
The termination occurred in system xxx with error code 404 and for the reason Not found.
The selected virtual host was 0 .
What can I do?
Please select a valid URL.
If you do not yet have a user ID, contact your system administrator.
ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:DALSPHSB_HSB_37-v:0-s:404-r:Notfound
HTTP 404 - Not found
Your SAP Internet Communication Framework Team
</b>
I have done the following configuration settings in SWFVISU transaction :
Task : TS500000075
Visualization Type : WebDynpro Java
visualization parameter: Application
visualization Value: IsrFormApprove
visualization parameter: Package
visualization Value: sap.com/pcui_gp~isr
Is there anything else that i have missed out in the configuration?
Message was edited by:
prasath natesan
Message was edited by:
prasath natesan -
Executing a WebService in Online Adobe Form
Hi All,
I am facing an issue while executing the webservice from an application developed inWDJava, that contains an Adobe Form. This Adobe Form is required to execute webservice, and this form has 2 input fields say First Name & last name. When i fill in the first name and last name fields in the application itself and attempt to execute the webservice, i don't get my response fields back.
But in case i download my form from that WDJava online application, and then try to execute the service, i get back the results.
*I am using Adobe Designer: 8.0
Adobe Reader: 9.0*
Any pointers to this..??
Any ideas would be helpful.
Thanks,
Amita
Edited by: amita arora on Mar 26, 2009 8:41 AMCall the webservice, and use the call to fill up a variable. It will then drop the return value, be it a structure or whatever into your local variable. Like this :
var response = SOAP.request ({
cURL: url,
oRequest: request,
cAction: "http://adobe.com/ES/GetMaterials",
oAuthenticate: authentication }); -
Error while calling a adobe form?
Hi All,
in my webdynpro component , i am calling adobe form.but i am getting error as mentioned below.
Error when processing your request .......
Webdynpro Exception:The ADS call has failed.you can find information about the
cause in the error.pdf on the application server.
why this error coming? even when i execute a standard application also i am getting this.why?
Regards,
lakshmi.Abhi
I too got the same error:
WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.
I refered the link provided by you for testing the ADS configuration and it displayed a 2 page report.
Is that mean that there is a problem in my form?
Regards
Vijai -
Calling Interactive Adobe Form from workflow work-item
Hi Experts,
Here is the requirement.
WE have Interactive Adobe Form developed and now the requirement is to call this form in our workflow as work-item.
When the work-item agent double-click on the work-item he must call the adboe form.
Please provide your inputs/suggestions/Solution/Tips.
Regards
KrishnaHi Gurprit,
Thanks for answering my question , appreciated.
When I am in transaction SWFVISU in the drop-down for the Visualization type I dont see "Adobe Form" . Whether we need to create an ABAP Webdynpro to call Adobe form.
Please explain.
Regards
Krishna
Maybe you are looking for
-
Unable to find Bean and AM impl for customisation of Fusion Application
Hi, Iam navigating through this link under Fusion App --> Navigator -->WarehouseOperation -->REceipts --> and Entering createReceipt screen via Receive Expected Shipments. I want to default the value of packing slip as how supplier got defaulted but
-
Do I need to uninstall the Photoshop CS6 trial before installing Design & Web Premium?
I'm studying game design and my school provides a full license for Photoshop CS6. Before they provide the license they require you to install the software and use the 30 day trial, so that's what I did - I just installed the Photoshop CS6 standalone
-
Help with Distinct or Grouping to get rid of duplicates
So Im stumped at the approach I need to take. have a query here: select type_type, RCD_REASON, rc.description, MATERIAL_ID, USERID, DATETIME_SCRAPPED, ORDER_NUMBER, TRIMDATE, SUBSTR(SALES_ORDER,3,8) || '-' || SUBSTR(SOL_LINE_NUMBER,3,4) AS SalesOrder
-
How to programatically find whether excel is installed in a client system o
Hi all, I am developing a web application and need to send the op as excell so that end user sees it in excel format.. how could i find whether he is having excel instaled in the system or not...
-
WIP process order on transaction KKAO
Hi Gurus I have a process order in WIP on transaction KKAO. When i run KKAO i have a positive value on columns WIP(Cumul) and WIP(Period ) ,two values are equals. I don't know what is the problem, other similar process orders have value zero on colu