<?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 set parameter, call transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-call-transaction/m-p/2792311#M651513</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;By using the following code I can send the vendor no into tcode 'XK02' by placing the cursor on 'vendor no' and pressing 'VENDOR' push button. can  send more than one value to the tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report zabc.&lt;/P&gt;&lt;P&gt; tables lfa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Design selection screen with select options&lt;/P&gt;&lt;P&gt;select-options: vendor for lfa1-lifnr.&lt;/P&gt;&lt;P&gt;*Defining an internal table according to output requirement&lt;/P&gt;&lt;P&gt;data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;        lifnr like lfa1-lifnr,&lt;/P&gt;&lt;P&gt;        name1 like lfa1-name1,&lt;/P&gt;&lt;P&gt;        land1 like lfa1-land1,&lt;/P&gt;&lt;P&gt;        ort01 like lfa1-ort01,&lt;/P&gt;&lt;P&gt;       end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Define variables fnam, fval.&lt;/P&gt;&lt;P&gt;data : fnam(10), fval(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Provide the even initialization&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;  vendor-low = 21000.&lt;/P&gt;&lt;P&gt;  vendor-high = 50000.&lt;/P&gt;&lt;P&gt;  vendor-sign = 'I'.&lt;/P&gt;&lt;P&gt;  vendor-option = 'BT'.&lt;/P&gt;&lt;P&gt;  append vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Apply the even AT SELECTION SCREEN for validating input values which we define in INITIALIZATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if vendor-low lt 21000 or vendor-high gt 50000.&lt;/P&gt;&lt;P&gt;    message e000(0) with 'Enter between 21000 and 50000'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;*Provide the even start of selection for displaying output&lt;/P&gt;&lt;P&gt;  select lifnr land1 name1 from lfa1 into table itab where lifnr in vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Loop at itab.&lt;/P&gt;&lt;P&gt;    write : / itab-lifnr, itab-land1, itab-name1.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*For providing vedor and back option in tool bar&lt;/P&gt;&lt;P&gt;  set pf-status  'ZRANJITH' excluding 'PICK'.&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;&lt;/P&gt;&lt;P&gt;at user-command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 'VENDOR'.&lt;/P&gt;&lt;P&gt;      get cursor field fnam value fval.&lt;/P&gt;&lt;P&gt;*with this logic to suppl the memory for respective field&lt;/P&gt;&lt;P&gt;      set parameter id 'LIF' field fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Apply call transaction logic to move cursor to abap transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      call transaction 'XK02' and skip first screen.&lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Back will work automatically&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;top-of-page.&lt;/P&gt;&lt;P&gt;  write : 'Vendor Details'.&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 in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Sep 2007 10:19:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-01T10:19:49Z</dc:date>
    <item>
      <title>set parameter, call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-call-transaction/m-p/2792311#M651513</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;By using the following code I can send the vendor no into tcode 'XK02' by placing the cursor on 'vendor no' and pressing 'VENDOR' push button. can  send more than one value to the tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report zabc.&lt;/P&gt;&lt;P&gt; tables lfa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Design selection screen with select options&lt;/P&gt;&lt;P&gt;select-options: vendor for lfa1-lifnr.&lt;/P&gt;&lt;P&gt;*Defining an internal table according to output requirement&lt;/P&gt;&lt;P&gt;data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;        lifnr like lfa1-lifnr,&lt;/P&gt;&lt;P&gt;        name1 like lfa1-name1,&lt;/P&gt;&lt;P&gt;        land1 like lfa1-land1,&lt;/P&gt;&lt;P&gt;        ort01 like lfa1-ort01,&lt;/P&gt;&lt;P&gt;       end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Define variables fnam, fval.&lt;/P&gt;&lt;P&gt;data : fnam(10), fval(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Provide the even initialization&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;  vendor-low = 21000.&lt;/P&gt;&lt;P&gt;  vendor-high = 50000.&lt;/P&gt;&lt;P&gt;  vendor-sign = 'I'.&lt;/P&gt;&lt;P&gt;  vendor-option = 'BT'.&lt;/P&gt;&lt;P&gt;  append vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Apply the even AT SELECTION SCREEN for validating input values which we define in INITIALIZATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if vendor-low lt 21000 or vendor-high gt 50000.&lt;/P&gt;&lt;P&gt;    message e000(0) with 'Enter between 21000 and 50000'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;*Provide the even start of selection for displaying output&lt;/P&gt;&lt;P&gt;  select lifnr land1 name1 from lfa1 into table itab where lifnr in vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Loop at itab.&lt;/P&gt;&lt;P&gt;    write : / itab-lifnr, itab-land1, itab-name1.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*For providing vedor and back option in tool bar&lt;/P&gt;&lt;P&gt;  set pf-status  'ZRANJITH' excluding 'PICK'.&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;&lt;/P&gt;&lt;P&gt;at user-command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 'VENDOR'.&lt;/P&gt;&lt;P&gt;      get cursor field fnam value fval.&lt;/P&gt;&lt;P&gt;*with this logic to suppl the memory for respective field&lt;/P&gt;&lt;P&gt;      set parameter id 'LIF' field fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Apply call transaction logic to move cursor to abap transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      call transaction 'XK02' and skip first screen.&lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Back will work automatically&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;top-of-page.&lt;/P&gt;&lt;P&gt;  write : 'Vendor Details'.&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 in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Sep 2007 10:19:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-call-transaction/m-p/2792311#M651513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-01T10:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: set parameter, call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-call-transaction/m-p/2792312#M651514</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;you can also give the value of the company code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;bukrs and the parameter id is BUK&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;EKORG  is the purchasing organisation and the parameter id is EKO&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Sep 2007 10:29:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-call-transaction/m-p/2792312#M651514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-01T10:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: set parameter, call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-call-transaction/m-p/2792313#M651515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ranjith..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is your issue here? This will not work as XK02 transaction first screen has two other mandatory fields Bukrs (company code) and Ekorg(purchasing org.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;Vikas Bittera.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Sep 2007 10:34:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-call-transaction/m-p/2792313#M651515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-01T10:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: set parameter, call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-call-transaction/m-p/2792314#M651516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikas,&lt;/P&gt;&lt;P&gt;             Thanks for your response, can you please give the sample program which can send more than one value into tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Sep 2007 10:45:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-call-transaction/m-p/2792314#M651516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-01T10:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: set parameter, call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-call-transaction/m-p/2792315#M651517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found the answer myself, Thanks to SDN and all the people who supported me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Sep 2007 11:01:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter-call-transaction/m-p/2792315#M651517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-01T11:01:11Z</dc:date>
    </item>
  </channel>
</rss>

