<?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 control in custom infotypes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-custom-infotypes/m-p/3367835#M808234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried out as u said but am gettin a run time error. I had created a tablecontrol and a field by the name of icon1. when i call the function module icon_create am getting a runtime error. please help me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: icon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA :  icon_name(20) TYPE c,&lt;/P&gt;&lt;P&gt;      icon_text(10) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : flag TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : icon1 TYPE icon_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in flow logic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;MODULE STATUS_0100.&lt;/P&gt;&lt;P&gt; LOOP AT WI_TABLE1 WITH CONTROL TABLE1.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT WI_TABLE1.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module icon_pai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module icon_pai input.&lt;/P&gt;&lt;P&gt;if flag = 1.&lt;/P&gt;&lt;P&gt;icon_name = 'ICON_GREEN_LIGHT'.&lt;/P&gt;&lt;P&gt;      icon_text =  'green'.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ICON_CREATE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    name                        = icon_name&lt;/P&gt;&lt;P&gt;  TEXT                        = icon_text&lt;/P&gt;&lt;P&gt;  INFO                        = 'Status'&lt;/P&gt;&lt;P&gt;   ADD_STDINF                  = 'X'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;   RESULT                      = icon1&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   ICON_NOT_FOUND              = 1&lt;/P&gt;&lt;P&gt;   OUTPUTFIELD_TOO_SHORT       = 2&lt;/P&gt;&lt;P&gt;   OTHERS                      = 3&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;endif.&lt;/P&gt;&lt;P&gt;endmodule.                 " icon_pai  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jan 2008 07:03:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-29T07:03:18Z</dc:date>
    <item>
      <title>Table control in custom infotypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-custom-infotypes/m-p/3367830#M808229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a requirement to add table control in a custom defined infotype. The fields include two date fields, one icon field, number and name fields. I also need to populate my icon field with three different icons according to the modification in the records of the table control fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest regarding adding icons as a field of the table control and any suggestions about this are welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Saipriya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 08:21:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-custom-infotypes/m-p/3367830#M808229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T08:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in custom infotypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-custom-infotypes/m-p/3367831#M808230</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;Use FM 'ICON_CREATE'  to add the icon to your table control field. (Give your table control field in Result parameter). Check the demo program DEMO_DYNPRO_STATUS_ICONS to display icon in the screen field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Shrinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 08:52:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-custom-infotypes/m-p/3367831#M808230</guid>
      <dc:creator>former_member31961</dc:creator>
      <dc:date>2008-01-25T08:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in custom infotypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-custom-infotypes/m-p/3367832#M808231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add this include &amp;lt;icon&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have a standard table called icon&lt;/P&gt;&lt;P&gt;go to that table and check which icon u want to display and directly give that icon_name in the table control so that i will display the icon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 08:57:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-custom-infotypes/m-p/3367832#M808231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T08:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in custom infotypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-custom-infotypes/m-p/3367833#M808232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried out as u said.. using the function module icon_create. The function module works if the field is a input/output field. But I want to create icons in a input/output field in the table control. I tried the same way but a runtime error is coming. Please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 03:47:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-custom-infotypes/m-p/3367833#M808232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-29T03:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in custom infotypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-custom-infotypes/m-p/3367834#M808233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saipriya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use FM 'ICON_CREATE' to add the icon to your table control field. (Give your table control field in Result parameter). Check the demo program DEMO_DYNPRO_STATUS_ICONS to display icon in the screen field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may be helpful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;swaroop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 03:50:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-custom-infotypes/m-p/3367834#M808233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-29T03:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in custom infotypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-custom-infotypes/m-p/3367835#M808234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried out as u said but am gettin a run time error. I had created a tablecontrol and a field by the name of icon1. when i call the function module icon_create am getting a runtime error. please help me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: icon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA :  icon_name(20) TYPE c,&lt;/P&gt;&lt;P&gt;      icon_text(10) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : flag TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : icon1 TYPE icon_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in flow logic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;MODULE STATUS_0100.&lt;/P&gt;&lt;P&gt; LOOP AT WI_TABLE1 WITH CONTROL TABLE1.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT WI_TABLE1.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module icon_pai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module icon_pai input.&lt;/P&gt;&lt;P&gt;if flag = 1.&lt;/P&gt;&lt;P&gt;icon_name = 'ICON_GREEN_LIGHT'.&lt;/P&gt;&lt;P&gt;      icon_text =  'green'.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ICON_CREATE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    name                        = icon_name&lt;/P&gt;&lt;P&gt;  TEXT                        = icon_text&lt;/P&gt;&lt;P&gt;  INFO                        = 'Status'&lt;/P&gt;&lt;P&gt;   ADD_STDINF                  = 'X'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;   RESULT                      = icon1&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   ICON_NOT_FOUND              = 1&lt;/P&gt;&lt;P&gt;   OUTPUTFIELD_TOO_SHORT       = 2&lt;/P&gt;&lt;P&gt;   OTHERS                      = 3&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;endif.&lt;/P&gt;&lt;P&gt;endmodule.                 " icon_pai  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 07:03:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-custom-infotypes/m-p/3367835#M808234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-29T07:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table control in custom infotypes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-custom-infotypes/m-p/3367836#M808235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;we have a standard table ICON&lt;/P&gt;&lt;P&gt;In the program use this as an include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the data browser go to that particular table and check which icon best suits ur requirement and use it.&lt;/P&gt;&lt;P&gt;In ur program give the relevant icon name in the table control u are using so that the icon will be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regs&lt;/P&gt;&lt;P&gt;krish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 08:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-in-custom-infotypes/m-p/3367836#M808235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-29T08:36:34Z</dc:date>
    </item>
  </channel>
</rss>

