<?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 Driver program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program/m-p/7199220#M1520934</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;RVADIL01-Driver program is working for scripts.&lt;/P&gt;&lt;P&gt;How to make it work for smarform for LR00 output type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renuka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Aug 2010 11:15:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-26T11:15:05Z</dc:date>
    <item>
      <title>Driver program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program/m-p/7199220#M1520934</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;RVADIL01-Driver program is working for scripts.&lt;/P&gt;&lt;P&gt;How to make it work for smarform for LR00 output type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renuka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Aug 2010 11:15:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program/m-p/7199220#M1520934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-26T11:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Driver program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program/m-p/7199221#M1520935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Renuka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To assign a smartform to the output type,follow the below steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Go to transaction code : NACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Select your application,for you it is V3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.Click on output types and position the cursor on output type LR00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.Click on processing routines and click on change button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.Here under the PDF/Smartform tab you can assign your smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope these steps solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Aug 2010 14:55:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program/m-p/7199221#M1520935</guid>
      <dc:creator>santosh_dv</dc:creator>
      <dc:date>2010-08-26T14:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Driver program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program/m-p/7199222#M1520936</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;Easiest way is to copy the standard driver program and change the code where&lt;/P&gt;&lt;P&gt;it calls the SAPScript form to call your custom SMARTFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on how the original was written you may need to also alter some&lt;/P&gt;&lt;P&gt;data retrieval routines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2010 05:29:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program/m-p/7199222#M1520936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-27T05:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Driver program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program/m-p/7199223#M1520937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Renuka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use standard print program to call a smartform, you will need to copy the standard print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Analyze the program, where they are calling the standard script in the print program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Comment out that code. Add a code to call your smartform for the same print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to configure this print program and smartform from NACE. It will be done by functional consultant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need more help on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Archana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2010 06:37:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program/m-p/7199223#M1520937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-30T06:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Driver program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program/m-p/7199224#M1520938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Renuka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Driver prog are diff for Script &amp;amp; Smartform. (Only the logic is same in diff format.)&lt;/P&gt;&lt;P&gt;Copy the RVADIL01 in Zprog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the format as --&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES : VBCO3.
DATA:   XSCREEN(1)   TYPE C.                "Output on printer or screen

INCLUDE RVADTABL.
*-- definition of forms
INCLUDE RLE_DELNOTE_FORMS.
INCLUDE RLE_PRINT_FORMS.

* Then take table NAST.

FORM ENTRY USING RETURN_CODE US_SCREEN.

  DATA: LF_RETCODE TYPE SY-SUBRC.
  IF nast-objky+10(6) NE space.
    VBCO3-vbeln = nast-objky+16(10).
  ELSE.
    VBCO3-vbeln = nast-objky.
  ENDIF.
  VBCO3-mandt = sy-mandt.
  VBCO3-spras = nast-spras.
  " like this take required fields in table

 ENDFORM.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then call your Smartform in driver prog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

FORM PROCESSING USING    PROC_SCREEN
                CHANGING CF_RETCODE.

 * determine smartform function module for delivery note

    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
         EXPORTING  FORMNAME           = 'Z_EXC_N_TAX_INV_SF'
*                 variant            = ' '
*                 direct_call        = ' '
         IMPORTING  FM_NAME            = LF_FM_NAME
         EXCEPTIONS NO_FORM            = 1
                    NO_FUNCTION_MODULE = 2
                    OTHERS             = 3.
    IF SY-SUBRC &amp;lt;&amp;gt; 0.
*   error handling
      CF_RETCODE = SY-SUBRC.
      PERFORM PROTOCOL_UPDATE.
    ENDIF.
  ENDIF.

  IF CF_RETCODE = 0.
*   call smartform delivery note
    CALL FUNCTION LF_FM_NAME
         EXPORTING
                  ARCHIVE_INDEX        = TOA_DARA
                  ARCHIVE_PARAMETERS   = ARC_PARAMS
                  CONTROL_PARAMETERS   = LS_CONTROL_PARAM
*                 mail_appl_obj        =
                  MAIL_RECIPIENT       = LS_RECIPIENT
                  MAIL_SENDER          = LS_SENDER
                  OUTPUT_OPTIONS       = LS_COMPOSER_PARAM
                  USER_SETTINGS        = ' '
                  IS_DLV_DELNOTE       = LS_DLV_DELNOTE
                  IS_NAST              = NAST
                  VBCO3                = VBCO3

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now attach this Zreport with Zsmartform in NACE Transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 06:52:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program/m-p/7199224#M1520938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-31T06:52:51Z</dc:date>
    </item>
  </channel>
</rss>

