<?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: conversion frm qty fields to character fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-frm-qty-fields-to-character-fields/m-p/2492963#M562736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks for ur ans.&lt;/P&gt;&lt;P&gt;but i am getting the error while reading READ TABLE T_IN WITH KEY NAME = 'MSEG-ERFMG'.&lt;/P&gt;&lt;P&gt;coz t_in can hold only char data type and i am passing that to qty data type&lt;/P&gt;&lt;P&gt;is there any way to subtrat two qty. fields in sap script and pass the result to sap script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jul 2007 06:56:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-13T06:56:04Z</dc:date>
    <item>
      <title>conversion frm qty fields to character fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-frm-qty-fields-to-character-fields/m-p/2492961#M562734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i am working on script&lt;/P&gt;&lt;P&gt;i need to subtract two values (MSEG-ERFMG - MSEG-LSMNG)&lt;/P&gt;&lt;P&gt;i am passing these variables in the perform&lt;/P&gt;&lt;P&gt;PERFORM GET_MAT_DESCREPANCY IN PROGRAM ZMM_SUB_GRN_REJPRINT&lt;/P&gt;&lt;P&gt;USING &amp;amp;MSEG-ERFMG&amp;amp;&lt;/P&gt;&lt;P&gt;USING &amp;amp;MSEG-LSMNG&amp;amp;&lt;/P&gt;&lt;P&gt;CHANGING &amp;amp;P_DIS&amp;amp;&lt;/P&gt;&lt;P&gt;ENDPERFORM&lt;/P&gt;&lt;P&gt;and in the form i am using&lt;/P&gt;&lt;P&gt;FORM GET_MAT_DESCREPANCY TABLES T_IN STRUCTURE ITCSY T_OUT STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE T_IN WITH KEY NAME = 'MSEG-ERFMG'.&lt;/P&gt;&lt;P&gt;  MOVE T_IN-VALUE TO P_ERFMG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i am getting error as T_IN has charaacter values and the 'MSEG-ERFMG' is of type qty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to subract MSEG-ERFMG - MSEG-LSMNG values&lt;/P&gt;&lt;P&gt;can u pls help this out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 06:36:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-frm-qty-fields-to-character-fields/m-p/2492961#M562734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T06:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: conversion frm qty fields to character fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-frm-qty-fields-to-character-fields/m-p/2492962#M562735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Divya,&lt;/P&gt;&lt;P&gt;I assume you are getting errors because of using "," as a decimal sign. You may try&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
translate t_in-value using ',.. '.
condense t_in-value no-gaps.
move t_in-value to p_erfmg.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps. Best regards,&lt;/P&gt;&lt;P&gt;Alvaro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 06:44:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-frm-qty-fields-to-character-fields/m-p/2492962#M562735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T06:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: conversion frm qty fields to character fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-frm-qty-fields-to-character-fields/m-p/2492963#M562736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks for ur ans.&lt;/P&gt;&lt;P&gt;but i am getting the error while reading READ TABLE T_IN WITH KEY NAME = 'MSEG-ERFMG'.&lt;/P&gt;&lt;P&gt;coz t_in can hold only char data type and i am passing that to qty data type&lt;/P&gt;&lt;P&gt;is there any way to subtrat two qty. fields in sap script and pass the result to sap script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 06:56:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-frm-qty-fields-to-character-fields/m-p/2492963#M562736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T06:56:04Z</dc:date>
    </item>
  </channel>
</rss>

