<?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: Code change for a hard coded value in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-change-for-a-hard-coded-value/m-p/5195517#M1202316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside your program, implement folowing steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. select knumh  from a910 into itab where (conditions).&lt;/P&gt;&lt;P&gt;2. Now export this knumh field to memory.&lt;/P&gt;&lt;P&gt;3. Import knumh field from memory to  transaction vk13 and use.&lt;/P&gt;&lt;P&gt;4. Export konp-kbetr value from transaction to memory.&lt;/P&gt;&lt;P&gt;5. Import konp-kbetr from memory to program and use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Feb 2009 07:37:52 GMT</pubDate>
    <dc:creator>awin_prabhu</dc:creator>
    <dc:date>2009-02-18T07:37:52Z</dc:date>
    <item>
      <title>Code change for a hard coded value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-change-for-a-hard-coded-value/m-p/5195514#M1202313</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;&lt;/P&gt;&lt;P&gt;I need  some help in a code  change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a program in which a variable is hardcoded as 10. now i should change this value...i should retrive it from one field in transaction vk13.  that screen field is  konp-kbetr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have analysed and  i found that i should  get  knumh field for getting this kbetr. I am getting this  knumh from a910 table upon giving some inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now  can u ppl suggest me how  can i make a proper  change in the program for that variable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 07:01:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-change-for-a-hard-coded-value/m-p/5195514#M1202313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T07:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Code change for a hard coded value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-change-for-a-hard-coded-value/m-p/5195515#M1202314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;try selecting the records (knumh) from a910 table using where condition to the inputs you are giving in an internal table it_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can use select  to get this field konp-kbetr using for all entries in the above internal table it_tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 07:06:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-change-for-a-hard-coded-value/m-p/5195515#M1202314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T07:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Code change for a hard coded value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-change-for-a-hard-coded-value/m-p/5195516#M1202315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if it is a single value use select single for a910 and check if sy-subrc eq o then get kbetr and populate.&lt;/P&gt;&lt;P&gt;If there are multiple values use select * and get data from a910. use for all entries to get data for kbetr and populate. as u said if it is variable it will be single value. check it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 07:17:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-change-for-a-hard-coded-value/m-p/5195516#M1202315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T07:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Code change for a hard coded value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-change-for-a-hard-coded-value/m-p/5195517#M1202316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside your program, implement folowing steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. select knumh  from a910 into itab where (conditions).&lt;/P&gt;&lt;P&gt;2. Now export this knumh field to memory.&lt;/P&gt;&lt;P&gt;3. Import knumh field from memory to  transaction vk13 and use.&lt;/P&gt;&lt;P&gt;4. Export konp-kbetr value from transaction to memory.&lt;/P&gt;&lt;P&gt;5. Import konp-kbetr from memory to program and use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 07:37:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-change-for-a-hard-coded-value/m-p/5195517#M1202316</guid>
      <dc:creator>awin_prabhu</dc:creator>
      <dc:date>2009-02-18T07:37:52Z</dc:date>
    </item>
  </channel>
</rss>

