<?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: regarding smartforms erro in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smartforms-erro/m-p/2654628#M612110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear narayan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 cud u plz explain it more clearly as i m new to smartforms::::;;;;;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2007 04:56:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-28T04:56:41Z</dc:date>
    <item>
      <title>regarding smartforms erro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smartforms-erro/m-p/2654626#M612108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have developed a driver program for the smartforms ,in the driver program i am displaying with the help of final internal table and with the help of structure i m declaring an internal table in the smartforms,the structure is containg the fields which i used in the driver program for output but when i execute this its giving error...plz helpme to short out this problem what are the points i must consider while declaring structure ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the error:::&lt;/P&gt;&lt;P&gt;ShrtText&lt;/P&gt;&lt;P&gt;    Type conflict when calling a function module (field length).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;    Error in ABAP application program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    The current ABAP program "ZRAW_PRODUCTION_REPORT_SFM" had to be terminated&lt;/P&gt;&lt;P&gt;     because one of the&lt;/P&gt;&lt;P&gt;    statements could not be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    This is probably due to an error in the ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    A function module was called incorrectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    An exception occurred. This exception is dealt with in more detail below&lt;/P&gt;&lt;P&gt;    . The exception, which is assigned to the class 'CX_SY_DYN_CALL_ILLEGAL_TYPE',&lt;/P&gt;&lt;P&gt;     was neither&lt;/P&gt;&lt;P&gt;    caught nor passed along using a RAISING clause, in the procedure "FORM_DISP"&lt;/P&gt;&lt;P&gt;     "(FORM)"&lt;/P&gt;&lt;P&gt;    .&lt;/P&gt;&lt;P&gt;    Since the caller of the procedure could not have expected this exception&lt;/P&gt;&lt;P&gt;     to occur, the running program was terminated.&lt;/P&gt;&lt;P&gt;    The reason for the exception is:&lt;/P&gt;&lt;P&gt;    The call to the function module "/1BCDWB/SF00000211" 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 "ITAB_FINAL_SFM".&lt;/P&gt;&lt;P&gt;Although the currently specified field&lt;/P&gt;&lt;P&gt;"ITAB_FINAL" is the correct type, its length is incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the final table in the driver program is given below::&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,from this table i m showing output.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES:BEGIN OF S_FINAL ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MATNR TYPE MARD-MATNR, "for material number&lt;/P&gt;&lt;P&gt;WERKS TYPE MARD-WERKS, "for plant id&lt;/P&gt;&lt;P&gt;LGORT TYPE MARD-LGORT, "Storage location&lt;/P&gt;&lt;P&gt;LABST TYPE MARD-LABST, "opening stock&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSME TYPE MARD-INSME, "Stock in quality inspection&lt;/P&gt;&lt;P&gt;SPEME TYPE MARD-SPEME, "Blocked stock&lt;/P&gt;&lt;P&gt;EINME TYPE MARD-EINME, "Totl Stck of All Restricted Batches&lt;/P&gt;&lt;P&gt;RETME TYPE MARD-RETME, "Blocked Stock Returns&lt;/P&gt;&lt;P&gt;LIFNR TYPE MSEG-LIFNR, "vendors number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAKTX TYPE MAKT-MAKTX, "for material description&lt;/P&gt;&lt;P&gt;NAME1 TYPE T001W-NAME1, "plant name&lt;/P&gt;&lt;P&gt;NAME2 TYPE LFA1-NAME1, "vendors name&lt;/P&gt;&lt;P&gt;LABST_TM TYPE MARD-LABST, "target monthly&lt;/P&gt;&lt;P&gt;LABST_CL TYPE MARD-LABST, "closing stock&lt;/P&gt;&lt;P&gt;LABST_RT TYPE MARD-LABST, "receive today&lt;/P&gt;&lt;P&gt;LABST_RTLD TYPE MARD-LABST, "receive till date&lt;/P&gt;&lt;P&gt;LABST_RTY TYPE MARD-LABST , "receive till year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LABST_IT TYPE MARD-LABST, "issued today&lt;/P&gt;&lt;P&gt;LABST_ITLD TYPE MARD-LABST, "issued till date&lt;/P&gt;&lt;P&gt;LABST_ITY TYPE MARD-LABST, "issued till year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BWART TYPE MSEG-BWART, "movement type &lt;/P&gt;&lt;P&gt;MBLNR TYPE MSEG-MBLNR, "material doc number &lt;/P&gt;&lt;P&gt;EISBE_CL TYPE MARC-EISBE , "closing balance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EISBE TYPE MARC-EISBE, "safety stock&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;LGOBE TYPE T001L-LGOBE, "Description of storage location&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;P_DATE TYPE SY-DATUM, "for previous date&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;GPTXT TYPE T750E-GPTXT, "for remarks&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;END OF S_FINAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:ITAB_FINAL TYPE STANDARD TABLE OF S_FINAL WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the fields which are bolds i m not showing in the output using for some calculation thatsit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the refrence of this final table how will i declare my structure so that it wont give the above error if possible kindly send me the syntax of declaring  structure along with my fields....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 04:12:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smartforms-erro/m-p/2654626#M612108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T04:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: regarding smartforms erro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smartforms-erro/m-p/2654627#M612109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii..Rajat..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error is bcoz of the Internal table declaration in Smartform and Print program are not based on the Same data type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So You declare the Same Data type S_FINAL in the Global Definitions-&amp;gt;Data types Section of Smartform.&lt;/P&gt;&lt;P&gt;And then In the Form interface in the TABLES parameter&lt;/P&gt;&lt;P&gt;Declare the Internal table using this same data type S_FINAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now again activate the Smartform. The FM will be re generated.&lt;/P&gt;&lt;P&gt;Call this FM again in your print program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will surely work for u...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REWARD IF HELPFUL&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 04:19:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smartforms-erro/m-p/2654627#M612109</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-08-28T04:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: regarding smartforms erro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smartforms-erro/m-p/2654628#M612110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear narayan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 cud u plz explain it more clearly as i m new to smartforms::::;;;;;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 04:56:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smartforms-erro/m-p/2654628#M612110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T04:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: regarding smartforms erro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smartforms-erro/m-p/2654629#M612111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey ravi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u  need to specify u r final internal table name in tables parameter  in the for interface of u r smartform ....so tat it can interface with u r driverprogram......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after giving the  internal table name in form interface activate u r smartform and again call u r smartfunction module .... u will find tables parameter(wat ever u have given in form interface) now pass u r final internal table with data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 05:37:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smartforms-erro/m-p/2654629#M612111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T05:37:18Z</dc:date>
    </item>
  </channel>
</rss>

