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.

Similar Messages

  • 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

  • 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

  • Adobe form from webdynpro : Getting a single row in the table

    Hello,
    I have a scenario in which I have to create a adobeform from webdynpro application.
    I have created the form and have the context designed in place.
    I am facing a problem in the table I have in my adobeform.
    I am adding rows to this table dynamically using a button using "addInstance"
    Now on the webdynpro side , when I try to read this table I get a single row from this table.
    This row is always the first row of that table.
    I checked the following things from blog   /people/juergen.hauser2/blog/2006/09/12/avoiding-common-mistakes-when-using-tables-on-sap-interactive-forms  , i.e. :
    Cardinality of the node.
    Tick on the option "Repeat Row for Each Data Item".
    But still no success.
    With deadlines to catch I had to post this question after trying a lot.Please help.

    Hello Otto,
    I had found this link before and used the same solution , but unfortunately is taking a long time.
    Now what I am doing is :
    1. I append 10 rows into the table then bind it to the node
    2. Then on the adobe form I have removed the check on "Add row for each line item" because of which it shows only 1 row 
         on the form.
         Now I add rows dynamically, but this puts a limit on the number of rows can be added to the table i.e. 10.
    But this again has added problems like while displaying the form or modifying I hav to handle it seperately and cannot use the same form as it is.( as I have removed the tick for "Add row for each line item" ).
    Thanks,
    Omkar Mirvankar

  • How to get prefilled drop down list in Adobe form from WebDynpro context

    Hi All,
    We all know that we can have dropdown list in webdynpro which can be automatically populated by the context node collection.
    How can we have the same functionality in Adobe form drop down list. I tried to bind the node attribute to drop down list in Adobe form but it shows me only first element. I am not able to see all the elements in the dropdown but if I am doing same thing for WebDynpro DropDown list I can see the complete List.
    Anybody with Solution?

    Hi Ricky
    I have started a thread for this problem and got an answer for it already. Unfortunately I did not have the time to check it out yet; have a look over there:
    https://mail.cirrus.ch/exchweb/bin/redir.asp?URL=https:///community [original link is broken]
    I appreciate if you tell me whether it worked for you.
    Andreas

  • Calling Adobe form in a Workflow Step for approval

    Hello,
       There are some ISR forms and workflows in MSS which use Workflow tasks configured as JavaWebDynpro to call Adobe form from the Workflow Step.
    Is it possible to achieve the same using ABAP Web Dynpro and creating a new task and configuring to use it as an ABAP Web Dynpro (which can in turn call the Adobe form from the WD)?
    Thanks.

    Hi Anjali,
    1)You can develop an<b> RFC</b> that collects required basic data from R/3 and display them in <i>ABAP WD - Adobe Form</i>. The End user can change/fill the remaining contents of the Adobe Form and submits it for approval. The <b>RFC</b> again handles the triggering part of the <b>Workflow</b> and passes the form data to the workflow containers.And for approvals, you can use the <i><b>SWFVISU</b></i> to call a <b>ABAP WD</b> application from Workflow. And in turn the control again goes back to RFC and so...
    2)I dont have much idea in ECC 60 if there is a similar ABAP WD application like Standard Java WD <b>IsrFormApprove</b>.
    3)No idea.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Call standard adobe form from a WD application

    Hi All,
    I have a requirement of displaying a standard adobe form from a click of a button in a WDA portal,
    I am an ECC developer and have no idea of WD. I created a function module which uses submit statement to invoke the driver program and displays the PDF output, but when this function module is invoked from the portal on the click of button it gives and error FP job open error.
    I understand that displaying PDF wont work in this way on portal, so can anyone please guide me the correct procedure on how  to achieve this.
    I came across this thread
    [Regarding adobe form using Webdynpro ABAP|Regarding adobe form using Webdynpro ABAP]
    which mentions of feeding the complete PDF document to the UI element as an XSTRING context node bound to the pdfSource property, but the help link provided in the thread is not opening.
    Thanks in advance.
    Regards,
    Kartik

    Hi karthick , creat a button in the view and assign a action to it .
    inside that action eventhandeler method  call the method for prepare_adobe _form for dislay PDF  .
    method ONACTIONSHOW_ADOBE_FORM .
    data : l_pdfstring type xstring.
    " Select for print
    wd_this->prepare_adobe_forms( importing p_pdf = l_pdfstring ). " coding is given below
    " Call print
    cl_wd_runtime_services=>attach_file_to_response(
    i_filename = 'adobe_form.pdf'
    i_content = l_pdfstring
    i_mime_type = 'application/pdf'
    i_in_new_window = abap_false
    i_inplace = abap_false ).
    endmethod.
    prepare PDF
    method prepare_adobe_forms.
    data: lv_funcname type funcname.
    data: ls_outputparams type sfpoutputparams.
    data: ls_formoutput type fpformoutput.
    call function 'FP_FUNCTION_MODULE_NAME'
    exporting
    i_name = 'FP_TEST_DATE'
    importing
    e_funcname = lv_funcname.
    ls_outputparamsu2010nodialog = 'X'. " suppress printer dialog popup
    ls_outputparamsu2010getpdf = 'X'. " launch print preview
    call function 'FP_JOB_OPEN'
    changing
    ie_outputparams = ls_outputparams
    exceptions
    cancel = 1
    usage_error = 2
    system_error = 3
    internal_error = 4
    others = 5.
    call function lv_funcname
    * exporting
    * /1bcdwb/docparams = fp_docparams
    importing
    /1bcdwb/formoutput = ls_formoutput
    exceptions
    usage_error = 1
    system_error = 2
    internal_error = 3
    others = 4.
    call function 'FP_JOB_CLOSE'
    exceptions
    usage_error = 1
    system_error = 2
    internal_error = 3
    others = 4.
    p_pdf = ls_formoutputu2010pdf.
    endmethod .
    Regards
    Chinnaiya P

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

    Hi 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

  • Call XML Schema based Adobe form from ABAP Program

    Hi,
      I have a scenario where an online Interactive form is designed and its working fine. Now i have a requirement to call the same Adobe form from a report for viewing purpose. Since it is XML Schema based Interface, is it possible to call the same form instead of creating a new one with the same template? Because i tried to call the same Adobe form by passing the values and converting those to XML(By Creating Transformation). Then i converted the XML to XSTRING and passed to the Generated Function Module for Input paramter "/1bcdwb/docxml". This resulted in an error "com.adobe.ProcessingException: com.adobe.Processin".
    Please help me out in solving this and check the attachment for code.
    Thanks,
    Raj

    Hi,
    outputparams-NODIALOG   = 'X'.
    outputparams-PREVIEW     = 'X'.
    outputparams-dest = 'LP01'.  "give ur printer name.
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        ie_outputparams = outputparams
      EXCEPTIONS
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 4
        OTHERS          = 5.
    and Now call the generated function module
    pass the following in docparams
    docparams-langu = 'E'.
    docparams-country = 'US'.
    and finally close the job.
    It should work.
    Please let me know if u need further details.
    Regards,
    sasi

  • Calling and manipulating data on an Interactive Adobe form from ABAP report

    Dear All,
    Can you please tell me how to call an interactive adobe from from a custom adobe form?
    If so how can we pass and receive data between the interactive adobe form and the abap report program?
    Thank you.
    Regards,
    Prosenjit.

    Hi,
    It is possible to call an Interactive Adobe form from ABAP report and pass data into the form. If you search the forum, you will get many threads explaining the process. Let me know if you have any specific questions on this.
    Regards,
    Sanoosh

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

  • Communication problem between Adobe Form and WebDynpro

    Hi all,
    I have the following problem and am thankful for any help I can get from you in order to solve it:
    I created an Adobe Form in WebDynpro. In both the WebDynpro as well as in the Adobe Form, I created a Submit Button (which I binded to the same method) as well as a text field (which I binded to the same context attribute). When I do changes in WebDynpro, everything works fine and the changes are displayed in the Adobe Form as well.
    But when I do changes in the Adobe Form, these changes are not submitted. Also the Submit button in the Adobe Form is not working.
    I send the project to a colleague and she could deploy and run my project without any problems. So I think it is a problem with my settings or installation. I already did a reinstallation of the NW Developer Studio as well as the Adobe Lifecycle Designer. But it did not help.
    Did anyone have a similar problem or has a suggestions what else I could do?
    Thanks in advance,
    Thorsten

    Hi Thorsten,
    If the submit button doesn't do anything, it usually means there's something wrong with your client software.
    Are you using NW04s or NW04? NW04 only supports ACF (Active Component Framework) forms, whereas NW04s also supports ZCI (Zero Client Installation) forms (there're different Submit buttons in Adobe LiveCycle Designer). Reader 7.0.9 should definitely work in all cases, but Reader 8.0 (and Reader 8.1, released yesterday) doesn't work properly with ACF forms (there's an SAP note on this subject).
    To use ZCI forms, all you need is Adobe Reader at client side. To use ACF forms, you also need some other client software: either (the correct version!) SAP Active Component Framework (stand alone software that you can download from SAP Marketplace; it's part of some SAP note; search for xACF and select the correct version of the note). A better option is not to install xACF manually (uninstall it if present, using Control Panel > Add/Remove programs), but to use the ActiveX control instead (reinstall it in your case because of the problem you have). First kill the AcroRd32.exe process, if it is running. Then go to "C:\WINDOWS\Downloaded Program Files" and delete the file AdobeControl(s) (NW04) or AcfControls (something similar; NW04s) if present. Then access your form in your Web Dynpro application using IE (Firefox doesn't support ActiveX; the only option is to use ZCI forms with non-IE browsers). If all goes well, prior to displaying the form, IE should ask to install an ActiveX control (it will only be asked if you have sufficient privileges, that is belong to the local Administrators group).
    Kind regards,
    Sigiswald

  • Printing Adobe Form in Webdynpro

    Hi Experts,
    I need one help  from all of you , its quite urgent.
    Actually I am trying to print Adobe form in webdynpro method like below:
       "----- Take the Adobe fprm -------------------"
          lv_form_name = 'ZHR_SAP_FORM'.
          CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
            EXPORTING
              i_name     = lv_form_name
            IMPORTING
              e_funcname = lv_fm_name.
          lfs_output_params-nodialog = 'X'.
          lfs_output_params-getpdf   = 'X'.
          lfs_output_params-device   = 'TR5T'.
          lfs_output_params-connection   = 'ADS'.
          CALL FUNCTION 'FP_JOB_OPEN'
            CHANGING
              ie_outputparams = lfs_output_params
            EXCEPTIONS
              cancel          = 1
              usage_error     = 2
              system_error    = 3
              internal_error  = 4
              OTHERS          = 5.
          IF sy-subrc <> 0.
    * Implement suitable error handling here
          ENDIF.
    *---Form language
          lfs_doc_params-langu = 'E'.
    *---Call Adobe form.
          CALL FUNCTION lv_fm_name  
            EXPORTING
             /1bcdwb/docparams         = lfs_doc_params
              gt_item                  = lit_zhrauth_item
              gs_hrauth                = lwa_zhrauth
           IMPORTING
             /1bcdwb/formoutput       =  lwa_output
           EXCEPTIONS
             usage_error              = 1
             system_error             = 2
             internal_error           = 3
             OTHERS                   = 4
          IF sy-subrc <> 0.
    * Implement suitable error handling here
          ENDIF.
    *---Job Close
          CALL FUNCTION 'FP_JOB_CLOSE'
    * IMPORTING
    *   E_RESULT             =
           EXCEPTIONS
             usage_error          = 1
             system_error         = 2
             internal_error       = 3
             OTHERS               = 4
          IF sy-subrc <> 0.
    * Implement suitable error handling here
          ENDIF.
    Here , the funtion module name is coming correctly.
    But when calling function CALL FUNCTION 'FP_JOB_OPEN' ,
    It is giving sy-subrc = 2 , i.e. usage error (An Exception).
    Similarily , due to this i am getting same exception in 
    CALL FUNCTION  lv_fm_name
    So some one please help me , what should i do ,
    am i supposed to pass some other parameter in  CALL FUNCTION 'FP_JOB_OPEN'
    Hopefully , waiting for responds.
    Thanks & Regards;
    Gaurav Singh

    HI Sikka,
    Thanx for the reply ,
    With your solution CALL FUNCTION 'FP_JOB_OPEN' is done.
    but the same  problem is still happening with
    CALL FUNCTION  lv_fm_name and it is giving sy-subrc = 2.
    i.e.   system_error             =  2
    Thanx !!!

  • 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..:-)

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

Maybe you are looking for