<?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 Set Cursor After Selection Error Message On Perticular Field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-after-selection-error-message-on-perticular-field/m-p/9360647#M1732157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created custom screen in purchase document item (ME21N) using Exit MM06E005.&lt;/P&gt;&lt;P&gt;i have used the function module EXIT_SAPMM06E_016 &amp;amp; EXIT_SAPMM06E_018 and screen 111.&lt;/P&gt;&lt;P&gt;i placed only one field in my screen namely EXPO_CI-STLAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had validate this field using BADI ME_PROCESS_PO_CUST and method CHECK init.&lt;/P&gt;&lt;P&gt;as check method is not supported warning message i had raise message using MACRO as per following syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MMPUR_MESSAGE_FORCED &lt;SPAN class="L0S33"&gt;'W' &lt;SPAN class="L0S33"&gt;'ME' &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'303' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;MESSAGE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'' &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'' &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;''&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;SPAN class="L0S55"&gt;now this will open popup of list of warning message and working fine,but when i select my message and press edit button cursor is not set on custom field.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;SPAN class="L0S55"&gt;Hope You understand the problem.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;SPAN class="L0S55"&gt;kindly help me.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example i am getting following list of message,in this, first message is my custom message and when i select this and press edit button cursor is not set on my custom field.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/199674" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;SPAN class="L0S55"&gt;Warm Regards!!!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;SPAN class="L0S55"&gt;Jenish Tailor.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Mar 2013 05:25:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-03-29T05:25:42Z</dc:date>
    <item>
      <title>Set Cursor After Selection Error Message On Perticular Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-after-selection-error-message-on-perticular-field/m-p/9360647#M1732157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created custom screen in purchase document item (ME21N) using Exit MM06E005.&lt;/P&gt;&lt;P&gt;i have used the function module EXIT_SAPMM06E_016 &amp;amp; EXIT_SAPMM06E_018 and screen 111.&lt;/P&gt;&lt;P&gt;i placed only one field in my screen namely EXPO_CI-STLAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had validate this field using BADI ME_PROCESS_PO_CUST and method CHECK init.&lt;/P&gt;&lt;P&gt;as check method is not supported warning message i had raise message using MACRO as per following syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MMPUR_MESSAGE_FORCED &lt;SPAN class="L0S33"&gt;'W' &lt;SPAN class="L0S33"&gt;'ME' &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'303' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;MESSAGE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'' &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'' &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;''&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;SPAN class="L0S55"&gt;now this will open popup of list of warning message and working fine,but when i select my message and press edit button cursor is not set on custom field.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;SPAN class="L0S55"&gt;Hope You understand the problem.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;SPAN class="L0S55"&gt;kindly help me.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example i am getting following list of message,in this, first message is my custom message and when i select this and press edit button cursor is not set on my custom field.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/199674" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;SPAN class="L0S55"&gt;Warm Regards!!!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;SPAN class="L0S55"&gt;Jenish Tailor.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 05:25:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-after-selection-error-message-on-perticular-field/m-p/9360647#M1732157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-29T05:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set Cursor After Selection Error Message On Perticular Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-after-selection-error-message-on-perticular-field/m-p/9360648#M1732158</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 have to used the bellow code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; background-color: #ffffff; font-family: 'Courier New';"&gt;SET CURSOR FIELD name OFFSET pos.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; background-color: #ffffff; font-family: 'Courier New';"&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;&amp;lt;b&amp;gt;SET CURSOR FIELD &amp;lt;f&amp;gt; LINE &amp;lt;lin&amp;gt; [OFFSET &amp;lt;off&amp;gt;]&amp;lt;/b&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly go throught the bellow link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/erp2005_ehp_04/helpdata/en/9f/dbac0b35c111d1829f0000e829fbfe/content.htm"&gt;http://help.sap.com/erp2005_ehp_04/helpdata/en/9f/dbac0b35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/125592"&gt;http://scn.sap.com/thread/125592&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/abapdocu_702/en/abapset_cursor_dynpro.htm"&gt;http://help.sap.com/abapdocu_702/en/abapset_cursor_dynpro.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard&lt;/P&gt;&lt;P&gt;Nawa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 06:06:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-after-selection-error-message-on-perticular-field/m-p/9360648#M1732158</guid>
      <dc:creator>Nawanandana</dc:creator>
      <dc:date>2013-03-29T06:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set Cursor After Selection Error Message On Perticular Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-after-selection-error-message-on-perticular-field/m-p/9360649#M1732159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SET cursor is not useful in this case because screen is created in customer exit and validation is done through BADI.&lt;/P&gt;&lt;P&gt;thanks for the reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 07:11:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-after-selection-error-message-on-perticular-field/m-p/9360649#M1732159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-29T07:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Cursor After Selection Error Message On Perticular Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-after-selection-error-message-on-perticular-field/m-p/9360650#M1732160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use macro mmpur_metafield before mmpur_message_forced. There are reserved values for customer fields mmmfd_cust_01 (90000000) to mmmfd_cust_10 (90000009). You have to link your fields to those id in BAdI ME_GUI_PO_CUST Method MAP_DYNPRO_FIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM " or in loop in CHECK&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;mmpur_metafield mmmfd_cust_01.&lt;/P&gt;&lt;P&gt;mmpur_message_forced 'W' 'ME' '083' text-002 '' '' ''.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;IF_EX_ME_GUI_PO_CUST~MAP_DYNPRO_FIELDS&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;loop at ch_mapping assigning &amp;lt;mapping&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp; case &amp;lt;mapping&amp;gt;-fieldname.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; when 'ZZFIELD1'.&amp;nbsp;&amp;nbsp; &amp;lt;mapping&amp;gt;-metafield = mmmfd_cust_01.&lt;/P&gt;&lt;P&gt;&amp;nbsp; endcase.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 13:44:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-after-selection-error-message-on-perticular-field/m-p/9360650#M1732160</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-04-02T13:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set Cursor After Selection Error Message On Perticular Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-after-selection-error-message-on-perticular-field/m-p/9360651#M1732161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey thanks for reply but i had design screen in exit MM06E005 so MAP_DYNPRO_FIELDS method of BADI ME_GUI_PO_CUST is not triggering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i already tried with it but break&amp;nbsp; point is not triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if am wrong please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 09:46:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-after-selection-error-message-on-perticular-field/m-p/9360651#M1732161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-03T09:46:12Z</dc:date>
    </item>
  </channel>
</rss>

