<?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: Doubt in Table Control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-table-control/m-p/2514871#M568869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just remember when you see chain endchain or field statement ,then it is validation for fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;*&amp;amp;spwizard: pai flow logic for tablecontrol 'RACUNI'&lt;/P&gt;&lt;P&gt;loop at IT_OUTPUT.&lt;/P&gt;&lt;P&gt;chain.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-BROJPL.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-BROJST.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-BELNR.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-REFERENCA.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-IZNOS.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-SIROVINA.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-JM.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-CENA.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-UGKOL.&lt;/P&gt;&lt;P&gt;module RACUNI_modify on chain-request.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-CHECK&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;module RACUNI_mark on request.&amp;lt;/b&amp;gt;  -&amp;gt; you can write the validation on module&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;look at doumentation for better understanding what does Chain end endchain ,field statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;P&gt;module RACUNI_user_command.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2007 23:03:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-06T23:03:15Z</dc:date>
    <item>
      <title>Doubt in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-table-control/m-p/2514868#M568866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Gurus,&lt;/P&gt;&lt;P&gt; can some one tell me why we are using the module&lt;/P&gt;&lt;P&gt;module RACUNI_mark input. &lt;/P&gt;&lt;P&gt;and the field  WA_OUTPUT-CHECK.   in the code below. Thanks a lot.&lt;/P&gt;&lt;P&gt;&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;*&amp;amp;spwizard: pai flow logic for tablecontrol 'RACUNI'&lt;/P&gt;&lt;P&gt;loop at IT_OUTPUT.&lt;/P&gt;&lt;P&gt;chain.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-BROJPL.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-BROJST.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-BELNR.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-REFERENCA.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-IZNOS.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-SIROVINA.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-JM.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-CENA.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-UGKOL.&lt;/P&gt;&lt;P&gt;module RACUNI_modify on chain-request.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-CHECK&lt;/P&gt;&lt;P&gt;module RACUNI_mark on request.&lt;/P&gt;&lt;P&gt;endchain.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;module RACUNI_user_command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module RACUNI_modify input.&lt;/P&gt;&lt;P&gt;MODIFY IT_OUTPUT&lt;/P&gt;&lt;P&gt;from WA_OUTPUT&lt;/P&gt;&lt;P&gt;index RACUNI-current_line.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module RACUNI_mark input.&lt;/P&gt;&lt;P&gt;data: g_RACUNI_wa2 like line of IT_OUTPUT.&lt;/P&gt;&lt;P&gt;if RACUNI-line_sel_mode = 1&lt;/P&gt;&lt;P&gt;and WA_OUTPUT-CHECK = 'X'.&lt;/P&gt;&lt;P&gt;loop at IT_OUTPUT into g_RACUNI_wa2&lt;/P&gt;&lt;P&gt;where CHECK = 'X'.&lt;/P&gt;&lt;P&gt;g_RACUNI_wa2-CHECK = ''.&lt;/P&gt;&lt;P&gt;modify IT_OUTPUT&lt;/P&gt;&lt;P&gt;from g_RACUNI_wa2&lt;/P&gt;&lt;P&gt;transporting CHECK.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify IT_OUTPUT&lt;/P&gt;&lt;P&gt;from WA_OUTPUT&lt;/P&gt;&lt;P&gt;index RACUNI-current_line&lt;/P&gt;&lt;P&gt;transporting CHECK.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;spwizard: input module for tc 'RACUNI'. do not change this line!&lt;/P&gt;&lt;P&gt;*&amp;amp;spwizard: process user command&lt;/P&gt;&lt;P&gt;module RACUNI_user_command input.&lt;/P&gt;&lt;P&gt;OK_CODE = sy-ucomm.&lt;/P&gt;&lt;P&gt;perform user_ok_tc using 'RACUNI'&lt;/P&gt;&lt;P&gt;'IT_OUTPUT'&lt;/P&gt;&lt;P&gt;'CHECK'&lt;/P&gt;&lt;P&gt;changing OK_CODE.&lt;/P&gt;&lt;P&gt;sy-ucomm = OK_CODE.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 22:30:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-table-control/m-p/2514868#M568866</guid>
      <dc:creator>madhu_reddy22</dc:creator>
      <dc:date>2007-07-06T22:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-table-control/m-p/2514869#M568867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table control appears to have a column that is markable (you can highlight the row).  The purpose of the racuni_mark input module is to transport the mark field (type char which can be either blank or 'X') for the row from the screen to the ABAP program so it can identify which records are selected.  The code changing the internal table behind the screen by copying the check (mark) field is below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;modify IT_OUTPUT
from g_RACUNI_wa2
transporting CHECK.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 22:43:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-table-control/m-p/2514869#M568867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T22:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-table-control/m-p/2514870#M568868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  It is very simple, It is a table control code, using wizard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_output is your internal table which populates the fields in the table contol in the screen. wa_output fields are used in for validation purpose. If anyone of the field is entered with wrong value it is going to validate and enables all the fields for input again. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;RACUNI_mark input -  is the module(kind of subroutine in normal abap) used for validating your internal table entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say for example:&lt;/P&gt;&lt;P&gt;RACUNI-line_sel_mode = 1 and WA_OUTPUT-CHECK = 'X'. is the condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   whenever the condition is fulfillled you are pulling the records from it_output and modifying the check field from 'X' to Blank in the internal table it_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 22:51:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-table-control/m-p/2514870#M568868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T22:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-table-control/m-p/2514871#M568869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just remember when you see chain endchain or field statement ,then it is validation for fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;*&amp;amp;spwizard: pai flow logic for tablecontrol 'RACUNI'&lt;/P&gt;&lt;P&gt;loop at IT_OUTPUT.&lt;/P&gt;&lt;P&gt;chain.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-BROJPL.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-BROJST.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-BELNR.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-REFERENCA.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-IZNOS.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-SIROVINA.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-JM.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-CENA.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-UGKOL.&lt;/P&gt;&lt;P&gt;module RACUNI_modify on chain-request.&lt;/P&gt;&lt;P&gt;field WA_OUTPUT-CHECK&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;module RACUNI_mark on request.&amp;lt;/b&amp;gt;  -&amp;gt; you can write the validation on module&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;look at doumentation for better understanding what does Chain end endchain ,field statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;P&gt;module RACUNI_user_command.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 23:03:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-table-control/m-p/2514871#M568869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T23:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-table-control/m-p/2514872#M568870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Guyz,&lt;/P&gt;&lt;P&gt; So is there a column called CHECK in the table(which actually appears in the screen) or is it just used for validation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2007 04:15:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-table-control/m-p/2514872#M568870</guid>
      <dc:creator>madhu_reddy22</dc:creator>
      <dc:date>2007-07-09T04:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-table-control/m-p/2514873#M568871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is actually a column called check in the internal table that is represented in the table control.  The purpose of this column is to allow the program to identify which rows are 'marked' by the user - not validation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2007 14:18:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-table-control/m-p/2514873#M568871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-09T14:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-table-control/m-p/2514874#M568872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is for check mark for partcular ,based on check mark,it will validate the other fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2007 15:26:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-table-control/m-p/2514874#M568872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-09T15:26:09Z</dc:date>
    </item>
  </channel>
</rss>

