<?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: Error in smartforms..... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632743#M282265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Badri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have declared CUSTNO as a Select Option. This can be passed to the Smartform only as a table and not as  a variable. Pass it under Tables in the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The corresponding table can be maintained in the Smartforms under Form Interface-&amp;gt;Tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Sep 2006 11:18:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-20T11:18:24Z</dc:date>
    <item>
      <title>Error in smartforms.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632739#M282261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          This is my program.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : kna1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*parameter : custno type kna1-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : CUSTNO FOR KNA1-KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : t_kna1 type  kna1  occurs 0 with header line.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      w_kna1 type kna1.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select land1 name1 from kna1 into corresponding fields of   table t_kna1 where kunnr IN custno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*loop at t_kna1.&lt;/P&gt;&lt;P&gt;*write : / t_kna1-land1,  t_kna1-name1.&lt;/P&gt;&lt;P&gt;*endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION '/1BCDWB/SF00000038'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX_TAB          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_PARAMETERS         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CONTROL_PARAMETERS         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_APPL_OBJ              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_RECIPIENT             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_SENDER                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OUTPUT_OPTIONS             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_SETTINGS              = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    custno                     = custno&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;  DOCUMENT_OUTPUT_INFO       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JOB_OUTPUT_INFO            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JOB_OUTPUT_OPTIONS         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    t_kna1                     = t_kna1&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FORMATTING_ERROR           = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INTERNAL_ERROR             = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SEND_ERROR                 = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_CANCELED              = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                     = 5&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;&lt;/P&gt;&lt;P&gt;In this if i give parameter its working fine but if i go for select-options, its showing error..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error is as follows..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An exception occurred. This exception will be dealt with in more detail&lt;/P&gt;&lt;P&gt;below. The exception, assigned to the class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was&lt;/P&gt;&lt;P&gt; not caught, which&lt;/P&gt;&lt;P&gt; led to a runtime error. The reason for this exception is:&lt;/P&gt;&lt;P&gt;The call to the function module "/1BCDWB/SF00000038" is incorrect:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module interface allows you to specify only fields&lt;/P&gt;&lt;P&gt;of a particular type under "CUSTNO". The field "CUSTNO" specified here&lt;/P&gt;&lt;P&gt;has a different field type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;Badri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 10:47:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632739#M282261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T10:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error in smartforms.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632740#M282262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check this code it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report z_example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables:kna1.&lt;/P&gt;&lt;P&gt;select-options:cust for kna1-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;     kunnr like kna1-kunnr,&lt;/P&gt;&lt;P&gt;     land1 like kna1-land1,&lt;/P&gt;&lt;P&gt;     name1 like kna1-name1,&lt;/P&gt;&lt;P&gt;     end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select kunnr land1 name1 from kna1 into table itab where kunnr in cust.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;CALL FUNCTION '/1BCDWB/SF00000168'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX_TAB          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_PARAMETERS         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CONTROL_PARAMETERS         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_APPL_OBJ              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_RECIPIENT             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_SENDER                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OUTPUT_OPTIONS             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_SETTINGS              = 'X'&lt;/P&gt;&lt;/LI&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;  DOCUMENT_OUTPUT_INFO       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JOB_OUTPUT_INFO            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JOB_OUTPUT_OPTIONS         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FORMATTING_ERROR           = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INTERNAL_ERROR             = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SEND_ERROR                 = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_CANCELED              = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                     = 5&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check and let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 10:52:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632740#M282262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T10:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error in smartforms.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632741#M282263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you cannot use select-options customer under the exporting option.You have to use it in the tables tab of the form interface.&lt;/P&gt;&lt;P&gt;I think if you specify the following under the tables tab it should work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so_cust like selopt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now you can pass the customer values from the program to the tables tab of the smart form FM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 10:55:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632741#M282263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T10:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error in smartforms.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632742#M282264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When you declare CUSTNO as select-option, it creates a table to store the range. In your SF interface CUSTNO is delcared to accept only single value. Hence when you declare as parameter, SF accepts the value correctly.&lt;/P&gt;&lt;P&gt;if you want to pass the range the declare a table in SF interface and pass all the customer numbers in that range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 10:56:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632742#M282264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T10:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error in smartforms.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632743#M282265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Badri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have declared CUSTNO as a Select Option. This can be passed to the Smartform only as a table and not as  a variable. Pass it under Tables in the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The corresponding table can be maintained in the Smartforms under Form Interface-&amp;gt;Tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 11:18:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632743#M282265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T11:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error in smartforms.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632744#M282266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       Thanks to ur replies but,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the tables tab, what to declare in the associated type..i.e, its not accepting kunnr...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 11:37:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632744#M282266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T11:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error in smartforms.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632745#M282267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is showing the following error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An exception occurred. This exception will be dealt with in more detail&lt;/P&gt;&lt;P&gt;below. The exception, assigned to the class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was&lt;/P&gt;&lt;P&gt; not caught, which&lt;/P&gt;&lt;P&gt; led to a runtime error. The reason for this exception is:&lt;/P&gt;&lt;P&gt;The call to the function module "/1BCDWB/SF00000038" is incorrect:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the function module interface, you can specify only&lt;/P&gt;&lt;P&gt;fields of a specific type and length under "KUNNR".&lt;/P&gt;&lt;P&gt;Although the currently specified field&lt;/P&gt;&lt;P&gt;"CUSTNO" is the correct type, its length is incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Badri Thiriveedhi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 11:52:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632745#M282267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T11:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error in smartforms.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632746#M282268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Badri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try putting it in the export parameters itself... in the smartform mention the type as RSPARAMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess this will work....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 12:15:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632746#M282268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T12:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error in smartforms.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632747#M282269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Badri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Do like this in the smart form it is working fine for me. In smartform Form interface, tables parameter give ur internal table name like database table name. That is in ur case t_kna1    like     kna1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the window where u want to display the data just Create a loop and in that in data tab give like t_kna1 into t_kna1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the loop create a text and write Like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;it_kna1-kunnr(15)&amp;amp;   &amp;amp;it_kna1-name1(40)&amp;amp;   &amp;amp;it_kna1-land1(5)&amp;amp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the program in the function module which u called give in the tables parameter ur internal table name thats it. Do like this it is working very much fine for me. Dont mention anything in export parameter. Dont do anything, do like this it is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Haritha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 12:23:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632747#M282269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T12:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error in smartforms.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632748#M282270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi haritha,&lt;/P&gt;&lt;P&gt;           The problem is with the select-options in the program..i am using select-options in the program and i have to pass it to the smartform. But its not accepting if i pass it in the form interface. Some guys told me to pass it in the tables tab of form interface but its showing the above defined error....My doubt what is the associated type which we have to give in the tables tab.&lt;/P&gt;&lt;P&gt;( custno type .... )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for reply's any body there...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards&lt;/P&gt;&lt;P&gt;Badri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 13:04:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632748#M282270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T13:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error in smartforms.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632749#M282271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Badri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: kna1.&lt;/P&gt;&lt;P&gt;select-options: s_kunnr for kna1-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: IT_SEL_TAB type table of rsparams.&lt;/P&gt;&lt;P&gt;*-To display the select-option screen&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        CURR_REPORT     = sy-REPID&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        SELECTION_TABLE = IT_SEL_TAB&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        NOT_FOUND       = 1&lt;/P&gt;&lt;P&gt;        NO_REPORT       = 2&lt;/P&gt;&lt;P&gt;        OTHERS          = 3.&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;now in the smartform give the associated type for this table as &amp;lt;b&amp;gt;RSPARAMS_TT&amp;lt;/b&amp;gt; and then in the global definitions create a work area of type &amp;lt;b&amp;gt;RSPARAMS&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Now loop at the table and use the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calling the function module....&lt;/P&gt;&lt;P&gt;call function '/1BCDWB/SF00000156'&lt;/P&gt;&lt;P&gt; tables&lt;/P&gt;&lt;P&gt;sel_tab                    = &amp;lt;b&amp;gt;it_sel_tab&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   FORMATTING_ERROR           = 1&lt;/P&gt;&lt;P&gt;   INTERNAL_ERROR             = 2&lt;/P&gt;&lt;P&gt;   SEND_ERROR                 = 3&lt;/P&gt;&lt;P&gt;   USER_CANCELED              = 4&lt;/P&gt;&lt;P&gt;   OTHERS                     = 5&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;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 13:25:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632749#M282271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T13:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error in smartforms.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632750#M282272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vidya chowdary,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Thanks for help. Problem solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 13:47:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-smartforms/m-p/1632750#M282272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T13:47:17Z</dc:date>
    </item>
  </channel>
</rss>

