<?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 Custom Routine not getting triggered while creating Outbound Deliveries in Background Mode in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-custom-routine-not-getting-triggered-while-creating-outbound/m-p/14210988#M2042438</link>
    <description>&lt;P class="lia-align-justify"&gt;Please create a new discussion detailing your issue with the related screen shots so that members will assist you.&amp;nbsp; This discussion has been originally created by someone in 2021&lt;/P&gt;</description>
    <pubDate>Mon, 08 Sep 2025 14:01:22 GMT</pubDate>
    <dc:creator>Lakshmipathi</dc:creator>
    <dc:date>2025-09-08T14:01:22Z</dc:date>
    <item>
      <title>VOFM Custom Routine not getting triggered while creating Outbound Deliveries in Background Mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-custom-routine-not-getting-triggered-while-creating-outbound/m-p/12558012#M2007404</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
  &lt;P&gt;The requirement is to create Outbound Deliveries in Background Mode. To execute in background mode, I have a custom program through which a background job is created. If I try to debug that job then it is not triggering the custom VOFM routine and directly coming out of debugger. Can anyone give any solutions why the routine is not getting triggered?&lt;/P&gt;
  &lt;P&gt;But in Foreground Mode, if I try to create an Outbound Delivery through VA02 or VL10C, then the VOFM custom routine is getting triggered while debugging and it is working as expected.&lt;/P&gt;
  &lt;P&gt;I also tried executing standard SAP program 'RV80HGEN' to execute all routines but it is not working.&lt;/P&gt;
  &lt;P&gt;Also, I tried SU3 transaction to set parameter id 'LEDSP_DEBUG_MODE' and parameter value as VL10C and setting breakpoints at subroutine but it the custom routine is not getting triggered while debugging.&lt;/P&gt;
  &lt;P&gt;Any Solutions?&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Abhishek&lt;/P&gt;</description>
      <pubDate>Fri, 24 Dec 2021 12:47:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-custom-routine-not-getting-triggered-while-creating-outbound/m-p/12558012#M2007404</guid>
      <dc:creator>former_member787633</dc:creator>
      <dc:date>2021-12-24T12:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: VOFM Custom Routine not getting triggered while creating Outbound Deliveries in Background Mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-custom-routine-not-getting-triggered-while-creating-outbound/m-p/12558013#M2007405</link>
      <description>&lt;P&gt;Interesting.. though it shouldn't be the case.. pricing should be generally independent of Foreground or Background.. since you mention Custom program.. there may be certain parameters that may be different.. Is the requisite condition(for which the routine is assigned) triggered OR seen in the resultant Background job delivery? you may also check the relevant condition records..&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Vijay&lt;/P&gt;</description>
      <pubDate>Fri, 24 Dec 2021 15:46:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-custom-routine-not-getting-triggered-while-creating-outbound/m-p/12558013#M2007405</guid>
      <dc:creator>vijay_hariharan</dc:creator>
      <dc:date>2021-12-24T15:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: VOFM Custom Routine not getting triggered while creating Outbound Deliveries in Background Mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-custom-routine-not-getting-triggered-while-creating-outbound/m-p/12558014#M2007406</link>
      <description>&lt;P&gt;It's very strange. Are you sure you run "custom program 2" below exactly the same way in the two cases? (same parameters, etc.)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"background" case: SE38 Custom program 1 ---run job---&amp;gt; custom program 2 which does VA02 or VL10C&lt;/LI&gt;&lt;LI&gt;"foreground" case: SE38 custom program 2 which does VA02 or VL10C&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I don't know how you debug "custom program2" in background but if you go to SM37 and run the job with the command JDBG, without debugging, do you stop at the break-point at the beginning of the VOFM routine?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Dec 2021 16:51:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-custom-routine-not-getting-triggered-while-creating-outbound/m-p/12558014#M2007406</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-12-24T16:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: VOFM Custom Routine not getting triggered while creating Outbound Deliveries in Background Mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-custom-routine-not-getting-triggered-while-creating-outbound/m-p/12558015#M2007407</link>
      <description>&lt;P&gt;We have only 1 custom program for background job and in that custom program we are calling the standard program "RVV50R10C" to create deliveries. We are debugging the background job with "JDBG" but it is not stopping at the breakpoint of the VOFM custom routine.&lt;/P&gt;&lt;P&gt;In foreground, we creating deliveries through transaction VA02 and not through any custom program and there the VOFM routine is triggered at the breakpoint and it is working as expected.&lt;/P&gt;&lt;P&gt;Only issue is in the background mode as the routine is not triggered at breakpoint. Any solutions?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Dec 2021 11:44:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-custom-routine-not-getting-triggered-while-creating-outbound/m-p/12558015#M2007407</guid>
      <dc:creator>former_member787633</dc:creator>
      <dc:date>2021-12-27T11:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: VOFM Custom Routine not getting triggered while creating Outbound Deliveries in Background Mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-custom-routine-not-getting-triggered-while-creating-outbound/m-p/12558016#M2007408</link>
      <description>&lt;P&gt;Okay, it explains why it behaves differently, it's because you don't execute the same code, so the problem is not about "background mode", it's about VA02 stops at break point, and RVV50R10C (VL10C) doesn't stop at break point. Or maybe, VA02 calls VOFM routines and VL10C doesn't call them.&lt;/P&gt;&lt;P&gt;I would look at the forum:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;"VL10c" "vofm" site:sap.com&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I see this question/answer: &lt;A href="https://answers.sap.com/questions/703717/copy-control-routine-is-not-getting-triggered-when.html"&gt;Copy control routine is not getting triggered when executing using VL10G tcode in background mode | SAP Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2021 14:09:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-custom-routine-not-getting-triggered-while-creating-outbound/m-p/12558016#M2007408</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-12-30T14:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: VOFM Custom Routine not getting triggered while creating Outbound Deliveries in Background Mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-custom-routine-not-getting-triggered-while-creating-outbound/m-p/12558017#M2007409</link>
      <description>&lt;P&gt;Yes, whenever we are using VL10C transaction code it is not calling the VOFM routines. So is there any solution to call the VOFM routines from VL10C transaction code or RVV50R10C? &lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2022 13:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-custom-routine-not-getting-triggered-while-creating-outbound/m-p/12558017#M2007409</guid>
      <dc:creator>former_member787633</dc:creator>
      <dc:date>2022-01-03T13:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: VOFM Custom Routine not getting triggered while creating Outbound Deliveries in Background Mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-custom-routine-not-getting-triggered-while-creating-outbound/m-p/14210926#M2042437</link>
      <description>&lt;P&gt;Someone found a solution for this?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 13:04:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-custom-routine-not-getting-triggered-while-creating-outbound/m-p/14210926#M2042437</guid>
      <dc:creator>stephanysonos</dc:creator>
      <dc:date>2025-09-08T13:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: VOFM Custom Routine not getting triggered while creating Outbound Deliveries in Background Mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-custom-routine-not-getting-triggered-while-creating-outbound/m-p/14210988#M2042438</link>
      <description>&lt;P class="lia-align-justify"&gt;Please create a new discussion detailing your issue with the related screen shots so that members will assist you.&amp;nbsp; This discussion has been originally created by someone in 2021&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 14:01:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vofm-custom-routine-not-getting-triggered-while-creating-outbound/m-p/14210988#M2042438</guid>
      <dc:creator>Lakshmipathi</dc:creator>
      <dc:date>2025-09-08T14:01:22Z</dc:date>
    </item>
  </channel>
</rss>

