<?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 exits for tcode FBV0 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits-for-tcode-fbv0/m-p/1439436#M209191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can copy and change the program RFPUEB00 into customer name space to do your job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like in screen 100 of fbv0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;        MODULE TRANSAKTIONS_INIT.&lt;/P&gt;&lt;P&gt;        MODULE CHECK_INSERT.&lt;/P&gt;&lt;P&gt;        MODULE KEYS_VORSCHLAGEN.&lt;/P&gt;&lt;P&gt;        MODULE STATUS.&lt;/P&gt;&lt;P&gt;*{   INSERT         R3TK910311                                        1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module submit_report.&lt;/P&gt;&lt;P&gt;*}   INSERT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;        MODULE BEENDEN AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CHAIN.&lt;/P&gt;&lt;P&gt;          FIELD  RF05V-BUKRS.&lt;/P&gt;&lt;P&gt;          FIELD  RF05V-BELNR.&lt;/P&gt;&lt;P&gt;          FIELD  RF05V-GJAHR.&lt;/P&gt;&lt;P&gt;          MODULE BUKRS_PRUEFEN.&lt;/P&gt;&lt;P&gt;          MODULE BELEG_PRUEFEN.&lt;/P&gt;&lt;P&gt;        ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        MODULE OKCODE_BEARBEITUNG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE submit_report OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: tcode like sy-tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*import tcode(transaction code) from SAP shared buffer memory&lt;/P&gt;&lt;P&gt;    IMPORT tcode FROM SHARED BUFFER indx(td) ID sy-uname.&lt;/P&gt;&lt;P&gt;    IMPORT tcode FROM SHARED BUFFER indx(tc) ID sy-uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF tcode = 'FBV0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SUBMIT zsh_rfpueb00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can validate the posting user with parked one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wasim Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jun 2006 10:36:53 GMT</pubDate>
    <dc:creator>dani_mn</dc:creator>
    <dc:date>2006-06-15T10:36:53Z</dc:date>
    <item>
      <title>User exits for tcode FBV0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits-for-tcode-fbv0/m-p/1439434#M209189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My requirement is that the user who has parked the document should not be able to post the parked document through tcode FBV0. &lt;/P&gt;&lt;P&gt;Is there any user exit where in I can validate the current system user and the user who has parked the document?&lt;/P&gt;&lt;P&gt;I have tried the user-exit SAPLF040,but this does not suffice my requirement.&lt;/P&gt;&lt;P&gt;Also is it possible to define our own exits in tcode OB28?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajeev&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 10:26:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits-for-tcode-fbv0/m-p/1439434#M209189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T10:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: User exits for tcode FBV0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits-for-tcode-fbv0/m-p/1439435#M209190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Info on user exits can be found here &lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Transaction Code - FBV0                     Post Parked Document

-----------------------------------------------------------------------------------------------
|Exit Name          |Description                                                              |
-----------------------------------------------------------------------------------------------
|F050S001           |FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment                   |
|F050S002           |FIDCC1: Change IDoc/do not send                                          |
|F050S003           |FIDCC2: Change IDoc/do not send                                          |
|F050S004           |FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send                 |
|F050S005           |FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document                  |
|F050S006           |FI Outgoing IDoc: Reset Clearing in FI Document                          |
|F050S007           |FIDCCH Outbound: Influence on IDoc for Document Change                   |
|F180A001           |Balance Sheet Adjustment                                                 |
|FARC0002           |Additional Checks for Archiving MM Vendor Master Data                    |
|RFAVIS01           |Customer Exit for Changing Payment Advice Segment Text                   |
|RFEPOS00           |Line item display: Checking of selection conditions                      |
|RFKORIEX           |Automatic correspondence                                                 |
|SAPLF051           |Workflow for FI (pre-capture, release for payment)                       |
-----------------------------------------------------------------------------------------------

No of Exits:         13&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the user exits possible for FBV0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;we can find user exit for any transaction, copy and run the following code in SE38&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report z_find_userexit no standard page heading.



*&amp;amp;---------------------------------------------------------------------*

*&amp;amp;  Enter the transaction code that you want to search through in order

*&amp;amp;  to find which Standard SAP User Exits exists.

*&amp;amp;

*&amp;amp;---------------------------------------------------------------------*



*&amp;amp;---------------------------------------------------------------------*

*&amp;amp; Tables

*&amp;amp;---------------------------------------------------------------------*



tables : tstc,     "SAP Transaction Codes

         tadir,    "Directory of Repository Objects

         modsapt,  "SAP Enhancements - Short Texts

         modact,   "Modifications

         trdir,    "System table TRDIR

         tfdir,    "Function Module

         enlfdir,  "Additional Attributes for Function Modules

         tstct.    "Transaction Code Texts



*&amp;amp;---------------------------------------------------------------------*

*&amp;amp; Variables

*&amp;amp;---------------------------------------------------------------------*



data : jtab like tadir occurs 0 with header line.

data : field1(30).

data : v_devclass like tadir-devclass.



*&amp;amp;---------------------------------------------------------------------*

*&amp;amp; Selection Screen Parameters

*&amp;amp;---------------------------------------------------------------------*

selection-screen begin of block a01 with frame title text-001.

selection-screen skip.

parameters : p_tcode like tstc-tcode obligatory.

selection-screen skip.

selection-screen end of block a01.



*&amp;amp;---------------------------------------------------------------------*

*&amp;amp; Start of main program

*&amp;amp;---------------------------------------------------------------------*



start-of-selection.



* Validate Transaction Code

  select single * from tstc

    where tcode eq p_tcode.



* Find Repository Objects for transaction code

  if sy-subrc eq 0.

    select single * from tadir

       where pgmid    = 'R3TR'

         and object   = 'PROG'

         and obj_name = tstc-pgmna.



    move : tadir-devclass to v_devclass.



    if sy-subrc ne 0.

      select single * from trdir

         where name = tstc-pgmna.



      if trdir-subc eq 'F'.



        select single * from tfdir

          where pname = tstc-pgmna.



        select single * from enlfdir

          where funcname = tfdir-funcname.



        select single * from tadir

          where pgmid    = 'R3TR'

            and object   = 'FUGR'

            and obj_name = enlfdir-area.



        move : tadir-devclass to v_devclass.

      endif.

    endif.



* Find SAP Modifactions

    select * from tadir

      into table jtab

      where pgmid    = 'R3TR'

        and object   = 'SMOD'

        and devclass = v_devclass.



    select single * from tstct

      where sprsl eq sy-langu

        and tcode eq p_tcode.



    format color col_positive intensified off.

    write:/(19) 'Transaction Code - ',

    20(20) p_tcode,

    45(50) tstct-ttext.

    skip.

    if not jtab[] is initial.

      write:/(95) sy-uline.

      format color col_heading intensified on.

      write:/1 sy-vline,

      2 'Exit Name',

      21 sy-vline ,

      22 'Description',

      95 sy-vline.

      write:/(95) sy-uline.



      loop at jtab.

        select single * from modsapt

        where sprsl = sy-langu and

        name = jtab-obj_name.

        format color col_normal intensified off.

        write:/1 sy-vline,

        2 jtab-obj_name,

        21 sy-vline ,

        22 modsapt-modtext,

        95 sy-vline.

      endloop.



      write:/(95) sy-uline.

      describe table jtab.

      skip.

      format color col_total intensified on.

      write:/ 'No of Exits:' , sy-tfill.

    else.

      format color col_negative intensified on.

      write:/(95) 'No User Exit exists'.

    endif.

  else.

    format color col_negative intensified on.

    write:/(95) 'Transaction Code Does Not Exist'.

  endif.



* Take the user to SMOD for the Exit that was selected.

at line-selection.

  get cursor field field1.

  check field1(4) eq 'JTAB'.

  set parameter id 'MON' field sy-lisel+1(10).

  call transaction 'SMOD' and skip first screen.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 10:29:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits-for-tcode-fbv0/m-p/1439435#M209190</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2006-06-15T10:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: User exits for tcode FBV0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits-for-tcode-fbv0/m-p/1439436#M209191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can copy and change the program RFPUEB00 into customer name space to do your job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like in screen 100 of fbv0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;        MODULE TRANSAKTIONS_INIT.&lt;/P&gt;&lt;P&gt;        MODULE CHECK_INSERT.&lt;/P&gt;&lt;P&gt;        MODULE KEYS_VORSCHLAGEN.&lt;/P&gt;&lt;P&gt;        MODULE STATUS.&lt;/P&gt;&lt;P&gt;*{   INSERT         R3TK910311                                        1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module submit_report.&lt;/P&gt;&lt;P&gt;*}   INSERT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;        MODULE BEENDEN AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CHAIN.&lt;/P&gt;&lt;P&gt;          FIELD  RF05V-BUKRS.&lt;/P&gt;&lt;P&gt;          FIELD  RF05V-BELNR.&lt;/P&gt;&lt;P&gt;          FIELD  RF05V-GJAHR.&lt;/P&gt;&lt;P&gt;          MODULE BUKRS_PRUEFEN.&lt;/P&gt;&lt;P&gt;          MODULE BELEG_PRUEFEN.&lt;/P&gt;&lt;P&gt;        ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        MODULE OKCODE_BEARBEITUNG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE submit_report OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: tcode like sy-tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*import tcode(transaction code) from SAP shared buffer memory&lt;/P&gt;&lt;P&gt;    IMPORT tcode FROM SHARED BUFFER indx(td) ID sy-uname.&lt;/P&gt;&lt;P&gt;    IMPORT tcode FROM SHARED BUFFER indx(tc) ID sy-uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF tcode = 'FBV0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SUBMIT zsh_rfpueb00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can validate the posting user with parked one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wasim Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 10:36:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits-for-tcode-fbv0/m-p/1439436#M209191</guid>
      <dc:creator>dani_mn</dc:creator>
      <dc:date>2006-06-15T10:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: User exits for tcode FBV0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits-for-tcode-fbv0/m-p/1439437#M209192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajeev , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yeah u can do the validations in OB28 , let me know ur SAP version , if it is &amp;lt;= 4.7 check the program GGBS000 , which is used for all validations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 10:40:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits-for-tcode-fbv0/m-p/1439437#M209192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T10:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: User exits for tcode FBV0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits-for-tcode-fbv0/m-p/1439438#M209193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rajeev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have u check the BADI FI_AUTHORITY_ITEM. Check the documentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 10:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits-for-tcode-fbv0/m-p/1439438#M209193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T10:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: User exits for tcode FBV0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits-for-tcode-fbv0/m-p/1439439#M209194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We had an implemetation similar like this but in FV60 using Transaction Event .&lt;/P&gt;&lt;P&gt;We used process transaction event 00001140. Refer to OSS note 361420.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 21:12:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits-for-tcode-fbv0/m-p/1439439#M209194</guid>
      <dc:creator>amelia_li3</dc:creator>
      <dc:date>2009-02-18T21:12:23Z</dc:date>
    </item>
  </channel>
</rss>

