Sapscript  to adobe forms

Hi Gurus,
    Is it possible to directly convert  sapscript to adobe form[PDF] .
Right answer will be awarded with points

Hi
See this sample code
which converts the script to PDF format
REPORT zzz_jaytest .
Types Declaration
TYPES : BEGIN OF ty_pa0001,
pernr TYPE pa0001-pernr,
bukrs TYPE pa0001-bukrs,
werks TYPE pa0001-werks,
END OF ty_pa0001.
Internal Table Declaration
DATA : i_pa0001 TYPE STANDARD TABLE OF ty_pa0001, "For pa0001 Details
i_otf TYPE STANDARD TABLE OF itcoo, "For OTF data
i_content_txt TYPE soli_tab, "Content
i_content_bin TYPE solix_tab, "Content
i_objhead TYPE soli_tab,
Work Area Declaration
w_pa0001 TYPE ty_pa0001, "For pa0001 Details
w_res TYPE itcpp, "SAPscript output
"parameters
w_otf TYPE itcoo, "For OTF
w_pdf TYPE solisti1, "For PDF
w_transfer_bin TYPE sx_boolean, "Content
w_options TYPE itcpo, "SAPscript output
"interface
Variable Declaration
v_len_in TYPE so_obj_len,
v_size TYPE i.
Constants Declaration
CONSTANTS : c_x TYPE c VALUE 'X', "X
c_locl(4) TYPE c VALUE 'LOCL', "Local Printer
c_otf TYPE sx_format VALUE 'OTF', "OTF
c_pdf TYPE sx_format VALUE 'PDF', "PDF
c_printer TYPE sx_devtype VALUE 'PRINTER', "PRINTER
c_bin TYPE char10 VALUE 'BIN', "BIN
c_name TYPE string VALUE 'C:\ZZZ_JAYTEST.PDF',"Downloading
"File Name
c_form(11) TYPE c VALUE 'ZZZ_JAYTEST'. "Form Name
START-OF-SELECTION.
Selecting the records from pa0001
SELECT pernr bukrs werks FROM pa0001
INTO TABLE i_pa0001 UP TO 10 ROWS.
Setting the options
w_options-tdcopies = 1 ."Number of copies
w_options-tdnoprev = c_x."No print preview
w_options-tdgetotf = c_x."Return of OTF table
w_options-tddest = c_locl."Spool: Output device
Opening the form
CALL FUNCTION 'OPEN_FORM'
EXPORTING
form = c_form
device = c_printer
language = sy-langu
OPTIONS = w_options
IMPORTING
RESULT = w_res.
LOOP AT i_pa0001 INTO w_pa0001.
Writting into the form
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'MAIN'
window = 'MAIN'.
ENDLOOP.
Closing the form
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT = w_res
TABLES
otfdata = i_otf
EXCEPTIONS
unopened = 1
bad_pageformat_for_print = 2
send_error = 3
spool_error = 4
codepage = 5
OTHERS = 6.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Converting OTF data to single line
LOOP AT i_otf INTO w_otf.
CONCATENATE w_otf-tdprintcom w_otf-tdprintpar
INTO w_pdf.
APPEND w_pdf TO i_content_txt.
ENDLOOP.
Converting to PDF Format
CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
EXPORTING
format_src = c_otf
format_dst = c_pdf
devtype = c_printer
CHANGING
transfer_bin = w_transfer_bin
content_txt = i_content_txt
content_bin = i_content_bin
objhead = i_objhead
len = v_len_in
EXCEPTIONS
err_conv_failed = 1
OTHERS = 2.
v_size = v_len_in.
Downloading the PDF File
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = v_size
filename = c_name
filetype = c_bin
TABLES
data_tab = i_content_bin.
If you r using this function module check it once....
call function 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = v_len_in
TABLES
otf = i_otf
lines = i_tline
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
others = 4.
Fehlerhandling
if sy-subrc <> 0.
endif.
or u can use the standard program RSTXPDFT4 to download the script into PDF format onto a particular location
follow this link for sample program.
http://searchsap.techtarget.com/tip/0,289483,sid21_gci1121833,00.html
Reward if useful
Anji

Similar Messages

  • Sapscripts to adobe forms successfully completed.

    I have converted years old sapscripts to adobe forms with an average time of completing the form as 1.5 month.
    These are all offline and interactive adobe forms with barcodes
    Areas I have covered are SD,MM,HR,FI
    I am offering help and advise for people who are stuck and need support .

    My questions may seem off topic but: I wonder, after the experience, would you suggest people to do what you have done? Or you would, if have to do that once again, do not pick conversion but start from scratch, at least with the form layouts? Would be great to know, because I know what a mess the converter produces...
    Thank you, Otto

  • How the get most from SapScript for Adobe Printforms ?

    Hi there,
    I would like to know your Ideas and opinion ... about what / how can I reuse Sapscript printing report or/and layout for Adobe Printforms ...
    In particular my requirement is to design new PM Forms (PM_COMMON) in adobe, and Im thinking about to reuse in some way the sapscript printing report.
    Thanks !

    Hello Mr. Sander,
    Till date it is not possible to convert a SAPScript to Adobe forms so the layout changes needs manual changes.
    On the other hand Print programs of sap script can some how be modified and can be used.
    Just need to add this codes.
    DATA :
      w_doc_param       TYPE sfpdocparams,"Doc Parameters
      w_output_param    TYPE sfpoutputparams,
                                           "Output Parameters
      result            TYPE sfpjoboutput. "Joboutput
    DATA :
      fm_name    TYPE rs38l_fnam.          "Function Module name
    This function module is used to specify settings for the form output.
    To specify whether you want the form to be printed, archived, or sent
    back to the application program as a PDF.
    The form output is controlled using the parameters (w_ouput_param)
    with the type SFPOUTPUTPARAMS.
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        ie_outputparams = w_output_param
      EXCEPTIONS
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 4
        OTHERS          = 5.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Set the language field the component of structure /1bcdwb/docparams
    w_doc_param-langu = 'EN'.
    Call the function module and passing the form interface values
    CALL FUNCTION fm_name
      EXPORTING
       /1bcdwb/docparams         = w_doc_param
        it_sflight               = it_sflight
    IMPORTING
      /1BCDWB/FORMOUTPUT       =
    EXCEPTIONS
       usage_error              = 1
       system_error             = 2
       internal_error           = 3
       OTHERS                   = 4
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    To complete the processing of the form
    CALL FUNCTION 'FP_JOB_CLOSE'
      IMPORTING
        E_RESULT             = result
    EXCEPTIONS
       usage_error          = 1
       system_error         = 2
       internal_error       = 3
       OTHERS               = 4
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.

  • Migrate invoice printing to adobe forms

    Hi all,
    I want to evaluate ADOBE forms in order to decide whether it is useful to migrate SD printing from SAPScript to ADOBE forms.
    To do that I would like to print a sample form (invoice) with this technology. Is there a sample form and a sample interface that could be used for invoice printing?
    How do I have to customize the output type to make it work with ADOBE forms?
    Thank you for any hints.
    Regards
    Norman

    Hi,
    migration from script to adobe is a big problem.
    dont go for that.
    many problems will come after migration, the time to take rectification is more than the development directly.
    Thank U
    Jay----

  • Advantages of  adobe forms over sapscripts and smartforms.

    Good day ,
    Can anyone pls mention atleast 2 to 3 major differences between sapscripts,smartforms and adobe forms?
    I want to know wat r the drawbacks in each n how we rectified it in adobe forms.Are there any disadvantages in adobe forms??
    Awaiting your reply,
    Thanks,
    Deepthi.

    Hi Martina,
    SAP Interactive Forms by Adobe offer you the following business advantages:
    1.  Interactive functions automate the creation of data for SAP systems
    2.  Full integration into the SAP development environments for Java and ABAP
    3.  User-friendly tools reduce the time and costs associated with creating form layouts.
    4.  The usage of the PDF format means that forms retain their appearance regardless of the environment they are used in.
    Moreover,
    SAP Interactive Forms by Adobe offer the following basic functions:
    1.  Create form templates for the layout that include logos or pictures
    2.  Generate documents by merging form templates and current system data
    3.  Edit forms online or offline
    4.  Forms can be filled in advance automatically with specific data from SAP applications and then sent to the correct recipients using secure methods
    5.  Automatic consistency checks for forms
    6.  Activate enhanced functions such as comments
    7.  Digital signatures and form certification
    8.  Send completed forms to the SAP application with automatic updates of the business data
    There are not any disadvantages in adobe forms as such except the value help is not present but that could be done after a little coding.
    Reward if useful.
    Regards,
    Vaibhav Tiwari.

  • ADOBE FORM instead of SAPSCRIPT or SMARTFORM

    Have anyone used ADOBE FORM instead of using sapscript or smartform and assigned to Output types in NACE tcode?
    If so, please give details for the same.

    If you are looking for documents on Adobe, check the link -
    Re: adobe forms
    Otherwise whatever form you want just check for its alternative in ADOBE at SAP Market place and use it.
    Regards,
    Amit

  • Standard sapscript form migration to adobe form

    Hello guys,
    Is it possible to migrate standard SAP Script forms to adobe forms?
    If yes then please let me know how ?

    Hi,
    It is possible, but not simple. 
    You first have to migrate the SAPscript to Smartforms, then the Smartform to adobe forms.  However, there are significant differences between the way SAPscript works compared to Smartforms so there are always manual changes needed after the migration.  Then there are differences between Smartforms and adobe forms, so more manual changes are needed.
    Once you've done all this it could have been easier to build an adobe form from scratch, based on the design of you SAPscript.
    Regards,
    Nick

  • How to use Adobe forms with F150 Dunning Run

    Hi,
    I want to use Adobe forms with the transaction F150 Dunning Run.
    How do I get the adobe form in customizing? I have put the FM 'FI_PRINT_DUNNING_NOTICE_PDF' in business transaction Event, BF31 - P/S modules of SAP app - 00001720, Fi-FI. But it is still not recognizing the ADOBE form.
    Any help is greatly appreciated.

    Hi,
    I am also working for calling custom adobe form instead of sapscript.
    While configuring BTE 1720, i noticed that configuring BTE only FI-FI application does not solve the purpose. You need to assign function module FI_PRINT_DUNNING_NOTICE_PDF for all Application Area Indicator.
    Adding to IS-PS will allow to print for customer.
    This solved my problem. But this setting is global so you need to take care of it.

  • How to print a signature in Adobe form using PCL - HELP!

    Hello,
    I'm using Adobe LiveCycle and I'm trying to get my form to print a signature at the bottom right on the given signature line. Our HP LaserJet printer has a SIMM installed which contains the signature in digitized form.  I need to issue a hexadecimal instruction using PCL which contains the code that tells the printer to print the stored signature. I know this is doable in SAPscript, but is it doable in Adobe??? 
    Thank you,
    Eileen

    Hi Eileen,
    I think it is handled differently in Adobe forms as here all the print data is created by ADS.
    See the document Digital Signature Setup at:
    www.service.sap.com/hrin -> Media Center -> Key Documents
    This decribes the process.
    The link below and SAP Note 1168740 also contain information.
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/1ca382f3ec5873e10000000a11466f/frameset.htm
    Regards,
    Aidan

  • How to create text vertically in ADOBE FORMS?

    Hi all,
    I need to create text in vertical position in ADOBE FORMS? How to do this..
    << Removed >>
    Thanks
    Devinder
    Edited by: Rob Burbank on Mar 3, 2010 1:40 PM

    I will recommend you to use smart forms ...
    the link below has the said topic discussed for smart forms ...
    Printing vertical text in Smartform
    Also there is a New tool called Adobe Flex whose integration with SAP is being discussed and worked upon in experimental stage .. the said tool has vertical text capability
    but its not recommended because of lack of extensive testing with regards to Association with SAP
    BR
    Manthan.
    PS it can be done in sapscript too but i will not recommend the same bcoz of the obvious trouble in doing the same.
    also if u still want to stick to sapscript
    Simple way is to use layout format like "X_65_80" or "X_90_120"
    Edited by: Manthan_R on Mar 4, 2010 6:24 AM

  • Best practice in working with Adobe forms in multiple languages

    We have to provide access to some Adobe Interactive Forms in both English and French, some of them from Web Dynpro application(s), some of them as callable objects from Guided Procedures.
    1- We know for sure that we can have two copies of each form, one in English and one in French but that implies duplicating the FormCalc and Javascript code behind. 
    2- Another way if to modify in javascript all labels, captions using some javascript i.e. If lang = "E" then "My label" else "Mon étiquette" . It would work but it is not very efficient.
    Is someone here has experience with this type of situation and would be willing to share his experience with me?
    Thanks in advance,

    Hi Benoit,
    For Adobe Forms in multiple language you can use include text solution also . Within this solution you need to add a language parameter in your interface and then retrieve the include text in the language value ( not current language ) . Personnaly i used a lot this solution with Smartforms text .
    Also i used dictionnary text for text linked with data dictionnary element . For this there is standard function module in SAP .
    Anothers way is in the SFP editor you can translate your form as in SAPSCRIPT .
    Hope this help you
    Regard.
    PS : if necessary i can send you a sample form with smartform/Dictionnary text solution.

  • Adobe Form output cropped when sent directly from SAP to printer

    I have created an Adobe Form (not interactive) that looks perfectly OK when previewed in Adobe Acrobat viewer but when printed blank margins of 4-5 millimeters are applied on all 4 paper edges. The form was designed with a coloured frame around it but the margins effectively remove most of the frame. The form content is being cropped instead of being compressed inside the margins.
    The form has been created with LiveCycle Designer via SAP transaction SFP. I am generating the form from an ABAP program
    When the form is printed from the Adobe Acrobat viewer I have the option to set Page Scaling to 'Fit to Printable Area'. This makes the form content being compressed inside the blank margins and the coloured frame remains intact. If I leave the Page Scaling setting as 'None' the output is being cropped as described above.
    The real problem occurs when I want to print without previewing first. I need to do that since previewing enables the user to skip printing and the application must know if the form has been printed or not. I have so far found no way to make the printer print on the paper edges or fit the content to printable area. Is there some setting in the output parameters than handles this?
    Also there is a need for duplex printing when sending form directly to printer. On help.sap.com there is information about duplex print for SAPscript and Smartforms but nothing for Adobe Forms.
    Here is an excerpt of the ABAP code used for printing the Adobe Form:
      DATA: zs_outparams TYPE sfpoutputparams,
                 z_fmname     TYPE rs38l_fnam.
    Set some print parameters
      zs_outparams-nodialog = abap_true.        "No user dialog
      zs_outparams-device   = 'PRINTER'.          "Output device
      zs_outparams-dest     = z_pdest.              "Printer name
      zs_outparams-reqnew   = abap_true.        "New spool request
      zs_outparams-reqimm   = abap_true.        "Print immediately
    Open print job
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = zs_outparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          OTHERS          = 5.
      IF sy-subrc <> 0.
        RAISE print_error.
      ENDIF.
    Get FM name for form
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = 'Z_TEST_FORM'
        IMPORTING
          e_funcname = z_fmname.
    Call FM to print form
      CALL FUNCTION z_fmname
        EXPORTING
          i_header       = t_data_for_form
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
        RAISE print_error.
      ENDIF.
    Close print job
      CALL FUNCTION 'FP_JOB_CLOSE'
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
        "Ignore
      ENDIF.
    Please advise on how to
    -  avoid the content cropping
    -  enable duplex print
    when sending Adobe forms directly to the printer
    Thanks very much!
    Bernt Evensen

    Thanks for your answer, Ramachandra!
    However I need some more specific information to solve this.
    Which printer layout settings are relevant for the handling of margins and duplex printing for Adobe Forms?
    I have not set up the printer myself but when talking to the printer guy which settings should I recommend him to look at?
    I can see in transaction SPAD that there are settings specific to SmartForms but there is nothing said about Adobe Forms. Is there some way to make Adobe Forms related setting appear in SPAD for a device type?
    Maybe my problem is not related to the printer device settings but rather to the way the printer is being called. When printing duplex we will have to override the default settings of the printer anyway.
    Function module FP_JOB_OPEN has a parameter structure of the type SFPOUTPUTPARAMS. Which fields in this parameter structure are to be manipulated to get duplex print and output fitted to page size?

  • Regarding adobe forms.

    While executing the standard dunning adobe form it is displaying some error .
    can anybody say the reason for this and procedure to check the output.

    Hi
    check this
    look at the Adobe page here in SDN:
    Use the Tcode : SFP
    https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=AdobeForms.htm
    Check these links on Adobe forms
    http://help.sap.com/saphelp_nw04/helpdata/en/1e/05853ff8ec2c17e10000000a114084/content.htm
    https://www.sdn.sap.com/irj/sdn/interactiveforms
    http://www.sap.com/solutions/solutionextensions/pdf/BWP_Interactive_Forms_Adobe.pdf
    It contains lots of useful information, documentation, and e-learning materials teaching you the basics.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/64348655fb46149098d95bdca103d0/frameset.htm
    follow these links.
    https://www.sdn.sap.com/irj/sdn/interactiveforms
    http://www.sapfinug.fi/downloads/2006/seminaari/uudet/SAP_Adobe.pdf
    https://weblogs.sdn.sap.com/weblogs/topic/45?x-o=50
    Interactive Forms based on Adobe software is SAP's new solution for forms development. Its first release has the focus on interactive use of forms. High-volume printing is supported in principle, but - being a new solution - the performance has not yet reached the same level as Smart Forms or SAPscript, two established solutions that had years to grow. Interactive Forms is the only solution that will continue to be enhanced with new features, while SAPscript and Smart Forms will be supported without limitations.
    When (or if) to move to Interactive Forms depends on your requirements. For interactive forms usage, i.e. the new functions, you have no choice, as the existing solutions don't support it. High-volume print scenarios need to be carefully analyzed to see whether your concrete requirements can be met at this point.
    However, it is possible to move to Smart Forms and design your forms in such a way that a migration at any point in the future would be but a small step. Smart Forms offers from Web AS 6.40 a migration wizard to Interactive Forms. Technically, everything can be migrated, but we recommend against things like ABAP program nodes, for example.
    You are not forced to ever go to Interactive Forms if you don't want to. It really depends on whether your client needs any of the new features in Interactive Forms. Also, if they are currently working with JetForms, they could enquire with Adobe directly what migration path they offer to the joint solution.
    go thru this links
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/4a94696de6429cada345c12098b009/frameset.htm
    example
    To get an overview idea about Adobe forms ,
    Using SFP Tcode , first you need to create a interface . in interface you can declare the import and export parameters and also the declaration part, coding etc : This is nothing but similar to Function module interface.
    And now we have to create the Form which is interactive. Create the form and enter the interface name which you have created in first step, so that the parameters , declarations of fields etc : will be copied and available in the form layout. So that you can drag and drop these declared fields ( dclared fields of interface ) to the layout.
    Create the context and layout in the form.
    The layout generated can be previewed and saved as PDF output.
    Now we need to integrate the driver program and the PDF form to get the final output as per the requirement.
    On activating and executing the form you will get a function module name just similar to smartforms.
    The driver program needs to call this FM.
    Refer to the below sample code :
    DATA : is_customer TYPE scustom.
    DATA : it_bookings TYPE ty_bookings.
    DATA : iv_image_url TYPE string.
    DATA : iv_sending_country TYPE adrc-country.
    DATA : it_sums TYPE TABLE OF flprice_t.
    DATA : docparams TYPE sfpdocparams.
    DATA : formoutput TYPE fpformoutput.
    DATA : outputparams TYPE sfpoutputparams.
    PARAMETERS : pa_cusid TYPE scustom-id.
    SELECT SINGLE * FROM scustom INTO is_customer
    WHERE id = pa_cusid.
    SELECT * FROM sbook
    INTO CORRESPONDING FIELDS OF TABLE it_bookings
    WHERE customid = pa_cusid.
    outputparams-nodialog = 'X'.
    outputparams-getpdf = 'X'.
    *outputparams-adstrlevel = '02'.
    CALL FUNCTION 'FP_JOB_OPEN'
    CHANGING
    ie_outputparams = outputparams
    EXCEPTIONS
    cancel = 1
    usage_error = 2
    system_error = 3
    internal_error = 4
    OTHERS = 5.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    docparams-langu = 'E'.
    docparams-country = 'US'.
    docparams-fillable = 'X'.
    CALL FUNCTION '/1BCDWB/SM00000043'
    EXPORTING
    /1bcdwb/docparams = docparams
    is_customer = is_customer
    it_bookings = it_bookings
    IV_IMAGE_URL =
    iv_sending_country = 'US'
    IT_SUMS =
    IMPORTING
    /1bcdwb/formoutput = formoutput
    EXCEPTIONS
    usage_error = 1
    system_error = 2
    internal_error = 3
    OTHERS = 4
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    CALL FUNCTION 'FP_JOB_CLOSE'
    IMPORTING
    E_RESULT =
    EXCEPTIONS
    usage_error = 1
    system_error = 2
    internal_error = 3
    OTHERS = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards
    Anji

  • Need to configure output type for adobe form

    Hello All,
    I need to configure output type for Adobe Form thru NACE. What would be print program and how do I call my form from that program? and, what would be the FORM routine for that form in NACE?
    I'm little confused, Pls I need your help.
    Thanks in advance,
    Chandra

    Hi,
    Just before few weeks we did this task.
    Say for example if you want to print PO details through ADOBE form instead of normal sapscript layout or standard MEDRUCK, you can follow the following steps.
    1. Design the form in SFP tcode, by passing the necessary inputs through form interface.
    2. Then use tcode tcode NACE and select EF as application and click output types button on the          application tool bar. Select NEU output type and double click processing routines on left side.
    3. Then, in the right side of the screen we can see the calling program and the form (may be sapscript or smartform) whatever used.
    4. For form names we have two options in NACE tcode.
    One is Form and the otherone is PDF/Smartform Form. If you are using adobe form give your form name under PDF/Smartform and also select PDF under the type option in the same screen.
    This worked perfectly for us. But pass the required parameters to the form from the routine used in standard program.
    If any queries please post it.

  • Adobe form as a webdynpto component

    Hi all,
    I am working on cprojects.
    The requirement is to add a new tab in the cproject screen, which has been done.
    when we press the new tab, one layout should be displayed in Pdf format, where some fields should be editable to enter values by the user. All the data entered by the user should be stored in a ztable.
    For which, I've created a layout using Adobe form, which has to be attached in that tab page. How to attach the form interface as webdynpro component in cproject.
    Its Urgent,
    Expecting Reply....

    Hi
    t.code SFP.
    definition:
    Interactive Forms based on Adobe software is SAP's new solution for forms development. Its first release has the focus on interactive use of forms. High-volume printing is supported in principle, but - being a new solution - the performance has not yet reached the same level as Smart Forms or SAPscript, two established solutions that had years to grow. Interactive Forms is the only solution that will continue to be enhanced with new features, while SAPscript and Smart Forms will be supported without limitations.
    When (or if) to move to Interactive Forms depends on your requirements. For interactive forms usage, i.e. the new functions, you have no choice, as the existing solutions don't support it. High-volume print scenarios need to be carefully analyzed to see whether your concrete requirements can be met at this point.
    However, it is possible to move to Smart Forms and design your forms in such a way that a migration at any point in the future would be but a small step. Smart Forms offers from Web AS 6.40 a migration wizard to Interactive Forms. Technically, everything can be migrated, but we recommend against things like ABAP program nodes, for example.
    You are not forced to ever go to Interactive Forms if you don't want to. It really depends on whether your client needs any of the new features in Interactive Forms. Also, if they are currently working with JetForms, they could enquire with Adobe directly what migration path they offer to the joint solution.
    go thru this links
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/4a94696de6429cada345c12098b009/frameset.htm
    example
    To get an overview idea about Adobe forms ,
    Using SFP , first you need to create a interface . in interface you can declare the import and export parameters and also the declaration part, coding etc : This is nothing but similar to Function module interface.
    And now we have to create the Form which is interactive. Create the form and enter the interface name which you have created in first step, so that the parameters , declarations of fields etc : will be copied and available in the form layout. So that you can drag and drop these declared fields ( dclared fields of interface ) to the layout.
    Create the context and layout in the form.
    The layout generated can be previewed and saved as PDF output.
    Now we need to integrate the driver program and the PDF form to get the final output as per the requirement.
    On activating and executing the form you will get a function module name just similar to smartforms.
    The driver program needs to call this FM.
    Refer to the below sample code :
    DATA : is_customer TYPE scustom.
    DATA : it_bookings TYPE ty_bookings.
    DATA : iv_image_url TYPE string.
    DATA : iv_sending_country TYPE adrc-country.
    DATA : it_sums TYPE TABLE OF flprice_t.
    DATA : docparams TYPE sfpdocparams.
    DATA : formoutput TYPE fpformoutput.
    DATA : outputparams TYPE sfpoutputparams.
    PARAMETERS : pa_cusid TYPE scustom-id.
    SELECT SINGLE * FROM scustom INTO is_customer
    WHERE id = pa_cusid.
    SELECT * FROM sbook
    INTO CORRESPONDING FIELDS OF TABLE it_bookings
    WHERE customid = pa_cusid.
    outputparams-nodialog = 'X'.
    outputparams-getpdf = 'X'.
    *outputparams-adstrlevel = '02'.
    CALL FUNCTION 'FP_JOB_OPEN'
    CHANGING
    ie_outputparams = outputparams
    EXCEPTIONS
    cancel = 1
    usage_error = 2
    system_error = 3
    internal_error = 4
    OTHERS = 5.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    docparams-langu = 'E'.
    docparams-country = 'US'.
    docparams-fillable = 'X'.
    CALL FUNCTION '/1BCDWB/SM00000043'
    EXPORTING
    /1bcdwb/docparams = docparams
    is_customer = is_customer
    it_bookings = it_bookings
    * IV_IMAGE_URL =
    iv_sending_country = 'US'
    * IT_SUMS =
    IMPORTING
    /1bcdwb/formoutput = formoutput
    EXCEPTIONS
    usage_error = 1
    system_error = 2
    internal_error = 3
    OTHERS = 4
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    CALL FUNCTION 'FP_JOB_CLOSE'
    * IMPORTING
    * E_RESULT =
    EXCEPTIONS
    usage_error = 1
    system_error = 2
    internal_error = 3
    OTHERS = 4
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    see these links..
    https://www.sdn.sap.com/irj/sdn/interactiveforms-elearning
    /people/thomas.jung3/blog/2005/07/13/lessons-learned-from-adobe-forms-development
    /people/community.user/blog/2006/11/20/search-help-in-isr-adobe-forms
    /people/franklin.herbas/blog/2005/12/13/2d-barcode-pdf-forms-with-sap-netweaver
    /people/vani.krishnamoorthy/blog/2006/05/17/fillable-adobe-forms-using-abap
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/849b3482206353e10000000a11466f/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/82538c0c4458bbe10000000a422035/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/46/55c841d202c317e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/6d/bd2d828aa04eeb9451aad0d02ae9a0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/dd/60694fddb74ad88cdb7d2a094f3dd2/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d4fe7fca-0b01-0010-569a-9a9c1ddf4132
    https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/7c3bc67e-0c01-0010-dbb3-908315896909 [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/7c3bc67e-0c01-0010-dbb3-908315896909 [original link is broken] [original link is broken]
    /people/vani.krishnamoorthy/blog/2006/05/17/fillable-adobe-forms-using-abap
    https://www.sdn.sap.com/irj/sdn/interactiveforms
    http://www.sap.com/company/press/press.epx?pressID=2785
    http://www.adobe.com/enterprise/partners/sap.html
    http://www.adobe.com/enterprise/partners/pdfs/sap_datasheet.pdf
    Reward all helpfull answers
    Regards
    Pavan

Maybe you are looking for