<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic PDF Forms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-forms/m-p/2450098#M548986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need help for creating PDF Forms.&lt;/P&gt;&lt;P&gt;It will be helpful if it explains step by step procedure.&lt;/P&gt;&lt;P&gt;I know the transaction is SFP....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Asha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jul 2007 07:24:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-04T07:24:48Z</dc:date>
    <item>
      <title>PDF Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-forms/m-p/2450098#M548986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need help for creating PDF Forms.&lt;/P&gt;&lt;P&gt;It will be helpful if it explains step by step procedure.&lt;/P&gt;&lt;P&gt;I know the transaction is SFP....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Asha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2007 07:24:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-forms/m-p/2450098#M548986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-04T07:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: PDF Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-forms/m-p/2450099#M548987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer the links -&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2118246"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2931151"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3295582"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2007 07:37:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-forms/m-p/2450099#M548987</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-07-04T07:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: PDF Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-forms/m-p/2450100#M548988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After generating your Smart Form, Execute it and click print it will generate one Spool request no. Note this no and goto SE38 and type RSTXPDF4 and execute it.&lt;/P&gt;&lt;P&gt;Now give the spool request no generated and execute. You get a Form in PDF format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2007 07:44:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-forms/m-p/2450100#M548988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-04T07:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: PDF Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-forms/m-p/2450101#M548989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi asha, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get an overview idea about Adobe forms ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the context and layout in the form. &lt;/P&gt;&lt;P&gt;The layout generated can be previewed and saved as PDF output.&lt;/P&gt;&lt;P&gt;Now we need to integrate the driver program and the PDF form to get the final output as per the requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On activating and executing the form you will get a function module name just similar to smartforms. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The driver program needs to call this FM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to the below sample code : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : is_customer TYPE scustom.&lt;/P&gt;&lt;P&gt;DATA : it_bookings TYPE ty_bookings.&lt;/P&gt;&lt;P&gt;DATA : iv_image_url TYPE string.&lt;/P&gt;&lt;P&gt;DATA :  iv_sending_country TYPE adrc-country.&lt;/P&gt;&lt;P&gt;DATA : it_sums TYPE TABLE OF flprice_t.&lt;/P&gt;&lt;P&gt;DATA : docparams TYPE sfpdocparams.&lt;/P&gt;&lt;P&gt;DATA : formoutput TYPE fpformoutput.&lt;/P&gt;&lt;P&gt;DATA : outputparams  TYPE sfpoutputparams.&lt;/P&gt;&lt;P&gt;PARAMETERS : pa_cusid TYPE scustom-id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM scustom INTO is_customer&lt;/P&gt;&lt;P&gt;         WHERE id = pa_cusid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM sbook&lt;/P&gt;&lt;P&gt;         INTO CORRESPONDING FIELDS OF TABLE it_bookings&lt;/P&gt;&lt;P&gt;         WHERE customid = pa_cusid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;outputparams-nodialog = 'X'.&lt;/P&gt;&lt;P&gt;outputparams-getpdf   = 'X'.&lt;/P&gt;&lt;P&gt;*outputparams-adstrlevel = '02'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FP_JOB_OPEN'&lt;/P&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    ie_outputparams = outputparams&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    cancel          = 1&lt;/P&gt;&lt;P&gt;    usage_error     = 2&lt;/P&gt;&lt;P&gt;    system_error    = 3&lt;/P&gt;&lt;P&gt;    internal_error  = 4&lt;/P&gt;&lt;P&gt;    OTHERS          = 5.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;docparams-langu = 'E'.&lt;/P&gt;&lt;P&gt;docparams-country = 'US'.&lt;/P&gt;&lt;P&gt;docparams-fillable = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION '/1BCDWB/SM00000043'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    /1bcdwb/docparams        = docparams&lt;/P&gt;&lt;P&gt;    is_customer              = is_customer&lt;/P&gt;&lt;P&gt;    it_bookings              = it_bookings&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IV_IMAGE_URL             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    iv_sending_country       = 'US'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_SUMS                  =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;    /1bcdwb/formoutput       = formoutput&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   usage_error              = 1&lt;/P&gt;&lt;P&gt;   system_error             = 2&lt;/P&gt;&lt;P&gt;   internal_error           = 3&lt;/P&gt;&lt;P&gt;   OTHERS                   = 4&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FP_JOB_CLOSE'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  E_RESULT             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   usage_error          = 1&lt;/P&gt;&lt;P&gt;   system_error         = 2&lt;/P&gt;&lt;P&gt;   internal_error       = 3&lt;/P&gt;&lt;P&gt;   OTHERS               = 4&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you got an idea of genrating the PDF . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give points if you find it useful . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KSB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        K.S.B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2007 08:36:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-forms/m-p/2450101#M548989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-04T08:36:10Z</dc:date>
    </item>
  </channel>
</rss>

