<?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: AT LINE SELECTION PROBLEM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-line-selection-problem/m-p/4154350#M993317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;combine it with hide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hide itab...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;at-line-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA position(11).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  GET CURSOR FIELD position. "in POSITION steht der Name des Feldes auf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'POS-BELNR' .&lt;/P&gt;&lt;P&gt;      SET PARAMETER ID 'BLN' FIELD pos-belnr.&lt;/P&gt;&lt;P&gt;      SET PARAMETER ID 'BUK' FIELD pos-bukrs.&lt;/P&gt;&lt;P&gt;      SET PARAMETER ID 'GJR' FIELD pos-gjahr.&lt;/P&gt;&lt;P&gt;      CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;      ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jul 2008 10:04:26 GMT</pubDate>
    <dc:creator>andreas_mann3</dc:creator>
    <dc:date>2008-07-11T10:04:26Z</dc:date>
    <item>
      <title>AT LINE SELECTION PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-line-selection-problem/m-p/4154346#M993313</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;Am using the below code for at line selection but when i click in the first screen it is going to second screen but the values are not getting passed and the first screen is not skippped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION .&lt;/P&gt;&lt;P&gt;  CLEAR: gd_cur_fld, gd_cur_val.&lt;/P&gt;&lt;P&gt;  GET CURSOR FIELD gd_cur_fld&lt;/P&gt;&lt;P&gt;             VALUE gd_cur_val.&lt;/P&gt;&lt;P&gt; IF gd_cur_fld = 'IT_STATUS-BELNR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        input  = gd_cur_val&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        output = gd_cur_val.&lt;/P&gt;&lt;P&gt;   READ TABLE it_status into wa_status WITH KEY belnr = gd_cur_val&lt;/P&gt;&lt;P&gt;                                             BINARY SEARCH.&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SET PARAMETER ID 'BUK' FIELD wa_status-bukrs.&lt;/P&gt;&lt;P&gt;      SET PARAMETER ID 'BLN' FIELD wa_status-belnr.&lt;/P&gt;&lt;P&gt;      SET PARAMETER ID 'GJR' FIELD wa_status-fiscal_year.&lt;/P&gt;&lt;P&gt;      CALL TRANSACTION 'FB04' and SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 09:49:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-line-selection-problem/m-p/4154346#M993313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T09:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: AT LINE SELECTION PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-line-selection-problem/m-p/4154347#M993314</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;GET CURSOR FIELD gd_cur_fld VALUE gd_cur_val.&lt;/P&gt;&lt;P&gt;will get only the field in the list output on which you double click.&lt;/P&gt;&lt;P&gt;so the other fields are being initial all the time. so get the line number also and read the bukrs and gjahr from the internal table then use set parameters and call the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 09:57:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-line-selection-problem/m-p/4154347#M993314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T09:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: AT LINE SELECTION PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-line-selection-problem/m-p/4154348#M993315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Did you debug and see if the correct line is read from it_status tabl ?  You are using Binary search, is ur table sorted in the correct manner ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively ,why dont you use the HIDE statment to store the key fields of the values of the line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 10:00:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-line-selection-problem/m-p/4154348#M993315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T10:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: AT LINE SELECTION PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-line-selection-problem/m-p/4154349#M993316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just debug your program &amp;amp; check that you are getting value at get cursor statement or not..i think you should remove CLEAR statement after AT LINE SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 10:02:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-line-selection-problem/m-p/4154349#M993316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T10:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: AT LINE SELECTION PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-line-selection-problem/m-p/4154350#M993317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;combine it with hide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hide itab...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;at-line-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA position(11).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  GET CURSOR FIELD position. "in POSITION steht der Name des Feldes auf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'POS-BELNR' .&lt;/P&gt;&lt;P&gt;      SET PARAMETER ID 'BLN' FIELD pos-belnr.&lt;/P&gt;&lt;P&gt;      SET PARAMETER ID 'BUK' FIELD pos-bukrs.&lt;/P&gt;&lt;P&gt;      SET PARAMETER ID 'GJR' FIELD pos-gjahr.&lt;/P&gt;&lt;P&gt;      CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;      ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 10:04:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-line-selection-problem/m-p/4154350#M993317</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2008-07-11T10:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: AT LINE SELECTION PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-line-selection-problem/m-p/4154351#M993318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove the clear statements after AT LINE SELECTION .&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;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 10:05:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-line-selection-problem/m-p/4154351#M993318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T10:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: AT LINE SELECTION PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-line-selection-problem/m-p/4154352#M993319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I removed the clear statment.But its not working.If i give the transaction FB03.Its working fine.But the client wants it as FB04.Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 10:07:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-line-selection-problem/m-p/4154352#M993319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T10:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: AT LINE SELECTION PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-line-selection-problem/m-p/4154353#M993320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is not working because on the screen&lt;/P&gt;&lt;P&gt;on field RF01A-BELNR (FB04) is no get parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can also see what is going on on FB04 when you do debugging so you can see that he do a check if FB04 is called or not... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What to do I dont know yet.... maybe someone else&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 10:09:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-line-selection-problem/m-p/4154353#M993320</guid>
      <dc:creator>former_member216100</dc:creator>
      <dc:date>2008-07-11T10:09:07Z</dc:date>
    </item>
  </channel>
</rss>

