<?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: HI    SAPCRIPT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-sapcript/m-p/1911388#M379399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rocky,&lt;/P&gt;&lt;P&gt;the interface parameters are like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM ZMEDRUCK01_01 TABLES  IN_TAB STRUCTURE ITCSY&lt;/P&gt;&lt;P&gt;                                                  OUT_TAB STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look at the structure of ITCSY, the value-field is an character.&lt;/P&gt;&lt;P&gt;You have to convert it into an quantity field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps.&lt;/P&gt;&lt;P&gt;regards, Dieter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in script we use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM ZMEDRUCK01_01 IN PROGRAM Z_FORMULAR_ROUTINEN&lt;/P&gt;&lt;P&gt;USING &amp;amp;EKPO-EMATN&amp;amp;&lt;/P&gt;&lt;P&gt;CHANGING &amp;amp;ZEINR&amp;amp;&lt;/P&gt;&lt;P&gt;CHANGING &amp;amp;ZEIVR&amp;amp;&lt;/P&gt;&lt;P&gt;ENDPERFORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Dieter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Dieter Gröhn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2007 08:52:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-01T08:52:48Z</dc:date>
    <item>
      <title>HI    SAPCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-sapcript/m-p/1911387#M379398</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 AM USING PERFORM IN SAPSCRIPT FOR CALCULATIONS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN THE CALLING PROGARM, I AM SENDING QUANTITY FIELD AND ON THAT VALUE I NEED TO CALCULATE, BUT IT IS GIVING ERROR IN THE CALLING PROGRAM&lt;/P&gt;&lt;P&gt;ERROR MESSAGE IS :   CANNOT CONSIDER THE VALUE AS NUMBER .&lt;/P&gt;&lt;P&gt;IN THE PRINT PROG THAT FIELD IS A QUANTITY FIELD, BUT IN CALLING PROG IT CHANGES AUTOMATICALLY TO CHAR, WHY???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PL PROVIDE SOL AS EARLY AS POSSIBLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANX&lt;/P&gt;&lt;P&gt;ROCKY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 08:43:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-sapcript/m-p/1911387#M379398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T08:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: HI    SAPCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-sapcript/m-p/1911388#M379399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rocky,&lt;/P&gt;&lt;P&gt;the interface parameters are like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM ZMEDRUCK01_01 TABLES  IN_TAB STRUCTURE ITCSY&lt;/P&gt;&lt;P&gt;                                                  OUT_TAB STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look at the structure of ITCSY, the value-field is an character.&lt;/P&gt;&lt;P&gt;You have to convert it into an quantity field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps.&lt;/P&gt;&lt;P&gt;regards, Dieter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in script we use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM ZMEDRUCK01_01 IN PROGRAM Z_FORMULAR_ROUTINEN&lt;/P&gt;&lt;P&gt;USING &amp;amp;EKPO-EMATN&amp;amp;&lt;/P&gt;&lt;P&gt;CHANGING &amp;amp;ZEINR&amp;amp;&lt;/P&gt;&lt;P&gt;CHANGING &amp;amp;ZEIVR&amp;amp;&lt;/P&gt;&lt;P&gt;ENDPERFORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Dieter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Dieter Gröhn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 08:52:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-sapcript/m-p/1911388#M379399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T08:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: HI    SAPCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-sapcript/m-p/1911389#M379400</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;just check the quantity field in the calling program u must have defined the quantity field as character and that is the reason u my get type mismatch(char is not equal to quantity) u only told that in the print program the quantity field is defined as quantity hence rectify this difference the problem will be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u r clear then let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 08:53:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-sapcript/m-p/1911389#M379400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T08:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: HI    SAPCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-sapcript/m-p/1911390#M379401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Always you have to pass the CHAR type fields to the perform and do the data manipulation in the program.&lt;/P&gt;&lt;P&gt;Generally we don't pass the qty to the perform.&lt;/P&gt;&lt;P&gt;What Script is it? PO or SO, Invoice or delivery? pass the Key field like PO no, SO no, Del No or Inv No and get the data in the Program and do the calculations/Manipulations and resend the same to the script in the char format only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 08:53:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-sapcript/m-p/1911390#M379401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T08:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: HI    SAPCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-sapcript/m-p/1911391#M379402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rocky,&lt;/P&gt;&lt;P&gt;the structure of the interface parameters is ITCSY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which contains NAME ,VALUE as fields&lt;/P&gt;&lt;P&gt;and both r char type ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so u need to move the vakue of ITCSY_VALUE to an integer variable in Print program and make the calculations , and finaay move again the result to &lt;/P&gt;&lt;P&gt;ITCSY-VALUE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will definitely work......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 08:56:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-sapcript/m-p/1911391#M379402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T08:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: HI    SAPCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi-sapcript/m-p/1911392#M379403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi buddy..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You've done everything correct but with a silly mistake of data type conversion, you're receiving this mismatch error. The default data type is Char and if anything is non-convertable will be converted to char type and also the structure ITCSY has two fields..they are name and value..both of them are of char type and you're using the Quantity fiield is not of char type..so this conversion will automatically lead to error if Quantity field is not char type since the priority goes to the structure ITCSY in this case. Keep this field as char type..and see how u r getting the exact output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this solves the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;shamim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 09:11:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi-sapcript/m-p/1911392#M379403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T09:11:29Z</dc:date>
    </item>
  </channel>
</rss>

