<?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: reg: set cursor field problem. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-set-cursor-field-problem/m-p/2582073#M590519</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No dont create another screen..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For validation you might be using chain .. endchain..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let us say i have a material field and quantity field... i want to validate materil and set the cursor in quantity field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chain&lt;/P&gt;&lt;P&gt;field : material module validate_material&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endchain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module validate_material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from mara where matnr = material&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;set cursor field quantity.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2007 19:35:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-07T19:35:24Z</dc:date>
    <item>
      <title>reg: set cursor field problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-set-cursor-field-problem/m-p/2582070#M590516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello guyz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    In module pool programmming, I need to vaildate entries made by the user in the PAI block. Once the entry is valid, I need to move the cursor to the next input field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Is it possible to set the cursor field in the PAI block. Could you please help me out in this issue because as for as I know the set cursor field works only in PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;karthikeyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 19:01:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-set-cursor-field-problem/m-p/2582070#M590516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T19:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: reg: set cursor field problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-set-cursor-field-problem/m-p/2582071#M590517</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;&lt;/P&gt;&lt;P&gt; Write it in the PBO module of the next screen..  For Each an Every Action on the Screen... first PAI and PBO is triggered.. So it is approprite to do it in PBO Only..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        I Can Solve It&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 19:06:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-set-cursor-field-problem/m-p/2582071#M590517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T19:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: reg: set cursor field problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-set-cursor-field-problem/m-p/2582072#M590518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your replies..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not able to understand ur solution...I've only one screen...do I've to create a similar second screen to wrtie it in the PBO..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 19:27:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-set-cursor-field-problem/m-p/2582072#M590518</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T19:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: reg: set cursor field problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-set-cursor-field-problem/m-p/2582073#M590519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No dont create another screen..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For validation you might be using chain .. endchain..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let us say i have a material field and quantity field... i want to validate materil and set the cursor in quantity field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chain&lt;/P&gt;&lt;P&gt;field : material module validate_material&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endchain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module validate_material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from mara where matnr = material&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;set cursor field quantity.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 19:35:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-set-cursor-field-problem/m-p/2582073#M590519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T19:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: reg: set cursor field problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-set-cursor-field-problem/m-p/2582074#M590520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a lot...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as u suggested i wrote it in the PBO...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works fine..but my cursor is already in the quantity field when the screen is displayed...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I do to have the cursor in the material field initally and then based on validation has to move to quantity field..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate ur help..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 20:10:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-set-cursor-field-problem/m-p/2582074#M590520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T20:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: reg: set cursor field problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-set-cursor-field-problem/m-p/2582075#M590521</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;&lt;/P&gt;&lt;P&gt;  Take a flag filed initially it will be empty.. when validating.. if value is correct then set the flag to X and in ur PBO check for this flag variable and set the cursor accordingly.&lt;/P&gt;&lt;P&gt;if v_flag eq 'X'.&lt;/P&gt;&lt;P&gt;set cursor field ..&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;Thansk&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 20:53:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-set-cursor-field-problem/m-p/2582075#M590521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T20:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: reg: set cursor field problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-set-cursor-field-problem/m-p/2582076#M590522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also use set cursor in PAI. Make sure you input the field in quotes as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD 'T_TEST-NAME'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 20:55:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-set-cursor-field-problem/m-p/2582076#M590522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-07T20:55:26Z</dc:date>
    </item>
  </channel>
</rss>

