Not able to create interactive pdf

Hello everyone,
I'm not able to create an offline pdf using exclusively ABAP. I tried using the tutorial "Offline Interactive Forms Using ABAP" but i'm missing something. I allready created the form using transaction SFP, and my ABAP program is like this:
REPORT ztest_interactive_forms.
DATA: wa_lfa1 LIKE lfa1.
DATA: fm_name TYPE funcname.
DATA: fp_outputparams TYPE sfpoutputparams.
DATA: fp_docparams TYPE sfpdocparams.
DATA: fp_formoutput TYPE fpformoutput.
PARAMETERS: p_lifnr LIKE lfa1-lifnr.
START-OF-SELECTION.
SELECT SINGLE lifnr name1 name2 ort01 FROM lfa1 INTO CORRESPONDING FIELDS OF wa_lfa1 WHERE lifnr = p_lifnr.
first get name of the generated function module
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = 'ZTEST_NCS'
IMPORTING
e_funcname = fm_name.
Set output parameters and open spool job
fp_outputparams-nodialog = 'X'. " suppress printer dialog popup
fp_outputparams-getpdf = 'X'. " launch print preview
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = fp_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
Set form language and country (->form locale)
fp_docparams-langu = 'E'.
fp_docparams-country = 'US'.
fp_docparams-fillable = 'X'.
Now call the generated function module
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
vendor_data = wa_lfa1
IMPORTING
/1bcdwb/formoutput = fp_formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
Close spool job
CALL FUNCTION 'FP_JOB_CLOSE'
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
When function module "fm_name" is called, variable fp_formoutput is returned blank (0 pages).
Can anyone help or suggest something ?
Thank you in advance,
Nuno Santos

Hi,
The default export parameter is /1bcdwb/formoutput of type
fpformoutput. This parameter has to be evaluated in the calling program if the
resulting document needs to be handled by the program itself. Export parameters
can be added only for those interfaces that are compatible with Smart Forms.
There is also only one standard exporting parameter of the form's generated
function module: /1bcdwb/formoutput of type fpformoutput. It contains three
fields:
. pdf: Contains the PDF data in hexadecimal form if parameter getpdf of
function module FP_JOB_OPEN is set to 'X'. This is required if your
program has a download functionality or if you want to pass on your PDF to
Business Communication Service to fax or e-mail it.
Detail information on Business Communication Service can be found in the
SAP Library, Topic .Generic Business Tools for Application Developers
(BC-SRV-GBT).. See also standard demo reports BCS_EXAMPLE_...
. pdl: contains the PDL data in hexadecimal form if parameter getpdl of
function module FP_JOB_OPEN is set to 'X'.
. pages: returns the number of pages that have been printed.
There is also only one standard exporting parameter of the form's generated
function module: /1bcdwb/formoutput of type fpformoutput. It contains three
fields:
. pdf: Contains the PDF data in hexadecimal form if parameter getpdf of
function module FP_JOB_OPEN is set to 'X'. This is required if your
program has a download functionality or if you want to pass on your PDF to
Business Communication Service to fax or e-mail it.
Detail information on Business Communication Service can be found in the
SAP Library, Topic .Generic Business Tools for Application Developers
(BC-SRV-GBT).. See also standard demo reports BCS_EXAMPLE_...
. pdl: contains the PDL data in hexadecimal form if parameter getpdl of
function module FP_JOB_OPEN is set to 'X'.
. pages: returns the number of pages that have been printed.
Note:
. getpdf: If set to 'X', the /1bcdwb/formoutput-pdf field of the form's generated
function module will contain the PDF data in hexadecimal form. This is
helpful for further processing the PDF file. A preview will not be possible if
getpdf = 'X'
Hope this will be helpfull.
Regards
Adil
Edited by: Syed  Abdul Adil on Jun 17, 2008 4:23 PM
Edited by: Syed  Abdul Adil on Jun 17, 2008 4:24 PM

Similar Messages

  • End users are not able to save interactive pdf form created with designer

    I am new to using LiveCycle Designer and have created a pdf form but my end users are not able to save edited form. Does this have something to do with whether the form is static or dynamic. If so, I am not exactly sure how to use the restorestate option to convert it back to static. I also tried to enable the "user rights access in adobe reader" under the advance menu and had no luck.
    My end users have acrobat reader 9 - do I need them to download anything else, maybe professional.

    Thanks Paul for your reponse
    In my Adobe Pro I don't see the option Reader Extend rather I enabled "Enabled Usage Rights in Adobe Reader" amd I figured this was somewhat the same. So if I enabled this option in Adobe Pro already and they are still not able to edit the fillable text slots or save it what other option do I have in figuring this out.

  • PC user not able to print interactive PDF

    Hi,
    We have an interactive pdf that was created in Indesign CS6 on a Mac. OS X10.8.5. It prints fine on all our printers. But our PC users either get an error message that they need to choose a printer, printer not found, or it prints mostly blank pages.
    This is what one PC user told me... "If I indicate to print page 1 only.  It prints with no problem.  If I indicate, pages 1 through 5 or 2 through 5, I get a prompt that says unable to start print job, is printer available...and then a blank page comes out.  My printer is a HP Photosmart 8250."
    Something about the interactive PDF not working on a non-postscript printer?
    What's up, please help.....
    Thanks in advance.
    Sudi H Scott

    Thanks Dov. But because there are 40,000 people viewing these documents, we have no control over what kind of printer or version of Reader they are using. So it is our responsibility to make sure that the documents can print for everyone. We found that the buttons that were provided in CS InDesign 5.5 did not work when used in CS 6. I tried looking for days through other forums and Adobe help sections. So this bug needs to be reported to Adobe and worked out by them. We are moving towards interactive books - some that are 200 pages.
    We deleted all buttons on the master pages and used only the line of copy as hyperlinks, and so far that seems to have worked... we printed the entire book on as many old chunck-a-chunck printers we could find and the problem was solved. If you check the link to these documents by mid week next week, the new files should be posted. We provide the final files to our client and they post it on their website for their employees to view and print out as needed.
    Thanks agian everyone for your assitance in trying to figure this issue out. It was a mind blower.

  • Not able to create pdf

    Hello everyone,
    I'm not able to create an offline pdf using exclusively ABAP. I tried using the tutorial "Offline Interactive Forms Using ABAP" but i'm missing something. I allready created the form using transaction SFP, and my ABAP program is like this:
    REPORT  ztest_interactive_forms.
    DATA: wa_lfa1 LIKE lfa1.
    DATA: fm_name TYPE funcname.
    DATA: fp_outputparams TYPE sfpoutputparams.
    DATA: fp_docparams TYPE sfpdocparams.
    DATA: fp_formoutput TYPE fpformoutput.
    PARAMETERS: p_lifnr LIKE lfa1-lifnr.
    START-OF-SELECTION.
      SELECT SINGLE lifnr name1 name2 ort01 FROM lfa1 INTO CORRESPONDING FIELDS OF wa_lfa1 WHERE lifnr = p_lifnr.
    first get name of the generated function module
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = 'ZTEST_NCS'
        IMPORTING
          e_funcname = fm_name.
    Set output parameters and open spool job
      fp_outputparams-nodialog = 'X'. " suppress printer dialog popup
      fp_outputparams-getpdf = 'X'. " launch print preview
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = fp_outputparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          OTHERS          = 5.
    Set form language and country (->form locale)
      fp_docparams-langu = 'E'.
      fp_docparams-country = 'US'.
      fp_docparams-fillable = 'X'.
    Now call the generated function module
      CALL FUNCTION fm_name
        EXPORTING
          /1bcdwb/docparams  = fp_docparams
          vendor_data        = wa_lfa1
        IMPORTING
          /1bcdwb/formoutput = fp_formoutput
        EXCEPTIONS
          usage_error        = 1
          system_error       = 2
          internal_error     = 3
          OTHERS             = 4.
    Close spool job
      CALL FUNCTION 'FP_JOB_CLOSE'
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
    When function module "fm_name" is called, variable fp_formoutput is returned blank (0 pages).
    Can anyone help or suggest something ?
                                  Thank you in advance,
                                         Nuno Santos

    Does this happen with all ID files or just some files? What OS? Try to create a one work ID file with Times New Roman and let the file contain a single word? Can you create a pdf?

  • I am not able to open a PDF file that I just created. I get an access denied message instead.

    I am not able to open a PDF file that I just created. I get an access denied message instead.

    Thanks for asking.
    I was combining different types of files into a single PDF. Some of them were excel spreadsheets and I had set the print areas in each file. When I cleared the print area the problem stopped. So I am assuming that had something to do with it. Though I am not sure.
    The strange thing was that I was able to open the excel source documents after creating the faulty PDF but some of the MS word source documents also had "access denied" status. I still cannot figure that part out.

  • Not able to find Interactive View Mode for WEBI in BI LaunchPad Preferences (BI 4.1 SP04).

    Hi
    I am not able to find Interactive View Mode for WEBI in BI LaunchPad's Preferences. It used to be there for BOXI R3. Is this feature has been revoked by SAP in this new release. Please confirm and clarify. Thanks!!

    Hi,
    In BI 4.0, We don’t have the option of Interactive mode, the only modes for viewing WebI documents are as follows:
    1) Web:  it is similar to the Interactive mode in XI 3.1. It means that you will use the HTML interface in BI launch pad to create, edit and analyze documents.
    2) Rich Internet Application: This is similar to the Java Report Panel in XI 3.1.
    You are using the Java interface in BI launch pad to create, edit and analyze documents .
    But this requires the download of a Java applet.
    3) Desktop (Windows only): in this case you are using Web Intelligence Desktop to create and edit documents, a standalone interface that works outside the BI launch pad. But this requires an install on your local machine.
    4)  PDF: Same as in BO XI 3.1
    All view modes except PDF, have "Reading" and "Design" mode.
    When you view a WebI document, the default mode is "Reading".
    When you modify a WebI document, the default mode is "Design".
    The user should use the modify option or view > Design, if he wants to modify a report.

  • Not able to open a PDF file in Creative Cloud Illustrator. It shows missing links and so forth

    I'm working on CS5 and saving my AI files as PDF. This is all for print, I have created the outlines, and flattened transparency between an image I had placed in on the PDF. My CreativeCLoud AI is not able to open the PDF. It shows that it is missing links. How do I fix this?

    Provide the files linked to.

  • I am not able to create EnterpriseBean in NWDS

    Hi all,
    I am trying to create a Module in NWDS and referring this blog.
    /people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter
    and am following the procedure to develop Module as specified in this PDF.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
    I have created an EJB module and
    1.created EJB of type StatelessSession Bean
    2.<b>unchecked</b> generate default interfaces
    3.I have deleted default Remote,Home, Local,LocalHome interfaces and given like com.sap.aii.af.mp.module.ModuleRemote.....
    com.sap.aii.af.mp.module.ModuleLocalHome
    and clicked on Finish and i got an error like <b>not able to create EnterpriseBean.</b>
    How to rectify this error. Help me please.
    Thanks&Regards,
    Ganesh

    Hi Ganesh,
    Do the following steps...
    1.created EJB of type StatelessSession Bean
    2.Dont uncheck generate default interfaces
    3. Fininsh.
    Later in ejb-jar.xml file, modify Home,Remote,Local,LocalHome entries.
    Hope this solves your problem.
    Regards,
    Uma

  • Creating interactive PDFs with page turn,issue with PDF

    I recently watch a video on adobe tv titled "indesign : creating interactive PDFs with page turn and flash animation". The video was great,simple to follow with great results, I was able to create a document with interactive page turns that was viewable in a web browser,the next step was to then create the same document but be able to view it in PDF format. I followed the above mentioned video and everything worked apart from one issue once I exported the indesign file out as an interactive PDF it opened up in adobe acrobat pro with no problem but when I went to turn the page it would lag and slow down to the point were it was almost impossible to turn the page, the page turning didn't seem to flow as well as when viewing it in a web browser. The document I am creating is a catalogue and I am happy with the interactive version for the web but I am looking at putting the catalogue on a CD/ USB and need it to open and work with PDF, it would be a great help if anyone could advise me on the reason why the interactive page turning runs so poor in PDF format. I am currently running on a very powerful computer with the adobe CS5 master suit.
    Any help would be much appreciated

    The page flipping is an SWF effect, so essentially you now have an entire SWF embedded inside a PDF.
    If you forget about this garish effect (which, I can guarantee you, by next year will be "so 2012") you can send out a standard PDF which can be easily viewed on otherwise sub-standard computers, and using very straightforward PDF readers, such as the ones currently available for the iPad and its clones.

  • Not able to create Lead from IC agent role

    Hi Experts,
    I am finding an strange problem while creating lead.I am uisng CRM2007.
    I am able to create Lead with Business Role as Marketing Professional, but not able to create the Lead with IC agent buisness role. I had created a new Transaction type for this. WE have given the full authorization to the PFCG role attached to this business role but still i am not able to create.
    Its giving an error Message '' No Transaction Type Available ''
    Please suggest what i am missing in the configuration.
    Regards
    Arun Kumar

    hi arun kumar,
    Goto SPRO CRM->transaction>basic settings>define transaction types.
    Select the transaction type that you are using for lead and in "channel" entires select interaction center webclient.this will allow you to create the lead in interaction center webclient.
    thanks
    giri

  • Not Able to Create Lead from IC Agnet Role

    Hi Experts,
    I am finding an strange problem while creating lead. I am able to create Lead with Business Role as Marketing Professional, but not able to create the Lead with IC agent buisness role. I had created a new Transaction type for this. WE have given the full authorization to the PFCG role attached to this business role but still i am not able to create.
    Its giving an error Message '' No Transaction Type Available ''
    Please suggest what i am missing in the configuration.
    Regards
    Arun Kumar

    Hi,
    Have you done relevant configuration for your transaction type in Business Transaction Profile. If not, you need to include your Lead Transaction type in the Business Transaction Profile that is assigned to your Business Role.
    Path for Business Transaction Profile
    CRM -> Interaction Center WebClient -> Business Transaction -> Define Business Transaction Profile
    Select your Business Transaction Profile (one assigned to your Business Role
    Select "Dependent Business Transaction" and ensure that your Lead Transaction Type is assigned here.
    I am sure this will help resolve this issue.
    Regards,
    Deepak

  • Create Interactive PDF Form

    Hello,
    How can i create interactive PDF Form i.e. AcroForm Programmatically using Acrobat SDK

    Sandyrock -
    I wonder jow you might mean this -
    If by interactive you mean - being able to programmatically update certain fields on a form the SDK is really good for that - also
    there is another way to fill out an entire from from an external data source:
    using an XFA form and creating an XML data file programmatically that maps to the form fields - This way you update an entire field at once based on the data that is in an XML data file.
    It depends on what it is that you are attempting whether one of the approaches is better suited to your needs.

  • Animation symbols not running smoothly in interactive pdf

    I created an animated symbol on flash and placing it on the interactive pdf has been quite successful, except it does not animate as smoothly as I hoped it would.
    Instead of looping a smooth animation on its own it requires the mouse to be hovered over the element area in a kind of sweeping motion in order for it to play keyframes, and sometimes with relatively smooth success and other times not. I've tried running the pdf in adobe reader in different computers and achieve the same results.
    It was made for the NavCardSelected instance and the symbol itself is a relatively simple 'growing vine' animation, if that helps elaborate any more. Anyone have some kind of workaround to this?

    I would check the Flash/SWF code to see if it requires any special events to be sent.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Thu, 26 Jan 2012 22:26:58 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: animation symbols not running smoothly in interactive pdf
    animation symbols not running smoothly in interactive pdf
    created by michpan<http://forums.adobe.com/people/michpan> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4168230#4168230

  • I'm so confused!! I just want to create interactive pdf files (with video and flash files), but this free trial version is confusing!! help!?!

    i'm so confused!! I just want to create interactive pdf files (with video and flash files), but this free trial version is confusing!! help!?!

    Thanks for your suggestions. I checked to see if the options you suggested were set incorrectly but they were set to sync all. This led me to think the problem was actually in the iphone. I re-initialized the iphone and did not allow the system to restore any of the previous settings. In essence, I forced the phone to reset to factory settings. Then my video podcasts started syncing. All is well now. I did notice that I had seven podcasts selected that were "HD" presentations, and as such, are not compatible with the iphone. I don't know if this had anything to do with my earlier situation, but now I'm getting the video podcasts automatically. I'm happy. It wasn't much fun forcing the iphone to forget all of my preferences and I'm still customizing the phone now several days later. I think I have everything working and back to normal except I haven't identified any of my email accounts as of yet. Thanks for your help.

  • I bought Adobe Acrobat XI Pro Subscription Edition (one-year) but not able to edit any PDF. Please advise

    I bought Adobe® Acrobat® XI Pro Subscription Edition (one-year) but not able to edit any PDF. Please advise

    I went through the tutorial and the problem is when I click on "Tools" the edit option does not come. Only "Export", "Create" or "Send" pdfs.
    I think must be a technical problem.

Maybe you are looking for

  • Connect to applet method via JS

    hi, i have two frames in my web page. One with my tree applet in it, and the other to display some pdfs. What i want to have is when to user clicks on a pdf button, i want to pass some information back to my applet via javascript. I am using Acrobat

  • How can I get iCloud to complete its process?

    I just started up iCloud, but the Calendar program keeps sying it's transferring data to the server and the blue pepermint bar keeps turning for hours. McBook Pro Retina 10.8.5

  • Wise authorizarion to user in easy DMS

    Dear all, Is it possible to giving the folder  wise authorizarion to user in easy DMS ? if yes plz let me know Rgds

  • RoboHelp for word 6

    I am using RoboHelp 6 for Word, Window2000 and MS Word 2000. When I start a new project, I choose WebHelp project type. I look at the "Welcome" topic, I get 0.08" margin from the left. I go to the style to change to 0". But as soon as I build the pro

  • Where do i find my AppleCare+ registration number?

    I just bought AppleCare+ for my iphone.  It arrived in the post and all I got was a A4 sheet titled 'packaging list' and a fat little book called the 'AppleCare + product guide'. So if I need to register the product, how do I find my  AppleCare+ regi