<?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: FBV0 when delete document using OB28 for validating in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fbv0-when-delete-document-using-ob28-for-validating/m-p/7786634#M1585984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear Thomas,&lt;/P&gt;&lt;P&gt;thanks for your response. your answer quite a little bit help by adding break points in OB28 in one of the step that i added.&lt;/P&gt;&lt;P&gt;so just when i click menu DOCUMENT &amp;gt; DELETE., it does stop at break point, press F8, and then error message appears.&lt;/P&gt;&lt;P&gt;But when you click SAVE &amp;gt; Document &amp;gt; DELETE. it appears a YES NO message button like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data will be lost.                  &lt;/P&gt;&lt;P&gt;                                    &lt;/P&gt;&lt;P&gt;Delete parked document?                                                                                &lt;/P&gt;&lt;P&gt;Yes               No                &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i click yes, then the break point didnt stop, and the document deleted straight away.&lt;/P&gt;&lt;P&gt;I think there must be an exit to add a validation in this fbv0 so i could check before this message appears.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Mar 2011 02:53:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-17T02:53:33Z</dc:date>
    <item>
      <title>FBV0 when delete document using OB28 for validating</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fbv0-when-delete-document-using-ob28-for-validating/m-p/7786632#M1585982</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;i have a stucking problem. Here's the scenario.&lt;/P&gt;&lt;P&gt;I add a validation in OB28 in Doc Header like this.&lt;/P&gt;&lt;P&gt;Prerequisite :&lt;/P&gt;&lt;P&gt; SYST-TCODE = 'FBV0' OR BKPF-TCODE = 'FBV0' OR&lt;/P&gt;&lt;P&gt; SYST-TCODE = 'FB08' OR BKPF-TCODE = 'FB08'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check :&lt;/P&gt;&lt;P&gt;U944&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in ZGGBR000, i add this code for checking before delete :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM u944 CHANGING b_result.&lt;/P&gt;&lt;P&gt;   IF lt_data[] IS NOT INITIAL OR&lt;/P&gt;&lt;P&gt;        MESSAGE e000(zz) WITH ld_msg1 ld_msg2.&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when i process t-code FBV0,&lt;/P&gt;&lt;P&gt;input the Comp,code, Doc Num, and Fiscal Year, press Enter.&lt;/P&gt;&lt;P&gt;CASE 1 :&lt;/P&gt;&lt;P&gt;I clicked DOCUMENT &amp;gt; DELETE. and then the ERROR message COME OUT (from U944). (SUCCESS)&lt;/P&gt;&lt;P&gt;but when,&lt;/P&gt;&lt;P&gt;CASE 2 :&lt;/P&gt;&lt;P&gt;I clicked SAVE. then DOCUMENT &amp;gt; DELETE. its successfully DELETED without checking to the U944 first. (FAIL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm wandering where else i should put this validation? because it didnt pass this U944 when i do case number two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me with this one? plis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yusyonin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ai03yudyon05 on Mar 16, 2011 11:15 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 10:14:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fbv0-when-delete-document-using-ob28-for-validating/m-p/7786632#M1585982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-16T10:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: FBV0 when delete document using OB28 for validating</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fbv0-when-delete-document-using-ob28-for-validating/m-p/7786633#M1585983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TCODE might be different in your second case. To find out, enter OB28 in display mode, select the step and set a breakpoint via "extras - expert trace - set breakpoint", then run your case again.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 10:55:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fbv0-when-delete-document-using-ob28-for-validating/m-p/7786633#M1585983</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2011-03-16T10:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: FBV0 when delete document using OB28 for validating</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fbv0-when-delete-document-using-ob28-for-validating/m-p/7786634#M1585984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear Thomas,&lt;/P&gt;&lt;P&gt;thanks for your response. your answer quite a little bit help by adding break points in OB28 in one of the step that i added.&lt;/P&gt;&lt;P&gt;so just when i click menu DOCUMENT &amp;gt; DELETE., it does stop at break point, press F8, and then error message appears.&lt;/P&gt;&lt;P&gt;But when you click SAVE &amp;gt; Document &amp;gt; DELETE. it appears a YES NO message button like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data will be lost.                  &lt;/P&gt;&lt;P&gt;                                    &lt;/P&gt;&lt;P&gt;Delete parked document?                                                                                &lt;/P&gt;&lt;P&gt;Yes               No                &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i click yes, then the break point didnt stop, and the document deleted straight away.&lt;/P&gt;&lt;P&gt;I think there must be an exit to add a validation in this fbv0 so i could check before this message appears.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 02:53:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fbv0-when-delete-document-using-ob28-for-validating/m-p/7786634#M1585984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-17T02:53:33Z</dc:date>
    </item>
  </channel>
</rss>

