<?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: Routine for VOFM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/routine-for-vofm/m-p/3091005#M733126</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sreejith ,&lt;/P&gt;&lt;P&gt;while debugging i check but there is no entry in KOMP-ZTERM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Nov 2007 12:19:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-16T12:19:03Z</dc:date>
    <item>
      <title>Routine for VOFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/routine-for-vofm/m-p/3091003#M733124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gurus !&lt;/P&gt;&lt;P&gt;i m creating new routine for vofm. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : basic like xkomv-KWERT,&lt;/P&gt;&lt;P&gt;       vat like xkomv-KWERT,&lt;/P&gt;&lt;P&gt;       X LIKE xkomv-KWERT,&lt;/P&gt;&lt;P&gt;       Y LIKE xkomv-KWERT,&lt;/P&gt;&lt;P&gt;       Z LIKE xkomv-KWERT,&lt;/P&gt;&lt;P&gt;       ZTERM LIKE KOMP-ZTERM,&lt;/P&gt;&lt;P&gt;       DAYS LIKE T052-ZTAG2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE XKOMV WITH KEY KSCHL = 'ZFBP'.&lt;/P&gt;&lt;P&gt;BASIC = XKOMV-KWERT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE XKOMV WITH KEY KSCHL = 'JIN7'.&lt;/P&gt;&lt;P&gt;VAT = XKOMV-KWERT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE ZTAG2 INTO DAYS FROM T052 WHERE ZTERM = KOMP-ZTERM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X = BASIC + VAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Y = ( X * 10 / 100 ) / 360.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Z = Y * DAYS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;komv-KWERT = Z * 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;problem is that zterm fields is blank in structure KOMP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wanna know in which structure i will get this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        rahul deshmukh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2007 11:40:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/routine-for-vofm/m-p/3091003#M733124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-16T11:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Routine for VOFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/routine-for-vofm/m-p/3091004#M733125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ZTERM is available in KOMP.&lt;/P&gt;&lt;P&gt;try this way - ZTERM TYPE KOMP-ZTERM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;reward if solved&lt;/STRONG&gt;*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2007 12:12:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/routine-for-vofm/m-p/3091004#M733125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-16T12:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Routine for VOFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/routine-for-vofm/m-p/3091005#M733126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sreejith ,&lt;/P&gt;&lt;P&gt;while debugging i check but there is no entry in KOMP-ZTERM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2007 12:19:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/routine-for-vofm/m-p/3091005#M733126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-16T12:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Routine for VOFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/routine-for-vofm/m-p/3091006#M733127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try with XKOMP or *KOMP. If you dont find values in any of these structures then you can use field-symbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use field symbol first in debugging mode set watch point and find the point where value of ZTERM getting populated in any of these structure ( KOMP,*KOMP,XKOMP) before entering into your routine.( you can use CALL push button indebugging  to view inwhich prog. ZTERM lastly visible) Note down program and subroutine name and then call it into your  pricing routine using field symbols as follows....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:               refkomv(18) value '(SAPMV45A)XKOMP[]'.&lt;/P&gt;&lt;P&gt;field-symbols:   &amp;lt;fs_komp&amp;gt; type any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; assign (refkomv) to &amp;lt;fs_komp&amp;gt;.&lt;/P&gt;&lt;P&gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt; it_komv[] = &amp;lt;fs_komp&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus SAPMV45A is the code where vaule of XKOMP is found. Assign this to a variable which inturn assign to a F.S. then F.S. will give you vaule of XKOMP in &lt;/P&gt;&lt;P&gt;SAPMV45A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will solve your problem. Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rushikesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2007 12:36:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/routine-for-vofm/m-p/3091006#M733127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-16T12:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Routine for VOFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/routine-for-vofm/m-p/3091007#M733128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii rishi! &lt;/P&gt;&lt;P&gt;i am not clear abt it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 06:16:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/routine-for-vofm/m-p/3091007#M733128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T06:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Routine for VOFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/routine-for-vofm/m-p/3091008#M733129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii frnds ! &lt;/P&gt;&lt;P&gt;how to debug with using field symbol?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 09:34:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/routine-for-vofm/m-p/3091008#M733129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T09:34:45Z</dc:date>
    </item>
  </channel>
</rss>

