Hi is there any code for user exits in bw

can you help me out with user exits in bw reporting pls
http://abapcode.blogspot.com

Hi Amit,
  i have good document for user exits in bw. pls send me ur email i will send the document.
hope that will help you to resolve.
<b>Reward pts if found usefull:)</b>
Regards
Sathish

Similar Messages

  • Code for user-exits

    hey guys i want the code for user-exits for  inclusion of Excise Chapter ID mandatory in PO .....
    regards,
    Naveen

    which user exit u are using ?
    check the BADI for the same .
    SE15->Enhancements->BADI--->definations -
    >search on Package = ME.
    and see BADI definition called Process _cust.
    Regards
    Peram

  • T code for User exits.

    hai all MM gurus,
    How to find out the user exits for any Tcodes or for any documents?.

    for this there is a user written program called "zuserexit" which will be available. Run the program & give Tcode as input u ll get all exits for that.
    http://www.sap-img.com/ab038.htm
    Finding the user-exits of a SAP transaction code
    Finding the user-exits of a SAP transaction code
    Enter the transaction code in which you are looking for the user-exit
    and it will list you the list of user-exits in the transaction code.
    Also a drill down is possible which will help you to branch to SMOD.
    Written by : SAP Basis, ABAP Programming and Other IMG Stuff
                 http://www.sap-img.com
    report zuserexit no standard page heading.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
             tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    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 eq enlfdir-area.
                move : tadir-devclass to v_devclass.
              endif.
           endif.
           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.
    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.
    *---End of Program

  • Dummy code for user exit in COPA

    Hi,
    Can anybody provide me with a dummy code for the above, the requirement is as under ;
    While running profitability analysis report the system is valuating production and material cost even
    against sales order which are purely rate variation debit notes. The valuation for production and material
    cost in such cases should be nil.The rate variation sales orders have document type either as VI or VH
    For this the relevant user exit is  COPA0002 and the component is "EXIT_SAPLKEAB_004". What
    source code do we have to write in the user exit to fulfill the above requirement and how do we activate
    it?
    Regards
    Milind Nair

    User Exit is EXIT_SAPMV45A_005. Go to CMod, create a new project , under enhancement give V45A0004. In ZXVVAU11 ,
    data: WA_VBAP TYPE VBAP,
    lv_matnr type matnr,
          lv_matnr1 type matnr.
    sort t_vbap by matnr.
    IF  sy-tcode = 'VA01'
    AND ( sy-ucomm = 'SICH' ) .
    loop at t_vbap INTO WA_VBAP.
        lv_matnr = t_vbap-matnr.
    if lv_matnr = lv_matnr1.
    message 'Material number duplicated ' with type 'E'. (Pass the material number as parameter in message, so user can know which material number got ).
    else.
    continue.
    endif.
        lv_matnr1 =   lv_matnr.
    clear lv_matnr,WA_VBAP.
               endloop.
    endif.
    Message was edited by:
            DEBOPRIYO MALLICK

  • Code for user-exit in VA01

    Hi all!
    I need help regarding coding for the following:
    While creating sales order if the user repeates the same material no. again the system should give a warning. The warning should get triggered when user enters material no. , quantity and  presses ENTER button . 
    Please tell me how to write the code for the same.
    Thanks in advance.
    Regards,
    Pallavi.

    User Exit is EXIT_SAPMV45A_005. Go to CMod, create a new project , under enhancement give V45A0004. In ZXVVAU11 ,
    data: WA_VBAP TYPE VBAP,
    lv_matnr type matnr,
          lv_matnr1 type matnr.
    sort t_vbap by matnr.
    IF  sy-tcode = 'VA01'
    AND ( sy-ucomm = 'SICH' ) .
    loop at t_vbap INTO WA_VBAP.
        lv_matnr = t_vbap-matnr.
    if lv_matnr = lv_matnr1.
    message 'Material number duplicated ' with type 'E'. (Pass the material number as parameter in message, so user can know which material number got ).
    else.
    continue.
    endif.
        lv_matnr1 =   lv_matnr.
    clear lv_matnr,WA_VBAP.
               endloop.
    endif.
    Message was edited by:
            DEBOPRIYO MALLICK

  • Any BADI or USER EXIT for Authorization check in ME51N

    Dear MM Gurus,
    My requirement is to assign Authorization to the User to create Purchase requisition based on the combination of Plant and Storage location. Is there any BADI or User Exit available to achieve this?
    Regards
    Yoga

    hi,
    > Its not possible to have the authorization for PR at storage location level...
    > you can have authorisations for Puchase organisation EKORG, plantWERKS, puchase group EKGRP, puchase document type BSART ...
    > and authorisations objects are:
    >M_BANF_BSA :   Document Type in Purchase Requisition
    > M_BANF_EKG :  Purchasing Group in Purchase Requisition
    > M_BANF_EKO :  Purchasing Organization in Purchase Requisition
    > M_BANF_FRG :  Release Code in Purchase Requisition
    > M_BANF_WRK :  Plant in Purchase Requisition
    Regards
    Priyanka.P
    Edited by: Priyanka Paltanwale on Apr 27, 2009 3:01 PM

  • Is there any tool for developing Postscript code ?

    Hi Friends,
    Is there any tool for developing Postscript code ? (or)
    Is there any IDE for Postscript ? (or)
    Thanks & Regards,
    Navaneeth Sivappan

    Hi Navaneeth,
    > is there any tool for developing Postscript code ?
    An interpreter (GS or Dist), an ascii text editor and your PS skills ;-)
    > is there any IDE for Postscript ?
    Take a look in this Sourceforge project...
    http://sourceforge.net/projects/wxghostscript/
    ...is a Ghostscript debugger.
    MaRC anToni Malagarriga i Picas
    T·(34)938721642 | (34)667517069
    (][ www.femfum.com
    PostScript&PDF Tool Developers
    Desenvolupadors d'Eines PostScript i PDF

  • Is there a badi or user exit for including new field in XK01 ?

    Hi
    We have a legal requirement for incluiding new field in T/C XK01, is there a badi or user exit wich help it?
    Thanks in advance.
    Moderator message: please (re)search yourself first.
    Edited by: Thomas Zloch on Dec 16, 2010 4:01 PM

    Can anyone provide the documentation for this BADI? Also, I'm concerned about the layout of the screen. Can this BADI do the necessary changes on the layout of the screen?
    Thanks!

  • Is there any code example for "Web Survey"?

    Hi buddies,
    In the standard SRM Web Survey scenario, the experts submit questionnaire online. But our custmer want it offline.
    So we use offline Adobe Forms, the problem is after we get the data by uploading the offline PDF, how we put the data into the standard Web Survey. Is there any function moudle , BAPI, class for this purpose?  Is there any code example?
    Thanks!
    Hao

    I have tried to write some report using pch logical database and successed.
    在报表自身中,从 GET OBJEC 点,作为规定,数据库驱动程序将文件 PLOG 中的选定的选择恢复为规定的并检查权限。
    指令 TABLES 中结构声明是前提。若除了结构 OBJEC,还定义结构 GDSTR,则将结构评估的参数添加到标准选择屏幕。这可以通过评估路径进行结构评估。
    REPORT  ZPHC_TEST.
    TABLES : objec.
    infotypes: 1000.
    INITIALIZATION.
    START-OF-SELECTION.
    get objec.
    WRITE : p1000-objid.
    end-of-SELECTION.

  • Is there any hope for mac user

    i got the zen vision m 30 gig for xmas and just this week i got a mac computer... i tried to load the software to the mac but i think that since its for pc that i cant use it.. is there any help for me...
    tom

    Hello kpratta,
    There is some hope. I have heard of someone putting the ipod in a bag of dry rice and putting the bag in a dark place for a 4-5 days. After that they used this:
    www.apple.com/support/ipod/five_rs/
    This has the best chance. The rice absorbs any liquid in the ipod.
    Hope this helps.
    ~Julian

  • Is there any userexit for MIR7 and   MIRO transaction?

    Hai friends,
           Is there any userexit for MIR7 and MIRO transaction at the time of pressing "save as completed" or "save" button. I want to check the sales certificate and invoice verification for the document number entered in MIR7 and MIRO.
    Regards,
    safiq
    NOTE:useful points will be rewarded.

    hi,
    these r the exits related to mir7.
    Transaction Code - MIR7                     Park Invoice
    Enhancement/ Business Add-in            Description
    Enhancement
    LMR1M001                                User exits in Logistics Invoice Verification
    LMR1M002                                Account grouping for GR/IR account maintenance
    LMR1M003                                Number assignment in Logistics Invoice Verification
    LMR1M004                                Logistics Invoice Verification: item text for follow-on docs
    LMR1M005                                Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006                                Logistics Invoice Verification: Process XML Invoice
    MRMH0001                                Logistics Invoice Verification: ERS procedure
    MRMH0002                                Logistics Invoice Verification: EDI inbound
    MRMH0003                                Logistics Invoice Verification: Revaluation/RAP
    MRMN0001                                Message output and creation: Logistics Invoice Verification
      Business Add-in
    INVOICE_UPDATE                          Business Add-In: Logistics Invoice Verification
    put a break point in each exit,like break username and test the transaction .

  • Answer for user exits question please

    hi,
    this is vishnu vardhan
    1. how many ways are there to see the function modules used of enhancements in user exits?
    2.how to print a script on a news paper for 20 lines ,space and 20 lines?
    3.is there any table for storing the source code of reports and MM flow?
    4.wt is QRFC?
    5. how to work on BAPI and BADI ?

    1. how many ways are there to see the function modules used of enhancements in user exits?
    Ans: 1. You can search the standard program with "CUSTOMER-FUNCTION" tag
            2. If you know the exit name you can go to CMOD
    3.is there any table for storing the source code of reports and MM flow?
    Ans: Explore the SAP Help to know the process flow in MM. For example you can check this link:
    http://help.sap.com/saphelp_47x200/helpdata/en/f0/4228f5a97311d2897a0000e8216438/frameset.htm
    TSTC table contains the list of program names and transaction codes. Donno the table which stores source code. Doubt it exists!
    4.wt is QRFC?
    Master the 5 types of RFCs in ABAP. Check this excellent link:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f078394a-4469-2910-c4bf-853c75674694
    5. how to work on BAPI and BADI ?
    Check these links:
    http://www.allsaplinks.com/bapi.html
    http://www.allsaplinks.com/badi.html
    And many more in this forum to search.
    Hope the above stuff helps you...
    Thanks,
    Santosh

  • Field Status by Transaction code or User Exit

    Hi all,
      Is it possiblee to change field status group according to transaction code and GL account? Any configuration or user exit?
      For example, transaction FB01 account 100000 using Field status group A and transaction FB60 account 100000 using field status group B.
      Or is there any user exit to change the screen of FI transaction?
    Thanks,
    Phon

    Maybe you could try with FI Validations...Tx. <b>OB28</b>
    Greetings,
    Blag.

  • Value for user-exit variable  is invalid

    Hi Gurus,
    My Value for a Fiscal Year Prd returns a invalid value for the 12th month of each year( for Example 12/2004, returns the error "Value 200313 for User-exit variable is invalid.
    This is the code that is being used.
    *Rolling 12 months for entered month
    when 'ZCALM12'.
          clear: v_mth, v_yr.
          REFRESH E_T_RANGE.
          CLEAR L_S_RANGE.
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
                   WHERE VNAM = 'ZCALMON'.
            exit.
          endloop.
          v_yr = LOC_VAR_RANGE-LOW+0(4) - 1.
          v_mth = LOC_VAR_RANGE-LOW+4(2) + 1.
          L_S_RANGE-SIGN = 'I'.
          L_S_RANGE-OPT = 'BT'.
          concatenate v_yr v_mth into L_S_RANGE-LOW.
          L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW.
          APPEND L_S_RANGE TO E_T_RANGE.
    Thanks in Advance.

    Hi Ravi,
    when 'ZCALM12'.
    clear: v_mth, v_yr.
    REFRESH E_T_RANGE.
    CLEAR L_S_RANGE.
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'ZCALMON'.
    exit.
    endloop.
    <b>-->> Here, you are not checking any thing.</b> <i>On which logic you are reducing year by one and increasing month by 1..?</i>
    v_yr = LOC_VAR_RANGE-LOW+0(4) - 1.
    v_mth = LOC_VAR_RANGE-LOW+4(2) + 1.
    -->><i>IF month is 200512 you will get output from above code is :</i> please check.
    v_yr = 2005 - 1 = 2004
    v_mth = 12 +1 = 13.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    concatenate v_yr v_mth into L_S_RANGE-LOW.
    L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW.
    APPEND L_S_RANGE TO E_T_RANGE.
    Try to debug the code by keeping break point after When. and execute the report, you will be debugging mode.
    Hope it Helps
    Srini

  • Need help for user exit mereq001

    Hi,
    I need help for user exit mereq001. I think I messed up with include table CI_EBANDB and CI_EBANMEM. And When I tried to check the syntax . It gives me error like : <b>Class IF_PURCHASE_REQUISITION. Inconsistency in the dictionary for the structure mereq_item_s_cust_data.</b> Anyone had experience for this exit? I just need to extract costcenter information of the each item from the requisition and block the requisiton if the costcenter are differents from each other before the requisition is saved. Any one has idea about it?
    Thanks.

    biao,
    Have you checked this struture consistency from SE11. Also check the activation log.
    If there are any errors and you are not able to rectify the same use RSDDCHECK program, give your table name and run the report.
    This will list down the error structures releated this table and also prompts for you to activate it.
    Regds
    Manohar

Maybe you are looking for

  • How does one merge existing IPhoto 11 Libraries on an External HD?

    I have an IPhoto 11 Library on my IMAC.  I have multiple IPhoto Libraries on my external HD.  I use Snow Leopard 10.6.8, IPhoto 11 (v. 9.2.3). I am not sure how I got them, other than Apple at one point backed up all my files onto my external Seagate

  • At a loss - Two Sr. Tech's have abandoned me, still no synch

    Purchased my iPad 64GB in late June, got it up and running and promptly went on vacation. Gone for almost two weeks, created some files while away that were important to me. Returned home, plugged in to sync, but first it saw it as a new iPad. Replug

  • How do you set up your server to use Adobe Drive (alfresco to Hyper-V)...

    Hi, We have been gradually using Adobe Illustrator CS6 in a team environment and, after having files on the server, found that we were stepping on one another i.e. losing work.  The forum explained the pro's and con's of this arrangement; Adobe drive

  • Linking within a PDF file in preview

    Maybe I am just missing something here. I cannot find anywhere in the preview application in Mountain Lion a way to link to other parts of the PDF file. This was one of the most useful features to me within preview. There was a plain as day button un

  • Apple TV error 3902

    My atv is 3 months old and will not connect to my wifi.  I get error code 3902.  It previously worked great and now nothing.  My other apple products work fine on my wifi.  Has anyone else had this problem?