<?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: Critical Scenario - Help Needed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647896#M1285193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Pop-Up Screen data is stored in some internal table, If I clear that internal table then how come the data will be displayed next time the user clicks the same button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user may click the button to see the Pop-Up screen numerous times, what will u do that time ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From where should I bring data for display to user, if I clear everything ?&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;Thanks&lt;/P&gt;&lt;P&gt;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2009 08:11:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-21T08:11:46Z</dc:date>
    <item>
      <title>Critical Scenario - Help Needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647890#M1285187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario:&lt;/P&gt;&lt;P&gt;1) I have a table control with 2 radio buttons, 7 columns and 1 column of push buttons.&lt;/P&gt;&lt;P&gt;2) On click of radio button 2, the push button gets enabled and on click of the push button, a pop-up&lt;/P&gt;&lt;P&gt;screen comes up.&lt;/P&gt;&lt;P&gt;3) After entering data on the pop-up screen, control should come back to the main screen and whatever&lt;/P&gt;&lt;P&gt;data the user has entered should get displayed.&lt;/P&gt;&lt;P&gt;4) Now say user has entered 7 rows of data by repeating the above process. Suddenly, the user wants to&lt;/P&gt;&lt;P&gt;see what he entered in the first row's pop-up, then the user has to press the first row's push button in order&lt;/P&gt;&lt;P&gt;to see what he had entered in the pop-up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Problem is with the 4th Point, how can I achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Challenges I am facing: Even though I am clicking the 5th row's push button, it is showing me the 1st row's&lt;/P&gt;&lt;P&gt;data.&lt;/P&gt;&lt;P&gt;The Pop-up screen's values should change row wise depending on the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out, this issue is eating me up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 07:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647890#M1285187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-21T07:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Critical Scenario - Help Needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647891#M1285188</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;Give the function code for the button something like &lt;STRONG&gt;PB%%&lt;/STRONG&gt;, the %% will be replaced with the number of line of the pressed push button during PAI and you can get that using &lt;STRONG&gt;sy-ucomm+2(2)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you, check and revert back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 07:20:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647891#M1285188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-21T07:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Critical Scenario - Help Needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647892#M1285189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried that, but how should I capture that in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't write like this :&lt;/P&gt;&lt;P&gt;                              &lt;STRONG&gt;CASE ok_code.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                                   &lt;STRONG&gt;WHEN 'PB%%'.  &amp;lt;------ This is wrong&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;                                         &lt;STRONG&gt;CALL SCREEN 110.&lt;/STRONG&gt;            &lt;/P&gt;&lt;P&gt;                               &lt;STRONG&gt;ENDCASE.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So can you please tell me how to do that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Most Important:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When the fcode of the push button will change, then the table control should start reading from that row only.&lt;/P&gt;&lt;P&gt;For e.g. &lt;/P&gt;&lt;P&gt;  IF PB%% gives PB05, which means Row# = 5, then the table control should read only that row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible ? Please I need this much only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 07:32:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647892#M1285189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-21T07:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Critical Scenario - Help Needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647893#M1285190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dont u go thru all the reply given to ur issue ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;again &amp;amp; again ur asking the same thing.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*screen 100&lt;/P&gt;&lt;P&gt;data: l_function like sy-ucomm,&lt;/P&gt;&lt;P&gt;        l_lin      type sy-stepl.&lt;/P&gt;&lt;P&gt;  clear: ok_code,l_function,error.&lt;/P&gt;&lt;P&gt;  ok_code = sy-ucomm.&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;l_function = ok_code.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;if l_function(2)  = 'BU'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;clear l_lin.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;l_lin = gt_cat09-top_line + l_function+2(2) - 1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;   &lt;STRONG&gt;read itab into ls_itab index l_line.---&amp;gt;current line. basedon conditions u can call popup message.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;perform get_relations.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;if gt_cat06[] is initial.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;perform display_popup.---&amp;gt;pop up select options.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;else.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;     &lt;STRONG&gt;saved = 'X'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;endif.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;if error ne 'X'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;call screen '0101'.--&amp;gt;i'm calling another screen.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;endif.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;endif.&lt;/STRONG&gt;  case ok_code.&lt;/P&gt;&lt;P&gt;    when 'SAVE'.&lt;/P&gt;&lt;P&gt;    when 'DELE'.&lt;/P&gt;&lt;P&gt;    when others.&lt;/P&gt;&lt;P&gt;  endcase.&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 07:46:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647893#M1285190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-21T07:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Critical Scenario - Help Needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647894#M1285191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Man, I am not asking same question again and again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try 2 understand my issue, its not the same which u have written.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please read my question properly and then give your comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 07:52:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647894#M1285191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-21T07:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Critical Scenario - Help Needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647895#M1285192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its not a issue , u are not clearing/refreshing POPUP screen  the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 08:04:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647895#M1285192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-21T08:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Critical Scenario - Help Needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647896#M1285193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Pop-Up Screen data is stored in some internal table, If I clear that internal table then how come the data will be displayed next time the user clicks the same button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user may click the button to see the Pop-Up screen numerous times, what will u do that time ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From where should I bring data for display to user, if I clear everything ?&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;Thanks&lt;/P&gt;&lt;P&gt;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 08:11:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647896#M1285193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-21T08:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Critical Scenario - Help Needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647897#M1285194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chandan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove the push buttons column.&lt;/P&gt;&lt;P&gt;Switch on single selection in table control output ( w/Selection).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the PAI loop just create a module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there you check w\Selection parameter = 'X'.&lt;/P&gt;&lt;P&gt;if parameter = 'X'.&lt;/P&gt;&lt;P&gt;&amp;lt;move tbcl data to your internal table.&amp;gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;here call the FM for popup.&lt;/P&gt;&lt;P&gt;update your internal table.&lt;/P&gt;&lt;P&gt;&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;AND declare the parameter in your top include as DATA: sel type c.&lt;/P&gt;&lt;P&gt;let sel be your w/selection variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this discussion was helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Suvendu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 09:36:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647897#M1285194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-21T09:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Critical Scenario - Help Needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647898#M1285195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey suvendu, u have changed my requirement itself.....LOL &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately that is not possible..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 10:20:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647898#M1285195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-21T10:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Critical Scenario - Help Needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647899#M1285196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As per my understanding, in table control, you have many pushbuttons with same name.&lt;/P&gt;&lt;P&gt;Which one is pressed is difficult to read?&lt;/P&gt;&lt;P&gt;You can use following code in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET CURSOR FIELD &amp;lt;f&amp;gt;&lt;/P&gt;&lt;P&gt;LINE &amp;lt;lin&amp;gt;&lt;/P&gt;&lt;P&gt;If the &amp;lt;f&amp;gt; contains name of your push button, then you can check value in &amp;lt;lin&amp;gt;.&lt;/P&gt;&lt;P&gt;This is nothing but your line in internal table.&lt;/P&gt;&lt;P&gt;Now you can do READ TABLE &amp;lt;int_tab_name&amp;gt; index &amp;lt;lin&amp;gt; which will return exact data.&lt;/P&gt;&lt;P&gt;This data you can show in popup.&lt;/P&gt;&lt;P&gt;Please let me know whether this solved your problem or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2009 21:51:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647899#M1285196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-23T21:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Critical Scenario - Help Needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647900#M1285197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx a lot to everybody who has helped me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did a lot of R&amp;amp;D to complete this Development. Your suggestions and answers were valuable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2009 03:28:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647900#M1285197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-25T03:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Critical Scenario - Help Needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647901#M1285198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be nice if you tell us how you solved the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2009 04:27:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/critical-scenario-help-needed/m-p/5647901#M1285198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-25T04:27:07Z</dc:date>
    </item>
  </channel>
</rss>

