<?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 Re: develiop a program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/develiop-a-program/m-p/5220001#M1207185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i know that function module , and i check itab and it contain the data but how to pass to smart form using that module&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Feb 2009 18:55:33 GMT</pubDate>
    <dc:creator>sivakrishna_boddapati</dc:creator>
    <dc:date>2009-02-19T18:55:33Z</dc:date>
    <item>
      <title>develiop a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/develiop-a-program/m-p/5219996#M1207180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt; this is siva krishna, i have a problem like . i create a module pool program with two screens in first screen  user enters the custmer address and second screen is having his buying goods,and i create a transcation code for that scren and  later i create a smart form and generate function, how to connet these module pool program and smartform .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plsee tellme.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;sivakrishna.boddapati&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sivakrishna boddapati on Feb 19, 2009 10:39 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please pick a more menaingful subject in the future. Everyone here is developing a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Feb 19, 2009 2:22 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 17:07:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/develiop-a-program/m-p/5219996#M1207180</guid>
      <dc:creator>sivakrishna_boddapati</dc:creator>
      <dc:date>2009-02-19T17:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: develiop a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/develiop-a-program/m-p/5219997#M1207181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create a driver prgram for ur smartform which will be calling the smartform FM and printing it now in the PAI of the screen submit this print program report using submit statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 17:11:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/develiop-a-program/m-p/5219997#M1207181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-19T17:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: develiop a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/develiop-a-program/m-p/5219998#M1207182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi thanks for u r answer but i dont know how to create driver and connet that driver to that program plz can u send more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks once again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;krishna.boddapati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 17:36:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/develiop-a-program/m-p/5219998#M1207182</guid>
      <dc:creator>sivakrishna_boddapati</dc:creator>
      <dc:date>2009-02-19T17:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: develiop a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/develiop-a-program/m-p/5219999#M1207183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Every smartform generates a unique function module. Retrieve this function module and call it. Now you have your data in an internal table. You can then convert it to other formats and display it in pop-up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some additional info:&lt;/P&gt;&lt;P&gt;1. Retrieve FM for smartform: SSF_FUNCTION_MODULE_NAME, function group STXBE.&lt;/P&gt;&lt;P&gt;2. Have a look at function group STXBC also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or better yet, in SE80 look for all packages with STXB*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Micky Oestreich on Feb 19, 2009 6:52 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 17:46:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/develiop-a-program/m-p/5219999#M1207183</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-02-19T17:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: develiop a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/develiop-a-program/m-p/5220000#M1207184</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;You may create a button and on the Click event mean in PAI you can Perform the following Form for Smartform&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  show_form
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*

FORM show_form.

data: fm_name TYPE rs38l_fnam.

  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      formname                 = 'SMART_FORM_NAME' " Here Give Name of you Smartform

*     VARIANT                  = ' '
*     DIRECT_CALL              = ' '

   IMPORTING
     fm_name                  = fm_name

*   EXCEPTIONS
*     NO_FORM                  = 1
*     NO_FUNCTION_MODULE       = 2
*     OTHERS                   = 3

            .

  CALL FUNCTION fm_name
   EXPORTING
      comp_date                   = cdate  " Here you can Give the Exporting Values which you can use in Smartform Suppose Date Time etc 
      spy_grp                     = spy_grp  " Here too

*     ARCHIVE_INDEX              =
*     ARCHIVE_INDEX_TAB          =
*     ARCHIVE_PARAMETERS         =
*     control_parameters         = param
*     MAIL_APPL_OBJ              =
*     MAIL_RECIPIENT             =
*     MAIL_SENDER                =
*     OUTPUT_OPTIONS             =

" USER_SETTINGS = 'X'

*     sregio                     = sregio
*   IMPORTING
*     DOCUMENT_OUTPUT_INFO       =
*     JOB_OUTPUT_INFO            =
*     JOB_OUTPUT_OPTIONS         =

      TABLES
        itab                       = it_final[] " here the internal table with your final data to display in Smartform

*   EXCEPTIONS
*     FORMATTING_ERROR           = 1
*     INTERNAL_ERROR             = 2
*     SEND_ERROR                 = 3
*     USER_CANCELED              = 4
*     OTHERS                     = 5

              .
ENDFORM. "MAIN&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope above will solve out your problem and &lt;STRONG&gt;Please Use Meaningful Subject Next time.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 17:58:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/develiop-a-program/m-p/5220000#M1207184</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-02-19T17:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: develiop a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/develiop-a-program/m-p/5220001#M1207185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i know that function module , and i check itab and it contain the data but how to pass to smart form using that module&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 18:55:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/develiop-a-program/m-p/5220001#M1207185</guid>
      <dc:creator>sivakrishna_boddapati</dc:creator>
      <dc:date>2009-02-19T18:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: develiop a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/develiop-a-program/m-p/5220002#M1207186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sivakrishna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you Created Smartform using T-Code: smartforms, if yes than have you tested my Above Form you just need to give the Smartform name and itab where you are getting the final data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Reply if any Issue,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 19:04:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/develiop-a-program/m-p/5220002#M1207186</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-02-19T19:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: develiop a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/develiop-a-program/m-p/5220003#M1207187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JOB_OUTPUT_INFO &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;holds the actual smartform (OTF) data. The CONTROL_PARAMETERS parameters has a field with GETOTF. Put an 'X' in field and the OTF data will be retrieved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With FM SSFCOMP_PDF_PREVIEW you can pass this OTF data from previous step to this new FM to display the PDF in adobe reader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Micky Oestreich on Feb 20, 2009 8:05 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2009 20:28:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/develiop-a-program/m-p/5220003#M1207187</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-02-19T20:28:12Z</dc:date>
    </item>
  </channel>
</rss>

