<?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 Function parameter for field with conversion routine in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-parameter-for-field-with-conversion-routine/m-p/1110000#M105883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you handle a function parameter intended for a field that uses a conversion routine?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  For example if I want to declare a parameter of type PS_PSPNR there is a conversion routine (KONPD) that raises an error if the input parameter does not exist. Mabye I want to use the parameter in a SELECT statement that uses a BETWEEN in the WHERE clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Do I have to have to just use a generic parameter of TYPE C and convert it prior to my SELECT statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  How do you specify a field length for an import parameter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Would it be easiest just create my own data element type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks for any help or tips you can provide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Nov 2005 18:12:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-29T18:12:12Z</dc:date>
    <item>
      <title>Function parameter for field with conversion routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-parameter-for-field-with-conversion-routine/m-p/1110000#M105883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you handle a function parameter intended for a field that uses a conversion routine?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  For example if I want to declare a parameter of type PS_PSPNR there is a conversion routine (KONPD) that raises an error if the input parameter does not exist. Mabye I want to use the parameter in a SELECT statement that uses a BETWEEN in the WHERE clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Do I have to have to just use a generic parameter of TYPE C and convert it prior to my SELECT statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  How do you specify a field length for an import parameter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Would it be easiest just create my own data element type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks for any help or tips you can provide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2005 18:12:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-parameter-for-field-with-conversion-routine/m-p/1110000#M105883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-29T18:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Function parameter for field with conversion routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-parameter-for-field-with-conversion-routine/m-p/1110001#M105884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, create the Char field and prior to select you use conversion routine.&lt;/P&gt;&lt;P&gt;it is the one of the best way to proceed&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2005 18:16:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-parameter-for-field-with-conversion-routine/m-p/1110001#M105884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-29T18:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Function parameter for field with conversion routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-parameter-for-field-with-conversion-routine/m-p/1110002#M105885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont think u have to create a data element, instead find out the length of the PSPNR from the domain of the current data element and delcare a CHAR type field of same lenght.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2005 18:18:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-parameter-for-field-with-conversion-routine/m-p/1110002#M105885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-29T18:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Function parameter for field with conversion routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-parameter-for-field-with-conversion-routine/m-p/1110003#M105886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Specify it as type STRING.   Then you can do whatever you want to it in the function module code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or don't TYPE it at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2005 18:26:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-parameter-for-field-with-conversion-routine/m-p/1110003#M105886</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-11-29T18:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Function parameter for field with conversion routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-parameter-for-field-with-conversion-routine/m-p/1110004#M105887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone. I guess I was just stuck on using the data element types for my import parameters because they are formatted for size when running the test tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I just wish there was a way to create an import parameter and declare a length with creatinga custom data element.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2005 19:04:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-parameter-for-field-with-conversion-routine/m-p/1110004#M105887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-29T19:04:13Z</dc:date>
    </item>
  </channel>
</rss>

