<?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 Removing Hard coded values from print program in smart form in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-hard-coded-values-from-print-program-in-smart-form/m-p/4829915#M1130038</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;I have one Doubt:&lt;/P&gt;&lt;P&gt;In the current Alcohol Content Form Z***, the data for the Alcohol Rate Volume and Weight is derived from Characteristics used in the material master. On table field level the characteristic field automatically gets an internal characteristic number assigned. In the print program used in the alcohol content form this number is hard coded. The assigned number however can change per SAP client, which is currently the case. As a consequence the form works correct in the E10 client, but it doesn't work correct in other SAP clients. The issue can be solved by making use of particular include which will pick up the correct value per SAP client.&lt;/P&gt;&lt;P&gt;But How to Make use of a Particular Include.&lt;/P&gt;&lt;P&gt;The Abap selection Code is:&lt;/P&gt;&lt;P&gt;SELECT objek&lt;/P&gt;&lt;P&gt;atinn&lt;/P&gt;&lt;P&gt;atwrt&lt;/P&gt;&lt;P&gt;FROM ausp&lt;/P&gt;&lt;P&gt;INTO TABLE p_it_alcohol&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN it_objek&lt;/P&gt;&lt;P&gt;WHERE objek = it_objek-objek AND&lt;/P&gt;&lt;P&gt;mafid = 'O' AND&lt;/P&gt;&lt;P&gt;klart = '001' and&lt;/P&gt;&lt;P&gt;atinn in (0000000911,0000000912) .how to remove hard coded values(0000000911,0000000912) and use include in selection logic.any pointers alongwith the code will be appreciated?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Nov 2008 12:47:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-21T12:47:08Z</dc:date>
    <item>
      <title>Removing Hard coded values from print program in smart form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-hard-coded-values-from-print-program-in-smart-form/m-p/4829915#M1130038</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;I have one Doubt:&lt;/P&gt;&lt;P&gt;In the current Alcohol Content Form Z***, the data for the Alcohol Rate Volume and Weight is derived from Characteristics used in the material master. On table field level the characteristic field automatically gets an internal characteristic number assigned. In the print program used in the alcohol content form this number is hard coded. The assigned number however can change per SAP client, which is currently the case. As a consequence the form works correct in the E10 client, but it doesn't work correct in other SAP clients. The issue can be solved by making use of particular include which will pick up the correct value per SAP client.&lt;/P&gt;&lt;P&gt;But How to Make use of a Particular Include.&lt;/P&gt;&lt;P&gt;The Abap selection Code is:&lt;/P&gt;&lt;P&gt;SELECT objek&lt;/P&gt;&lt;P&gt;atinn&lt;/P&gt;&lt;P&gt;atwrt&lt;/P&gt;&lt;P&gt;FROM ausp&lt;/P&gt;&lt;P&gt;INTO TABLE p_it_alcohol&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN it_objek&lt;/P&gt;&lt;P&gt;WHERE objek = it_objek-objek AND&lt;/P&gt;&lt;P&gt;mafid = 'O' AND&lt;/P&gt;&lt;P&gt;klart = '001' and&lt;/P&gt;&lt;P&gt;atinn in (0000000911,0000000912) .how to remove hard coded values(0000000911,0000000912) and use include in selection logic.any pointers alongwith the code will be appreciated?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2008 12:47:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-hard-coded-values-from-print-program-in-smart-form/m-p/4829915#M1130038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-21T12:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Hard coded values from print program in smart form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-hard-coded-values-from-print-program-in-smart-form/m-p/4829916#M1130039</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;I don't think atinn is required as u will get the respected charcaterisctis..If iam not wrong in ur case u r retriving material charactristics...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can also try CLAF_CLASSIFICATION_OF_OBJECTS function module to get the characteristcis...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the FM will slow ur performance of ur program...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u should never try retriving with atinn as the number changes from client to client,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2008 12:54:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-hard-coded-values-from-print-program-in-smart-form/m-p/4829916#M1130039</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2008-11-21T12:54:23Z</dc:date>
    </item>
  </channel>
</rss>

