Calling adobe form from webdynpro abap view

Hi,
I need some help. The situation is: I have created a Adobe form interface as well as a form using the SFP transaction. Now, I have a webdynpro screen with a button, which upon pressed must give the output of the PDF form.
I tried the following steps:
1. Call function 'FP_FUNCTION_MODULE_NAME'
2. Call 'FP_JOB_OPEN'
3. Call the generated function module name
4. Call FP_JOB_CLOSE.
The procedure works fine when I use the same code in a report program. It opens a dialog box where there is a option for Print preview and it displays the PDF.
But when I try to replicate the same, it does not work in Webdynpro for ABAP. Any suggestions as to how to go about this problem?
regards,
Praveen Kumar

Hi Praveen
there is documentation on the Web Dynpro for ABAP integration of Interactive Forms in the SAP Help Portal at http://help.sap.com/saphelp_nw2004s/helpdata/en/aa/940ee5331b4b8fa0a6cb6714dc5db4/frameset.htm which should answer most of your questions.
You specify the form to be used during the design of your Web Dynpro application (you are prompted to determine it when you insert the UI element).
You can save the form from the Reader toolbar, the question would be why would you want to do this and not use a proper download screen.
A proper tutorial is planned to be available in June. Until then, check the ABAP page in SDN for some e-learning / webinar recording), or directly here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3
Cheers,
Markus

Similar Messages

  • Calling Adobe form from Webdynpro component?

    Hi All,
    I have a WD Component which displays all the personel nos and by selecting one personel no and clicking on a button  it has to show the Adobe form which gets the data from BADI.and this is working fine.
    but here my question is in the below code what is" Process"?
    where we find this? please explain me  this statement concatenate l_url '&process=ZORG_CHANGE' '&pernr_mem_id=' L_TEXT5 into l_url.
    my code is:
    method ONACTIONACT_FORM .
    wd_this->fire_from_main_plg(
      DATA lo_nd_pernr_tab TYPE REF TO if_wd_context_node.
      DATA lo_el_pernr_tab TYPE REF TO if_wd_context_element.
      DATA ls_pernr_tab TYPE wd_this->element_pernr_tab.
      DATA lv_objid LIKE ls_pernr_tab-objid.
      DATA L_TEXT5 TYPE TEXT5.
    navigate from <CONTEXT> to <PERNR_TAB> via lead selection
      lo_nd_pernr_tab = wd_context->get_child_node( name = wd_this->wdctx_pernr_tab ).
      IF lo_nd_pernr_tab IS INITIAL.
      ENDIF.
      lo_el_pernr_tab = lo_nd_pernr_tab->get_element(  ).
      IF lo_el_pernr_tab IS INITIAL.
      ENDIF.
      lo_el_pernr_tab->get_attribute(
        EXPORTING
          name =  `OBJID`
        IMPORTING
          value = lv_objid ).
      data l_pernr type p_pernr.
      move lv_objid to l_pernr.
      MOVE SY-UNAME TO L_TEXT5.
      CALL FUNCTION 'HR_ASR_WDA_SET_EMPLOYEE'
        EXPORTING
          PERNR = l_pernr
          ENAME = 'Rajak'
          ID    = L_TEXT5.
      data lo_window_manager type ref to if_wd_window_manager.
      data lo_api_component  type ref to if_wd_component.
      data lo_window         type ref to if_wd_window.
      data l_url             type string.
      data lt_parameters      type tihttpnvp.
      data ls_parameters      type IHTTPNVP.
    Generate the url to be called.
      call method cl_hrrcf_wd_services=>construct_wd_url
        EXPORTING
          iv_application_name = 'asr_process_execute'
          it_parameters       = lt_parameters
        RECEIVING
          rv_url              = l_url.
    Pass the data using Application Parameters
      concatenate l_url '&process=ZORG_CHANGE' '&pernr_mem_id=' L_TEXT5 into l_url.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->CREATE_EXTERNAL_WINDOW(
            url          = l_url
            title        = 'Submitted candidate'
            has_menubar  = abap_false
            has_toolbar  = abap_false
            has_location = abap_false                   ).
      lo_window->open( ).
    Regards,
    Lakshmi.

    Hi,
    in my scanario ,adobe form is updated or getting values from  BADI. How to find the BADI's name ?and how it triggers?where do i find the exit handler etc?
    Can you explain me this?
    Regards,
    Lakshmi.

  • 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
    Sankar

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

  • How to integrate adobe forms using webdynpro-abap

    Hi All,
    How to integarte adobe forms with webdynpro -abap(se80).
    Thanks & Regards
    Suman

    Hi suman,
       First you have insert a element interactive form in the view.
    In the properties of the interactive form you have properties called datasource and pdfsource.
    You have to give the data which you want to display in the datasource throught binding.
    These data you have to get it from the context. For pdfsource it should be xstring.
    There is one more property called templatesource, when you give a name and double click. It automatically goes to SFP and you can create the form of your purpose. While creating it will ask for context. That context will be the same which you have declared in the view or component controller.
    Regards,
    Arun.

  • Interactive Adobe Forms using WebDynpro ABAP

    Hi,
    I could able to design and execute my interactive adobe form using webdynpro ABAP. Here what i am doing is i am creating context with my structures and table types  and pdfobject of type xstring  and passing the proper inputs in interactive form properties, in template sources i am provinding the interface and form name of my own choice and it is getting created automatically by the system, every thing works fine here and i could able to execute my form from web dynpro application.
    Here my requirement is i have already created structures and table types after that i went to transaction SFP and created an interace and by using that interface i have created form and i have designed the layout. Now what i want to do is i want to integrate this form in my webdynpro appliction and i want to execute it from webdynpro applicaton. When i try to do i am getting short dump, is my approach feasible or not . kindly suggest. If we can achieve this what is the way to achieve.
    Please do send your suggestions.
    Regards,
    Venkat

    Hi
    When u click on button..u will have to get the data from node which is existing on the Intereactive form and pass it to other view via writing logic in button event handler.
    The data can be displayed in other view as result.
    I hope u got it.
    Provide REWARD points..:-)

  • Calling a webservice from webdynpro ABAP.

    Hi,
    Anybody have doc/material with screenshots on calling a webservice from webdynpro ABAP (In WAS 7.0 version using service calls )  with clear steps ?
    Thanks in advance. Ponts will not be a constraint for right answers
    Praveen
    Edited by: Praveen kumar Kadi on Feb 23, 2009 11:19 AM

    Hi Praveen,
    1st Step : configure Logical Port
    http://help.sap.com/saphelp_nw70/helpdata/EN/16/285d32996b25428dc2eedf2b0eadd8/frameset.htm
    2nd Step : Generate Proxy Object
    http://help.sap.com/saphelp_nw70/helpdata/EN/16/285d32996b25428dc2eedf2b0eadd8/frameset.htm
    3rd Step : Instantiating the proxy object & calling the methods exposed by webservice
    data: sys_exception type ref to cx_ai_system_fault,
          sys_exception2 type ref to cx_ai_application_fault,
          client_proxy type ref to zco_myesa, "MY PROXY CLASS
          lv_ret_code type int4,
          lv_input type zsend_email_input,
          lv_response type zsend_email_response.
    data: lv_from type string,
          lv_from_address type string,
          lv_to type string,
          lv_to_address type string,
          lv_subject type string,
          lv_msg type string.
    lv_input-from = 'MYSAPTEST'.
    lv_input-from_address = '<someAddress>'.
    lv_input-to = 'Prashant'.
    lv_input-to_address = '<someAddress>'.
    lv_input-subject = ' TEST'.
    lv_input-msg_body = ' Hi this is wonderfull to see it work'.
    try.
    create object client_proxy
    exporting
    logical_port_name = 'BASIC'. " Basic is a TYPE G RFC Destination
    call method client_proxy->send_email
       exporting
         input  = lv_input
       importing
         output = lv_response    .
      catch cx_ai_system_fault  into sys_exception .
        data lv_err type string.
         lv_err = sys_exception->if_message~get_text( ).
         write: / lv_err.
      catch cx_ai_application_fault into sys_exception2  .
         lv_err = sys_exception->if_message~get_text( ).
         write: / lv_err.
    endtry.
    if lv_response is initial.
       write: /'Not Executed'.
    else.
       write: /'Did Execute'.
    endif.
    Greetings
    Prashant

  • To integrate the Adobe form in webdynpro ABAP

    Hi Experts,
                    How to use the adobe form in Webdynpro ABAP?
    Thanks & regads
        Vino

    That is quite the general question and I think if you search SCN you will find many resources - such as videos, tutorials, how-to guides, documentation - on the subject.  Perhaps just starting with the online Help and the associated links form the help article will get you started:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/0f/128841e8231709e10000000a155106/frameset.htm

  • How to call a webService from WebDynPro ABAP ?

    We are trying to call a webService from WebDynPro-ABAP application. It is not working, While if we are calling the WebService from a Report, it is working.
    How exactly do we call a WebService from a WebDynPro-ABAP application?
    What are the main steps involved ?

    Hi Phani,
    You will need to create a service call as follows.
    Right click on your WD component name and select Create->Service Call
    The wizard will guide you through a series of steps to make a Web Service Call. On the 3rd screen, it will give you options such as Function Module, Web Service, etc
    Before making a service call, you will need to create a proxy for the Web service in the ABAP Workbench using a WSDL document as a basis. To create or consume Web services, you will need the authorizations associated with the role SAP_BC_WEBSERVICE_ADMIN.

  • Validating Input fields in Interactive Adobe Forms with Webdynpro ABAP

    Dear Friends,
    Am new to Interactive Adobe forms with Webdynpro Abap,
    My scenario is, I have few Input fields, i need to handle the Messages when am not entering values in any of the Input Field,
    and raise the message when i click on Save Button.
    I have tried with setting the field as Required in Form itself, but i can't set the Field as Mandatory.
    I don't know how to do, Please give some needed points, as well needed some Script/Formcalc code.
    Thanks,
    Pradeep.

    Hi Pradeep,
    You can validate the fields by using javascript/formcalc logic in onclick event of button.
    Please refer the below links
    Adobe Form -How to make an Input Field Mandatory
    Validate Intercive Adobe Form
    Hope it helps you.
    Regards,
    Rama

  • How to call interactive form using webdynpro abap.

    Hi Sap Guru's,
    I have Created Invoice Interactive form using SFP Transaction , now my requirement is ,
    Need to Call that invoice form using webdynpro abap by passing invoice number(vbeln) from the screen.
    please suggest .
    thanks

    Hi Suresh,
    Refer <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/aa/940ee5331b4b8fa0a6cb6714dc5db4/frameset.htm">Interactive Forms in WDA.</a>, this is the best one .
    Welcome to <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/interactiveforms">Interactive Forms.</a>.
    Do post your queries on Interactive Forms in SAP Interactive Forms by Adobe.
    Rgds,
    - anto.

  • Calling Java code from Webdynpro Abap UI

    Hi All,
    Can anybody tell me, How to make calls to java code on a button click from webdynpro ABAP UI ?
    Thanks in Advance.
    Jenish .V. Joy

    Hi Jenish,
    As I am new to WebDynpro for ABAP I could not help you out exactly.But See this link which will help you to create applications in WebDynpro by using ABAP language.
    https://www.sdn.sap.com/irj/sdn/developerareas/abap?
    rid=/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
    If you get any answer for your question let me know.
    Regards,
    Karthick K Eswaran

  • Adobe forms in webdynpro abap

    which is better to use adobe forms . whether webdynpro with abap or java?

    The capabilities around the usage of the Adobe Forms is pretty equal between WDA and WDJ now.  In the earlier support packages when we only had ACF based forms, WDA did lack some of the UI elemetns supported by WDJ when using Adobe Forms. However with the addition of ZCI (Zero-Client Installation) based forms in WDA, the features are quite equal.
    To me the better question is: where is your data and what programming language do you want to use.  These are the main deciding factors between using WDA or WDJ in this situation.

  • ADOBE FORMS with WEBDYNPRO ABAP

    Hi Experts,
    Can Anyone give me some examples how to create Adobe interactive form using Webdynpro ABAP...
    Thanks and Regards,
    Kriss.

    Kriss,
    http://www.google.co.in/search?hl=en&source=hp&q=adobeformusingwebdynprofor+abap&meta=&aq=o&aqi=g10&aql=&oq=&gs_rfai=
    search before posting the question
    Thanks
    Bala Duvvuri

  • Do i need ABAP stack on EP, to run Adobe form in Webdynpro ABAP

    Hi All,
    We have an EP running on Java stack, and are going to configure ADS for development of Intercative forms in webdynpro ABAP, on our ABAP stack wihich is seperate R/3 system.
    Do we need to have ABAP stack also on Portal, for the development and execution of Interactive forms on Portal?
    Please clarify my doubt. Its very important
    Thanks in advance

    Hi,
    installation isn't my hobby and I can't tell you about possibilities of upgrading.
    For WebDynpro ABAP your abap stack must be NW 2004s. Your java stack with ADS must also be NW 2004s because communication between ADS on NW 04 and abap stack on NW 2004s doesn't work - thread "Run JAVA netweaver2004s and ADS 7.0 together with ECC 5.0 "
    But here is certainly someone who can describe it more precisely.
    Michal

  • Regarding adobe form using Webdynpro ABAP

    Hi,
    I am new to webdynpro abap.
    Currently I am working on a scenario where..
    I have a function module which generates the pdf for me based on the vbeln i provide in the first view. The only thing I have to do is  to display the generated pdf on explorer.
    As for as the examples i gone through.....I should provide the existing form name or the interface name. I don't have either of them as the function module is generating the pdf for me.
    Could any one help me on this please....
    Thanks,
    Vijaya.

    Hello Vijaya,
    Please check out the following
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785
    This is what will work for you with some modifications. Since in your case you are already receiving the PDF from the FM, just set the pdfSource to this value and you should be done.
    Regards,
    Shubham

Maybe you are looking for

  • How do I move an itunes library?

    Ok, here's what I am wanting to do though not sure how to go about doing it. I have an itunes folder with all my music and my playlists and what not in it. What I want to do is move that whole folder to another hard drive and have itunes use this oth

  • Purchase Order Quantity appear as 1 instead of 0.222 in PO print preview

    Hello MM Enthusiasts, I have a PO with acct assgt – P (Network) where Purchase order quantity updated as 0.222 but if I click on PO print preview the quantity appear as 1 instead of 0.222. Please let me know what has gone wrong in my case. PS: When I

  • How can i achieve following results?

    Hi Folks, I have data like the following: Doc_no       Quantity          Date              Parent_Doc G2001             -1000             09/01/2010    G2002            -500                10/01/2010  G2003            1200               12/01/2010   

  • Case order of EVENT structure

    LV 8.2.1 - Regarding the order of cases in an EVENT structure: 1... Is there any performance (speed) advantage to having the most-commonly used events near the top of the list?  Does it have to search through a list to find which case to execute, or

  • Replicating Pool and Cluster tables in HANA

    Hi, Has anyone been able to successfully replicate the Pool and Cluster tables to HANA? I browsed around but am not able to find any solid material/documents related to the same. Please point me to the same. yogesh