Open PDF Adobe form from workitem in UWL

Hi,
We have a requirement in which a workitem is gettng generated from workflows, And it comes in UWL, So when we execute that workitem it should open a adobe form for notificaton so that approver can reject or approve that notificaton in PDF, But it is openng a SAP transaction rather then adobe form.
we are on ECC 5.0 and portal verion is 7. we are using standard workflow WS5000041 which generates the workitem. It works perfectly fine in ECC 6.0, As there are different standard workflows in ECC 6.0 but the working is same.
Thanks.

HI
I think you might have missed out to configure the respective task ID and its respective visualization parameters in the SWFVISU transaction.
Iam not sure what is exactly the flow in the ECC5.0 but if you look at the workflow template , it again incudes a subworkflow, in which you actually have the approve form standard task the task number is TS50000075 and in the swfvisu txn the task is already configured with visualization paramters as Webdynpro aplication and Name sape sa SAP, I think you have to add one more parameter in the DYNPARAM
Regards
Pavan

Similar Messages

  • Open Adobe form through workitem in UWL

    Hi,
    We have a requirement in which a workitem is gettng generated from workflows, And it comes in UWL, So when we execute that workitem it should open a adobe form for notificaton so that approver can reject or approve that notificaton, But it is openng a SAP transaction rather then adobe form.
    we are on ECC 5.0 and portal verion is 7. we are standard workflow WS5000041 which generates the workitem.
    Thanks.

    Hi Saurabh 
    Please check following things:
    1) xml configuration file has entry for your workitem.
    2) if not please configure workitem.
    3) Re-register your system.
    4) Also check for Adobe run time environment.
    Hope this will help you.
    Warm Regards
    Abhijeet

  • Error while opening the ADOBE FORM via mail

    Hi to all,
    I have created a program to attached ADOBE FORM to mail.
    When I execute the program, it sends ADOBE FORM to my mail ID successfully.
    But when I open my mail and try to open attached ADOBE FORM, it gives error
    ADOBE READER COULD NOT OPEN u2018PDF FORM (1). PDFu2019 because it is either not a supported file type or because the file has been damaged ( for example, it was sent as an email attached and wasnu2019t correctly decoded).
    Please can any tell me, what the problem is and what the solution is for that?
    I shall be thankful to you for this.
    Regards
    Pavneet Rana
    Edited by: pavneet rana on Aug 1, 2011 2:22 PM

    Thanks for reply,
    below is the code.
    data:
      l_fm_name         TYPE rs38l_fnam,
       l_formname   TYPE fpname VALUE 'ZTESTF1' ,
      fp_docparams      TYPE sfpdocparams,
      FP_FORMOUTPUT     TYPE FPFORMOUTPUT,
      fp_outputparams   TYPE sfpoutputparams.
    data:  I_ATT_CONTENT_HEX  type SOLIX_TAB.
    START-OF-SELECTION.
    data: st  TYPE  ZTABFM11.
    data: it type table of sflight.
    data: wa like LINE OF it.
    data: wa_st like LINE OF ST.
      fp_docparams-langu   =      'E'.
      fp_docparams-country =      'US'.
      fp_docparams-fillable =      'X'.
      fp_outputparams-nodialog = 'X'.
      fp_outputparams-preview =   'X'.
      fp_outputparams-device   =  'LP01'.
      fp_outputparams-getpdf  =   'X' .
      fp_outputparams-dest   =    'LP01'.
      fp_outputparams-reqimm  =   'X'.
      fp_outputparams-reqdel  =   'X' .
      fp_outputparams-xfpoutdev = 'LP01'.
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = l_formname
        IMPORTING
          e_funcname = l_fm_name.
      E_INTERFACE_TYPE           =
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = fp_outputparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          OTHERS          = 5.
    select * from sflight into TABLE it.
      loop at it into wa.
        wa_st-CARRID = wa-CARRID.
        wa_st-CONNID = wa-CONNID.
        wa_st-FLDATE = wa-FLDATE .
        wa_st-PLANETYPE   = wa-PLANETYPE.
        append wa_st to st.
        endloop.
      CALL FUNCTION l_fm_name
        EXPORTING
          /1bcdwb/docparams  = fp_docparams
              st               = st
        IMPORTING
          /1BCDWB/FORMOUTPUT = FP_FORMOUTPUT
        EXCEPTIONS
          usage_error        = 1
          system_error       = 2
          internal_error     = 3
          OTHERS             = 4
       CALL FUNCTION 'FP_JOB_CLOSE'
      IMPORTING
        E_RESULT             = result
       EXCEPTIONS
         usage_error          = 1
         system_error         = 2
         internal_error       = 3
         OTHERS               = 4
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER                = FP_FORMOUTPUT-PDF
      APPEND_TO_TABLE       = ' '
    IMPORTING
      OUTPUT_LENGTH         =
        TABLES
          BINARY_TAB            = I_ATT_CONTENT_HEX  .
    CLASS cl_bcs DEFINITION LOAD.
      DATA:
      lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
      lo_send_request = cl_bcs=>create_persistent( ).
    Message body and subject
      DATA:
      lt_message_body TYPE bcsy_text VALUE IS INITIAL,
      lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
      APPEND 'Dear,' TO lt_message_body.
      append ' ' to lt_message_body.
      APPEND 'Fill the details.'
      TO lt_message_body.
      append ' ' to lt_message_body.
      APPEND 'Thank You,' TO lt_message_body.
      lo_document = cl_document_bcs=>create_document(
      i_type = 'RAW'
      i_text = lt_message_body
      i_subject = 'flight details' ).
      DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
      TRY.
          lo_document->add_attachment(
          EXPORTING
          i_attachment_type = 'PDF'
          i_attachment_subject = 'flight details'
    I_ATTACHMENT_SIZE =
    I_ATTACHMENT_LANGUAGE = SPACE
    I_ATT_CONTENT_TEXT =
    I_ATTACHMENT_HEADER =
          I_ATT_CONTENT_HEX  = I_ATT_CONTENT_HEX  ).
        CATCH cx_document_bcs INTO lx_document_bcs.
      ENDTRY.
    Add attachment
    Pass the document to send request
      lo_send_request->set_document( lo_document ).
    Create sender
      DATA:
      lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
      l_send type ADR6-SMTP_ADDR value 'mail id '.
    lo_sender = cl_cam_address_bcs=>create_internet_address( l_send ).
      lo_sender = cl_sapuser_bcs=>create( sy-uname ).
    Set sender
      lo_send_request->set_sender(
      EXPORTING
      i_sender = lo_sender ).
    Create recipient
      DATA:
      lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
    lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
      lo_recipient = cl_cam_address_bcs=>create_internet_address( l_send ).
    Set recipient
      lo_send_request->add_recipient(
      EXPORTING
      i_recipient = lo_recipient
      i_express = 'X' ).
    lo_send_request->add_recipient(
    EXPORTING
    i_recipient = lo_recipient
    i_express = 'X' ).
    Send email
      DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
      lo_send_request->send(
      EXPORTING
      i_with_error_screen = 'X'
      RECEIVING
      result = lv_sent_to_all ).
      COMMIT WORK.
      message 'Form sucessfuly send to person' type 'I'.
    plesase can any one, provide the soultion.
    i shall be thankful toy you for this.
    regards
    pavneet rana

  • 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

  • Uplaod Adobe form from application server

    I've a requirement where the Adobe interactive from files will be located in the application server directory and need to be uploaded from there.
    I'm using "open data set... in binary mode"  comment to open the file and then read it and store in the lt_rawtab table. But I'm not sure how to get the length of the file (which you can get when you're uploading the file from front end/local disk using the method cl_gui_frontend_services=>gui_upload).
    If you have address this kind scenario please share how did you upload the Adobe from application server?

    Hi Anto,
    In fact my problem was due to l_len parameter when calling the function 'SCMS_BINARY_TO_XSTRING' to convert bin pdf document to Xstring type.
    I was not sure what value should I pass to input_length parameter.
    Then, I saw in some post that the length should be no of lines in lt_rawtab * 255 and that resolved my issue.
    I'm having another issue though. When I open the Adobe form, it says "message limit exceeded"... any idea how to fix this?

  • 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

  • Why is it I do not get an option to open in adobe reader from safari.      by

    Why is it I do not get an option to open in adobe reader from safari?

    Try tapping the pdf and pressing "open in". This should allow you to open your pdf in reader. Let me know if this does not work for you.

  • Issue with opening PDF file link from Safari

    Hi Everyone,
    I got a problem with opening PDF file link from Safari 4.04. Instead of getting a normal pdf content, it shows some weird characters. Not sure it is something wrong with Adobe Reader Plugin or Safari?
    I have uploaded a screenshot of the issue in the adobe forum (http://forums.adobe.com/thread/531870). Please help!
    Many Thanks,
    John

    There's nothing wrong, except the fact that you have Adobe Reader installed. You don't need it, so get rid of it; it will only cause problems with Safari. What you're seeing is the contents of the PDF file, rather than having it displayed.
    If you want to download a PDF file, you can either Control-click on the link and choose "Download Linked File As…", or you can Option-click on the link for the file and it will be downloaded to your Download folder (usually your Desktop).
    If you want to view a PDF file in Safari, you don't need Adobe Reader; Safari is perfectly capable of doing this by itself and has been for years. Adobe Reader will only get in the way and slow everything down.

  • Can't open PDF email attachments from mail app. (iOS7, iPad2)

    Since upgrading to iOS7 I cannot open PDF email attachments from the "Mail" app. The attachment appears as a "tap to download" icon, after downloading it appears as an image of the first page of the PDF. An extended press of the PDF image results in "save image" and "copy" options, but no "open in" option.
    I have tried closing and re-opening mail, restarting the iPad, several different attachments. Still no "Open in" option.
    Any help with this?

    I work in a support organization and we've seen variations of this issue develop on various iphones and ipads with ios7.  Oddly, not everyone is experiencing this, just some people.
    In my own case, I simply downloaded Acrobat Reader for free and can read the things fine.
    We use an exchange activesync email server and when each email comes in it indicates at the very bottom that it has been downloaded as plain text and to click to download the entire message.  I've tried clicking to download and not clicking and I can read the PDF either way.
    In my own case I can view PDF files and/or also save them by pressing and holding the icon of the PDF in the email.
    The other thing one of our end users noticed: if she emailed the PDF directly to her iPhone5 and iPad it would not be readable but if she forwarded it to her offsite Yahoo account and then forward to her corporate email it would open.
    I think there's definetely something going on with the formatting of the PDF (was it created by a true Adobe PDF distiller or one of the many clones?), what email application attached it? (Outlook, Eudora, IOS Mail, etc) and how many PDF reading apps are on your IOS devices?
    For instance I have the default PDF reader, iBooks, Kindle, Adobe Acrobat Reader, and there may be others that I don't even know has PDF capability.   Only Apple probably has a good idea of how many apps utilize this.
    Message was edited by: aliensporebomb - clarification

  • I recently loaded OSX mavericks on my Imac. I now find I cannot open any Adobe products from CS5. The error message reads " to open Adobe illustrator CS5.app, you need to install a JAva SE 6 runtime. Would you like to check and install one?

    I recently loaded OSX mavericks on my Imac. I now find I cannot open any Adobe products from CS5. The error message reads " to open Adobe illustrator CS5.app, you need to install a JAva SE 6 runtime. Would you like to check and install one? I try to install but get the error" download error". As far as i know I'm using Adobe Java 7. None of my CS5 suite works anymore............and i really dont want to upgrade to a monthly cloud service fee as i hate this policy with a passion.

    This goes for Dreamweaver CC on Mavericks!!!!! THANK YOU!
    I couldn't launch Dreamweaver CC. An error told me to install "java se 6 runtime". But when I clicked  OK I got another error telling me there is a network problem! I found this forum post on CS6 products, so I tried the download link, installed java 6 and presto, it worked! Thanks!

  • Error in opening the adobe form to create a PCR

    Hi,
    I m getting an error while i open the adobe form to create a PCR as follows.
    Script failed. accessor '$record.ENAME.DATA.FIELD' is unknown.
    Please help.
    <b>Points are sure.</b>

    Hi,
    I m getting an error while i open the adobe form to create a PCR as follows.
    Script failed. accessor '$record.ENAME.DATA.FIELD' is unknown.
    Please help.
    <b>Points are sure.</b>

  • I'm using iphone 4S, and I can not open PDF file only from my husband email that using Mic outlook. It was very weird because I can received other email with pdf file from other people. can someone help.

    I'm using iphone 4S and ipad mini, and I can not open PDF file only from my husband email that using Mic outlook. It was very weird because I can received other email with pdf file from other people. Can someone help...
    Thanks in advance

    Hi Eidda,
    This may because the attachment is a winmail.dat file. I would recommend taking a look at the article below for more information. Note: the article is written for OS X mail, but does also apply to this situation.
    Mac OS X Mail: What is a winmail.dat attachment?
    http://support.apple.com/kb/HT2614
    -Griff W.

  • 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 openning of adobe forms could be faster at Enterprise portal 7.0

    I wander how openning of adobe forms could be faster at Enterprise portal 7.0. We are using for ESS/MSS functionality.
    I found out that firs time an form is opened it takes longer than next times. Has anyone some good documentation
    Than you in advance

    > I wander how openning of adobe forms could be faster at Enterprise portal 7.0. We are using for ESS/MSS functionality.
    > I found out that firs time an form is opened it takes longer than next times. Has anyone some good documentation
    I would say that this is caused by the Adobe Reader on the PC, not by the portal itself.
    Markus

  • 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

Maybe you are looking for