<?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 endchain in table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/endchain-in-table-control/m-p/3330185#M797790</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;i gt a problem in enable the field in the table control.&lt;/P&gt;&lt;P&gt;I gt a validation check for duplicate record in the field, therefore i use chain. The message class  was display, but the field is not enable to input. What is the problem? Below is my flow logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;MODULE STATUS_9001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT I_FINAL INTO ZTABLE WITH CONTROL TABCONT.&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;CHAIN.&lt;/P&gt;&lt;P&gt;FIELD:&lt;/P&gt;&lt;P&gt;ZTABLE-NAME,&lt;/P&gt;&lt;P&gt;ZTABLE-AGE.&lt;/P&gt;&lt;P&gt;MODULE UPDATE_TAB_CONTROL1.&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_9001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Feb 2008 07:07:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-04T07:07:23Z</dc:date>
    <item>
      <title>endchain in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/endchain-in-table-control/m-p/3330185#M797790</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;i gt a problem in enable the field in the table control.&lt;/P&gt;&lt;P&gt;I gt a validation check for duplicate record in the field, therefore i use chain. The message class  was display, but the field is not enable to input. What is the problem? Below is my flow logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;MODULE STATUS_9001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT I_FINAL INTO ZTABLE WITH CONTROL TABCONT.&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;CHAIN.&lt;/P&gt;&lt;P&gt;FIELD:&lt;/P&gt;&lt;P&gt;ZTABLE-NAME,&lt;/P&gt;&lt;P&gt;ZTABLE-AGE.&lt;/P&gt;&lt;P&gt;MODULE UPDATE_TAB_CONTROL1.&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_9001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 07:07:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/endchain-in-table-control/m-p/3330185#M797790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T07:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: endchain in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/endchain-in-table-control/m-p/3330186#M797791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;try to do this in this way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt; MODULE STATUS_0102.&lt;/P&gt;&lt;P&gt; MODULE GET_DATA .&lt;/P&gt;&lt;P&gt;loop at T_BANK with control table_control&lt;/P&gt;&lt;P&gt;               cursor table_control-current_line.&lt;/P&gt;&lt;P&gt; MODULE SET_LINE_ATTRIBUTES.&lt;/P&gt;&lt;P&gt;&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;FEILD &amp;lt;F name&amp;gt; module module name.&lt;/P&gt;&lt;P&gt;LOOP AT T_BANK.&lt;/P&gt;&lt;P&gt;MODULE POP_I_TAB.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MODULE USER_COMMAND_0102.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful..&lt;/P&gt;&lt;P&gt;GAURAV J.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 07:16:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/endchain-in-table-control/m-p/3330186#M797791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T07:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: endchain in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/endchain-in-table-control/m-p/3330187#M797792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the folowing code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;Loop at &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;FIELD:&lt;/P&gt;&lt;P&gt;ZTABLE-NAME,&lt;/P&gt;&lt;P&gt;ZTABLE-AGE.&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;MODULE &amp;lt;CHECK &amp;gt; ON CHAIN-REQUEST.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE UPDATE_TAB_CONTROL1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_9001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you should write your conditions and message in this &amp;lt;CHECK&amp;gt; module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 07:31:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/endchain-in-table-control/m-p/3330187#M797792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T07:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: endchain in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/endchain-in-table-control/m-p/3330188#M797793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okie. Understand. &lt;/P&gt;&lt;P&gt;Can you provide me a EXAMPLE for the check module.&lt;/P&gt;&lt;P&gt;many thank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 07:35:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/endchain-in-table-control/m-p/3330188#M797793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T07:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: endchain in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/endchain-in-table-control/m-p/3330189#M797794</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;i have an example in which i am doing exactly like this...&lt;/P&gt;&lt;P&gt;I have table control and getting bill date and amount from entered bill number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first of all make that fields output only, which should automatically calculate. ( in my case bill amount and date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;MODULE exit_1000 AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;*&amp;amp;SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'TAB1'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab_det.&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD itab_det-comp_code. &lt;/P&gt;&lt;P&gt;FIELD itab_det-bill_no.&lt;/P&gt;&lt;P&gt;FIELD itab_det-bill_date.&lt;/P&gt;&lt;P&gt;FIELD itab_det-vend_cust_code.&lt;/P&gt;&lt;P&gt;FIELD itab_det-bill_amt.&lt;/P&gt;&lt;P&gt;MODULE tab1_modify ON CHAIN-REQUEST.&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;FIELD itab_det-mark&lt;/P&gt;&lt;P&gt;MODULE tab1_mark ON REQUEST.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then in PAI, make one module, tab1_modify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE tab1_modify INPUT.&lt;/P&gt;&lt;P&gt;IF itab_det-bill_no ' '. ( Bill number should not initial)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR:net_pr,tax,bil_amt,bil_dt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE fkdat netwr mwsbk FROM vbrk INTO (bil_dt,net_pr,tax)&lt;/P&gt;&lt;P&gt;WHERE vbeln = itab_det-bill_no AND kunag = cust .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bil_amt = net_pr + tax.&lt;/P&gt;&lt;P&gt;itab_det-bill_date = bil_dt.&lt;/P&gt;&lt;P&gt;itab_det-bill_amt = bil_amt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY itab_det&lt;/P&gt;&lt;P&gt;FROM itab_det&lt;/P&gt;&lt;P&gt;INDEX tab1-current_line.&lt;/P&gt;&lt;P&gt;APPEND itab_det.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. "TAB1_MODIFY INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 14:09:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/endchain-in-table-control/m-p/3330189#M797794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T14:09:07Z</dc:date>
    </item>
  </channel>
</rss>

