<?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: Custom Error message in VF11 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379940#M1923483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, in the include i have set sy-subrc = 4. after my custom message population. But i couln't get the VF 032 standard message in screen. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2015 11:23:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-11-25T11:23:09Z</dc:date>
    <item>
      <title>Custom Error message in VF11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379933#M1923476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Tcode VF11 i would like to display an error message with some validations when user press enter after entered the value . &lt;/P&gt;&lt;P&gt;I have tried in some userexits and the log i got is from the standard errors. I think my custom error message interrupting the standard process. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me , if i need to display the error message , do i need to display by the LOG option and not directly in the screen?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please share your ideas!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pradeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 05:56:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379933#M1923476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-25T05:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error message in VF11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379934#M1923477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is better to display the error message in log, instead of triggering Error message from the user exit of Invoice creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had earlier implemented the validation for VF01 in the user exit, but it had impacted the billing due list job. The job stopped without processing the other documents, when the error message was raised.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So we moved our logic to the VOFM requirement routine.For your scenario, you can try using the requirement routine which can be configured in VOFA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the tcode VOFA, the cancellation document type would be maintained for the source document (Check invoice type : FD, cancellation invoice type is S1). There you have a requirement routine which can be configured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create a custom VOFM routine and write your validation logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the coding, you could set&lt;/P&gt;&lt;P&gt;IF condition IS TRUE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; perform vbfs_hinzufuegen using '000000' '112' VAR1 VAR2 VAR3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sy-subrc = 4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Search SCN to more about VOFM routines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Karthikeyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 07:29:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379934#M1923477</guid>
      <dc:creator>karthikeyan_p3</dc:creator>
      <dc:date>2015-11-25T07:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error message in VF11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379935#M1923478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthikeyan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply . Yes , i can do it in VOFM. But i think its better to do it in the userexits.&lt;/P&gt;&lt;P&gt;RV60AFZZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if i populate my custom error message in perform vbfs_hinzufuegen using '000000' '112' VAR1 VAR2 VAR3. This will update in the LOG options right ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 09:11:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379935#M1923478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-25T09:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error message in VF11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379936#M1923479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And another issue is i am getting the following error log 73763739XX 000000 Document does not exist. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 09:38:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379936#M1923479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-25T09:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error message in VF11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379937#M1923480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think NO. Requirement routine is the ideal place to populate the error in VBFS internal table. If you populate the entry in &lt;SPAN style="color: #333333; font-size: 12px;"&gt;RV60AFZZ userexits, it will have no impact.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can think of an alternate approach to raise the error message from user exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Karthikeyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 09:39:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379937#M1923480</guid>
      <dc:creator>karthikeyan_p3</dc:creator>
      <dc:date>2015-11-25T09:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error message in VF11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379938#M1923481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthikeyan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. With the&amp;nbsp; perform vbfs_hinzufuegen using '000000' '112' VAR1 VAR2 VAR3 i can able to&lt;/P&gt;&lt;P&gt;populate the custom message in log. But one problem i am missing the std message ' &lt;STRONG&gt;No billing documents were generated. See log' . which stops the transaction process. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I Need this message as well , so that i can stop the process when the log has my custom message,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pradeep.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 10:33:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379938#M1923481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-25T10:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error message in VF11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379939#M1923482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you set the value sy-subrc = 4 in the requirement routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get that message if you set the vbfs values in requirement routine and sy-subrc = 4. Only then billing document will be stopped from creation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 11:10:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379939#M1923482</guid>
      <dc:creator>karthikeyan_p3</dc:creator>
      <dc:date>2015-11-25T11:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error message in VF11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379940#M1923483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, in the include i have set sy-subrc = 4. after my custom message population. But i couln't get the VF 032 standard message in screen. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 11:23:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379940#M1923483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-25T11:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error message in VF11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379941#M1923484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can i give this error messages while saving in VF11?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:22:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379941#M1923484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-26T09:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error message in VF11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379942#M1923485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After the code, Has the cancellation invoice creation being stopped now? If you need &lt;SPAN style="color: #333333; font-size: 12px;"&gt;VF 032, along with the custom error message, you can include that as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Karthikeyan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379942#M1923485</guid>
      <dc:creator>karthikeyan_p3</dc:creator>
      <dc:date>2015-11-26T09:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Error message in VF11</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379943#M1923486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 09:19:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-error-message-in-vf11/m-p/11379943#M1923486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-27T09:19:07Z</dc:date>
    </item>
  </channel>
</rss>

