Call a Adobe form from button

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 Dharmala

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

Similar Messages

  • 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

  • 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

  • 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

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

  • Is it possible to call a 9i Forms from a 6i Forms ?

    Hello,
    I have a customer using CRM 11.5.10.2 ( Database 9.2.0.6 / 6i Forms) and will be created a functionality in the CRM screen, where end user will call (via button) a custom application running on 9i Forms.
    Customer believes that there is a technical limitation to achieve that. That is, call a 9i Forms from a 6i Forms.
    Is it possible to call a 9i Forms from a 6i Forms ?
    Thank you in advanced for help,
    Marcos Souza.

    I should have thought so, as Forms 9i is exclusively web-driven, so how you launch the URL is immaterial as long as you use a supported browser. As your Forms 9i apps will invariably be on a remote web server, you'll not encounter compatibility issues either. And Forms 6 and 9 development is possible on the same PC using multiple Oracle Homes. Ask Oracle beforehand if you are still not convinced.

  • Adobe forms from scratch - Standard programs?

    Hi,
    I have just begun trying to implement Adobe forms from scratch at my company. Previosly we have used an external printing solution so I can't convert anything. My plan is to create a new output medium and let the users select the new type by themself. But I have a couple of questions:
    1. How do I create a new medium (Examples: Print output/Fax/Telex, as found in t-code NACT - Processing routines)
    2. I guess there are SAP standard printing programs, interfaces and forms, but I can't find them. I need to be able to print all the usual docs from orders, deliveries and invoices. All I have in NACT are old home-made (Z*) programs so if you know what SAP think we should use now, please let me know!
    We have ERP6 ehp4 on netweaver 7 ehp1 and I have created one "Adobe form" myself so I can confirm that it works. but I don't want to invent the wheel twice...
    Thanx in advance!
    Br Linus Hellsing

    Hi Linus,
    I was wondering if you had a moment to comment on an opportunity that I am having regarding Adobe forms development efforts?
    If so, please read on:
    Our offshore team has worked on a development effort to replace Smart Forms PO's and Contracts with Adobe forms. They created new output types for these Adobe forms. In testing I noticed that the only way I can get them to print - is if I go into Print Preview and print -or- use SP01 and click on the .pdf icon and print. In both cases it uses Adobe Acrobat to perform the actually printing.
    We cannot seem to get them to print using the normal SAP message utility. Our users would expect to continue to:
    1. Use the Messages button while in the PO document - and select the new output type along with Meduim= Printed Output...
    2. Then they select Further data button - to specify Send Immediately.
    3. Then they use the Communication Method tab and specify the Logical Destination (as LOCL) and click on the Check box for Print immediately.
    They get what appears to be an rambling of Adobe error lines followed by many blank pages....
    At this point I am not sure if the print program is working correctly - or if the problem is with Adobe Document Services?
    Have you ever encountered a situation like this during your Adobe development efforts?
    Any suggestions would be appreciated.
    Regards,
    Steve

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

  • 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

  • Problem activating simple adobe form from SFP

    Hi
    I created a simple adobe form from transaction SFP....2 steps ...created interface then form.
    the problem is when try to activate the form there are no syntax errors but iam getting a message
    1,275 bytes transmitted, code page 0000
    Message no. FES032
    and the form is still inactive...
    any idea why iam getting this error? is configuration from basis not configured properly?
    Please advise
    Govi

    1. Create RFC (ABAP system side) destination through SM59 called as ADS which should of type G
    u2022     RFC Destination          : ADS
    u2022     Connection Type          :G(HTTP Connection to External services)
    u2022     Destination 1               : ADS connection to SID (Java system)
    Target System settings:
    u2022     Target HOST          : JAVA system Host 
    u2022     Port               : java system port
    u2022     Path prefix          : this defaults(/AdobeDocumentServices/Config?style=rpc)
    2. Login to Visual Administration
    Navigate to Server  Services  Destinations and select HTTP drop down.
    Create the RFC destination as FP_ICF_DATA_<SID>.
    Destination Name: FP_ICF_DATA_<SID>
    Destination Type: HTTP
    Connection settings:
    u2022     URL          :http://<hostname>:<ABAP-portno>
    u2022     system Id     :--NIL
    u2022     client            : ABAP system client no(200 or 300)
    u2022     Language     :--NIL
    Logon Data:
    u2022     Authentication: BASIC
    BASIS Authentication:
    u2022     Username:ADS_AGENT
    u2022     Password:xxxxx
    3. Please activate SOAP service:
    Login your ABAP System
    u2022     Use transaction: SICF  execute  and Select default hostselect sap---select bcu2014select-SOAP Select and activate

  • How to call a Oracle Form from within the APEX

    Hi,
    I have a requirment where need to call a oracle form from within the Oracle APEX application?
    I will appriciate if can someone help me out.
    Thanks

    Hi,
    are you working with Forms 6i or 10g?
    If you want to call a forms 10g page. Just use a button with javascript:
    - Target type: URL
    - URL Target: javascript:window.open ('http://<server>:<port>/forms/frmservlet?config=<conf>','Forms window');
    With Forms 6i you can open the directory where your forms file is inside (works just with IE):
    <script type="text/javascript">
    function fnc_window()  {w = open('C:\\FormsFiles', "winLov","scrollbars=yes,resizable=no,width=600,height=400");
    if (w.opener == null)
    w.opener = self;
    </script>Or execute the forms file with vbscript (IE only):
    <script language = "vbscript">
    sub fnc_forms()
    dim progName
    progName = "c:\FormsFiles\myForm.exe"
    set oShell = createobject("wscript.shell") 'create a shell
    '***use the line below to call your app, defined above with the "progName" variable:
    oShell.run(progName)
    end sub
    </script>

  • Picking of Adobe forms from application server

    Hi Gurus
    We have SAP ECC 6.0. So far in our system we have text files and CSV excel files which comes from external system and lies in application sever and these are being picked up automatically by system and gets processed in SAP.
    1)The requirement is to "pick the adobe forms from application server and read some fields in the form and update the fields (required) in customer master data in SAP". How can we achieve this?
    Any kind of help is appreciated.
    Thanks
    Aleem

    Hi Aleem,
    I tried to work on a similar scenario couple of months back. But it was not successful. Will you please let me know if you get any solution???
    Thanks in advance
    Poornima

  • Default email subject for Adobe Form from Netweaver Guided Procedure

    Hi everyone.
    When we generate an Adobe form from a Netweaver Guided Procedure, a default subject of "Interactive Form {xxxxxxxx}" is used where xxxxxxxx is the Process ID of the Guided Procedure.  Is this default subject configurable?  Where can I change it?
    If we define a custom email template for the form,  the subject of the email becomes our custom subject concatenated with the Process ID.  Where is it defined that the Process ID must be included in the email subject?
    Thanks,
    .. Craig

    Hello,
    I have no experience regarding the table of pictures, but you could try a workaround if you don´t insist of displaying the images. You could attach the pictures as attachments (you know, the little attachments icon on the left in your Reader). The ABAP coding for this can be found in SE38 FP_* and when you check the descriptions you should be able to find the one working with the attachments.
    Would be better than nothing I guess,
    Otto

Maybe you are looking for

  • BIP Report access via URL in OBIEE

    Experts, I want to access a BIP report via URL in OBIEE. Here are the details. I already have Answers request with 'Is Prompted' filters. I have a dashboard prompt. The request works according to the values given in the prompt. Say, the user gives so

  • Weird situation in Z_ALV_report!!!!!!!!!

    Hi Experts, This is a weird situation, I dont know, Why its happening???? I enhanced and added SubTotals to the existing Z_alv_report. But, the Sub totals functionality is NOT working!!!!!!!! even though I did every thing correct!!!!!!!!!! So, I did

  • Duplex printing in reporting services

    I have been working on this problem for days. I have a report that is grouped and will be printed duplex (front and back). There is a page break after each group. I want to ensure that the start of a new group does not end up printed on the back side

  • How to go from 4.4 to 4.2.2?

    hello.i have the primo 81 with updated 4.4 kit kat and i will go back in 4.2.2 because i dont like.which is the way to do?

  • Ansynchronous tree table selection listener in ADF ?

    Hello, We have a tree table in our jsff on which user can select and right click nodes. The code in selectionListener takes a long time to execute. At the end it raises a contextual event which refreshes another part of the screen User needs to wait