<?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 problem with VOFM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313035#M1224980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please someone elaborate me how to create a VOFM routine because when i want to create a new routine a popup with SAP access key appears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have search and read some threads with this subject but i did not understand how works. &lt;/P&gt;&lt;P&gt;I saw that almost each routine has few CHECK intstructions.&lt;/P&gt;&lt;P&gt;And because an example is like 1000 words, please someone explain this simple VOFM routine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Pricing for free goods (100%-discount)
form kobed_055.
  sy-subrc = 4.
  if komp-kposn ne 0.
    check: komp-prsfd eq 'B'.
  endif.
  sy-subrc = 0.
endform.
* Prestep
form kobev_055.
  sy-subrc = 0.
endform.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Mar 2009 12:20:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-10T12:20:39Z</dc:date>
    <item>
      <title>problem with VOFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313035#M1224980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please someone elaborate me how to create a VOFM routine because when i want to create a new routine a popup with SAP access key appears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have search and read some threads with this subject but i did not understand how works. &lt;/P&gt;&lt;P&gt;I saw that almost each routine has few CHECK intstructions.&lt;/P&gt;&lt;P&gt;And because an example is like 1000 words, please someone explain this simple VOFM routine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Pricing for free goods (100%-discount)
form kobed_055.
  sy-subrc = 4.
  if komp-kposn ne 0.
    check: komp-prsfd eq 'B'.
  endif.
  sy-subrc = 0.
endform.
* Prestep
form kobev_055.
  sy-subrc = 0.
endform.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 12:20:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313035#M1224980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-10T12:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: problem with VOFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313036#M1224981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The procedure to create the new VOFM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Go to VOFM transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Page down until you find a new spot on the page to put in the VOFM number and description.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Put in the VOFM number and the description of the VOFM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Now the VERY IMPORTANT part of the process. Double click on the VOFM description not the VOFM number to create this as a Development/Correction and not as a repair. If you double click on the number then this copies some existing code and prompts you for a repair.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Activate and generate the VOFM routine. Note: Configuration must be setup by the OM team for this step. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example Go to the routine number that needs to be copied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put your cursor on the routine number field that needs to be copied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Overwrite that number with your new routine number and hit enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new routine will be created as a copy of the old routine and you can modify the new routine as you need it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex.&lt;/P&gt;&lt;P&gt;You have to copy routine 104 to 904&lt;/P&gt;&lt;P&gt;Routine number Description Active&lt;/P&gt;&lt;P&gt;104 Bill.bus.item data X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put your cursor on 104 and then change it to 904 and hit enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;904 will be created as a copy of 104 and you can make your changes in 904.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to activate it after you are done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rock.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 12:22:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313036#M1224981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-10T12:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: problem with VOFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313037#M1224982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 14:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313037#M1224982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-10T14:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: problem with VOFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313038#M1224983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[VOFM's in SD and more info &amp;gt;&amp;gt;&amp;gt;&amp;gt;|http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 14:19:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313038#M1224983</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-03-10T14:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: problem with VOFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313039#M1224984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this site to have an idea on how to create a new routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4864691"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kezia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 09:07:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313039#M1224984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T09:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: problem with VOFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313040#M1224985</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;Check this below link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf" target="test_blank"&gt;http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jyothi CH.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 09:10:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313040#M1224985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T09:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: problem with VOFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313041#M1224986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;VOFM routines....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The initial value is SY-SUBRC = 4.&lt;/P&gt;&lt;P&gt;Means that this price condition or output type should not be used...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you managed to get through all the abap checks.....you will end up in a SY-SUBRC = 0 and the price condition or output type will appear in your procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 10:20:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313041#M1224986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T10:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: problem with VOFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313042#M1224987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i can't create the new routine because i need a access key...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;There is no other possibility to create a routine?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 10:21:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313042#M1224987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T10:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: problem with VOFM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313043#M1224988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Access key is must for creating routines in vofm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ask ur basis to request one from SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="16" __jive_macro_name="size"&gt;кu03B1ятu03B9к&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 10:25:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-vofm/m-p/5313043#M1224988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T10:25:28Z</dc:date>
    </item>
  </channel>
</rss>

