<?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 Screen editable at me21 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-editable-at-me21/m-p/2639063#M607459</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 am doing validations for PO line items like som material types not allowed for this po type and account assignment cat  K is mandatory etc. i am facing problem while executing me21. if any error related to my validations from user exit comes that case screen will be in disply mode. so i need screen to be in editable mode to correct wrong entries.&lt;/P&gt;&lt;P&gt;sample of my code is as follows. iam using MM06E005 ,EXIT_SAPMM06E_017, zxm06u42&lt;/P&gt;&lt;P&gt; My code:&lt;/P&gt;&lt;P&gt;if ( sy-tcode = 'ME22N' and i_ekko-bsart = 'NB' and i_ekko-aedat &amp;lt; 20070718 ) .&lt;/P&gt;&lt;P&gt;     message e006(znb) with i_ekpo-mtart.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ( ( sy-tcode = 'ME21' or sy-tcode = 'ME21N' or sy-tcode = 'ME22' or sy-tcode = 'ME22N' )&lt;/P&gt;&lt;P&gt;        and i_ekko-bsart = 'nb' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     if ( i_ekpo-mtart = 'roh'  or i_ekpo-mtart = 'halb' or&lt;/P&gt;&lt;P&gt;          i_ekpo-mtart = 'fert' or i_ekpo-mtart = 'fhmi' or&lt;/P&gt;&lt;P&gt;                                 i_ekpo-mtart = 'hawa' ).&lt;/P&gt;&lt;P&gt;          message E000(ZNB) WITH i_ekpo-mtart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jul 2007 08:22:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-27T08:22:06Z</dc:date>
    <item>
      <title>Screen editable at me21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-editable-at-me21/m-p/2639063#M607459</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 am doing validations for PO line items like som material types not allowed for this po type and account assignment cat  K is mandatory etc. i am facing problem while executing me21. if any error related to my validations from user exit comes that case screen will be in disply mode. so i need screen to be in editable mode to correct wrong entries.&lt;/P&gt;&lt;P&gt;sample of my code is as follows. iam using MM06E005 ,EXIT_SAPMM06E_017, zxm06u42&lt;/P&gt;&lt;P&gt; My code:&lt;/P&gt;&lt;P&gt;if ( sy-tcode = 'ME22N' and i_ekko-bsart = 'NB' and i_ekko-aedat &amp;lt; 20070718 ) .&lt;/P&gt;&lt;P&gt;     message e006(znb) with i_ekpo-mtart.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ( ( sy-tcode = 'ME21' or sy-tcode = 'ME21N' or sy-tcode = 'ME22' or sy-tcode = 'ME22N' )&lt;/P&gt;&lt;P&gt;        and i_ekko-bsart = 'nb' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     if ( i_ekpo-mtart = 'roh'  or i_ekpo-mtart = 'halb' or&lt;/P&gt;&lt;P&gt;          i_ekpo-mtart = 'fert' or i_ekpo-mtart = 'fhmi' or&lt;/P&gt;&lt;P&gt;                                 i_ekpo-mtart = 'hawa' ).&lt;/P&gt;&lt;P&gt;          message E000(ZNB) WITH i_ekpo-mtart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 08:22:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-editable-at-me21/m-p/2639063#M607459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T08:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Screen editable at me21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-editable-at-me21/m-p/2639064#M607460</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;When you raise an error message PBO will not be executed again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get only those FILEDS as editable which you put in the flow logic using CHAIN ENDCHAIN or FILED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO put your PAI module along with CHAIN ENDCHAIN over all the fields which you want to show in edit mode after the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you simply raise an error message from a normal PAI module then all the screen will be read only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So create CHAIN ENDCHAIN over all the fields and associate a PAI MODULE for that and raise your messages from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 08:28:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-editable-at-me21/m-p/2639064#M607460</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-07-27T08:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Screen editable at me21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-editable-at-me21/m-p/2639065#M607461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check parameter of EXIT_SAPMM06E_017 : I_AKTYP "Create, Change, Display" and not the transaction code.&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, 27 Jul 2007 08:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-editable-at-me21/m-p/2639065#M607461</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-07-27T08:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Screen editable at me21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-editable-at-me21/m-p/2639066#M607462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi raymond&lt;/P&gt;&lt;P&gt;if use I_AKTYP also scrren will come in display mode only. i need editable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 08:47:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-editable-at-me21/m-p/2639066#M607462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T08:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Screen editable at me21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-editable-at-me21/m-p/2639067#M607463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello CHINNA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can have another option by using a BADI like ME_PROCESS_PO_CUST and method PROCESS_ITEM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 11:47:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-editable-at-me21/m-p/2639067#M607463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T11:47:48Z</dc:date>
    </item>
  </channel>
</rss>

