<?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: pricing routine in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine/m-p/4399996#M1045914</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi omkaram,&lt;/P&gt;&lt;P&gt;thanks again for ur help on this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one more small modification in this, the whole logic should applicable for  &lt;STRONG&gt;Sales Organization 1010 through 1080 only.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do the needful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Sep 2008 09:56:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-01T09:56:32Z</dc:date>
    <item>
      <title>pricing routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine/m-p/4399990#M1045908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;i have below requirement, i need to write teh code for teh below requirement in routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Get the Billing Document numbner.&lt;/P&gt;&lt;P&gt;2.Through document flow get the Sales Document number and document type.&lt;/P&gt;&lt;P&gt;3.Check if the Document type is Proejcts Order type.&lt;/P&gt;&lt;P&gt;4.If the Sales Document type is Projects Related then send the return code 4 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to reach the above requirement, how can i write the code in pricing routine, could any one help me on this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2008 05:31:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine/m-p/4399990#M1045908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-01T05:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: pricing routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine/m-p/4399991#M1045909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;goto VOFM tocode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in menu bar &lt;/P&gt;&lt;P&gt;Requirments --&amp;gt; Pricing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;under this check routine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2008 06:17:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine/m-p/4399991#M1045909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-01T06:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: pricing routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine/m-p/4399992#M1045910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Write code like this in form and endform..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
sy-subrc = 4.

IF KOMP-KPOSN NE 0.
          CHECK : KOMK-VBTYP = 'your document type'.
        ENDIF.

        SY-SUBRC = 0.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put a break point and see..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Omkaram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Omkaram Yanamala on Sep 1, 2008 12:00 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2008 06:29:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine/m-p/4399992#M1045910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-01T06:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: pricing routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine/m-p/4399993#M1045911</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;you have to create one routine(as Omkaram says)&lt;/P&gt;&lt;P&gt;But your routine need to be configure by ur functional or basis people, then only u can able to debug it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sendil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2008 07:01:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine/m-p/4399993#M1045911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-01T07:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: pricing routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine/m-p/4399994#M1045912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi omkar thanks for ur reply still i need soem clarity on this,&lt;/P&gt;&lt;P&gt;i want correct code basing in the below conditions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here iam giving lines which i got.. we need to write basing on those,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the VBRK-VBELN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get the VBFA-VBELV where VBFA-VBTYP_V = u2019Cu2019, VBFA-VBTYP_N = u2018Mu2019 and VBFA-VBELN= VBRK-VBELN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get the Document type of the Sales Document seleted in VBFA table.&lt;/P&gt;&lt;P&gt;Select VBAK-AUART where VBAK-VBELN = VBFA-VBELV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the selected Sales Document type is equal to Projects (ZOFC, ZFSO or ZFPO) send the error code 4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2008 07:42:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine/m-p/4399994#M1045912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-01T07:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: pricing routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine/m-p/4399995#M1045913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then write like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF  KOMK-VBTYP = 'C' OR KOMK-VBTYP = 'M'.
SELECT     AUART
            INTO LV_AUART
            FROM VBAK
           WHERE VBELN = KOMP-AUBEL.

SY-SUBRC = 0.

CHECK LV_AUART = 'ZOFC' OR LV_AUART= 'ZFSO'
       OR LV-AUART = 'ZFPO'.

SY-SUBRC = 4.

ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Omkaram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2008 07:53:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine/m-p/4399995#M1045913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-01T07:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: pricing routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine/m-p/4399996#M1045914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi omkaram,&lt;/P&gt;&lt;P&gt;thanks again for ur help on this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one more small modification in this, the whole logic should applicable for  &lt;STRONG&gt;Sales Organization 1010 through 1080 only.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do the needful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2008 09:56:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pricing-routine/m-p/4399996#M1045914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-01T09:56:32Z</dc:date>
    </item>
  </channel>
</rss>

