<?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 cursor position on screen data in module pool programming(urgent) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cursor-position-on-screen-data-in-module-pool-programming-urgent/m-p/1542626#M247080</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I developed a module pool  program which will save the data after  scanning the barcode data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my program screen 100 is there which contains field  &amp;#145;2dbar&amp;#146;. scanned data is comming to 2dbar field.&lt;/P&gt;&lt;P&gt;we r doing scan 4 times.once for vendor number,once for material no. like this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After 1st scan, vendor number will come to field &amp;#145;2dbar&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I developed logic to put comma after each scanned data come to this field &amp;#145;2dbar&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE put_comma INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE OK_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when ''.&lt;/P&gt;&lt;P&gt;move 2dbar to 2dbar1.&lt;/P&gt;&lt;P&gt;clear 2dbar.&lt;/P&gt;&lt;P&gt;concatenate 2dbar1 ',' into 2dbar2.&lt;/P&gt;&lt;P&gt;*replace 2dbar with 2dbar2 into 2dbar.&lt;/P&gt;&lt;P&gt;move 2dbar2 to 2dbar.&lt;/P&gt;&lt;P&gt;*write 2dbar2 to 2dbar.&lt;/P&gt;&lt;P&gt;condense 2dbar no-gaps.&lt;/P&gt;&lt;P&gt;*move '' to 2dbar.&lt;/P&gt;&lt;P&gt;*set cursor field 2dbar offset 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*write&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " put_comma  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By above logic, comma  comes to the starting position of 2dbar after each scan. i.e cursor position is coming to the starting position of screen field &amp;#145;2dbar&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now  I need to move the cursor position after the comma position on 2dbar after each scan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after 1st scan, 2dbar contains&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vmotorola&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then my logic puts a comma when u put enter on screen 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now 2dbar contains&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vmotorola,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i should get the cursor position after the comma.but i am getting cursor position before 'v'.so how to move this cursor position  beyond comma after each scan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added set cursor  command but it is not working.plz &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the logic, I need to put in PAI  to move the cursor on selection screen.&lt;/P&gt;&lt;P&gt;Already the logic I have mentioned.  with that logic, I can put comma.now I need to add cursor movement logic  to move the cursoron  on screen field &amp;#145;2dbar&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz reply me as it is urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;pabitra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Aug 2006 08:29:26 GMT</pubDate>
    <dc:creator>former_member190312</dc:creator>
    <dc:date>2006-08-16T08:29:26Z</dc:date>
    <item>
      <title>cursor position on screen data in module pool programming(urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cursor-position-on-screen-data-in-module-pool-programming-urgent/m-p/1542626#M247080</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I developed a module pool  program which will save the data after  scanning the barcode data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my program screen 100 is there which contains field  &amp;#145;2dbar&amp;#146;. scanned data is comming to 2dbar field.&lt;/P&gt;&lt;P&gt;we r doing scan 4 times.once for vendor number,once for material no. like this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After 1st scan, vendor number will come to field &amp;#145;2dbar&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I developed logic to put comma after each scanned data come to this field &amp;#145;2dbar&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE put_comma INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE OK_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when ''.&lt;/P&gt;&lt;P&gt;move 2dbar to 2dbar1.&lt;/P&gt;&lt;P&gt;clear 2dbar.&lt;/P&gt;&lt;P&gt;concatenate 2dbar1 ',' into 2dbar2.&lt;/P&gt;&lt;P&gt;*replace 2dbar with 2dbar2 into 2dbar.&lt;/P&gt;&lt;P&gt;move 2dbar2 to 2dbar.&lt;/P&gt;&lt;P&gt;*write 2dbar2 to 2dbar.&lt;/P&gt;&lt;P&gt;condense 2dbar no-gaps.&lt;/P&gt;&lt;P&gt;*move '' to 2dbar.&lt;/P&gt;&lt;P&gt;*set cursor field 2dbar offset 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*write&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " put_comma  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By above logic, comma  comes to the starting position of 2dbar after each scan. i.e cursor position is coming to the starting position of screen field &amp;#145;2dbar&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now  I need to move the cursor position after the comma position on 2dbar after each scan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after 1st scan, 2dbar contains&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vmotorola&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then my logic puts a comma when u put enter on screen 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now 2dbar contains&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vmotorola,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i should get the cursor position after the comma.but i am getting cursor position before 'v'.so how to move this cursor position  beyond comma after each scan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added set cursor  command but it is not working.plz &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the logic, I need to put in PAI  to move the cursor on selection screen.&lt;/P&gt;&lt;P&gt;Already the logic I have mentioned.  with that logic, I can put comma.now I need to add cursor movement logic  to move the cursoron  on screen field &amp;#145;2dbar&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz reply me as it is urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;pabitra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 08:29:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cursor-position-on-screen-data-in-module-pool-programming-urgent/m-p/1542626#M247080</guid>
      <dc:creator>former_member190312</dc:creator>
      <dc:date>2006-08-16T08:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: cursor position on screen data in module pool programming(urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cursor-position-on-screen-data-in-module-pool-programming-urgent/m-p/1542627#M247081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CASE OK_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when ''.&lt;/P&gt;&lt;P&gt;move 2dbar to 2dbar1.&lt;/P&gt;&lt;P&gt;clear 2dbar.&lt;/P&gt;&lt;P&gt;concatenate 2dbar1 ',' into 2dbar2.&lt;/P&gt;&lt;P&gt;move 2dbar2 to 2dbar.&lt;/P&gt;&lt;P&gt;condense 2dbar no-gaps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;len = strlen ( 2dbar ).&lt;/P&gt;&lt;P&gt;len = len - 1.&lt;/P&gt;&lt;P&gt;set cursor field 2dbar offset len.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. " put_comma INPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 08:38:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cursor-position-on-screen-data-in-module-pool-programming-urgent/m-p/1542627#M247081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-16T08:38:16Z</dc:date>
    </item>
  </channel>
</rss>

