<?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: VOFM routine in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346768#M1231345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in V/08, requirement number (form)  901 was configured. This is another form. My form is 902.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only one requirment could be configured for pricing procedure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if i have two requirments 901 and 902 i want that both to be active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Mar 2009 07:21:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-16T07:21:26Z</dc:date>
    <item>
      <title>VOFM routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346760#M1231337</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 because i'm very confuse and sad.&lt;/P&gt;&lt;P&gt;I have created a VOFM routine, here is the steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)write the routine&lt;/P&gt;&lt;P&gt;FORM kobed_902.&lt;/P&gt;&lt;P&gt;  sy-subrc = 4.&lt;/P&gt;&lt;P&gt;  BREAK-POINT. "program does not execute this line&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;2)activate&lt;/P&gt;&lt;P&gt;3)generate via RV80HGEN program&lt;/P&gt;&lt;P&gt;4) check and repair with SDINVOFM program - but there was no problem&lt;/P&gt;&lt;P&gt;5)rebuild object list&lt;/P&gt;&lt;P&gt;6)update navigation index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;everything seems to be ok, include RV61ANNN contain this include RV61A902.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, what's the problem? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what should i do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 14:42:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346760#M1231337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T14:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: VOFM routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346761#M1231338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am just copy pasting one doc, I have with me. Will be glad if it helps you: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+1. Go to VOFM Transaction Code&lt;/P&gt;&lt;P&gt;2. On the Menu Select required Application i.e Requirements -Pricing&lt;/P&gt;&lt;P&gt;3. Enter any Number in between 600 to 999 for Custom Developments.&lt;/P&gt;&lt;P&gt;4. On entering Pop Screen appears ask for Access Key(We have to remember that Every New Routine needs an Access Key)&lt;/P&gt;&lt;P&gt;5. We have to send the Object number and installation details to the BASIS&lt;/P&gt;&lt;P&gt;6. BASIS will provide the Access Key&lt;/P&gt;&lt;P&gt;7. Once the Access Key is received we can do modification with the help of Technical Consultant.&lt;/P&gt;&lt;P&gt;8. Enter the Routine Number ,description and insert the Access Key&lt;/P&gt;&lt;P&gt;9. Now the ABAP Editor will open and required code can be copied from Standard SAP Routine and Custom Code Can be developed.&lt;/P&gt;&lt;P&gt;10. Once the coding is completed we have to Activate the Routine&lt;/P&gt;&lt;P&gt;11. Select the Routine and Go to Edit - Activate&lt;/P&gt;&lt;P&gt;12. Ensure that Active check box is ticked upon Activation of the Routine.&lt;/P&gt;&lt;P&gt;13. Double click on the routine will enter into ABAP Editor, we have to generate the Routine&lt;/P&gt;&lt;P&gt;14. Go to Program and select Generate&lt;/P&gt;&lt;P&gt;16 A screen pops up with the related Main Programs ieu2026SAPLV61A and select all required main programs wherever the Routine is being called.&lt;/P&gt;&lt;P&gt;17 Once the Routine is Generated and Activated, We can configure the Routine in the config.&lt;/P&gt;&lt;P&gt;18 Configure the Routine in required applications and do the Testing&lt;/P&gt;&lt;P&gt;19 We have to transport the Workbench Request i.e. Routine first ,then only we have to transport customizing request&lt;/P&gt;&lt;P&gt;20 We have to Activate and Generate the Routine in each and every client it got transported.+&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 14:46:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346761#M1231338</guid>
      <dc:creator>former_member376453</dc:creator>
      <dc:date>2009-03-12T14:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: VOFM routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346762#M1231339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;still not working...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the routine it's activated, generated, i can view the include&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;everything seems to be OK... but it's not working... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have put a break-point to check it ... but it does not enter to form.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 14:57:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346762#M1231339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T14:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: VOFM routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346763#M1231340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;switch on update debugging and check&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 15:02:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346763#M1231340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T15:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: VOFM routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346764#M1231341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have switched on the debuging... no change&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is not with code...the problem is why SAP does not call FORM kobed_902 ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i mention that routine is activated, generated, i cand view its include,...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a problem with routine number ? Routine number is 902. it's ok?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 15:09:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346764#M1231341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T15:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: VOFM routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346765#M1231342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did u switched on debugging in update mode. i.e &lt;STRONG&gt;update debugging&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r u sure about ur routine that its correct,&lt;/P&gt;&lt;P&gt;i mean correct routine number associated with the transaction u r running&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kartik tarla on Mar 12, 2009 8:48 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 15:17:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346765#M1231342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T15:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: VOFM routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346766#M1231343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the routine was created to restrict access to conditions - sale order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM kobed_902.
  sy-subrc = 4.
  BREAK-POINT.
i have switched on the debugging - System-&amp;gt;utilities-&amp;gt;Debug System

IF komv-kschl EQ 'ZA90'.

    AUTHORITY-CHECK OBJECT 'Z_DISC'
             ID 'ACTVT' FIELD '01'
             ID 'KSCHL' FIELD komv-kschl.

    IF sy-subrc NE 0.
      MESSAGE 'Acces denied!' TYPE 'E'.
    ENDIF.

  ENDIF.
ENDFORM.                                                    "KOBED_902
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  KOBEV_902
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
FORM kobev_902.
ENDFORM.                                                    "KOBEV_902&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any relation beetwen routine number and transaction which is used?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 15:36:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346766#M1231343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T15:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: VOFM routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346767#M1231344</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;Make sure you have the following setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) in the VOFM transaction...in the table control where you see list of routines...&lt;/P&gt;&lt;P&gt;    Click the routine 902 row..and in the menu...Edit -&amp;gt; Activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Check if the routine is configured in the pricing procedure...V/08.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 15:44:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346767#M1231344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-12T15:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: VOFM routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346768#M1231345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in V/08, requirement number (form)  901 was configured. This is another form. My form is 902.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only one requirment could be configured for pricing procedure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if i have two requirments 901 and 902 i want that both to be active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2009 07:21:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346768#M1231345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-16T07:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: VOFM routine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346769#M1231346</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 don't think it is possible to configure two routines in V/08..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But instead you can do one thing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can call the 901 subroutine in your 902 subroutine...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM kobed_902.

* Call the subroutine 901 first.
  PERFORM kobed_901.

* Process further only if the 901 subroutine is successful.
  CHECK sy-subrc = 0.

* Do all your new logic here..
" NEW LOGIC

ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2009 14:50:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-routine/m-p/5346769#M1231346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-16T14:50:43Z</dc:date>
    </item>
  </channel>
</rss>

