<?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 AT SELECTION SCREEN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/2310294#M505967</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 code below but am getting an "ERROR CALLED ON VALUE REQUEST FOR" should be followed by &amp;lt;parameter&amp;gt; or &amp;lt;select-option&amp;gt;-LOW / &amp;lt;select-option&amp;gt;-HIGH.please help and also please mention the changes if needed&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_hfile.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;file name get (F4)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'KD_GET_FILENAME_ON_F4'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      static        = 'X'&lt;/P&gt;&lt;P&gt;    changing&lt;/P&gt;&lt;P&gt;      file_name     = p_hfile&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      mask_too_long = 1&lt;/P&gt;&lt;P&gt;      others        = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;  perform upload_data.&lt;/P&gt;&lt;P&gt;  sort it_file.&lt;/P&gt;&lt;P&gt;  perform open_group.&lt;/P&gt;&lt;P&gt;  loop at it_file.&lt;/P&gt;&lt;P&gt;    at new aznum.&lt;/P&gt;&lt;P&gt;      import febmka-vari_start&lt;/P&gt;&lt;P&gt;             febmka-kont_int&lt;/P&gt;&lt;P&gt;             febmka-debi_mid&lt;/P&gt;&lt;P&gt;             febmka-kred_mid&lt;/P&gt;&lt;P&gt;             febmka-wvar_art&lt;/P&gt;&lt;P&gt;             novaluta_flag                "XVALUT&lt;/P&gt;&lt;P&gt;             nofdis_flag&lt;/P&gt;&lt;P&gt;        from database rfdt(mk) id sy-uname.&lt;/P&gt;&lt;P&gt;      if febmka-kont_int = 'X'.&lt;/P&gt;&lt;P&gt;        v_srno = '0101'.&lt;/P&gt;&lt;P&gt;      else.&lt;/P&gt;&lt;P&gt;        v_srno = '0102'.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;      read table it_file index sy-tabix.&lt;/P&gt;&lt;P&gt;      perform bdc_dynpro      using 'SAPMF40K' v_srno.      "'0102'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                    '/EVORG'.&lt;/P&gt;&lt;P&gt;      if v_srno = '0102'.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                      'FEBMKA-BANKL'.&lt;/P&gt;&lt;P&gt;      elseif v_srno = '0101'.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                      'FEBMKA-BUKRS'.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;      perform bdc_dynpro      using 'SAPMF40K' '0110'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                    'FEBMKA-WVAR_ART'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                    '=ENTE'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-KONT_INT'&lt;/P&gt;&lt;P&gt;                                    'X'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-FDIS_SEL'&lt;/P&gt;&lt;P&gt;                                    'X'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-VARI_START'&lt;/P&gt;&lt;P&gt;                                    'ZSHV'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-DEBI_MID'&lt;/P&gt;&lt;P&gt;                                    'D'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-KRED_MID'&lt;/P&gt;&lt;P&gt;                                    'K'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-WVAR_ART'&lt;/P&gt;&lt;P&gt;                                    '2'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-BUCH_VAL'&lt;/P&gt;&lt;P&gt;                                    'X'.&lt;/P&gt;&lt;P&gt;***********************&lt;/P&gt;&lt;P&gt;      perform bdc_dynpro      using 'SAPMF40K' '0101'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                    'FEBMKA-AZNUM'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                    '/00'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-BUKRS'&lt;/P&gt;&lt;P&gt;                                    it_file-bukrs.          "'0571'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-HBKID'&lt;/P&gt;&lt;P&gt;                                    it_file-hbkid. "'HDFC'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-HKTID'&lt;/P&gt;&lt;P&gt;                                    it_file-hktid.          "'HD01'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-AZNUM'&lt;/P&gt;&lt;P&gt;                                    it_file-aznum.          "'11114'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-AZDAT'&lt;/P&gt;&lt;P&gt;                                    it_file-azdat. "'31.07.2006'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-SSALD'&lt;/P&gt;&lt;P&gt;                                    it_file-ssald. "'                 0'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-ESALD'&lt;/P&gt;&lt;P&gt;                                    it_file-esald. "'              -200'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-BUDTM'&lt;/P&gt;&lt;P&gt;                                    it_file-budtm. "'31.07.2006'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-MNAM1'&lt;/P&gt;&lt;P&gt;                                    it_file-mnam1.          "'2222'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-MNAM2'&lt;/P&gt;&lt;P&gt;                                    it_file-mnam2.          "'2111'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-JNAME'&lt;/P&gt;&lt;P&gt;                                    sy-uname.  "'RAJUK'.&lt;/P&gt;&lt;P&gt;    endat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2007 06:26:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-22T06:26:05Z</dc:date>
    <item>
      <title>AT SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/2310294#M505967</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 code below but am getting an "ERROR CALLED ON VALUE REQUEST FOR" should be followed by &amp;lt;parameter&amp;gt; or &amp;lt;select-option&amp;gt;-LOW / &amp;lt;select-option&amp;gt;-HIGH.please help and also please mention the changes if needed&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_hfile.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;file name get (F4)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'KD_GET_FILENAME_ON_F4'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      static        = 'X'&lt;/P&gt;&lt;P&gt;    changing&lt;/P&gt;&lt;P&gt;      file_name     = p_hfile&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      mask_too_long = 1&lt;/P&gt;&lt;P&gt;      others        = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;  perform upload_data.&lt;/P&gt;&lt;P&gt;  sort it_file.&lt;/P&gt;&lt;P&gt;  perform open_group.&lt;/P&gt;&lt;P&gt;  loop at it_file.&lt;/P&gt;&lt;P&gt;    at new aznum.&lt;/P&gt;&lt;P&gt;      import febmka-vari_start&lt;/P&gt;&lt;P&gt;             febmka-kont_int&lt;/P&gt;&lt;P&gt;             febmka-debi_mid&lt;/P&gt;&lt;P&gt;             febmka-kred_mid&lt;/P&gt;&lt;P&gt;             febmka-wvar_art&lt;/P&gt;&lt;P&gt;             novaluta_flag                "XVALUT&lt;/P&gt;&lt;P&gt;             nofdis_flag&lt;/P&gt;&lt;P&gt;        from database rfdt(mk) id sy-uname.&lt;/P&gt;&lt;P&gt;      if febmka-kont_int = 'X'.&lt;/P&gt;&lt;P&gt;        v_srno = '0101'.&lt;/P&gt;&lt;P&gt;      else.&lt;/P&gt;&lt;P&gt;        v_srno = '0102'.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;      read table it_file index sy-tabix.&lt;/P&gt;&lt;P&gt;      perform bdc_dynpro      using 'SAPMF40K' v_srno.      "'0102'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                    '/EVORG'.&lt;/P&gt;&lt;P&gt;      if v_srno = '0102'.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                      'FEBMKA-BANKL'.&lt;/P&gt;&lt;P&gt;      elseif v_srno = '0101'.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                      'FEBMKA-BUKRS'.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;      perform bdc_dynpro      using 'SAPMF40K' '0110'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                    'FEBMKA-WVAR_ART'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                    '=ENTE'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-KONT_INT'&lt;/P&gt;&lt;P&gt;                                    'X'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-FDIS_SEL'&lt;/P&gt;&lt;P&gt;                                    'X'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-VARI_START'&lt;/P&gt;&lt;P&gt;                                    'ZSHV'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-DEBI_MID'&lt;/P&gt;&lt;P&gt;                                    'D'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-KRED_MID'&lt;/P&gt;&lt;P&gt;                                    'K'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-WVAR_ART'&lt;/P&gt;&lt;P&gt;                                    '2'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-BUCH_VAL'&lt;/P&gt;&lt;P&gt;                                    'X'.&lt;/P&gt;&lt;P&gt;***********************&lt;/P&gt;&lt;P&gt;      perform bdc_dynpro      using 'SAPMF40K' '0101'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                    'FEBMKA-AZNUM'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                    '/00'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-BUKRS'&lt;/P&gt;&lt;P&gt;                                    it_file-bukrs.          "'0571'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-HBKID'&lt;/P&gt;&lt;P&gt;                                    it_file-hbkid. "'HDFC'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-HKTID'&lt;/P&gt;&lt;P&gt;                                    it_file-hktid.          "'HD01'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-AZNUM'&lt;/P&gt;&lt;P&gt;                                    it_file-aznum.          "'11114'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-AZDAT'&lt;/P&gt;&lt;P&gt;                                    it_file-azdat. "'31.07.2006'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-SSALD'&lt;/P&gt;&lt;P&gt;                                    it_file-ssald. "'                 0'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-ESALD'&lt;/P&gt;&lt;P&gt;                                    it_file-esald. "'              -200'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-BUDTM'&lt;/P&gt;&lt;P&gt;                                    it_file-budtm. "'31.07.2006'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-MNAM1'&lt;/P&gt;&lt;P&gt;                                    it_file-mnam1.          "'2222'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-MNAM2'&lt;/P&gt;&lt;P&gt;                                    it_file-mnam2.          "'2111'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using 'FEBMKA-JNAME'&lt;/P&gt;&lt;P&gt;                                    sy-uname.  "'RAJUK'.&lt;/P&gt;&lt;P&gt;    endat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 06:26:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/2310294#M505967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T06:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/2310295#M505968</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;Can you please post the whole code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have not defined p_hfile as the selection screen parameter in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 06:32:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/2310295#M505968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T06:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/2310296#M505969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to check that value &amp;lt;b&amp;gt;p_hfile&amp;lt;/b&amp;gt; is declared as PARAMETER in the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 06:33:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/2310296#M505969</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-05-22T06:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/2310297#M505970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;you have to write parameters for inputting the file.you forgot to specify PARAMETERS. specify that.you want get errpr.&lt;/P&gt;&lt;P&gt;check this one also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_file type ibipparms-path.&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'F4_FILENAME'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PROGRAM_NAME        = SYST-CPROG&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DYNPRO_NUMBER       = SYST-DYNNR&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FIELD_NAME          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; importing&lt;/P&gt;&lt;P&gt;   file_name           = p_file&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 08:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/2310297#M505970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T08:46:21Z</dc:date>
    </item>
  </channel>
</rss>

