<?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: User Exit probelm FB01 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264279#M491168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing same ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i am using message E its coming out of screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i am using W or I its is saving document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to give message and also want to be in same scrren so that i can correct value in field assigment and save it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 May 2007 15:51:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-25T15:51:24Z</dc:date>
    <item>
      <title>User Exit probelm FB01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264277#M491166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I am using user exist F180A001 for T-code FB01.&lt;/P&gt;&lt;P&gt;I am validing field called assignment whether data enter there is correct or not.&lt;/P&gt;&lt;P&gt;If data is inccorect i want to give error message that enter data correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am writing code for this as "MESSAGE 'error in assigment' TYPE 'E'. "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working fine but it is also coming out of my existing screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I dont want to come of screen  i want to be in same screen where i have enter data. I should be able to correct data to proper value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you tell me code which i should use in order to achive this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 15:21:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264277#M491166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T15:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit probelm FB01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264278#M491167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Give the message as&lt;/P&gt;&lt;P&gt;MESSAGE e000(zm_msg) WITH 'You cannot create' 'a FI document'.&lt;/P&gt;&lt;P&gt;ZM_MSG is the message class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should stay in that screen.&lt;/P&gt;&lt;P&gt;other wise change the error message to I (information) or warning and see.&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 15:33:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264278#M491167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T15:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit probelm FB01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264279#M491168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing same ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i am using message E its coming out of screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i am using W or I its is saving document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to give message and also want to be in same scrren so that i can correct value in field assigment and save it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 15:51:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264279#M491168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T15:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit probelm FB01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264280#M491169</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;U shouldn't use that exit to do a validation, but FI validations: trx OB28&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 15:58:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264280#M491169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T15:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit probelm FB01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264281#M491170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might be simpler to do this with a validation (transaction OB28).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 16:00:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264281#M491170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T16:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit probelm FB01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264282#M491171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have check whether user is entering proper asset no in this field or not.&lt;/P&gt;&lt;P&gt;for that i have write select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do that in ob28&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 16:02:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264282#M491171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T16:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit probelm FB01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264283#M491172</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;Run trx OB28 and do the double click on the validations for item of your company code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you need to create a new step, than insert the prerequisite when the validation has to be done (for example SY-SYST-TCODE = 'FB01'), in CHECK create an EXIT where you write the code for validation and in MESSAGE insert the error message has to be shown if the validation fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 16:14:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264283#M491172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T16:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit probelm FB01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264284#M491173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please explain in details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want into OB28 but i dont have any validation so i created one . and have define message class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now how can i related FB01 assignmnet field to this. where will i write code.&lt;/P&gt;&lt;P&gt;should i create new z program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reply in details&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 16:25:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264284#M491173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T16:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit probelm FB01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264285#M491174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After running the trx OB28 u'll see a table (just like SM30) where you have to insert&lt;/P&gt;&lt;P&gt;the company code and the point (Document header or Line item or Complete document) where the validation has to be done: I suppose at line Item livel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do a double click and then press create VALIDATION, here you need to create a new step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the step u should create an exit at CHECK level, after inserting the code of the exit (for example UZ01) press the icon to display the abap editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you should find the form GET_EXIT_TITLES and insert these codes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;EXITS-NAME  = 'UZ01'.
EXITS-PARAM = C_EXIT_PARAM_CLASS.
EXITS-TITLE = &amp;lt;title&amp;gt;.  
APPEND EXITS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then insert the FORM for your exit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM UZ01  USING BOOL_DATA TYPE GB002_015
           CHANGING B_RESULT.

  IF  ......
   B_RESULT = B_FALSE.
  ELSE.
    B_RESULT = B_TRUE.
  ENDIF.
ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 16:30:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264285#M491174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T16:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit probelm FB01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264286#M491175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that is what i am asking where will i write code in validation......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 16:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264286#M491175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T16:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit probelm FB01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264287#M491176</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;U should create a copy of std program RGGBR000 and insert it in the view V_T80D by sm30 for the hit GBLR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 16:50:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264287#M491176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T16:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit probelm FB01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264288#M491177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have done same I have created copy of program RGGBR000 and inserted in view but still i cant see this prgram in ob28 .can you please send me screen shot or showing step how i can do this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here v_anln1 is assigment field in FB01.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM ANLA INTO ANLA WHERE ANLN1 = V_ANLN1.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC NE '0'.&lt;/P&gt;&lt;P&gt;MESSAGE 'error in assigment' TYPE 'W'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and waiting for your reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 16:20:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264288#M491177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-31T16:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit probelm FB01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264289#M491178</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;Trx GCX2 replace RGGBR000 with your ZRGGBR000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 16:27:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264289#M491178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-31T16:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit probelm FB01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264290#M491179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what will be data in bool-data.how can i match assignment field in this what is code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I have done same but still i cant go into z series program using OB28&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 16:57:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264290#M491179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-31T16:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit probelm FB01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264291#M491180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now i am getting program but I cant see form name in exit can you tell me how can  i get it .&lt;/P&gt;&lt;P&gt;GB002_015 its telling not define .&lt;/P&gt;&lt;P&gt;what should i do .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 20:20:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264291#M491180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-31T20:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit probelm FB01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264292#M491181</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 have found a way to avoid the problem. Try to use FM 'POPUP_DISPLAY_MESSAGE' and then LEAVE SCREEN after the FM. Check the sample code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT doc_item_tab.&lt;/P&gt;&lt;P&gt;IF doc_item_tab-vname = '900000'.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_DISPLAY_MESSAGE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          titel = 'Error'&lt;/P&gt;&lt;P&gt;          msgid = '38'&lt;/P&gt;&lt;P&gt;          msgty = 'E'&lt;/P&gt;&lt;P&gt;          msgno = '000'&lt;/P&gt;&lt;P&gt;msgv1 = 'error'.&lt;/P&gt;&lt;P&gt;      LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2007 08:51:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-probelm-fb01/m-p/2264292#M491181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-31T08:51:36Z</dc:date>
    </item>
  </channel>
</rss>

