<?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 on error field in selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863819#M364376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying with only at  selection-screen not with at selection-screen  on field&lt;/P&gt;&lt;P&gt;since I have to do this check for all the fields so we can not acheive this using at selection can be done only at selection-screen  on field?can somebody clarify this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jan 2007 09:12:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-12T09:12:50Z</dc:date>
    <item>
      <title>set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863806#M364363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ALL,&lt;/P&gt;&lt;P&gt;How to place the cursor on a particular selection screen field?I am doing validation if validation fails for a particular field the program should give error mesg and the cursor should place on the error field only but it's going to the Ist field on the selection can somebody tell me how do this? I tried with set cursor field &amp;lt;fieldname) but not working I am doing validations on at-selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regard&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 07:52:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863806#M364363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T07:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863807#M364364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why you have to place the cursor idont know...but you can&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try these things in the event&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additions: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ... ON psel &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. ... ON END OF sel &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. ... ON VALUE-REQUEST FOR psel_low_high&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. ... ON HELP-REQUEST FOR psel_low_high&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. ... ON RADIOBUTTON GROUP radi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. ... ON BLOCK block&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 07:54:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863807#M364364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T07:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863808#M364365</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;at selection-screen on fieldname.&lt;/P&gt;&lt;P&gt;if not fieldname is valid.&lt;/P&gt;&lt;P&gt;message e0001 with "Invalid'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 07:55:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863808#M364365</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-01-12T07:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863809#M364366</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 statements like &lt;/P&gt;&lt;P&gt;at-selection screen on fieldX.&lt;/P&gt;&lt;P&gt;   validate fieldX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if validation of fieldX goes wrong, I think, but I'm not sure, that only fieldX is enabled again...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;J.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 07:56:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863809#M364366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T07:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863810#M364367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ztest.

PARAMETERS : p_var TYPE i DEFAULT '20',
             p_matnr LIKE mara-matnr.


AT SELECTION-SCREEN OUTPUT.

  IF p_var EQ '20'.
    SET CURSOR FIELD 'P_VAR'.
    MESSAGE e006(zz) WITH 'Enter valid value'.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 07:58:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863810#M364367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T07:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863811#M364368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;here a short example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter: p_lifnr like lfa1-lifnr.&lt;/P&gt;&lt;P&gt;parameter: p_kunnr like kna1-kunnr.&lt;/P&gt;&lt;P&gt;parameter: p_matnr like mara-matnr.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;set cursor field 'P_MATNR'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;start-OF-SELECTION.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 07:59:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863811#M364368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T07:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863812#M364369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try these statement for set curser,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET CURSOR { { FIELD field [LINE line] [[DISPLAY] OFFSET off] } &lt;/P&gt;&lt;P&gt;SET CURSOR { { col lin } }.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 08:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863812#M364369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T08:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863813#M364370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just give a valid plant and a wrong material and check the o/p.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT zex12 MESSAGE-ID VIJ.

TABLES : MARA, MARC.
DATA : V_WERKS LIKE MARC-WERKS.
DATA : V_MATNR LIKE MARA-MATNR.

PARAMETERS: P_WERKS LIKE MARC-WERKS,
            P_MATNR LIKE MARA-MATNR.



            AT SELECTION-SCREEN .

 SELECT SINGLE WERKS INTO V_WERKS
         FROM MARC WHERE WERKS = P_WERKS.

IF SY-SUBRC NE 0 .
SET CURSOR FIELD 'P_WERKS'.  "give this in CAPS FOR FIELD
MESSAGE E999 WITH 'INVALID PLANT'.
ENDIF.

 SELECT SINGLE MATNR INTO V_MATNR
         FROM MARA WHERE MATNR = P_MATNR.

IF SY-SUBRC NE 0 .
SET CURSOR FIELD 'P_MATNR'. "give this in CAPS FOR FIELD
MESSAGE E998 WITH 'INVALID MATERIAL'.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 08:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863813#M364370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T08:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863814#M364371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi it's like this requirement i have 3 fields on sel screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matnr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lgort&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When there is validation error happend for lgort the cursor on the selection screen should be on lgort but right now it's going to matnr field which is first field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to rectify this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 08:06:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863814#M364371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T08:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863815#M364372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just check my preivious post and modify accordingly ..it will work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 08:09:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863815#M364372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T08:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863816#M364373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just execute teh code ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT zex12 MESSAGE-ID VIJ.


DATA : V_WERKS LIKE MARC-WERKS.
DATA : V_MATNR LIKE MARA-MATNR.
DATA : V_LGORT LIKE MARD-LGORT.

PARAMETERS: P_MATNR LIKE MARA-MATNR,
            P_WERKS LIKE MARC-WERKS,
            P_LGORT LIKE MARD-LGORT.


            AT SELECTION-SCREEN .

 SELECT SINGLE MATNR INTO V_MATNR
         FROM MARA WHERE MATNR = P_MATNR.

IF SY-SUBRC NE 0 .
SET CURSOR FIELD 'P_MATNR'.
MESSAGE E998 WITH 'INVALID MATERIAL'.
ENDIF.

 SELECT SINGLE WERKS INTO V_WERKS
         FROM MARC WHERE WERKS = P_WERKS AND MATNR = P_MATNR.

IF SY-SUBRC NE 0 .
SET CURSOR FIELD 'P_WERKS'.
MESSAGE E999 WITH 'INVALID PLANT'.
ENDIF.

 SELECT SINGLE LGORT INTO V_LGORT
         FROM MARD WHERE WERKS = P_LGORT AND
               WERKS = P_WERKS AND
               MATNR = P_MATNR.

IF SY-SUBRC NE 0 .
SET CURSOR FIELD 'P_LGORT'.
MESSAGE E996 WITH 'INVALID STORAGE LOCATION'.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 08:14:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863816#M364373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T08:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863817#M364374</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;Did you tried the code in my reply?&lt;/P&gt;&lt;P&gt;If you used &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen&amp;lt;b&amp;gt; on lgort&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;if  ...condition.&lt;/P&gt;&lt;P&gt;message &amp;lt;b&amp;gt;e001&amp;lt;/b&amp;gt; with 'Invalid'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 08:29:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863817#M364374</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-01-12T08:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863818#M364375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  If your checking for particular field.Use&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON filedname.&lt;/P&gt;&lt;P&gt; IF NOT fieldname is valid.&lt;/P&gt;&lt;P&gt;  message e0001 with "Invalid'.&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;Pls. Mark for all useful Ans.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 08:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863818#M364375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T08:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863819#M364376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying with only at  selection-screen not with at selection-screen  on field&lt;/P&gt;&lt;P&gt;since I have to do this check for all the fields so we can not acheive this using at selection can be done only at selection-screen  on field?can somebody clarify this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 09:12:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863819#M364376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T09:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863820#M364377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  It will work with AT SELECTION-SCREEN also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you paste your code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 09:18:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863820#M364377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T09:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863821#M364378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi chandrasekhar find my code below&lt;/P&gt;&lt;P&gt;this code i am writing under  at selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  Z_VALIDATE_TVKOV&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM z_validate_tvkov .&lt;/P&gt;&lt;P&gt;  DATA: i_vtweg LIKE vbak-vtweg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT s_vtweg-low IS INITIAL.&lt;/P&gt;&lt;P&gt;    SELECT SINGLE vtweg FROM tvkov INTO i_vtweg&lt;/P&gt;&lt;P&gt;                 WHERE vtweg = s_vtweg-low.&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    set cursor FIELD 'S_VTWEG-LOW'.&lt;/P&gt;&lt;P&gt;    MESSAGE e000(z_sd) WITH text-052.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT s_vtweg-high IS INITIAL.&lt;/P&gt;&lt;P&gt;    SELECT SINGLE vtweg FROM tvkov INTO i_vtweg&lt;/P&gt;&lt;P&gt;                        WHERE vtweg = s_vtweg-high.&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MESSAGE e000(z_sd) WITH text-052.&lt;/P&gt;&lt;P&gt;    ENDIF.&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;ENDFORM.                    " Z_VALIDATE_TVKOV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 09:52:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863821#M364378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T09:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863822#M364379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am displaying error mesg on status bar of selection screen when field validation failed but error message is truncating after 50 char is there any way we can avoid truncation and will give full text i am giving like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MESSAGE e000(z_sd) WITH text-053 "where text-053 -&amp;gt;"document type is invalid and should use transaction zcon"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's displaying up to "document type is invalid and should use tran" it's truncating remaining characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you pls suggest somebody how can we avoid this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 09:57:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863822#M364379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T09:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863823#M364380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;          It will be easy if you put you code in AT SELECTION-SCREEN ON s_vtweg-low .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it will automatically return the cursor to that field. &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, 12 Jan 2007 09:58:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863823#M364380</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-01-12T09:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863824#M364381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; In your message class z_sd change the length of the message 000 to 132 char.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 09:59:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863824#M364381</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-01-12T09:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: set cursor on error field in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863825#M364382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry to all the above  code that I gave is for the problem truncating message &lt;/P&gt;&lt;P&gt;in the status bar.I want to display full error mesg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2007 10:00:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-cursor-on-error-field-in-selection-screen/m-p/1863825#M364382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-12T10:00:50Z</dc:date>
    </item>
  </channel>
</rss>

