<?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: Easy problem in Module Pool. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/easy-problem-in-module-pool/m-p/1853805#M361284</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;Probably some FIELD stataments are not place correctly in PAI, you should post the screen flow to understand the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jan 2007 15:32:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-05T15:32:36Z</dc:date>
    <item>
      <title>Easy problem in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/easy-problem-in-module-pool/m-p/1853804#M361283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all!!! this time i have a problem with a Module Pool, so i decided to ask in the forum.&lt;/P&gt;&lt;P&gt;The situation is tike this:&lt;/P&gt;&lt;P&gt;I have a Screen 0100 with 3 subscreen : 0101, 0102 and 0103.&lt;/P&gt;&lt;P&gt;In my first subscreen (0101) there are a lot of field that have a description.&lt;/P&gt;&lt;P&gt;EXAMPLE: &lt;/P&gt;&lt;P&gt;PRODUCER:___1000045 Michael LAudrup F.G&lt;/P&gt;&lt;P&gt;All the Description are searched in the FIELD of PAI.&lt;/P&gt;&lt;P&gt;FIELD e_CAB-LIFNR MODULE VALIDATE_PRODUCER ON INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem:&lt;/P&gt;&lt;P&gt;In Subscreen 0101, I have three fields that are the key fields of a Ztable.&lt;/P&gt;&lt;P&gt;When the three of them, are not initial, i search on that Ztable if there is some info for that keys.&lt;/P&gt;&lt;P&gt;if the information exists, then i complete the screen with the obtained values of the Z table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally my problem is that the description of the remaining fields does not appear since they are within the modules. They appear when i press 'Enter' again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion to solve my problem...&lt;/P&gt;&lt;P&gt;how to recall my current dynpro??how to simulate an 'Enter'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for my English.&lt;/P&gt;&lt;P&gt;If something of the text were not understood , just tell me, and I will try to explain it better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As usual rewards points for help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 15:05:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/easy-problem-in-module-pool/m-p/1853804#M361283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T15:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Easy problem in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/easy-problem-in-module-pool/m-p/1853805#M361284</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;Probably some FIELD stataments are not place correctly in PAI, you should post the screen flow to understand the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 15:32:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/easy-problem-in-module-pool/m-p/1853805#M361284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T15:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Easy problem in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/easy-problem-in-module-pool/m-p/1853806#M361285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry .. i couldn't get you..&lt;/P&gt;&lt;P&gt;do you want this .. as you input value in third key field ..all other value should appear in other fields from that table....right..?&lt;/P&gt;&lt;P&gt;but how system would know that the value is completed or not..either u have to click or enter.&lt;/P&gt;&lt;P&gt;Supppose in third field, lenght of te value varies , suppose your third field is sales order that lenght varieds from 8 to 10, if you want to enter 10 digit value and how system will know that the value is complete or not...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you understand me...&lt;/P&gt;&lt;P&gt;This type of business requirement should not be there as per my experience says.... okie..this can be possible after 'click' or 'Enter' , and i will say is should be in same manner...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Dinesh Goyal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 15:43:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/easy-problem-in-module-pool/m-p/1853806#M361285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T15:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Easy problem in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/easy-problem-in-module-pool/m-p/1853807#M361286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;  MODULE hide_selection.&lt;/P&gt;&lt;P&gt;  MODULE des_fields_by_purchase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Validate&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  FIELD e_cab-anio        MODULE validate_cab_anio            ON REQUEST.&lt;/P&gt;&lt;P&gt;  FIELD e_cab-centro      MODULE validate_centro               ON REQUEST.&lt;/P&gt;&lt;P&gt;  FIELD e_cab-tropa       MODULE validate_tropa                  ON REQUEST.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;  FIELD e_cab-tipo_fae    MODULE validate_tipo_fae             ON INPUT.&lt;/P&gt;&lt;P&gt;  FIELD e_cab-tipo_com    MODULE validate_tipo_com         ON INPUT.&lt;/P&gt;&lt;P&gt;  FIELD e_cab-fecha_fae   MODULE validate_fecha_fae         ON INPUT.&lt;/P&gt;&lt;P&gt;  FIELD e_cab-fecha_rec   MODULE validate_fecha_rec        ON INPUT.&lt;/P&gt;&lt;P&gt;  FIELD e_cab-cabezas_fae MODULE validate_cabezas_fae  ON INPUT.&lt;/P&gt;&lt;P&gt;  FIELD e_cab-cconsig     MODULE validate_cuit_cconsig     ON INPUT.&lt;/P&gt;&lt;P&gt;  FIELD e_cab-cproduc     MODULE validate_cuit_cproduc     ON INPUT.&lt;/P&gt;&lt;P&gt;  FIELD e_cab-ccompra     MODULE validate_cuit_ccompra   ON INPUT.&lt;/P&gt;&lt;P&gt;  FIELD e_cab-ctransp     MODULE validate_cuit_ctransp      ON INPUT.&lt;/P&gt;&lt;P&gt;  FIELD e_cab-ccliente    MODULE validate_cuit_cliente        ON INPUT.&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first, second and third are the key fields.&lt;/P&gt;&lt;P&gt;An example of how the modules search the description is:&lt;/P&gt;&lt;P&gt;MODULE validate_tipo_fae INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SINGLE descr&lt;/P&gt;&lt;P&gt;    FROM zmm014a_tfaena&lt;/P&gt;&lt;P&gt;      into e_descr-tfae&lt;/P&gt;&lt;P&gt;       WHERE ( tipo_fae EQ e_cab-tipo_fae ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;    clear e_descr-tfae.&lt;/P&gt;&lt;P&gt;    MESSAGE e002(zmm014_manu) WITH e_cab-tipo_fae.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " VALIDAR_TIPO_FAE  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this could help you.&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;Andrew83&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 15:47:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/easy-problem-in-module-pool/m-p/1853807#M361286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T15:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Easy problem in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/easy-problem-in-module-pool/m-p/1853808#M361287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;FIELD e_cab-anio MODULE validate_cab_anio ON REQUEST.&lt;/P&gt;&lt;P&gt;FIELD e_cab-centro MODULE validate_centro ON REQUEST.&lt;/P&gt;&lt;P&gt;FIELD e_cab-tropa MODULE validate_tropa ON REQUEST.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;inside this three Modules there is a Form with code like this:.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****************************************************************&lt;/P&gt;&lt;P&gt;IF not e_cab-tropa is initial and&lt;/P&gt;&lt;P&gt;    not e_cab-centro is initial and&lt;/P&gt;&lt;P&gt;    not e_cab-anio is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SELECT SINGLE *&lt;/P&gt;&lt;P&gt;             FROM zmm014a_cab&lt;/P&gt;&lt;P&gt;                into corresponding fields of e_cab&lt;/P&gt;&lt;P&gt;                     WHERE tropa  eq e_cab-tropa and&lt;/P&gt;&lt;P&gt;                        centro eq e_cab-centro and&lt;/P&gt;&lt;P&gt;                           anio   eq e_cab-anio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****************************************************************&lt;/P&gt;&lt;P&gt;So e_Cab registry is filled.&lt;/P&gt;&lt;P&gt;After this at the pbo i do a loop at screen changin de screen-input feature to 0,so all the fields appear in visualize mode. Finally i have all the fields with the information i want, but any description was fill because the program didn't enter again to the pai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for my English again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 16:05:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/easy-problem-in-module-pool/m-p/1853808#M361287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T16:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Easy problem in Module Pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/easy-problem-in-module-pool/m-p/1853809#M361288</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;You wrote: ...Finally my problem is that the description of the remaining fields does not appear since they are within the modules. They appear when i press 'Enter' again....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This behavior usually depends on FIELD statament, if it uses it the value of the field is available when its FIELD statament is reached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So u should have insert in the same control these fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[code[CHAIN.&lt;/P&gt;&lt;P&gt;  FIELD e_cab-anio.&lt;/P&gt;&lt;P&gt;  FIELD e_cab-centro.&lt;/P&gt;&lt;P&gt;  FIELD e_cab-tropa.&lt;/P&gt;&lt;P&gt;  MODULE CK_ANIO_CENTRO_TROPA.&lt;/P&gt;&lt;P&gt;  ............................&lt;/P&gt;&lt;P&gt;ENDCHAIN.[/code]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way when the program runs the module CK_ANIO_CENTRO_TROPA, all fields E_CAB-ANIO, E_CAB-CENTRO and E_CAB-TROPA should be available because their FIELD statament were done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 16:17:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/easy-problem-in-module-pool/m-p/1853809#M361288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T16:17:17Z</dc:date>
    </item>
  </channel>
</rss>

