<?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: abap parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934221#M1965025</link>
    <description>&lt;P&gt;If you are new to programming in ABAP and you want to get an overview of the events in a report, have a look at this post, the answer from  @&lt;A href="https://answers.sap.com/users/3970/horstkeller.html"&gt;Horst Keller&lt;/A&gt; 'Have a look at &lt;A href="http://help.sap.com/abapdocu_750/en/index.htm?file=abenreporting_process.htm"&gt;all events&lt;/A&gt; that happen, when you SUBMIT a report'&lt;/P&gt;</description>
    <pubDate>Tue, 23 Apr 2019 06:16:50 GMT</pubDate>
    <dc:creator>r010101010</dc:creator>
    <dc:date>2019-04-23T06:16:50Z</dc:date>
    <item>
      <title>abap parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934215#M1965019</link>
      <description>&lt;P&gt;hello all ,&lt;/P&gt;
  &lt;P&gt;actually i have 2 different programs, in both the programs i have defined a parameter which can collect the file-name through the f4_filename , and i have defined a default value to the parameter in both the programs and i am requesting a value for both the parameters at selection screen on because, i want to display a default value if in case i am not ok with the default value so i can go and select a file name, this was working fine for me with the first program &lt;/P&gt;
  &lt;P&gt;scenario 1.&lt;/P&gt;
  &lt;P&gt; the param in 1st program has a default value and a value request statement at selection screen on . while executing this it goes fine .. i mean if i directly hit execute without choosing a filename through selection or if i try to choose a file it works well,&lt;/P&gt;
  &lt;P&gt;but in scenario 2.&lt;/P&gt;
  &lt;P&gt;in program 2 .. when i hit execute directly when a value is already defined due to default value .. the value being displayed in the field section, it doesnt run.. but when i select a file name it works well..&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 12:51:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934215#M1965019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-04-22T12:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: abap parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934216#M1965020</link>
      <description>&lt;P&gt;Hello Sanjay,&lt;/P&gt;&lt;P&gt;What do you mean 'it doesnt run' ? does does the program 2 does not recognise the value in the parameter ?&lt;/P&gt;&lt;P&gt;Since you are using events in the report, i would advise you to have your main process in the event 'On start of select'.&lt;/P&gt;&lt;P&gt;If this does not work, please add the codes for program 2 ensuring to remove client sentisitive info and keep only the get data part. &lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 13:42:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934216#M1965020</guid>
      <dc:creator>r010101010</dc:creator>
      <dc:date>2019-04-22T13:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: abap parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934217#M1965021</link>
      <description>&lt;P&gt;hi, &lt;/P&gt;&lt;P&gt;could you please write ur code of progarm2 to check events what u were writing!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 13:43:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934217#M1965021</guid>
      <dc:creator>former_member184158</dc:creator>
      <dc:date>2019-04-22T13:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: abap parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934218#M1965022</link>
      <description>&lt;P&gt;I think there's a bug in your program!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 14:13:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934218#M1965022</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-04-22T14:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: abap parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934219#M1965023</link>
      <description>&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;r010101010&lt;/SPAN&gt; thanks human for the effort ..it collects the value in the parameter but it doesnt move on to the next piece of code where i was usinfg text_convert_xls_to_sap which was written..but I was missing out on the start-of-selection event after value request at selection screen on, i think this event was  blocking to get into the actual code after value request, i think i have to declare the Start-of-selection everytime if i am using value request at selection on.. I have a little clarity over this  as i am a beginner.. and any further info would be helpful.. &lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 18:27:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934219#M1965023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-04-22T18:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: abap parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934220#M1965024</link>
      <description>&lt;P&gt;further infor would come if you post your code here. your explaination not understandable (for me)...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;DEL&gt;&lt;/DEL&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 00:36:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934220#M1965024</guid>
      <dc:creator>DoanManhQuynh</dc:creator>
      <dc:date>2019-04-23T00:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: abap parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934221#M1965025</link>
      <description>&lt;P&gt;If you are new to programming in ABAP and you want to get an overview of the events in a report, have a look at this post, the answer from  @&lt;A href="https://answers.sap.com/users/3970/horstkeller.html"&gt;Horst Keller&lt;/A&gt; 'Have a look at &lt;A href="http://help.sap.com/abapdocu_750/en/index.htm?file=abenreporting_process.htm"&gt;all events&lt;/A&gt; that happen, when you SUBMIT a report'&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 06:16:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934221#M1965025</guid>
      <dc:creator>r010101010</dc:creator>
      <dc:date>2019-04-23T06:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: abap parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934222#M1965026</link>
      <description>&lt;P&gt;Please paste your code, a minimal verifiable example. And explain exactly how to reproduce your issue. Otherwise it's impossible to help you.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 13:40:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934222#M1965026</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-04-23T13:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: abap parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934223#M1965027</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; &lt;A href="https://answers.sap.com/users/3135/ibrahimsapibrahim.html"&gt;Ebrahim Hatem&lt;/A&gt; this is how my code was.&lt;/P&gt;&lt;P&gt;program 1.&lt;/P&gt;&lt;P&gt;parameter : pname type rlgrap-filename default 'abcef.xls'.&lt;/P&gt;&lt;P&gt;at selection screen-on value request for pname.&lt;/P&gt;&lt;P&gt;call 'f4_filename'.&lt;/P&gt;&lt;P&gt;call 'text_convert_xls_to_sap'.&lt;/P&gt;&lt;P&gt;loop at it_main into wa_main.&lt;/P&gt;&lt;P&gt;perform bdc_dynprofield using ..&lt;/P&gt;&lt;P&gt;perform bdc_dynprovalue using ......&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;program 2.&lt;/P&gt;&lt;P&gt;parameter : pname type rlgrap-filename default 'abcef.xls'.&lt;/P&gt;&lt;P&gt;at selection screen-on value request for pname.&lt;/P&gt;&lt;P&gt;call 'f4_filename'.&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;call 'text_convert_xls_to_sap'.&lt;/P&gt;&lt;P&gt;loop at it_main into wa_main.&lt;/P&gt;&lt;P&gt;perform bdc_dynprofield using ..&lt;/P&gt;&lt;P&gt;perform bdc_dynprovalue using ......&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;SO HERE I HAVE THE PARTS OF THE PROGRAM WHICH WAS THE REASON WHY I COULD NOT GO BEYOND.&lt;/P&gt;&lt;P&gt;AS IN THE PROGRAM 2 HERE MENTIONED , I AM USING THE STATEMENT&lt;/P&gt;&lt;P&gt; ''START-OF-SELECTION'' WHICH IS THE REASON WHICH KEPT MY PROGRAM DRIVING FORWARD, AS IN THE PROGRAM 1 I WASNT USING THE START-OF-SELECTION STATEMENT FOR WHICH THE PROGRAM 1 COULD NOT GET OUT OF THE....................................&lt;/P&gt;&lt;P&gt; VALUE REQUEST AT SELECTION SCREEN ON EVENT AND WAS IRRESPONSIVE AFTER DIRECTLY HITTING ENTER WITHOUT SELECTING THE VALUE FROM THE DROP DOWN PROVIDED DUE TO VALUE REQUEST STATEMENT , WHEN I WAS USING THE VALUE REQUEST STATEMENT IN THE PROGRAM 1 THOUGH I HAD THE DEFAULT VALUE IN THE FIELD , IT WORKED , SO I HAVE OBSERVED THAT IF THERE IS ALREADY A VALUE DEFINED AND IF YOU ARENT USING THE VALUE REQUEST DROP DOWN THE PROGRAM WONT MOVE AHEAD IF YOU ARENT MENTIONING THE START-OF-SELECTION... ALL THIS MIGHT SOUND LITTLE STUFF AS I BELIEVE ABAP IS AN OCEAN OF THINGS .. THANKS FOR THE CONCERN&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 17:30:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934223#M1965027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-04-23T17:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: abap parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934224#M1965028</link>
      <description>&lt;P&gt;Please use the CODE button to format your code so that it's more user-friendly.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 17:39:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934224#M1965028</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-04-23T17:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: abap parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934225#M1965029</link>
      <description>&lt;P&gt;So, you mean pressing F8 (Execute) on the selection screen didn't start your code, because your code was defined inside the F4 help of the "file" selection screen field. Pressing a function key (except F1 and F4) first triggers the PAI event(s) (variants of "at selection-screen" which are not POV, PBO, POH), then triggers the event "START-OF-SELECTION", then the event "END-OF-SELECTION" (both are equivalent if you don't use a Logical DataBase).&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 17:49:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934225#M1965029</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-04-23T17:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: abap parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934226#M1965030</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In program 2,&lt;/P&gt;&lt;P&gt;replace start-of-selection with end-of-selection.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vamshi.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 18:14:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-parameters/m-p/11934226#M1965030</guid>
      <dc:creator>vamshi_mohan</dc:creator>
      <dc:date>2019-04-23T18:14:24Z</dc:date>
    </item>
  </channel>
</rss>

