Can i know the user exits which should trigger while saving billing docu

hi,
please can u help me to find out user exits which should trigger while saving billing documents.

A couple years ago I downloaded this program, I think from SAPFANS.  I don't take any credit for it...Not sure who originally wrote it.  Just type in the t-code and hit execute. 
*& Report name          : Identify and Drill-Down to SAP User Exits.   *
*& Program name         : ZZ_FIND_USER_EXITS                           *
REPORT  ZZ_FIND_USER_EXITS
  NO STANDARD PAGE HEADING
  LINE-SIZE 132
  LINE-COUNT 65
  MESSAGE-ID MM.
D A T A   D E F I N I T I O N                                        *
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
S E L E C T I O N   S C R E E N                                      *
PARAMETERS : P_TCODE LIKE TSTC-TCODE OBLIGATORY.
I N T E R N A L   S T R U C T U R E S   &   T A B L E S              *
DATA : GT_TADIR LIKE TADIR OCCURS 0 WITH HEADER LINE.
V A R I A B L E S                                                    *
DATA :
       GV_FIELD1(30)  TYPE C,
       GV_DEVCLASS    LIKE TADIR-DEVCLASS.
C O N S T A N T S                                                    *
CONSTANTS:
           GC_F     LIKE TRDIR-SUBC   VALUE 'F',
           GC_R3TR  LIKE TADIR-PGMID  VALUE 'R3TR',
           GC_FUGR  LIKE TADIR-OBJECT VALUE 'FUGR',
           GC_SMOD  LIKE TADIR-OBJECT VALUE 'SMOD',
           GC_PROG  LIKE TADIR-OBJECT VALUE 'PROG'.
R A N G E S                                                          *
RANGES:
  GR_VKORK      FOR  WKBP-VKORG.
E V E N T   P R O C E S S I N G                                      *
INITIALIZATION.
AT SELECTION-SCREEN.
  SELECT SINGLE PGMNA
    INTO TSTC-PGMNA
    FROM TSTC
    WHERE TCODE = P_TCODE.
  IF SY-SUBRC <> 0.
    MESSAGE E899(MM)
      WITH TEXT-E01    " Input Transaction Code is Invalid.
           TEXT-E02.   " Please Correct !!
  ENDIF.
  SELECT SINGLE TTEXT
    INTO TSTCT-TTEXT
    FROM TSTCT
    WHERE SPRSL = SY-LANGU
      AND TCODE = P_TCODE.
START-OF-SELECTION.
  CLEAR GV_DEVCLASS.
  SELECT SINGLE DEVCLASS
    INTO GV_DEVCLASS
    FROM TADIR
    WHERE PGMID  = GC_R3TR
      AND OBJECT = GC_PROG
      AND OBJ_NAME = TSTC-PGMNA.
  IF SY-SUBRC <> 0.
    SELECT SINGLE SUBC
      INTO TRDIR-SUBC
      FROM TRDIR
      WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC = GC_F.         " Function Group
      SELECT SINGLE FUNCNAME
        INTO TFDIR-FUNCNAME
        FROM TFDIR
        WHERE PNAME = TSTC-PGMNA.
      SELECT SINGLE AREA
        INTO ENLFDIR-AREA
        FROM ENLFDIR
        WHERE FUNCNAME = TFDIR-FUNCNAME.
      CLEAR GV_DEVCLASS.
      SELECT SINGLE DEVCLASS
        INTO GV_DEVCLASS
        FROM TADIR
        WHERE PGMID    = GC_R3TR
          AND OBJECT   = GC_FUGR
          AND OBJ_NAME = ENLFDIR-AREA.
    ENDIF.
  ENDIF.
  SELECT *
    FROM TADIR
    INTO TABLE GT_TADIR
    WHERE PGMID  = GC_R3TR
      AND OBJECT = GC_SMOD
      AND DEVCLASS = GV_DEVCLASS.
  FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
  WRITE:/(19) 'Transaction Code - ',
          20(20) P_TCODE,
          45(36) TSTCT-TTEXT.
  SKIP.
  IF NOT GT_TADIR[] IS INITIAL.
    WRITE:/(95) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
           2 'Exit Name',
          21 SY-VLINE ,
          24 'Description',
          95 SY-VLINE.
    WRITE:/(95) SY-ULINE.
    SORT GT_TADIR BY OBJ_NAME.
    LOOP AT GT_TADIR.
      SELECT SINGLE MODTEXT
        INTO MODSAPT-MODTEXT
        FROM MODSAPT
        WHERE SPRSL = SY-LANGU
          AND NAME = GT_TADIR-OBJ_NAME.
      FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
      WRITE:/01 SY-VLINE,
             02 GT_TADIR-OBJ_NAME HOTSPOT ON,
             21 SY-VLINE,
             22 MODSAPT-MODTEXT,
             95 SY-VLINE.
    ENDLOOP.
    WRITE:/(95) SY-ULINE.
    DESCRIBE TABLE GT_TADIR.
    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.
AT LINE-SELECTION.
  GET CURSOR FIELD GV_FIELD1.
  IF GV_FIELD1(8) = 'GT_TADIR'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST   SCREEN.
  ELSE.
    MESSAGE I899(MM)
      WITH TEXT-I01    " Click on the Exit Name to Drill-Down
           TEXT-I02.   " to SAP Enhancement Information.
  ENDIF.
END-OF-SELECTION.
TOP-OF-PAGE.
S U B R O U T I N E S                                                *
E N D   O F   R E P O R T  ****************************************

Similar Messages

  • Find out user exits which should trigger while saving billing doc.(VA01)

    Hi All,
    please can u help me to find out user exits which should trigger while saving billing documents for VA01 transaction...I have already z report to find the user-exit for any transaction.I have tried in that also.
    Reply
    Ulhas

    Hi
    Try these
    USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)                    
    The internal number range used in the standard system is specified                
    in the billing type table and can be changed in this user exit. This              
    user exit is only called when the billing documents is created.                                                                               
    USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program                       
    RV60AFZZ)                                                                         
    In this user exit additional fields for account determination that                
    are not provided in the standard system are copied into                           
    communication structure KOMKCV (header fields).                                                                               
    USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)                               
    In this user exit additional fields for account determination that                
    are not provided in the standard system are copied into                           
    communication structure KOMPCV (item fields).                                                                               
    USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program                     
    RV60AFZC)                                                                         
    Depending on the number range, table TVFKD is used to set the                     
    billing date (country-specific requirments in Italy).                             
    USEREXIT_NUMBER_RANGE is automatically deactivated when this user                 
    exit is being applied.                                                                               
    USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)                  
    This user exit is only called when the billing document is created.               
    It is used to provide the header and the item of the new billing                  
    document with deviating or additional data.                                       
      USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)                    
      Printing the item line of a billing document can be supplemented or             
      changed.                                                                               
    USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)                     
      Printing the header line of a billing document can be supplemented              
      or changed.                                                                               
    User exits in program RV60AFZD                                                  
      Short descriptions of the user exits are contained in the program:                                                                               
    -   USEREXIT_RELI_XVBPAK_AVBPAK                                                                               
    -   USEREXIT_NEWROLE_XVBPAK_AVBPAK                                                                               
    -   USEREXIT_NEWROLE_XVBPAP_AVBPAK                                                                               
    e following user exits are available in report SAPLV60B for transfer              
    accounting (function group V60B):                                                                               
    EXIT_SAPLV60B_001: Change the header data in the structure acchd                
      You can use this exit to influence the header information of the                
      accounting document. For example, you can change the business                   
      transaction, "created on" date and time, the name of the person who             
      created it or the transaction with which the document was created.                                                                               
    EXIT_SAPLV60B_002: Change the customer line ACCIT                               
      You can use this exit to change the customer line in the accounting             
      document. This exit is processed once the ACCIT structure is filled             
      in with data from document header VBRK.                                                                               
    EXIT_SAPLV60B_003: Change the customer line in costing                          
      The customer line is filled in differently for costing. You can use             
      exit 003 to influence the ACCIT structure.                                                                               
    EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add          
    information to a GL account item (such as quantity specifications)     
    with this exit.                                                                               
    EXIT_SAPLV60B_005: User exit for accruals                              
    Once all relevant data for accruals was entered in the GL account      
    item, you can add to this data with this exit.                                                                               
    EXIT_SAPLV60B_006: Change the control line ACCIT                       
    You can use exit 006 to add information to the control line.                                                                               
    EXIT_SAPLV60B_007: Change the installment plan                         
    You can use exit 007 to add information to the installment plan        
    parameters in the GL account item.                                                                               
    EXIT_SAPLV60B_008: Change the transfer structure ACCCR, ACCIT and      
    ACCHD                                                                  
    After the accounting document is filled in with data, you can use      
    exit 008 to change the document once again.                                                                               
    EXIT_SAPLV60B_010: Item table for customer lines                       
    You can use exit 10 to influence the contents of customer lines        
    before they are created.                                                                               
    EXIT_SAPLV60B_0011: Change the parameter for cash account              
    determination or reconciliation account determination                  
    You can use this exit to change inbound parameters in order to         
    influence account determination.                                       
    >                                                                      
    Thanks
    Shiva

  • What are the user-exits which will trigger on saving Sales Order

    Hello Experts!!!
    I am working on Sales Order VA01. The requirement is I need to pre populate Sold-to-Party field. I find out user-exit (V45A0002  Predefine sold-to party in sales document  ). So it is working fine.
    Now second requirement is I need to capture all the date once user saves Sales Order. Also the time or Sales Order creation I have to make u2018GRAYu2019 some of the fields so user cannot change the value. Can anybody tell me which user-exits should I use to retrieve the entire information user entered and lock fields in Sales Order screen?
    Thanks a lot on advance.

    Hi
    U can't find it there,because it's a include, not enanchement.
    So u need to use the trx SE38, not CMOD.
    For sales ored there aren't the enanchements, but only some FORMs defined in particular includes.
    U need to get the access key by OSS in order to change them.
    These are the rest of the includes where u can find other exits:
           INCLUDE MV45ATZZ.            " Data definitions in MV45ATOP
             INCLUDE MV45AOZZ.             " User-modules PBO
             INCLUDE MV45AIZZ.             " User-modules PAI
             INCLUDE MV45AFZA.             " User-forms < 3.0
             INCLUDE MV45AFZB.             " User-forms
             INCLUDE MV45AFZC.             " User-forms < 3.0D
             INCLUDE MV45AFZD.             " User-forms   3.0E
             INCLUDE MV45AFZF.             " User-forms   3.0F
           include mv45afzg.             " User-forms   3.1G
             INCLUDE MV45AFZH.             " User-forms   4.6B
             INCLUDE MV45AFZZ.             " User-forms
             INCLUDE MV45AFZ4.             " User-forms   4.0
    Anyway u can find some information about these exit in customizing (trx SPRO):
    Sales and Distributions->System modifications->User exits
    Max

  • Can we debug the USER EXITs

    Hi,
          This is Krishna. Can we Debug the User exits. If possible, how to debug and what r the user exits can we debug.
      If any one knows, pls help me.
      Thanx in advance.
    Regards,
    Krishna.

    Hi,
    Write one of these statements in ur user exit code.
    break-point
    or
    break <URID>
    Thanks
    mahesh

  • How can I find the USer Exit...

    Hi,
    How can I find the USer Exit...
    I need to do changes for this User Exit :EXIT_SAPLKEII_002
    In which T-code I can open this Exit
    Ex: Go to some Transcation code and then give the name of the Exit ato access this Exit
    ...any sugesstions will be apprecaited!
    Thanks & Regards,
    Kittu

    Hi,
        the EXIT : EXIT_SAPLKEII_002 is the exit,in this SAPLKEII is the standard Program.Copy this program and go to transactio SE38 and press Enter and then go for the option Where used list and check the check box Transaction. It displays the possible Transactions that the Exit triggers
    Regards,
    Vijaya Lakshmi.T

  • Can i Know the predefined class Which DoesThe same function As  of Describe

    Hi Abapers,
                            Can i Know the predefined class Which DoesThe same function As  of   Describe  Key Word.
    With Regards
    Bhaskar Rao

    I cannot find a method or property in ACEDAO to retrieve the precision and scale of a field. Maybe you could try get the number of a decimal type and use some mathematical methods to get the precision.
    I find there are some way to get the precision by ADO or OLEDB.
    For ADO way, you could check this thread:
    https://social.msdn.microsoft.com/Forums/office/en-US/883087ba-2c25-4571-bd3c-706061466a11/how-can-i-programmatically-access-scale-property-of-a-decimal-data-type-field?forum=accessdev
    For OLE DB , you could use IColumnsInfo::GetColumnInfo to get DBCOLUMNINFO::bPrecision.
    https://msdn.microsoft.com/en-us/library/windows/desktop/ms722704(v=vs.85).aspx
    Also people in C++ may not familiar with access development, the
    Access for Developers forum is good place for access develop issue. You could try there.
    Hope this helps some.
    Shu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Need to know the user exit to change unlimited check box in delivery tag

    Need to know the user exit,
    To change the <b>unlimited check box(</b>EKPO-UEBTK) in <b>delivery tag</b> of <b>item details</b> for tcode <b>ME21N/ME22N</b> on <b>SAVE</b>. 
    Thanks in Advance.
    Baburaj

    HI Baburaj,
    Use the BADI ME_PROCESS_PO_CUST to change the unlimited check box(EKPO-UEBTK)
    Implement the BADI and insert the code in the method PROCESS_ITEM
    Example code :
    *Data Declarations
    DATA: ls_mepoitem TYPE mepoitem,
          ls_mepoitemx type mepoitemx,
            ls_customer TYPE mepo_badi_exampl,
            ls_tbsg     TYPE tbsg.
      INCLUDE mm_messages_mac. "useful macros for message handling
    *here we  get item data
      ls_mepoitem = im_item->get_data( ).
    *work area for price value
    data : begin of it_eban,
      banfn type  mepoitem-banfn,
      bnfpo type  mepoitem-BNFPO,
      pries type mepoitem-NETPR,
    end of it_eban.
    *Get the Purchase requisition price from EBAN table
    select single banfn bnfpo preis from eban into it_eban
                                            where
                                              banfn = ls_mepoitem-banfn
                                          and bnfpo = ls_mepoitem-bnfpo.
    *if entry is available.
    if sy-subrc eq 0.
    *check if price is zero
        if it_eban-pries EQ 0.
    *if zero, set FREE field of PO to 'X'.
          ls_mepoitem-uebtk = 'X'.
        endif.
        endif.
    *Set updated fields
    CALL METHOD im_item->set_data
    EXPORTING
    im_data = ls_mepoitem
    Reward if Helpful*****

  • How can i find the file to which Session Manager has saved my session ?

    How can I find the file to which Session Manager has saved my session ?
    == This happened ==
    Every time Firefox opened
    == User Agent ==
    Opera/9.80 (Windows NT 6.0; U; en) Presto/2.5.24 Version/10.53

    From
    http://support.apple.com/en-us/HT4946
    Where your backups are stored
    The folder where your backup data is stored depends on your computer's operating system. Make sure the backup folder is included in your data-backup routine. iTunes places the backup files in these places:
        Mac: ~/Library/Application Support/MobileSync/Backup/
        The "~" represents your Home folder. If you don't see Library in your Home folder, hold Option and click the Go menu.
        Windows Vista, Windows 7, and Windows 8: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
        To quickly access the AppData folder, click Start. In the search bar, type %appdata%, then press Return.
        Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
        To quickly access the Application Data folder, click Start, then choose Run. In the search bar, type %appdata%, then click OK.
    See here for how to backup
    Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support

  • Hi Experts need to know the user exit how to find out MV50AFZ1

    Hi experts,
    How to find the user exit i already tried with cmod ->utilities-> find exit and giving package name but not getting it please can u tell how to find it MV50AFZ1
    Regarding
    anil

    HI,
    Chek the following Exits..
    Exit Name           Description
    V02V0001            Sales area determination for stock transport order
    V02V0002            User exit for storage location determination
    V02V0003            User exit for gate + matl staging area determination (headr)
    V02V0004            User Exit for Staging Area Determination (Item)
    V50PSTAT            Delivery: Item Status Calculation
    V50Q0001            Delivery Monitor: User Exits for Filling Display Fields
    V50R0001            Collective processing for delivery creation
    V50R0002            Collective processing for delivery creation
    V50R0004            Calculation of Stock for POs for Shipping Due Date List
    V50S0001            User Exits for Delivery Processing
    V53C0001            Rough workload calculation in time per item
    V53C0002            W&S: RWE enhancement - shipping material type/time slot
    V53W0001            User exits for creating picking waves
    VMDE0001            Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002            Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003            Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004            Shipping Interface: Message SDPACK (Packing, Inbound)

  • How can I know the user utility?

    Dear all,
    I know I can query "sys.v_$session" table to know the user login, but how can know the user utility like the process they are running etc??
    Please advice,
    Amy

    Do not use sys.v_$session, use v$session. Oracle doesn't guarantee the existence of the base tables.
    For the rest, your question is a doc question.
    You can issue
    desc v$session
    in sql*plus
    or lookup the description for v$session in the Oracle Reference Manual for your version.
    Doing this is way more efficient compared to asking volunteers to look up this info.
    On the contrary, it demonstrates you are not prepared to do your own work.
    Sybrand Bakker
    Senior Oracle DDA

  • Can I know the user expires days?

    As we know, I can set the user expires days in the security manager. If the user password expired, he cannot login the dashboard.
    However, now I want to notify user that his password will expire before the date. So now, I want to ask is there any system variable about the user expires days? Then I can show it on the dashboard when user login. Or are there any other ways to do that?
    Thanks
    Larry

    Hi:
    Sorry to bring this thread back.
    In the Query Repository tool, I can search all users. But there are no information about the expires date/days. Now that biee can expired the user password, I think there must some where to save the pasword created date or days before password expired. Is it possible to get these information in rpd?

  • User exit to input Cost center in Billing document

    Hi all,
    My requirement is I need to get the cost center value in accounting document ( FB03)
    Actually a contract is getting created and a billing document is generated and saved.
    There is no cost center in contract creation screen (VA41)but it is visible in billing document(vf01)  in grey mode.
    Now my requiremnt is based on contract type ,distribution channel, sales org. and division I need to pick the cost center and should get display the value in accounting document(fb03).
    For this do I need to go for user exit ? If yes then where should I write it ?
    In Contract creation screen(VA41) or in the billing document screen? and plz guide me the program name and User exit,
    or is there any other solution for this?
    Plz answer

    I think you have to try from the Txn VF01 and the below are the BAdi and method details
    Check the BAdi SD_CIN_LV60AU02 in the method EXCISE_INVOICE_CREATE check the importing parameter of the method
    XVBRP     Importing     Type     VBRP_TAB

  • I can not fint the texture files, which should have been installed with the CS6 and CC? why?

    I installed Photoshop CS6 a while back. Later on I discovered that the texture files where missing, or not included? Later I installed Photoshop CC, to see if the texture files were included here. But no, it was not. As far as I concern, I know that the texture files are included, and should have been installed, but they were not. Someone have any idea why?

    In Photoshop CC 2014, Filter Gallery opens the dialog below, and "Texture" is the last folder.

  • Determine which validation step called the user exit, possible?

    Hello all,
    We have a a validation with different steps that use the  same user exit in their respective check.
    My functional analyst asked me if there is a way to programmatically determine in the user exit which step is executing the user exit.
    So I am asking the same question here.
    As an example:
    Validation FI100 has step 001,  002, and 003.
    Each of these steps use the user exit U100 from module pool ZGGBR001 in their check.
    I haven't found a way in the code of U100 to determine which step called U100.
    Does anyone know if this can be done?
    I have used the following technique to get a variable from the program's call stack.
    data: var_name(30) type c value '(Z_CALLING)VARIABLE' .
    field-symbols: <fs> type any.
      assign (var_name) to <fs>.
      write: / 'Variable from Z_CALLING', <fs>.
    But I'm not sure how this might work with validation steps/user exits.
    Thanks
    Bruce

    Vinod,
    I did some debugging after I posted my question.  I came to the same solution, use FM 'SYSTEM_CALLSTACK'.
    VALCHCK_2FI100##001
    loop at i_callstack into w_callstack
                        where EVENTNAME+0(9) = 'VALCHCK_2'.
    FI110 is the validation
    001    is the step
    Thomas,
    Thanks for the caveats. 
    Bruce

  • User Exit which is triggered when we do the posting to accounting

    Dear Guru,
    Can any one provide list of User Exits which are triggred while Posting in accounting happens via MM transaction?
    Regards,
    Sandeep

    Hello
    Go through the link
    http://www.easymarketplace.de/userexit.php
    Regards

Maybe you are looking for