Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

List of user exits for DP91 transaction ( RRB )

nishanthbhandar
Contributor
0 Kudos

Hi All,

Please provide me with a detailed list of the user exits for DP91 transaction with respect to resource related billing.A list of BADi's would also be very helpful.

Thanks

Nishanth

1 ACCEPTED SOLUTION

peter_atkin
Active Contributor
0 Kudos

Nishanth

Try SMOD user-exits beginning with AD01*.

BADIs are in <i>package</i> AD01.

There is also an excellent RRB pdf document you can download from SAPSERVE detailing the RRB processes with worked examples of ABAP code. See OSS Note 301117 for more details

PeteA

11 REPLIES 11

Former Member
0 Kudos

HI,

GRWTAUTH is the only use exit available for Auth check

Former Member
0 Kudos

hi nishanth,

the only available

user exit in DP91 is

GRWTAUTH - Authorization check for Report Writer

regards

satesh

peter_atkin
Active Contributor
0 Kudos

Nishanth

Try SMOD user-exits beginning with AD01*.

BADIs are in <i>package</i> AD01.

There is also an excellent RRB pdf document you can download from SAPSERVE detailing the RRB processes with worked examples of ABAP code. See OSS Note 301117 for more details

PeteA

0 Kudos

Peter,

Thank you very much for the replies.

Message was edited by: Nishanth Bhandar

0 Kudos

On its way...

PeteA

Former Member
0 Kudos

Try BADI BADI_SD_V46H0001.

Former Member
0 Kudos

HI Nishanth ,

Have you try any of these methods which may give you the list of User exit and Badi's.

  • In SE18 >f4>click on information systems>mention the package name of the program/tcode>Enter-->u will find the BADI's.

  • In SPRO>Expant relevant area>System Modifications-->there u can find out badi.

  • goto se24-->type class (cl_exithandler)-> say display -> double click on the method Get_Instance -> Put a breakpoint . So whenever you call any transaction which had got Badi's in it ,it will stop at that breakpoint from where you can see the value of variable exit_name.

  • Goto se81--> Select Relevant package > Press F9 (That pacakage will become yellow)>the go to Information system which is there as a button on the same screen >Enhancement>Badi or Customer exit-->F8 will give you all the badi's or exits . <b>(Important)</b>

Hope this will help you.

Cheers

Sunny

REwrd points, if found helpful.

Former Member
0 Kudos

exeute this program , this will give all the user exits for a transaction



*&---------------------------------------------------------------------*
*& Report  YCHATEST                                                    *
*&                                                                     *
*&---------------------------------------------------------------------*
*&                                                                     *
*&                                                                     *
*&---------------------------------------------------------------------*

REPORT z_find_userexit NO STANDARD PAGE HEADING.



*&---------------------------------------------------------------------*

*&  Enter the transaction code that you want to search through in order

*&  to find which Standard SAP User Exits exists.

*&

*&---------------------------------------------------------------------*



*&---------------------------------------------------------------------*

*& Tables

*&---------------------------------------------------------------------*



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



*&---------------------------------------------------------------------*

*& Variables

*&---------------------------------------------------------------------*



DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.

DATA : field1(30).

DATA : v_devclass LIKE tadir-devclass.



*&---------------------------------------------------------------------*

*& Selection Screen Parameters

*&---------------------------------------------------------------------*

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.



*&---------------------------------------------------------------------*

*& Start of main program

*&---------------------------------------------------------------------*



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 HOTSPOT ON,

        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.

Former Member
0 Kudos

Hi,

Checkout the following link.

http://help.sap.com/saphelp_46c/helpdata/en/1a/9e466f0e18d311ae620060b03c9bbe/frameset.htm

Let me know if you need information regarding any specific exit in resource related billing process

0 Kudos

Hai Pratik

When i run DP91, the controlling doc's r are stored in table AD01DLI, i want to match the data with Ztable(billing table) , If the entry does not exist in Ztable(billing) table, then i want to flush the data from AD01DLI table.

for the above requirement, is there any exist ?

Thnx in advance

With Regards,

Srini

raymond_giuseppi
Active Contributor
0 Kudos

T o get the last version of SAP documentation, look at [Note 301117 - Enhanced documentation for dynamic item processor (DIP)|http://service.sap.com/sap/support/notes/301117] Attachment [Introduction_DIP_20.pdf|https://service.sap.com/~sapidb/012006153200000646652007E/Introduction_DIP_20.pdf]

Regards,

Raymond

Oops did not read other answers...

Edited by: Raymond Giuseppi on Nov 24, 2010 8:24 AM