<?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: Table display in smart forms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-smart-forms/m-p/4210646#M1006168</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;STRONG&gt;smartforms&lt;/STRONG&gt;&lt;DEL&gt;-&amp;gt;smart style&lt;/DEL&gt;--&amp;gt;paragraph format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select the tab of  &lt;STRONG&gt;Tabs&lt;/STRONG&gt;Alignment there u can give whtever u want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;increase size of ur main window...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: prabhu p on Jul 16, 2008 1:29 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2008 11:29:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-16T11:29:15Z</dc:date>
    <item>
      <title>Table display in smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-smart-forms/m-p/4210645#M1006167</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;I am displaying the table entries thru smart forms, &lt;/P&gt;&lt;P&gt;1. I need to align all the entries of the o/p table to center&lt;/P&gt;&lt;P&gt;2. A screen is being popped up when ever i call the smart form need to remove this screen.&lt;/P&gt;&lt;P&gt;3. how to print the diplayed screen.&lt;/P&gt;&lt;P&gt;4.the main area of the table is showing only 2 lines if I two itmes are selected, now I need to display 8 lines in the table what ever may be the count of line items.&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 and regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 11:22:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-smart-forms/m-p/4210645#M1006167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T11:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Table display in smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-smart-forms/m-p/4210646#M1006168</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;STRONG&gt;smartforms&lt;/STRONG&gt;&lt;DEL&gt;-&amp;gt;smart style&lt;/DEL&gt;--&amp;gt;paragraph format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select the tab of  &lt;STRONG&gt;Tabs&lt;/STRONG&gt;Alignment there u can give whtever u want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;increase size of ur main window...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: prabhu p on Jul 16, 2008 1:29 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 11:29:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-smart-forms/m-p/4210646#M1006168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T11:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Table display in smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-smart-forms/m-p/4210647#M1006169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;inorder to remove print pop up use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: CPARAM TYPE SSFCTRLOP,&lt;/P&gt;&lt;P&gt;CONTROL TYPE SSFCTRLOP,&lt;/P&gt;&lt;P&gt;OUTOP TYPE SSFCOMPOP,&lt;/P&gt;&lt;P&gt;INPUT TYPE SSFCOMPIN,&lt;/P&gt;&lt;P&gt;FM_NAME TYPE RS38L_FNAM,&lt;/P&gt;&lt;P&gt;MY_TABIX TYPE SY-TABIX,&lt;/P&gt;&lt;P&gt;FM_NAME1 TYPE RS38L_FNAM,&lt;/P&gt;&lt;P&gt;RESULT TYPE SSFCRESOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTROL-NO_DIALOG = 'X'.&lt;/P&gt;&lt;P&gt;CONTROL-PREVIEW = 'X'.&lt;/P&gt;&lt;P&gt;CONTROL-NO_OPEN = 'X'.&lt;/P&gt;&lt;P&gt;CONTROL-NO_CLOSE = 'X'.&lt;/P&gt;&lt;P&gt;CONTROL-DEVICE = 'PRINTER'.&lt;/P&gt;&lt;P&gt;OUTOP-TDDEST = 'LP01'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SSF_OPEN'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;CONTROL_PARAMETERS = CONTROL&lt;/P&gt;&lt;P&gt;OUTPUT_OPTIONS = OUTOP&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;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**********************&lt;STRONG&gt;call for statement1&lt;/STRONG&gt;***************&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;FORMNAME = 'ZSFORM_STATEMENTF'&lt;/P&gt;&lt;P&gt;VARIANT = ' '&lt;/P&gt;&lt;P&gt;DIRECT_CALL = ' '&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;FM_NAME = FNAME2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION FNAME2&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;P_MATNR = MARA-MATNR&lt;/P&gt;&lt;P&gt;P_WERKS = T001W-WERKS&lt;/P&gt;&lt;P&gt;P_CHARG = MCH1-CHARG&lt;/P&gt;&lt;P&gt;IT_FINAL = IT_HEADER&lt;/P&gt;&lt;P&gt;CONTROL_PARAMETERS = CONTROL.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SSF_CLOSE'&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;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;in your code.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for having default lines in table....do one thing....&lt;/P&gt;&lt;P&gt;create a window with same margins as your table display window(main) add template with the same measurements as the table ......and specifi some height.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that the window will be exact on the main window with the template on it ....you can observe the difference in display of smartform...by chanign the ht of the template....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for the center display of the table values create a paragraph format and apply with center alignement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 11:48:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-smart-forms/m-p/4210647#M1006169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T11:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Table display in smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-smart-forms/m-p/4210648#M1006170</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;I am displaying the table entries thru smart forms, &lt;/P&gt;&lt;P&gt;1. I need to align all the entries of the o/p table to center&lt;/P&gt;&lt;P&gt;  ANS: Go smartforms&lt;DEL&gt;-&amp;gt;select radiobutton style and give style name ZXXX&lt;/DEL&gt;&lt;DEL&gt;&amp;gt;pragraphformat, rightclick on paragraphformat ,create paragrahformat like C.&lt;/DEL&gt;-&amp;gt; Go tab button in that you mantion position of outfield&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;2. A screen is being popped up when ever i call the smart form need to remove this screen.&lt;/P&gt;&lt;P&gt;3. how to print the diplayed screen.&lt;/P&gt;&lt;P&gt; ans : &lt;/P&gt;&lt;P&gt;IN SE38 &lt;/P&gt;&lt;P&gt;  report zxxxx.&lt;/P&gt;&lt;P&gt;     data: fun_name like rs38l-fnam.&lt;/P&gt;&lt;P&gt;  DATA: func_name TYPE rs38l_fnam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      formname           = 'ZFIAR_CUST_INVOICE'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      fm_name            = func_name&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      no_form            = 1&lt;/P&gt;&lt;P&gt;      no_function_module = 2&lt;/P&gt;&lt;P&gt;      OTHERS             = 3.&lt;/P&gt;&lt;P&gt;*--Call smartform&lt;/P&gt;&lt;P&gt;  CALL FUNCTION func_name&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      l_code           = p_bukrs&lt;/P&gt;&lt;P&gt;      l_date           = v_date1&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      i_final_data     = i_final_data&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;ENDFORM.                    " call_form&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.the main area of the table is showing only 2 lines if I two itmes are selected, now I need to display 8 lines in the table what ever may be the count of line items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANS: by default increasing main window size depends on line items .&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if help ful reward points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Bhupal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 13:17:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-smart-forms/m-p/4210648#M1006170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-16T13:17:24Z</dc:date>
    </item>
  </channel>
</rss>

