<?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: condition fields table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937748#M942255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;mark the post answered once ur problem is solved... dont keep it open for others to answer unnecessarily&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Jun 2008 10:16:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-07T10:16:29Z</dc:date>
    <item>
      <title>condition fields table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937744#M942251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abappers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want put condition in the my Z table; if field A is empty then the field B never must   have the value empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is posible with t-code sm30?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cordial greetings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 14:00:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937744#M942251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T14:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: condition fields table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937745#M942252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to SE54, and activate an event : &lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;Choose Utilities &amp;gt;  Table Maintenance Generator.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;Choose the selection button Generated Objects.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;Choose Environment &amp;gt; Modification &amp;gt; Events.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't find a suitable event you can change the generated dynpro itself. (add checks to the PAI...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 14:06:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937745#M942252</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-06-06T14:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: condition fields table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937746#M942253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't see a way to do that in SM30 or SE11 itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you can validade in all programs/exits that update your ztable, if that condition is true before doing the updating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 14:07:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937746#M942253</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-06-06T14:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: condition fields table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937747#M942254</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;go to SE80 &lt;/P&gt;&lt;P&gt;then open the FG inside which u have created the table maintenance for the table for which u want to put the condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now to go the view on the left handside down corner i.e. Object Name&lt;/P&gt;&lt;P&gt;u can ur FG name drill down and then click on then screens&lt;/P&gt;&lt;P&gt;then u can see the table maintenance screen number click on that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on the right hand side u will see the code.....&lt;/P&gt;&lt;P&gt;Under &lt;STRONG&gt;PROCESS AFTER INPUT.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;u will see bunch f code inside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT EXTRACT.&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    FIELD ZARK_ALV_TEST-EMPLOYEE .&lt;/P&gt;&lt;P&gt;    FIELD ZARK_ALV_TEST-LOCATION .&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;perform F_validate.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    FIELD ZARK_ALV_TEST-QUOTA .&lt;/P&gt;&lt;P&gt;    FIELD ZARK_ALV_TEST-GRADE .&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;say in my case i need to validate LOCATION field&lt;/P&gt;&lt;P&gt;so i write a perform and declare that in any include in my FG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and code will be as follows :&lt;/P&gt;&lt;P&gt;if ZARK_ALV_TEST-EMPLOYEE  = ' '.&lt;/P&gt;&lt;P&gt;if ZARK_ALV_TEST-LOCATION = ' '.&lt;/P&gt;&lt;P&gt; message E000(38) with " Enployee is null so loaction cant be null. plz enter value i location." .&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful ..... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and also mark the post answered once ur problem is solved......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jun 2008 09:28:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937747#M942254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-07T09:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: condition fields table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937748#M942255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;mark the post answered once ur problem is solved... dont keep it open for others to answer unnecessarily&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jun 2008 10:16:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937748#M942255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-07T10:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: condition fields table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937749#M942256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think its not possible directly from SM30 or SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should be code into your update program from where you are updating the Z table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jun 2008 11:20:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937749#M942256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-07T11:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: condition fields table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937750#M942257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you very much Ajantha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;post the complete code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;In the DYNPRO:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS BEFORE OUTPUT.
 MODULE LISTE_INITIALISIEREN.
 LOOP AT EXTRACT WITH CONTROL
  TCTRL_ZTT CURSOR NEXTLINE.
   MODULE LISTE_SHOW_LISTE.
 ENDLOOP.
*
PROCESS AFTER INPUT.
 MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
 MODULE LISTE_BEFORE_LOOP.
 LOOP AT EXTRACT.
   MODULE LISTE_INIT_WORKAREA.
   CHAIN.
    FIELD ZTT-ZBUKRS .
    FIELD ZTT-ZDHKONT .
    FIELD ZTT-ZHHKONT .
    FIELD ZTT-ZSRHKONT .
    FIELD ZTT-ZLIFNR .

*start insert validate fields

    module test.

*end insert validate fields

    FIELD ZTT-ZUMSKZ .
    MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
   ENDCHAIN.
   FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
   CHAIN.
    FIELD ZTT-ZBUKRS .
    FIELD ZTT-ZDHKONT .
    FIELD ZTT-ZHHKONT .
    MODULE LISTE_UPDATE_LISTE.
   ENDCHAIN.
 ENDLOOP.
 MODULE LISTE_AFTER_LOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***************************************************************************************&lt;/P&gt;&lt;P&gt;***************************************************************************************&lt;/P&gt;&lt;P&gt;&lt;U&gt;*IN MY INCLUDE:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;module test input.

IF ZTT-ZSRHKONT CO ' 0123456789'
 AND ZTT-ZLIFNR CO ' 0123456789'.

    IF ZTT-ZSRHKONT EQ ' ' AND ZTT-ZLIFNR EQ ' ' .
            MESSAGE w000 WITH
'Intro ZSRHKONT or ZLIFNR'.

      IF ZTT-ZUMSKZ NE ' '.
            MESSAGE w000 WITH
'Intro ZLIFNR for CME'.
      ENDIF.
    ELSEIF ZTT-ZSRHKONT NE ' ' AND ZTT-ZLIFNR NE ' '.
          MESSAGE w000 WITH
'Delete ZSRHKONT or ZLIFNR'.
      IF ZTT-ZUMSKZ NE ' '.
            MESSAGE w000 WITH
'Only ZLIFNR for CME, insert again'.
      ENDIF.
    endif.

 IF ZTT-ZLIFNR EQ ' ' AND ZTT-ZUMSKZ NE ' '.
                MESSAGE w000 WITH
'Intro ZLIFNR for CME'.
 ENDIF.

ELSE.

*  'Only allow value  0123456789'.
  MESSAGE w076.

ENDIF.
endmodule.                 " TEST  INPUT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that it is used a lot of IF &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;, but the moment, it is correct,&lt;/P&gt;&lt;P&gt;If somebody think that other code is more performance, please post message with the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other day try continue with the code, &lt;/P&gt;&lt;P&gt;I want obtain a table control with fields shady that I want no editable.&lt;/P&gt;&lt;P&gt;with ALV it is easy but with table control...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cordial greetings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 18:08:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937750#M942257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T18:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: condition fields table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937751#M942258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;       Your code if fine ..... i dont think these If stmt can be replaced by any other conditional stmts ....... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and abt the non editable fields in SE80&lt;/P&gt;&lt;P&gt;goto Function Group&lt;/P&gt;&lt;P&gt;then click on Screen&lt;/P&gt;&lt;P&gt;then click on Element List Tab&lt;/P&gt;&lt;P&gt;below u can see list of ur fields strting with ZTT-...... &lt;/P&gt;&lt;P&gt;and against that u can have to uncheck the checkbox in INPUT column ......&lt;/P&gt;&lt;P&gt;so that the input for the field will be disabled..... when u go in edit mode......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if any query revert back........ &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful.......:-)&lt;/P&gt;&lt;P&gt;and mark the post answered once ur problem is solved .... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 06:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937751#M942258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T06:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: condition fields table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937752#M942259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for you attention,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excuse me, but I view the post and I not sure if I understand it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I go to the tab &lt;STRONG&gt;"element list"&lt;/STRONG&gt; of my DYMPRO (OK)&lt;/P&gt;&lt;P&gt;I go to the checkbox in the column &lt;STRONG&gt;"input"&lt;/STRONG&gt; of the field that I want unable and unable it, and then when I want to modify a field with the t-code SM30, the field now is unable (ok) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if I want put a condition in my code, where I set unable the field checkbox when I have a condition in my code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How make it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cordial greetings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 17:27:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937752#M942259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-12T17:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: condition fields table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937753#M942260</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 dont knw how that can be done...... as in u want to disable the input of a field in case if any condition gets satisfied......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i m sorry... if i get then will later let u knw......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 04:16:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937753#M942260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-13T04:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: condition fields table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937754#M942261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the PBO of the dynpro, use a LOOP AT SCREEN/MODIFY SCREEN/ENDLOOP to disable the input-ability of the fields depending on conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 06:05:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937754#M942261</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-06-13T06:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: condition fields table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937755#M942262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abappers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I want post the complete solution of my problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have that go to the program corresponding of my table Z; It´s the format: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SAPLZTT&lt;/STRONG&gt; where ZTT is the name of table &lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;I go to the group funtion :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ZTT&lt;/STRONG&gt; the name is the same of my table Z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the SE38 push the button go to SE80 (CTRL + SHIFT + F5) or open the program with the SE80 directely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before I have go to the control program of my table Z (insert data with t-code SM30)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SAPLZTT&lt;/STRONG&gt;, ok, then I put the include at the end of the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;INCLUDE LZTTI01.

INCLUDE LZTTO01.

INCLUDE LZTTF01.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;U&gt;In my DYNPRO:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS BEFORE OUTPUT.

 MODULE LISTE_INITIALISIEREN.

 LOOP AT EXTRACT WITH CONTROL
  TCTRL_ZTT CURSOR NEXTLINE.
   MODULE LISTE_SHOW_LISTE.

*START SET SHADY AND EDIT FIELDS
   module set_shady.
*END SET SHADY AND EDIT FIELDS

 ENDLOOP.

PROCESS AFTER INPUT.

 MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
 MODULE LISTE_BEFORE_LOOP.
 LOOP AT EXTRACT.
   MODULE LISTE_INIT_WORKAREA.
   CHAIN.
    FIELD ZTT-ZA .
    FIELD ZTT-ZB .
    FIELD ZTT-ZC .
    FIELD ZTT-ZD .
    FIELD ZTT-ZE .

*START VALIDATE FIELDS
    module test.
*END VALIDATE FIELDS

    FIELD ZTT-ZF .
    MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
   ENDCHAIN.
   FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
   CHAIN.
    FIELD ZTT-ZA .
    FIELD ZTT-ZB .
    FIELD ZTT-ZC .
    MODULE LISTE_UPDATE_LISTE.
   ENDCHAIN.
 ENDLOOP.
 MODULE LISTE_AFTER_LOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;In my INCLUDES:&lt;/U&gt; (where I put all code of PBO)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LZTTO01&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;module set_shady output.
IF status-action EQ 'U'.
 perform set_shady.
ENDIF.
endmodule.                 " SET_SHADY  OUTPUT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;In my INCLUDES:&lt;/U&gt; (where I put all code of PAI)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LZTTI01&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;module test input.


IF ZTT-ZTT CO ' 0123456789'
 AND ZTT-ZLIFNR CO ' 0123456789'.

    IF ZTT-ZSRHKONT EQ ' ' AND ZTT-ZLIFNR EQ ' ' .
            MESSAGE w000 WITH
'Put D or E'.
IF status-action EQ 'U'.
 perform set_shady.
ENDIF.
      IF ZTT-ZF NE ' '.
            MESSAGE w000 WITH
'Put E for F'.
IF status-action EQ 'U'.
 perform set_shady.
ENDIF.
      ENDIF.
    ELSEIF ZTT-ZD NE ' ' AND ZTT-ZE NE ' '.
          MESSAGE w000 WITH
'Put D or E'.
IF status-action EQ 'U'.
 perform set_shady.
ENDIF.
      IF ZTT-ZF NE ' '.
            MESSAGE w000 WITH
'Only E for F'.
IF status-action EQ 'U'.
 perform set_shady.
ENDIF.
      ENDIF.
    endif.

 IF ZTT-ZE EQ ' ' AND ZTT-ZF NE ' '.
                MESSAGE w000 WITH
'Put E for F'.
IF status-action EQ 'U'.
 perform set_shady.
ENDIF.
 ENDIF.

ELSE.
  MESSAGE w066.
IF status-action EQ 'U'.
 perform set_shady.
ENDIF.
ENDIF.
endmodule.                 " TEST  INPUT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;In the characteristics of my DYNPRO&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before I fill the next date in the tab of my DYNPRO &lt;STRONG&gt;List of elements&lt;/STRONG&gt; and inside of this tab, other tab with the tab &lt;STRONG&gt;group funtion&lt;/STRONG&gt; y then fill the next in the column with the name &lt;STRONG&gt;group 2&lt;/STRONG&gt;  ( KEY,KEY,KEY,MAY,AKR,AKR,MAR):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZTT-ZA	                 I/O	 	KEY&lt;/P&gt;&lt;P&gt;ZTT-ZB	                 I/O		KEY&lt;/P&gt;&lt;P&gt;ZTT-ZC	                 I/O		KEY&lt;/P&gt;&lt;P&gt;ZTT-ZD	                 I/O	   	MAY&lt;/P&gt;&lt;P&gt;ZTT-ZE	                 I/O	   	AKR&lt;/P&gt;&lt;P&gt;ZTT-ZF	                 I/O	   	AKR&lt;/P&gt;&lt;P&gt;VIM_MARKEDVerifMAR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;In my include&lt;/U&gt;: (where I put the form of my program)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LZTTF01&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;form set_shady.

*modificar registros que se han creado
IF ZTT-ZA NE '' AND ZTT-ZB NE ''
                          AND ZTT-ZC NE ''.

 IF ZTT-ZTT NE ''.

  LOOP AT SCREEN.

    CASE screen-group2.

      WHEN 'AKR'.
       screen-active = 1.
       screen-input = 0.
        MODIFY SCREEN.
      WHEN 'MAY'.
       screen-active = 1.
       screen-input = 1.
        MODIFY SCREEN.
      WHEN 'KEY'.
       screen-active = 1.
       screen-input = 0.
        MODIFY SCREEN.
      WHEN 'MAR'.
       screen-active = 1.
       screen-input = 1.
        MODIFY SCREEN.
      WHEN OTHERS.
       screen-active = 1.
       screen-input = 0.
        MODIFY SCREEN.

    ENDCASE.
  ENDLOOP.
 ELSE.

  LOOP AT SCREEN.

    CASE screen-group2.

      WHEN 'AKR'.
       screen-active = 1.
       screen-input = 1.
        MODIFY SCREEN.
      WHEN 'MAY'.
       screen-active = 1.
       screen-input = 0.
        MODIFY SCREEN.
      WHEN 'KEY'.
       screen-active = 1.
       screen-input = 0.
        MODIFY SCREEN.
      WHEN 'MAR'.
       screen-active = 1.
       screen-input = 1.
        MODIFY SCREEN.
      WHEN OTHERS.
       screen-active = 1.
       screen-input = 0.
        MODIFY SCREEN.

    ENDCASE.
  ENDLOOP.

 ENDIF.
 IF ZTT-ZD EQ '' AND ZTT-ZE EQ '' OR
    ZTT-ZD NE '' AND ZTT-ZE NE '' OR
    ZTT-ZD NE '' AND ZTT-ZF NE ''.

   LOOP AT SCREEN.

    CASE screen-group2.

      WHEN 'AKR'.
       screen-active = 1.
       screen-input = 1.
        MODIFY SCREEN.
      WHEN 'MAY'.
       screen-active = 1.
       screen-input = 1.
        MODIFY SCREEN.
      WHEN 'KEY'.
       screen-active = 1.
       screen-input = 0.
        MODIFY SCREEN.
      WHEN 'MAR'.
       screen-active = 1.
       screen-input = 1.
        MODIFY SCREEN.
      WHEN OTHERS.
       screen-active = 1.
       screen-input = 0.
        MODIFY SCREEN.

    ENDCASE.
  ENDLOOP.

ENDIF.
ELSE.
 LOOP AT SCREEN.
       screen-active = 1.
       screen-input = 1.
        MODIFY SCREEN.
  ENDLOOP.
ENDIF.

endform.                    " SET_SHADY&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope  that somebody its interesting.&lt;/P&gt;&lt;P&gt;I hope so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cordial greetings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: lopez fernandez on Jun 16, 2008 4:36 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 14:32:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/condition-fields-table/m-p/3937755#M942262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T14:32:02Z</dc:date>
    </item>
  </channel>
</rss>

