How to archive an adobe form?

Hi,
I created an adobe form. I set the archive parameters as follows:
fp_outputparams-arcmode    = p_arch. "  (2 or 3.)
      IF p_arch =  2 OR p_arch = 3. " Archive only / Print and archive
        CLEAR: gs_dara,
               fp_docparams-daratab.
        gs_dara-function   = 'DARA'.
        gs_dara-mandant    = sy-mandt.
        gs_dara-sap_object = SAP_OBJECT.
        gs_dara-ar_object  = AR_OBJECT_NAME.
        gs_dara-object_id =ID.
         gs_dara-FORMARCHIV =
        gs_dara-notiz      = 'Adobe Form'.
        APPEND gs_dara TO fp_docparams-daratab.
      ENDIF.
I create a print preview. There I can see the button "Archive". When I push it something happens in the background. I haven't debugged it yet.
I thought that after pushing this button, the document can be found using transaction OAAD --> Technical Search. But it is not there.
Is there a step I have to include? Call a function module to create something? Customize something?
Anyone an idea?
Thanks
Viktoria
Edited by: Viktoria P. on Nov 2, 2011 11:53 AM
Edited by: Viktoria P. on Nov 21, 2011 3:52 PM
I am still trying to find a solution for this issue. Any idea?

Hi,
I created an adobe form using the adobe live cycle designer integrated in transaction SFP.
I created a report to call the form. To archive a form you have to set some additional parameters as mentioned in my messages.
For more help check also link:
[http://www.****************/Tutorials/AdobeForms/index.htm]
Or check example programs in package SFPT . You can find several programs where a adobe form is processed.
E.g. report FP_TEST_02.
Hope this helps.
Regards
Viktoria

Similar Messages

  • How to create simple Adobe Forms in ABAP

    hi,
    i want to know how to create simple Adobe forms in ABAP

    Hi,
    Look at this eLearning Documents. This a good way to start.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/interactiveforms-elearning">SAP Interactive Forms by Adobe eLearning Catalog</a>
    Regards.
    Marcelo Ramos

  • How to download interactive adobe form with filled data

    Hi Experts,
    i have created a module pool program that is showing interactive adobe form, i created a button 'SAVE' to download the interactive adobe form to the presentation server.
    but the problem is that i am unable to save the interactive adobe form with filled data. Please provide me the code how to download interactive adobe form with filled data.
    Please provide me valuable information to clear the issue.
    Thank you,
    B. Raghu Prasad.

    Hi Raghu,
    is this adobe form in web dynpro ? if so, I suggest to go to [Web Dynpro |Web Dynpro ABAP; forum to get more advice because it seems to be more specific topic.
    Regards,
    Vincent

  • How to make a ADOBE FORM as interactive??

    Hi experts,
                       Please anybody share how to make a ADOBE FORM interactive ? It means the content of the form ( text field etc.,) can be varied ( selected dynamically ) and also the form should be freeze later , so that it cannot be edited again ,.
                    Thanks in advance!!

    Hi shukla,
    Thanks for u r response.
    Here my problem is i created webdynpro component view with interactive element .And i set the all required properties also like checking enable checkbox ,pdfsourcr,formname allthe requird things i did and i developed one adobeform using sfp tcode. In that form they are some input fields are their. and i activated every thing sucessfully.
       while executing webdynpro app i am getting pdf also.But in that pdf i cant able to fill the input fields..i checked with javascript code , and different layouts also but still it will be not editable in pdf..
    I need the solution for this........ Pls help me, I stucked with thispoint ,and its urgent...
    Regards,
    Venkat.

  • How to download interactive adobe form

    Hi Experts,
    could you please tell me how to download interactive adobe form with filled data through report program (not by WebDynpro ABAP).
    Note:- The downloaded form should be static.
    Thankyou,
    B. Raghu

    Hi,
    look at the example report FP_TEST_00 in the workbench.
    Steps to generate an adobe form:-
    First get name of the generated function module
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
    *open the form for printing
      CALL FUNCTION 'FP_JOB_OPEN'
    Now call the generated function module
      CALL FUNCTION fm_name
    Close spool job
      CALL FUNCTION 'FP_JOB_CLOSE'
    Steps to download the adobe form on your PC:-
    convert the pdf into a binary file
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    *download the form on your PC
      CALL METHOD cl_gui_frontend_services=>gui_download
    Regards
    Manisha

  • How to close the adobe forms in popup windows once.

    hi,expert..
    i show a adobe form in a popup windows in my webdynpro program...but i find out that i at least click twice on the "CLOSE" button on the right top of the window.....how can i modify my program to  close the window once..
    the original codes are as follow:
    method onactionprint .
       data lo_nd_zhrhap_vp_app_01 type ref to if_wd_context_node.
      data lo_nd_zhrhap_t_document type ref to if_wd_context_node.
      data lt_zhrhap_t_document type wd_this->elements_zhrhap_t_document.
      lo_nd_zhrhap_vp_app_01 = wd_context->get_child_node( name =
    wd_this->wdctx_zhrhap_vp_app_01 ).
      lo_nd_zhrhap_t_document = lo_nd_zhrhap_vp_app_01->get_child_node(
    name = wd_this->wdctx_zhrhap_t_document ).
      lo_nd_zhrhap_t_document->get_static_attributes_table(
        importing
          table = lt_zhrhap_t_document ).
    DATA lo_nd_zhrhap_s_app_leader TYPE REF TO if_wd_context_node.
    DATA lo_el_zhrhap_s_app_leader TYPE REF TO if_wd_context_element.
       data ls_zhrhap_s_app_leader type
    wd_this->element_zhrhap_s_app_leader.
    lo_nd_zhrhap_s_app_leader = lo_nd_zhrhap_vp_app_01->get_child_node(
    *name = wd_this->wdctx_zhrhap_s_app_leader ).
    lo_el_zhrhap_s_app_leader = lo_nd_zhrhap_s_app_leader->get_element(
    lo_el_zhrhap_s_app_leader->get_static_attributes(
       IMPORTING
         static_attributes = ls_zhrhap_s_app_leader ).
    DATA lo_nd_zhrhap_s_dates TYPE REF TO if_wd_context_node.
    DATA lo_el_zhrhap_s_dates TYPE REF TO if_wd_context_element.
       data ls_zhrhap_s_dates type wd_this->element_zhrhap_s_dates.
    lo_nd_zhrhap_s_dates = lo_nd_zhrhap_vp_app_01->get_child_node( name
    *= wd_this->wdctx_zhrhap_s_dates ).
    lo_el_zhrhap_s_dates = lo_nd_zhrhap_s_dates->get_element(  ).
    lo_el_zhrhap_s_dates->get_static_attributes(
       IMPORTING
         static_attributes = ls_zhrhap_s_dates ).
    采集表名称和日期
      data lo_nd_if_data type ref to if_wd_context_node.
      data lo_el_if_data type ref to if_wd_context_element.
      data ls_if_data type wd_this->element_if_data.
      lo_nd_if_data = wd_context->get_child_node( name =
    wd_this->wdctx_if_data ).
      lo_el_if_data = lo_nd_if_data->get_element(  ).
      lo_el_if_data->get_static_attributes(
        importing
          static_attributes = ls_if_data ).
      ls_zhrhap_s_dates-valid_begda = ls_if_data-begda.
      ls_zhrhap_s_dates-valid_endda = ls_if_data-endda.
    DATA lo_el_zhrhap_vp_app_01 TYPE REF TO if_wd_context_element.
       data ls_zhrhap_vp_app_01 type wd_this->element_zhrhap_vp_app_01.
       data lv_description like ls_zhrhap_vp_app_01-description.
    lo_el_zhrhap_vp_app_01 = lo_nd_zhrhap_vp_app_01->get_element(  ).
    lo_el_zhrhap_vp_app_01->get_attribute(
       EXPORTING
         name =  `DESCRIPTION`
       IMPORTING
         value = lv_description ).
    REPLACE ALL OCCURRENCES OF '类别:' in lv_description with ''.
      lv_description = ls_if_data-stext.
      data l_is_ok    type boole_d.
      data pdf_source type xstring.
      data l_msg      type ref to cl_hrpa_message_list.
      create object l_msg.
      call method zcl_hr_appraisal_utility=>print_contract_direct
        exporting
        form_type           = 'COD'
          zhrhap_t_document   = lt_zhrhap_t_document
          zhrhap_s_dates      = ls_zhrhap_s_dates
          zhrhap_s_app_leader = ls_zhrhap_s_app_leader
          description         = lv_description
        job_description     =
          message_handler     = l_msg
         importing
          is_ok               = l_is_ok
          pdf_xstring         = pdf_source
      check l_is_ok is not initial and pdf_source is not initial.
      data lo_nd_pdf type ref to if_wd_context_node.
      data lo_el_pdf type ref to if_wd_context_element.
      data ls_pdf type wd_this->element_pdf.
      data lv_source like ls_pdf-source.
      lo_nd_pdf = wd_context->get_child_node( name = wd_this->wdctx_pdf ).
      lo_el_pdf = lo_nd_pdf->get_element(  ).
      lo_el_pdf->set_attribute(
        exporting
          name =  `SOURCE`
          value = pdf_source ).
    *-->ADOBE View embeded to ViewContainer UI
      data: lr_view               type ref to if_wd_view_controller,
            lr_api_main           type ref to if_wd_component,
            lr_window_man         type ref to if_wd_window_manager,
            comp_usage            type ref to if_wd_component_usage,
            l_title               type string value '打印合同',
            lr_window             type ref to if_wd_window.
      lr_view = wd_this->wd_get_api( ).
      lr_api_main = wd_comp_controller->wd_get_api( ).
      lr_window_man = lr_api_main->get_window_manager( ).
    l_title = wd_colr_mp_controller->model->get_text( '006' ).
      call method lr_window_man->create_window
        exporting
          modal        = abap_true
          window_name  = 'POPUP'
          title        = l_title
          button_kind  = if_wd_window=>co_buttons_yesno
         message_type = if_wd_window=>co_msg_type_none
          default_button = if_wd_window=>co_button_yes
        receiving
          window       = lr_window.
      lr_window->open( ).
    endmethod.
    looking forward to your help....thanks in advance

    Ping,
    1st, see the Markup formatting options over on the right part of the screen - if you wrap your code between the code tags it will read MUCH better.
    2nd, I can't replicate this issue - we have several PDFs opening in new windows & we only need to click once on the clost 'X' - how are you calling the PDF in a new window?
    If you can't find a final resolution, an alternative would be to place a LinktoAction on your web dynpro application somewhere that makes sense which would close the window for you.
    We do this on Sucess Message Views...
    You can simply add the link to action to the screen, and in the event handler use
       data : l_view_cntr type ref to if_wd_view_controller,
           l_win_cntr  type ref to if_wd_window_controller,
           l_window    type ref to if_wd_window,
           l_parameter_list  type wdr_event_parameter_list,
           l_parameter       type   wdr_event_parameter,
           l_val type ref to data.
    field-symbols <fs> type any.
    l_view_cntr = wd_this->wd_get_api( ).
    l_win_cntr  = l_view_cntr->get_embedding_window_ctlr( ).
    l_parameter-name = 'CLOSE_WINDOW'.
    create data l_val type c.
    assign l_val->* to <fs>.
    <fs> = 'X'.
    l_parameter-value = l_val.
    insert l_parameter into table l_parameter_list.
    l_win_cntr->if_wd_view_controller~fire_plug(
    exporting plug_name = 'EXIT_PLUG'
               parameters = l_parameter_list ).
    Make sure you have an Exit plug on your Window with Plug Type EXIT.

  • How to upload offline adobe form(PDF) to the SAP?

    Hi,
    I am working on adobe forms for the first time.
    So I dont have much knowledge on it.
    I have created the layout for the SO form in transaction SFP.
    Kindly help me how to proceed further to upload the form data to the sap.
    Thanks in advance,
    Neha

    Hi Neha,
    The program will have the following steps:
    1.Data retrieval and processing : A select statement for the pre-populated information
    2.Obtain the name of the Generated Function Module of the form u2022 Start the form processing
    3.Call the Generated Function Module
    4.End form processing
    5. Send the form to the vendor using Business communication services (BCS)
    Follw this step
    select single field1 field2... from table into wa where field = P_field.
    call function 'FP_FUNCTION_MODULE_NAME'
    call function 'FP_JOB_OPEN'
    Then call the generated function module
    call function fm_name
    call function 'FP_JOB_CLOSE'
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    Extract the Data:
    DATA: xml_data TYPE xstring,
          lt_xml_data TYPE STANDARD TABLE OF xstring.
          APPEND xml_data TO lt_xml_data.
    lo_pdfobj->get_data( IMPORTING formdata = xml_data ).
    Convert XML data from XSTRING format to STRING format DATA: lv_xml_data_string TYPE string.
    CALL FUNCTION 'ECATT_CONV_XSTRING_TO_STRING'
    EXPORTING im_xstring = xml_data
    IMPORTING ex_string = lv_xml_data_string.
    Thanks

  • How to display an ADOBE FORM in the same view

    Hi forum
      I am displaying an Adobe Form in a view of Web Dynpro for Java, but when this open, the adobe form open another windows with de pdf... how can i diplay this adobe form in the same view ?
    Thnks
    Josué Cruz

    Hi Josué Cruz,
    Insert the 'Interactive Form' UI element in the desired view.
    And bind its 'pdfSource' property to the context atribute pdf source. Optionally, you can set height and width of the form.
    -Aarthi

  • How to print an adobe form with xml interface in r3

    I have a Web dynpro application that creates an ADOBE form using an XML schema interface.
    I need to be able to print the same form in R/3 - is this possible? If so how do I create the interface?
    Thanks

    Hi,
    I am not sure if I understand your question correctly. The following NetWeaver documentation might be useful for you https://help.sap.com/saphelp_nw04s/helpdata/en/a1/40aac795a243cebdcff368491c659e/frameset.htm Check section Example: Calling Forms in an Application Program. You need to get a name of the corresponding FM using FM FP_FUNCTION_MODULE_NAME.
    Regards

  • How to transport the adobe form

    Hi Experts,
    We created an adobe form based on the web service.
    Now we moved all the transport request to the quality system.But the web service holds the dev system details only how to change these.
    What is the procedure to move the Adobe forms based on web service, any thoughts.
    Please help me on this.
    Thanks in Advance,
    Praveen

    Praveen,
    It always a good practice to share your solution when you close the thread so that it serves as reference for others with same problem.
    Chintan

  • How to integrate Offlineline  adobe forms in webdynpro

    hi all,
    iam designed adobe forms through the SFP transaction and developement of driver program to call the forms  through the application program i.e se38.
    here, the data extraction from tables and popualating the data is okay. My question is how save data in sap system after user fill data in offline adobe forms?
    requirement is initially user dowload the form from the portal , then fill data in Pdf form and then upload the form form in to portal.

    Hi,
    Look at this eLearning Documents. This a good way to start.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/interactiveforms-elearning">SAP Interactive Forms by Adobe eLearning Catalog</a>
    Regards.
    Marcelo Ramos

  • How to pass a adobe form for approval

    hi ,
    We have scenario where we  are creating a custom HR interative adobe form in EP for creating a position .After entering the details and when it is submitted it should trigger a custom workflow which goes through a series of approvals via UWL and finally it should update  the R/3.
    The data is not getting stored in any temporary table in between the approvals.Only the form contains the data and
    we are using the HCM process and forms NOt PCRs.
    My questions are:
    1) How should i proceed to send the adobe form from portal to the backend workflow for the approvals.
    2) what are the things i need to configure?
    3) do i need t create any custom BO or tasks? if not
    4) what are the standard existing BO and standard tasks can i use and
    5) how can i use them.
    Please tell me in detail to proceed further.
    Helpful answers will be definitely appreciated.
    Regards,
    Rajgopal.

    Hi Rajasekhar,
    Seems you have extensive knowledge on the PCRs. I have some basic questions on which I need your help.
    Can you pl. send me your email id/contact details so that I can be in touch with you.
    my email:
    [email protected]
    Many thanks in advance.
    MSR

  • How to Programatically send adobe form output to Application Server?

    Has anyone got a program which calls adobe form function module and then dumps the output to App Server?

    used function 'ADS_WRITE_TO_FILE'

  • How can I use adobe forms to force payment (with PayPal) to ensure payment before registration? Or is this an issue with PayPal?

    I am using adobe forms to create a registration form for a workshop that I am holding. It is a $10 charge to attend however I am having difficulties ensuring the payment goes through before the participant is put on the registration list. Is this something I can fix through adobe forms or should I be going through PayPal to fix the issue?

    [moving discussion to FormsCentral forum]

  • How to Convert the adobe form to web services

    Hi Experts ,
    Can you please help me  i need to  Connect Adobe form to WEB Services .
    what Function Module DO i need to use to Convert  or to create ADOBE Forms.
    once after Createing i need to connect to web service through SAP>
    Regd's
    Raj

    /people/r.eijpe/blog/2007/01/08/performing-sap-interactive-forms-by-adobe
    Expert Forums » SAP NetWeaver » SAP Interactive Forms by Adobe
    https://www.sdn.sap.com/irj/sdn/interactiveforms
    /people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos
    http://help.sap.com/saphelp_nw2004s/helpdata/en/18/ecb69017ad4765855425b97f666470/frameset.htm
    Regards

Maybe you are looking for