Direct  RFC And webservice in Adobe Forms

Dear All,
            Does adobe Lifecycle designer intregate RFC as a webservice ?
Or we need to write a Java/Adap Dynpro and call the adobe Form?
Regards,
Anirban.

Hello,
You can call a web service directly from an interactive form. To access RFCs, you need an application (typically webdynpro Java or ABAP).
Keep in mind that your form is interactive (meaning data storage and exchange capable) only if it has been generated by the ADS.
Regards,
Francois

Similar Messages

  • WebService in Adobe Forms in Test and Production Systems

    Hello Friends,
    I am facing a peculiar problem with the webservice. I have created one Adobe Form in Development system and in that Adobe Form I used one WebService to get the User's Complete Name. Its working fine in Development System. And all the WebDynpro Component's and Applications, RFC Function Module(for WebService), WebService Name were placed in same Request ID and this request is being moved from Development System to Quality system, here all the objects were present except WebService Name i.e. this service can be seen only from SOAMANAGER Transaction but not from SICF Transaction(As given in SAP Note: 1318499). And I came to know that we need to use only SOAMANAGER transaction ONLY in Quality or Production systems.
    But while creating Data Connection in Adobe Form I used SOAMANAGER's generated URL and it got created successfully and while triggering the WebService at Runtime based on some event I am writing JavaScript Code and here I am using the URL where it is generated from SICF Transaction.
    Friends please help me in solving the issue as which URL I need to use in Adobe Form at runtime(i.e. triggering webservice from JavaScript, the URL from SOAMANAGER is not working in JavaScript).
    Regards
    Pradeep Goli

    Hey,
    as far as I understood the ESR is a design time tool, i think  you don't need to have a productive instance.
    I think it should be installed on your PI systems. And I would prefer to have at least a devel and a test installation, to
    separate services on test machines from those who are running on productive systems.
    as you can't differentiate the services by their name but just by their systems, you should have separate ESR Instances.
    Nevertheless I think it could be possible to run only one ESR....
    Kind Regards
    Christof

  • Problem using RFC to call an adobe form to create pdf file........

    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,
    Venkatesh

    what 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.

  • Calling webservice in Adobe Form

    Hi,
         I am calling a webservice in Adobe form.
    I am using following format - http://<host:port>/sap/bc/soap/wsdl11?services=<service>@sap-client=<client>
    It works fine in LCD.. but in in SFP tcode getting the following error
    ADS: com.adobe.ProcessingException: CORBA Connection to(200101)
    Sam

    Reposting again with more details

  • Difference between RFC and Webservices.........??

    Hi
    <b>What is the difference between RFC and webServices... Like webServices these RFC also i can use in any language rite?? Then what is main difference</b>
    Can any one tell me which perfomance is good.. either webService or RFC...? and why??
    While creating webService in R/3 its asking the following details can any one explain those
    <b>
    Virtual Interface</b>
    <b>End PointType</b> : what is the end point type. please explain about the different options available...(Business Object, Funtion Group, Function Module, XI Message Interface)
    On next Screen
    <b>
    Application</b> -- ex FI-AR
    <b>Business Object</b> -- ex KNR
    Next Screen
    <b>Porfile</b>
    >>> Basci Authorization:SOAP Pro
    >>> Secure SOAP Profile
    Best Regards
    Ravi Shankar B
    Message was edited by:
            RaviShankar B
    Message was edited by:
            RaviShankar B

    Hi Ravi,
    Jin has correctly explained.
    Only two connectors are provided from SAP
    JCO- for connecting java applications
    >.Net connectors - for connecting >net applications
    And SAP has provided these connectors bcoz these the two most popular technologies or framefork these days which are very common.
    But In my previous examples , I try to explain the concepts only by giving .net as example.
    Now for making you clear, No SAP connector is available for C++ for accessing RFC but C++ can access web services using XML and SOAP
    Again Note these points.
    RFC is SAP specific.
    Used For----->
    SAP applications- SAP applications
    SAP Appl - Java Applications(Using JCO)
    SAP Applications->Net Applications( using >NEt connectorprovided by SAP)
    Web Service is open standard
    Any Platform/Any Language to Any Platform/Language( which can understand SOAp and XML).
    For Web Service Detail--
    Refer to this link
    Re: What is meant by Webservice
    Regards,
    Piyush

  • Calling Webservice from Adobe form - Webservice URL  Issue

    Dear Friends,
      I have developed a webservice and calling it from an Adobe form. I have downloaded the WSDL file from tcode SOAMANAGER. When I create a data connection from the Adobe form  I use this WSDL file and the form elements gets created automatically and I drag and drop them into the form. The issue is when I click on the Submit(Execute) button the Webservice URL is always pointed to the client from where the file was downloaded and its hard-coded ( for example if i download the wsdl file from client 300 then the URL would be http://<location>/sap/bc/srt/rfc/sap/z_web_getmat/300/z_web_getmat/z_web_getmat). So if i execute the form from client 200 its not working. How to make this URL dynamic so that the webservice gets executed from the client from where this form is called. Please advice.
    Regards
    Sapient

    Hi,
    You have to handle it in your form on submit button calling the web service:
    Write below java script code at submit event to change the URL at run time:
    var tempsoapAddress = xfa.connectionSet.DataConnection.getElement("soapAddress").value;
    var tempwsdladdress = xfa.connectionSet.DataConnection.getElement("wsdlAddress").value;
    var ServerPath = body.systemConfig.system.rawValue;
    var client = <Get Client from a data attribute>
    var Soap_PreServerPort =  "http://";
    var Soap_PostServerPort =  "/sap/bc/soap/rfc?sap-client=";
    var SoapAddress = Soap_PreServerPort + ServerPath + Soap_PostServerPort + client ;
    var Wsdl_PreServerPort =  "http://";
    var Wsdl_PostServerPort1 =  "/sap/bc/soap/wsdl11?services=ZBAPI_PO_CREATE2&amp;sap-client=";
    var wsdlAddress =  Wsdl_PreServerPort + ServerPath + Wsdl_PostServerPort1 + client ;
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = SoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = wsdlAddress;
    xfa.connectionSet.DataConnection.execute(0);
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = tempsoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = tempwsdladdress;
    xfa.connectionSet.DataConnection = null;
    Change the variable wsdlAddress as per your requirement. The above code is just a sample.
    For getting the client pass it in a datasource variable attribute at time of downloading the form. At time of submit get the value of that variable and use it to form the url.
    Regards,
    Vaibhav

  • How to create a Webservice for Adobe Form(I need Coding)?

    Hi,
    I need coding for Webservice inorder to define the context structure for Adobe Form.
    In AdobeForm:
    1) I create a dataconnection and while creating it i need to give WSDL Url.
    2) I have created it.
    3) But iam not getting the Context structure in the Dataview.
    For this wht coding i need to write in WSDL File?
    Any Help is Highly aprreciated with Points.
    Very urgent requirement?

    Hi,
    I'm not exactly sure what your problem is.
    A description on how to call web services can be found in my blog:
    /people/juergen.hauser2/blog/2008/02/25/using-web-services-with-sap-interactive-forms-by-adobe-overview-tips
    If you are facing an issue with what is displayed in the data view for the WSDL data connection (i.e you are missing nodes) you could try to use Designer 8.0 instead since it cotains bug fixes in that area.
    Regards,
    Juergen

  • Webservices in Adobe form fails even when it works fine in Portals.

    Hi All,
    I am new to web services in adobe form, can somebody help me to understand the reason of failing web service call in my adobe form.
    We are working on a simple adobe form with a simple webservice.  the web service is in SAP CRM 7.0 and we are designing the form in Livecycle designer stand alone not through SFP tcode.
    problem is when we execute the web service from adobe form nothing happens.
    There is no script in the adobeform to check if the web serive is called. the technical team claims there is no hit happening to the service. but when we execute the same web service with in a simple web dynpro app in portal it does work.
    earlier we had some similar forms with web service which used to work, now they are also not working from adobeform.
    Are we missing something, when importing/data connection  a webservice how do we make sure from the form that the connection and trigger are successful.
    Please let me know if you need any more information.
    Thanks & Regards
    Sai Krishna.

    Hi All,
    Just a small update on the query I posted.
    I searched tru and found couple of posts in Adobe fourm which says
    Adobe readers cannot execute web services, to do so we need to have Reader Extension on the Adobe reader.
    Is this the problem for my form, if i just dont understand why such restrictions for developers at the design time itself..?
    Regards,
    Sai Krishna.

  • MSS and workflow integration--Adobe forms

    Hi ,
    Can anyone send me some links on Workflow integrartion with MSS . I am looking out for MSS integration with Adobe forms ..
    Regards
    Abhilash

    Hi Peter
    This is probably more of a Forms question than workflow. At a very high level, in Apps, the workflow browser session is actually launched from a Forms session, some kind of socket connection is actually passed to the workflow session, so that when opening the new Form, it is opened in the existing applet.
    Cheers
    Mark
    Hi,
    we are building an application with web-enabled Forms 9i and Workflow 2.6.2 on Oracle 9i - and have an integration issue.
    We want to include a link to Oracle Forms within a workflow notification so that the user can go directly to a particular screen in our Forms application. Including a URL to our forms application will invoke a new Forms applet on the client, but can we go to a new form in a Forms applet that is already running?
    I've seen others ask the question in the forums but haven't seen any definitive responses. Oracle eBusiness Suite seems to have something like this - does anyone know how it was done and is it possible in stand-alone Workflow?
    Any info. would be very much appreciated.
    Thanks,
    Peter

  • Invoking a workflow using GP and WD Java Adobe Forms

    Hi,
    I have a scenario where I want to be able to submit an Adobe Form for approval, if its approved I get info from a BAPI which populates the form, if not I just get a message saying, Not approved. So in steps i'd like to be able to:
    1) User fills in a form with input parameters,
    2) Submit form,
    3) Approver receives form for approval,
    4) Approver approves and a BAPI is invoked with the input parameters in the form, the form is populated with what the BAPI returns.
    5) Form is sent back to user.
    6) If form not approved then message sent to user.
    I want to create the Adobe form in Web Dynpro Java. I need advice as to if I should do the whole process in GP, or can I use them both together? What are the steps involved? Can this be achieved? Do we use Portal email services to send communication between the user and the approver? Any advice/help/suggestions very welcome.
    Thanks
    TM

    Hi Lisha
      For storing the data from form to workflow and from workflow to trancation it better to maintain custom table to get the details later. You can use the std FM to insert the data from the form to table in this case you need not create custom table. Tell me which module you are working on. MSS or for ESS like leave, travel, actions like seperations, transfer which one you are using.
    Regards
    vijay

  • Events with Scrpts and JavaScript in ADOBE forms

    Hello All,
    On an Adobe form I have field for sub totals. I am trying to choose 'Events with Scripts' on the SHOW pull down values and choose JavaScript in the language. I was able to do this some time ago but now, I am able to choose Events with Scripts but not being able to choose JavaScript for language.
    I do not have much exp. with Adobe or JavaScript but I checked whatever I could think of but could not figure out. Any body ran into this issue before? Any ideas?
    Please post and Thank you ...

    By trial and error, what I did is, chose 'Calculate' in the Show menu then chose JavaScript in the Language pull down menu. Then added my JavaScript code. Then went back and change 'Calculate' in the Show menu to Events with Scripts. Saved and executed it . It worked.

  • Guided Procedures and online interactive adobe forms.

    Hi Experts,
    Scenario : User have to log into GP runtime, When he clicks the first action it should display the adobe form. He  has to fill the details and submit the form. This form is routed for Approver 1 for review. The first approver will log into portal,view it (UWL),approve it and sent for second approver.The same process happens with the second approver.After both approvals, a BAPI updates the data in the interactive form in R/3
    All the process have to be done in Guided Procedures, then  integrated with Portal at the end.
    We have tried creating an Wdynpro Java app with online adobe form and executed successfuly in NWDS and also in Webdynpro content administrator.
    issue:-
    When we create a callable object(webdynpro app(gp interface CO)) in GP and test, we were unable to view the form.
    Now our question is : what are we mising ?
    Is it possible to integrate online interactive adobe form with guided procedures?
    Is our approach to solve the scenario right?
    any links or tutorials will be greatly appreciated
    TIA,

    Hi
    See the following Link: [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/8a696cea-0c01-0010-d494-9b0b8ce7565f&overridelayout=true]
    Kind Regards
    Mukesh

  • Can you do subtractions and divisions with Adobe forms?

    I am converting MS Excel documents into Adobe Forms using Adobe Strandard 9, and I would like to be able to do subtractions and divisions with the form calculation option. Currently the only options I have are 'sum (+), product (x), average, minimum and maximum'. I see that there are 'Simplified field notation' and 'Custom calculation srcipt' options, but I can find no reference to doing subtractions or divisions. Any help would be appriciated.
    Kerry N

    Try these options:
    Under the Calculate tab for the properties for field3
    In the Custom calulation script field, use:
    this.getField("field3").value = this.getField("field2").value - this.getField("field1").value;
    or in the Simplified field notation, use:
    field1 - field2
    Use / instead of - for division instead of subtraction.
    Karl

  • RFC and Webservice which one i should use and why?

    Hi,
      I have to write a extractor program in BI which would be fetching a huge data from CRM.
      I have two options to achieve this targer.
               1-> Create a RFC which will give me all the data
               2-> Create a Webservice in CRM and use it in BI
    Please advice me , which way i should go and advantage of that way.
    Regards
    PG

    Hi,
    If amount of data is huge then it is recomnded to use RFC because of its speed and reliability. Webservice not yet proven good for extracting and handling very large chunk of data.
    Regards,
    Gourav Khare

  • Populate Table from RFC in WD-Java Adobe Form

    Hi Experts,
    I have a Table in WD-Java Adbe Form. The first column is EMPLOYEE_ID and rest of the columns are EMPLOYEE_DETAILS.
    I provide the EMPLOYEE_ID as input in the first column and then on clicking of the CHECK button, I want to get the remaining columns populated with Employee Details
    If I enter just one employee id (Row1) then I should get the details of the first employee only.
    If I enter two employee ids (Row1 and Row2) then I should get the details of both eployees in the table.
    The ABAP RFC Function Modules have already been designed in such a way that a table is bein passed as Import (having EMPLOYEE_IDs) and another table is beig returned with the filled in details of the employees in the Export.
    THe issue is how to use the RFC to implement this table in the form.
    Thanks & Regards,
    Shobhit
    Message was edited by:
            Shobhit Swarup Mathur

    Hi Shobhit,
    You could populate the columns by writing a script at the click event of the button.
    Is it a dynamic table..(asking this coz then the reference of the row will also be dynamic)
    if its a static table.
    on the click event, you can write the following script.
    Note...i am taking the table name as Table1
    var nTableLength = Table1.nodes.length;
    for (var nCount = 0; nCount < nTableLength; nCount ++) {
    if ((Table1.nodes.item(nCount).className == "subform") && (Table1.nodes.item.nCount).name !== "HeaderRow")) {
    oRow = Table1.nodes.item(nCount);     
    if (oRow.EMPL_ID.rawValue !== null ){
    // populate the other value over here eg
    // oRow.EMPL_NAME.rawValue = 'Shobhit';
    let me know if theres any problem.
    Best Regards
    Mona

Maybe you are looking for

  • Issue in propagating the fault in BPEL

    Hi, I have an issue in propagating the fault in BPEL. This is the scenario, a) I have a BPEL process which inserts data to a table, where a column is a primary key. b) I invoke this BPEL as a partner link in another BPEL process. c) I have provided c

  • I cannot find FaceTime in my iPad Mini.

    I just bought ipad mini yesterday but it seem facetime and imessage has a problem. I cant find facetime on my ipad and i cannot activate my imessage it keeps on saying i entered wrong username/password. Ive tried like a hundred times but still its no

  • Photoshop won't open photos from Mac photo app

    I'm just trying to open some of my photos into photoshop to do some editing. When I click "open" then try to go to the photos which are in the Apple Photo app, photoshop doesn't recognize them. That's the only location the photos are in. Someone help

  • How Do I Delete a download on my macbook pro

    How do I delete a download from my macbook pro OSX Mavericks OSX 10.9.5

  • In need of customized JTextField

    I need to create a custom textfield, and the formatter won't cut it. I need to have formatting applied real time, with a variable number of characters. The ATM might be a good example, where you enter numbers and the display field fills in from left