<?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: set cursor Field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933433#M61380</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey guys,&lt;/P&gt;&lt;P&gt;could you pls give me correct alternative code or idea to replace my code..equavalantly?&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;ambichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Aug 2005 00:39:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-31T00:39:59Z</dc:date>
    <item>
      <title>set cursor Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933427#M61374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE PAI_CHECK.&lt;/P&gt;&lt;P&gt;MODIFY MYTAB FROM LTAB INDEX ZTABDISP-CURRENTLINE transporting KUNRR STATUS.&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD 'LTAB-KUNNR' &lt;/P&gt;&lt;P&gt;MESSAGE E005.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;END MODULE.&lt;/P&gt;&lt;P&gt;does not allow me to put cursor at KUNNR field, instead&lt;/P&gt;&lt;P&gt;it stands in first column itself..&lt;/P&gt;&lt;P&gt;what could be the reason here..&lt;/P&gt;&lt;P&gt;ambichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 13:41:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933427#M61374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-30T13:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933428#M61375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is KUNNR in field list&lt;/P&gt;&lt;P&gt;eg&lt;/P&gt;&lt;P&gt;loop&lt;/P&gt;&lt;P&gt;field kunnr&lt;/P&gt;&lt;P&gt;module pai_check&lt;/P&gt;&lt;P&gt;endloop...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds&lt;/P&gt;&lt;P&gt;gv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 14:06:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933428#M61375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-30T14:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933429#M61376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try setting the cursor field in the PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is to point the user at the error which is occuring, then it should happend automatically if you are coding it correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement should actually be in its own module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

MODIFY MYTAB FROM LTAB INDEX ZTABDISP-CURRENTLINE transporting KUNRR STATUS. 


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The checks should be in their own modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

MODULE CHECK_KUNNR.

IF ltab-kunnr is initial.
message E005.
endif.

ENDMODULE.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your flow logic, in the PAI,  you should be coding your checks like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  LOOP AT LTAB.
    
      MODULE YOUR_MODIFY_STATEMENT.

      FIELD LTAB-KUNNR MODULE CHECK_KUNNR.

  ENDLOOP.



&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 14:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933429#M61376</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-08-30T14:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933430#M61377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should write in which line you want to set cursor:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD 'LTAB-KUNNR' LINE SY-STEPL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 14:13:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933430#M61377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-30T14:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933431#M61378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey venkat,&lt;/P&gt;&lt;P&gt;yes &lt;/P&gt;&lt;P&gt;its like this&lt;/P&gt;&lt;P&gt;LOOP AT MYTAB.&lt;/P&gt;&lt;P&gt;CHAIN&lt;/P&gt;&lt;P&gt;FIELD KBN:&lt;/P&gt;&lt;P&gt;      INPT:&lt;/P&gt;&lt;P&gt;      KUNNR:&lt;/P&gt;&lt;P&gt;      MATNR:&lt;/P&gt;&lt;P&gt;      ZLOTB:&lt;/P&gt;&lt;P&gt;MODIFY ZTABDISP_MODULE ON CHAIN REQUEST.&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;MODULE ZTABDISP_MODULE.&lt;/P&gt;&lt;P&gt;MODIFY....&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD ...&lt;/P&gt;&lt;P&gt;MESSAGE E003.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this..&lt;/P&gt;&lt;P&gt;ambichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 14:18:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933431#M61378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-30T14:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933432#M61379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it doesn't work, if you put a control with error or warming message into CHAIN/ENDCHAIN statament, I believe the system sets cursor in the first field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2005 15:40:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933432#M61379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-30T15:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933433#M61380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey guys,&lt;/P&gt;&lt;P&gt;could you pls give me correct alternative code or idea to replace my code..equavalantly?&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;ambichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 00:39:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933433#M61380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T00:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933434#M61381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SET CURSOR FIELD &amp;lt;b&amp;gt;LTAB-KUNNR&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;               LINE &amp;lt;tablecontrol name&amp;gt;-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;Message ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete the single code between the field LTAB-KUNNR and try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds&lt;/P&gt;&lt;P&gt;gv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Venkat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 00:48:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933434#M61381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T00:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933435#M61382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for that field check in attributes in screen painter, whether set and get parameters are unchecked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not sure just a try, hope it help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 02:45:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933435#M61382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T02:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933436#M61383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey surpreet singh,&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;i am just working on this..if solved i will surely close this thread.&lt;/P&gt;&lt;P&gt;Sorry for late response.&lt;/P&gt;&lt;P&gt;ambichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 04:27:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933436#M61383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T04:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933437#M61384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ambi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's ok , but be sure to get back how you solved this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cause what i told you, i read that yesterday in one of thread here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 04:29:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933437#M61384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T04:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933438#M61385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure supreet singh.&lt;/P&gt;&lt;P&gt;I am always in touch..&lt;/P&gt;&lt;P&gt;btw, i just tried the above option too..i could not&lt;/P&gt;&lt;P&gt;set the cursor field to particular error place.&lt;/P&gt;&lt;P&gt;it always stands in first place..&lt;/P&gt;&lt;P&gt;is it drawback of CHAIN and ENDCHAIN?&lt;/P&gt;&lt;P&gt;I checked attributes also..set and get parameters are&lt;/P&gt;&lt;P&gt;not checked.&lt;/P&gt;&lt;P&gt;just looking what could be the alternate way..&lt;/P&gt;&lt;P&gt;ambichan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 04:37:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933438#M61385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T04:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933439#M61386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ambi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did u try this &lt;/P&gt;&lt;P&gt;SET CURSOR FIELD LTAB-KUNNR&lt;/P&gt;&lt;P&gt;LINE &amp;lt;tablecontrol name&amp;gt;-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;Message ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete the single code between the field LTAB-KUNNR and try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds&lt;/P&gt;&lt;P&gt;gv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 04:38:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933439#M61386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T04:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933440#M61387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hay venkat,&lt;/P&gt;&lt;P&gt;yes again i tried with your command.&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD LTAB-KUNNR LINE ZTABDIS-CURRENT_line.&lt;/P&gt;&lt;P&gt;but still not working..&lt;/P&gt;&lt;P&gt;does the cursor field wont work in chain..endchain?&lt;/P&gt;&lt;P&gt;ambichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 11:37:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933440#M61387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T11:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933441#M61388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No! I think it doesn't work in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a dynpro with 3 fields: A, B, C. In PAI I put only one module: SET_CURSOR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE SET_CURSOR INPUT.&lt;/P&gt;&lt;P&gt;  SET CURSOR FIELD 'B'.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO i put only one module: GET_CURSOR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE GET_CURSOR OUTPUT.&lt;/P&gt;&lt;P&gt;  DATA FIELD.&lt;/P&gt;&lt;P&gt;  GET CURSOR FIELD FIELD.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " GET_CURSOR  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The get cursor command always return sy-subrc = 4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 12:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933441#M61388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T12:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933442#M61389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey max,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Hey Rich, I did not get your explanation clearly w.r.t&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD.&lt;/P&gt;&lt;P&gt;could you pls state your point little bit clear and more.&lt;/P&gt;&lt;P&gt;will be great help.&lt;/P&gt;&lt;P&gt;ambichan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 12:13:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933442#M61389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T12:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933443#M61390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can solve your problem using a message type I, not E.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP...&lt;/P&gt;&lt;P&gt;  MODULE SET_CURSOR.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP..&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;  FIELD: FIELD1, &lt;/P&gt;&lt;P&gt;         FIELD2,&lt;/P&gt;&lt;P&gt;         FIELD3 MODULE CHECK_FIELD.&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;MODULE CHECK_FIELD.&lt;/P&gt;&lt;P&gt; clear step_error.&lt;/P&gt;&lt;P&gt; IF FIELD = ERROR.&lt;/P&gt;&lt;P&gt;   MESSAGE I208(00) WITH 'Error'.&lt;/P&gt;&lt;P&gt;   CLEAR OK_CODE.&lt;/P&gt;&lt;P&gt;   step_error = sy-stepl.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Leave PAI process:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   leave screen.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE SET_CURSOR.&lt;/P&gt;&lt;P&gt;CHECK STEP_ERROR &amp;gt; 0.&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD 'KUNNR' LINE STEP_ERROR.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 12:29:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933443#M61390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T12:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor Field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933444#M61391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOOP..&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;FIELD: FIELD1, &lt;/P&gt;&lt;P&gt;FIELD2,&lt;/P&gt;&lt;P&gt;FIELD3 MODULE CHECK_FIELD on chain-request.&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;if we use field1,2,3 and on chain-request then the cursor automatically goes to field1 eventhough if we set the cursor externally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so u have to remove &amp;lt;b&amp;gt;ON CHAIN-REQUEST&amp;lt;/b&amp;gt; or have to think different logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;gv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2005 04:29:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-field/m-p/933444#M61391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-01T04:29:58Z</dc:date>
    </item>
  </channel>
</rss>

