How to create User Exits in ECC 6

Hi Experts,
good day, i'm looking for any notes or learning materials on how to create User Exits in ECC 6. please send me the links.
thanks you for your usual support.

Hello,
For information on Exits, check these links
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
Any Basics u wana know abt Enhancements.,.,go through the link.,
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
Thanks,
Swati

Similar Messages

  • How to create user exit for MIGO check  "item OK" Field select/unselect?

    Hi All,
       I want to know User Exit for MIGO Screen. when I click check button it will be show "Item OK " Field select or not.
    MIGO Screen post if Item ok field select both parent id and line id . otherwise it will be show error message?.
    Can Please  every one tell me how to do user exit for MIGO?
    mail id: [email protected]
    thanks,
    S.Muthu,

    Hi,
    check the BADI <b>MB_MIGO_BADI</b> ( method: POST_DOCUMENT).
    COMD enhancment <b>MBCF0005</b>
    Regards

  • How to create user exit search help

    Hi,
    I have created a search help from se11 with a field (PT9653-ZDOCENTE) of table control.
    Now I want to fill another field (PT9653-ZMATERIA) of table control  when the user select a value in the search help.
    How do I do it?
    I read that I must use a user exit, is it correct?
    could you give me some examples?

    I have created a exit that should upgrade the second field with the function 
        dynpvaluetab2-fieldname = 'PT9653-ZDOC_TXT'.
        WRITE wa_nome TO dynpvaluetab2-fieldvalue.
        dynpvaluetab2-stepl = sy-stepl.
        APPEND dynpvaluetab2.
        CLEAR   dynpvaluetab2.
    CALL FUNCTION 'DYNP_VALUES_UPDATE'
          EXPORTING
            dyname     = 'MP965300'
            dynumb     = '2000'
          TABLES
            dynpfields = dynpvaluetab2.
    but it is not work.
    Instead, if the first use F4IF_INT_TABLE_VALUE_REQUEST to see the search help and then the DYNP_VALUES_UPDATE to update the other fields work.
      SELECT objid stext FROM hrp1000
        INTO CORRESPONDING FIELDS OF TABLE tab_materie
      WHERE plvar EQ '01'
       AND otype EQ 'ZM'.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'OBJID'
          dynpprog        = sy-repid
          dynpnr          = '2000'
          dynprofield     = 'PT9653-ZMATERIA'
          value_org       = 'S'
        TABLES
          value_tab       = tab_materie
          return_tab      = tb_ret_conc
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
      IF sy-subrc <> 0.
        MESSAGE s000(zh) WITH 'Non trovati record per questa selezione'.
      ENDIF.
      GET CURSOR FIELD pt9653-zmateria LINE riga_corrente.
      READ TABLE tb_ret_conc INDEX riga_corrente.
      REFRESH dynpvaluetab.
      dynpvaluetab-fieldname = 'PT9653-ZMATERIA'.
      WRITE tb_ret_conc-fieldval  TO dynpvaluetab-fieldvalue.
      dynpvaluetab-stepl = riga_corrente.
      APPEND dynpvaluetab.
      CLEAR   dynpvaluetab.
      READ TABLE tab_materie WITH KEY objid = tb_ret_conc-fieldval.
      dynpvaluetab-fieldname = 'PT9653-ZMAT_TXT'.
      WRITE tab_materie-stext TO dynpvaluetab-fieldvalue.
      dynpvaluetab-stepl = riga_corrente.
      APPEND dynpvaluetab.
      CLEAR   dynpvaluetab.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          dyname     = sy-repid
          dynumb     = sy-dynnr
        TABLES
          dynpfields = dynpvaluetab.
    bold The problem is that for this field, I need a collective search help , and therefore I can not use the F4IF_INT_TABLE_VALUE_REQUEST. bold

  • How to create user Exits for selecting ranges of the month

    Hi Bw Experts,
    Right now i need to create a user exits for my report which is coming from Infocube which has 12 months and 12 qtys. But if my client want to see the content of the report for e.g 1 to 3 months in selection screen means then we need to create a variable and user exit to accomplish this problem or is there any solution by which we can solve the problem. Try to suggest me and steps to achieve.
    Thanks in advance,

    Hi,
    Thanks for your input. But the questions is 12 amounts and 12 qtys not 12 months sorry for the typoerror. We are not carrying month field. But the User want to see the for e.g 1 to 3 months data means then how it is possible to accomplish this issue. Try to suggest me.
    Thanks in advance
    Message was edited by:
            mano_biw durai

  • How to create User Exit for transaction MB25?

    Hello all,
    I need to add couple of columns to the report generated by transactions MB25 and LP21.
    1) Are there existing user exits which could give me this possibility?
    2) If not, how do I insert or write a user exit to do so?
    Thank you for your prompt reply.
    Ardavan

    Hi,
    check the BADI <b>MB_MIGO_BADI</b> ( method: POST_DOCUMENT).
    COMD enhancment <b>MBCF0005</b>
    Regards

  • Creating user exit

    hi bw gurus,
    can u plz tell me how to create user exit and wats the actual use of it

    Hi Anna varam
    1) Exits are the place where you can ehnace or modify the standard content or create custom objects where they are not delivered by sap in standard format.
    Normally in exit you write your logic for enhancement and modification of standard content.
    2)
    Customer exit --tc SMOD.
    "The R/3 enhancement concept allows you to add your own functionality to SAP’s standard business applications without having to modify the original applications. SAP creates customer exits for specific programs, screens, and menus within standard R/3 applications. These exits do not contain any functionality. Instead, the customer exits act as hooks. You can hang your own add-on functionality onto these hooks."
    Customer exits are implemented in Z-includes and are ENHANCEMENTS to the system.
    User-exits were firstly intended to be developed for the SD module. You make your coding in includes in SAP namespace (e.g MV*). That's why, user exits are MODIFICATIONS to the system. In includes for user exits there are empty subroutines ( generally with the name convention "userexit_...") and you code using global variables of the main program.
    TC CMOD
    the exits are:
    EXIT_SAPLRSAP_001 for transactional data
    EXIT_SAPLRSAP_002 for master data
    EXIT_SAPLRSAP_003 for texts
    EXIT_SAPLRSAP_004 for hierarchies
    But, generally developers use these terms without this distinction. So, someone may mean a "customer exit" when (s)he says "user exit" or vice-versa.
    And SAP Exit are standard business content exit..like variable 0dat in reporting.
    pdf 'enhancements in sap bw' with steps
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e11994d8b5
    also weblogs on enhancement
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    /people/ajay.das/blog/2005/03/28/custom-fields-in-standard-extractors--making-a-mixed-marriage-work--part-12
    (http://www.ko-india.com/content/weblogs/weblog_custom_fields_1.pdf)
    sap help
    http://help.sap.com/saphelp_nw04/helpdata/en/6e/fe6e420f00d242e10000000a1550b0/frameset.htm
    discussion threads
    Enhancement
    User exit
    Hope this helps you
    Regards,
    Thanks = points in SDN
    Message was edited by:
            samara reddy

  • How create User ID in ECC 6 IDES

    Hi Guys,
    I am new to Portal and want to explore.
    Can somebody give the steps to create a User ID in Portal. I have access to SAP IDES ECC6 and in the browser it is asking Userid and Password. I dont have the userid and password.
    Can somebody give me the steps to how to create the first userid in Portal.
    Thanks,
    mini

    Hi Mini,
    Firstly, you should figure out if you have a ABAP stack , a Java Stack or a dual-stack for Portal.
    Initially, in order to get into the portal, you should enter the username and password, which I understand you are not aware of. In this scenario, get in touch with the basis team or whom soever has been responsible for the installation of the NW. Get a hold of atleast the SAP* username and password or the J2EE username and password which they might be aware of.
    Other wise, you will have to enable the emergency sap* user in the config tool and then start creating the rest of the users by assigning userself the user admin role or a super admin role.
    To connect to config tool.
    http://help.sap.com/saphelp_nw04/helpdata/en/ec/9432d189c445cdacdc7e520981b4b6/content.htm
    Edit the property for superadmin.
    For more details, refer to this wiki.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/ep/to%2breset%2badministrator%2bpassword%2bthrough%2bconfig%2btool
    Check this video on how to create users.
    http://www.*********************/enterprise_portal/portal_create_user/portal_create_user.html
    Like wise , you might want to look at the various other videos which will enabe you to understand portal in a better way.
    http://www.*********************/enterprise_portal/enterprise_portal.htm
    Hope this helps.
    Cheers,
    Sandeep Tudumu

  • How to Create Menu Exit

    Hi,
       Please tell me steps for how to create Menu Exit. Please Help me

    MENU EXITS
    Menu exits allow you to add your own functionallity to menus. Menu exits are implemented by SAP, and are reserved menu entries in the GUI interface. The developer can add his/her own text and logic for the menu.
    Function codes for menu exits all start with "+"
    Example
    We want to create a new menu item in the Office menu. The text for the menu should be "Run ZTEST", and the menu will
    run report ZTEST.
    Goto transaction SE43 Area Menu Maintenance
    In Area Menu Paramenter type 'S000' (S triple Zero)
    Select Change and ignore all the warning screens
    Expand the office menu. In the buttom of the office tree you will find a menu named "Customer function"
    Double click on the text. In the pop-up screen change the text to "Run ZTEST". Note that the trsnaction code is +C01
    Goto transaction SE93 and create transaction +C01 that calls report ZTEST.
    Now you will se the menu displayed in the office tree. If you delete transaction +C01 again, the new menu will dissapear.
    There are 'only' 177 Menu exits in standard - I couldn't see the right one, too.
    But you could search the implemented exits, this should be only a small number. Go to transaction CMOD, enter * and F4, information system (F5), show all selections (Shift+F7) and then you can restrict to search only menu exits.
    Of course there is the possibility, that these are added in a different way...
    ... at least you can be sure, if it's a normal menu exit.
    Check this sap help..
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    http://www.sapbrainsonline.com/TUTORIALS/default.html
    You can achieve this functionality by configuring in IMG.
    Please find the info regarding User-Exit's in the following links:
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    Re: doubt on user exits
    user exits and Badis
    User exits is the enhancements provided by SAP
    You can use them in transactions. Each transaction will have user exits.
    If you want to use your own requirements by making your coding while the transaction is run you can use user exits.
    For example if you want to run the MRP in MD02 specific to MRP controller you can user exit.
    Please also refer the document below.
    USEREXIT
    Userxits allow us to add our own functionality to SAP standard program
    without modifying it . These are implemented in the form of subroutines and hence are also known as FORM EXITs. The userexits are generally collected in includes and attached to the standard program by the SAP.
    All Userexits start with the word USEREXIT_...
    FORM USEREXIT_..
    z..
    ENDFORM.
    The problem lies in finding the correct userexit and how to find it if one exists for the purpose. Once the correct userexit is found the necessary customer code is inserted in the customer include starting with the z.. in the form routine.
    e.g. USEREXIT_SAVE_DOCUMENT_PREPARE
    Certain application like SD still provide this form of enhancement using userexit but this practice is no longer being followed for newer extensions instead they are using EXITs which come bundeled in enhancement packages . Neverthiless existing USEREXITS will be supported by SAP an all the newer versions of SAP.
    HOW TO FIND USEREXITS
    Userexits can be found in number of ways:
    1) To find userexits in SD module , goto object navigator(SE80) and select
    development class from the list and enter VMOD in it. All of the userexits in SD are contained in the development class VMOD. Press enter and you will find all the includes which contain userexits in SD for different functions like PRICING, ORDER PROCESSING etc. Select the userexit according to the requirement and read the comment inserted in it and start coding .
    Some examples of userexits in SD(SALES & DISTRIBUTION ) are:
    1)ADDING OF NEW FIELDS IN PRICING
    In Pricing in SD the fields on the basis of which pricing is done are derived from the FIELD CATALOG which is a structure KOMG .This structure is used to transfer transaction data to the pricing procedure in SD and is also known as communication structure.This structure KOMG consists of two tables KOMK for Header related fields and KOMP for item related fields. The fields which are not in either of the two tables KOMK and KOMP cannot be used in pricing .Sometimes a need arises when the pricing is to be based on some other criteria which is not present in the form of fields in either of the two tables. This problem can be solved by using USEREXITS which are provided for pricing in SD. Pricing takes place both when the SALES ORDER ( Transaction VA01) is created as well as when INVOICING ( Transaction VF01) is done.Hence SAP provides 2 userexits ,one for sales order processing which is
    USEREXIT_PRICING_PREPARE_TKOMP or
    USEREXIT_PRICING_PREPARE_TKOMK
    Depending upon which table (KOMK or KOMP) the new fields were inserted we use either of the above two userexits.These userexits are found in include MV45AFZZ of the standard SAP sales order creation program SAPMV45A.
    In the case of userexit which will be called when invoicing is done ,these
    are provided in the include RY60AFZZ which is in the standard SAP program SAPMV45A. The name of the userexits are same. i.e
    USEREXIT_PRICING_PREPARE_TKOMP or
    USEREXIT_PRICING_PREPARE_TKOMK
    These userexits are used for passing the data from the communication structure to the pricing procedure, for this we have to fill the newely created field in the communication structure KOMG for this we fill the code in the above userexit using the MOVE statement after the data that has to be passed is taken from the database table by using the SELECT statement. The actual structure which is visible in these userexits and which is to be filled for that particular field is TKOMP or TKOMK.
    Before the coding for these userexits is done ,it is necessary to create a new field in either of the two tables KOMK or KOMP .For this purpose includes are provided in each of them .
    To create the field in header data(KOMK) the include provided is KOMKAZ
    and to create the field in item data(KOMP) the include provided is KOMPAZ.
    One possible example for the need of creating new fields can be e.g. Frieght to be based upon transportation zone ,for this no field is available in field catalog and hence it can be created in KOMK and then above userexits can be used to fill the transportation data to it.
    2)The other method of finding userexit is to find the word USEREXIT in the
    associated program of the transaction for which we want to determine userexit using SE38.
    3)The other method of finding userexits is to find the include in case of SD/MM applications where the userexits are located ,this can be found in the SAP reference IMG generally in the subfolder under SYSTEM MODIFICATION.
    Some other examples of userexits in SD are:
    USEREXIT_NUMBER_RANGE
    This userexit is used to assign a different internal document number to the
    sales order(VA01) when it is created depending on some criteria like a different SALES ORGANIZAION(VKORG) .
    USEREXIT_SAVE_DOCUMENT_PREPARE
    This userexit is used to insert the ABAP code which will be called when
    the document (sales order VA01) is just about to be saved.This userexit is used generally for custom checks on different fields , to display some information before the order will be saved or for making changes to certain fields before the sales order will be saved.
    Exits & Enhancements
    There are mainly six types of EXITs in sap which have been collected in the form of enhancement packages and attached to standard code in SAP.
    These are different from USEREXIT in the way that they are implemented
    in the form of FUNCTIONs while in USEREXITS we use form routines for their implementation. These are also sometimes known as function exits .
    These start from the word EXIT_ followed by the program name and then followed by a three digit number.
    e.g. EXIT_SAPMV45A_002
    This exit is found in SD in enhancement V45A0002.
    TYPES OF EXITS
    1)MENU EXITS
    2)FUNCTION EXITS
    3)TABLE EXITS
    4)SCREEN EXITS
    5)KEYWORD EXITS
    6)FIELD EXITS
    We use SAP transactions CMOD and SMOD to manage exits. Before implementing an exit , it is required to create the project by using CMOD
    selecting the enhancement e.g. V45A0002 and selecting the component
    (one which fulfills our need) i.e the exit which will be implemented in SMOD and after coding has been done the project has to be activated.
    An exit can be coded only once.
    FUNCTION EXITS
    These are used to add functionality through ABAP code . These start from the word EXIT_programname_NNN ending in a 3 digit number. No access code is required to implement any tupe of exit including function exits.
    The function exits are called from the standard SAP program in the form
    of ABAP statement
    CALL CUSTOMER-FUNCTION 'NNN'
    This is in contrast to USEREXITs where PERFORM statement is used to call
    the required userexit.
    To implement the FUNCTION EXITs first of all the project is created and a suitable enhancement package is selected and from its compnents the function exit to be implemented is selected and on double clicking it the exit code will appear in ABAP EDITOR(se38) where a Z include will be found and the customer code should be entered in this include.
    e.g.
    ADDING A DEFAULT SOLD-TO-PARTY in Sales Order Creation
    To show a default sold-to-party in this field when the user creates a sales order (VA01) we can use a function exit .This function exit is located in enhancement no V45A0002 . Before we can choose the exit we have to create a project in CMOD after that enter V45A0002 in the enhancement field and click on the components . In the components you will see the exit EXIT_SAPMV45A_002 . This exit is used for our purpose.
    Double clicking on this exit will takes us to function builder (SE37) . This
    function exit has one exporting parameters and two importing parameters, we are interested in exporting parameter which is E_KUNNR of type KNA1-KUNNR i.e if we move the desired customer name to this structure(E_KUNNR) it will be shown in the field as the default value when we create the sales order. This function also contains a customer include ZXVVA04 . This include will be used to write our custom code .
    Double clicking on this include and it will prompt us that this include does not exists do you want to create this object ,select yes and the include will be created .In this include we can write our own code that will fill the field E_KUNNR.
    e.g. E_KUNNR = 301.
    Activate the include and Activate the project. Now when ever the SALES ORDER will be created , sold-to-party field will come up with a predefined customer .
    FIELD EXITS
    The field exits are managed,created,activated through program RSMODPRF. The field exit is associated with a data element existing in ABAP dictionary and hence to the screen field using that data element.
    The format of field exit is :
    FIELD_EXIT_dataelement_A-Z or 0-9
    If a particular screen and program name is not specified than the field exit will effect all the screens containing that data element.
    The function module associated with field exit shows two parameters
    INPUT and OUTPUT. Input parameter contains the data passed to the field exit when the field exit was invoked by the R/3 , We can write our own code to change the output parameter depending upon our requirements.
    Before the field exit can have any effect the system profile parameter
    ABAP/FIELDEXIT in all the application servers should be set to YES
    ABAP/FIELDEXIT = YES.
    Reward points Please ...

  • How to create menu exits?

    hi experts can anyone tell how to create menu exits?

    Check these links:
    http://help.sap.com/saphelp_bw21c/helpdata/en/c8/19762743b111d1896f0000e8322d00/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    MENU EXIT
    MENU EXIT
    please explain me menu exit
    Rohit

  • Creating User Exit Variable in BeX

    Hi All,
    Urgent help required.
    I need to create User Exit for a variable which reads value from other variable value which user enter during pop up.
    Ex: I need get value for the vaiable "ZACTFY" from the variable value "ZSCENARI". Value of this ZSCENARI will be like
    200684
    200693
    200757 ....
    where 2006, 2007 specify year of the forecast value and from (200684) the value 8 refers to 8 months actual & 4  refers to 4 months plan values.
    So if ZSCENARI is 200684 the value for the variable ZACTFY should be in interval. i.e Range for low value should be 001.2006 (always month is Jan and year taken from first 4 digits of ZSCENARI) and hight value should be 008.2006.
    No need to worry about plan values for scenario 200684 plan value will be there only for last 4 months.
    1. Can any one tell me how to do coding for this(pls let me know including declaration).
    2. Also if the value for ZSCENARI is Multiple single values lets say the user enters as 200684,200693,200657.. Pls tell me how we can do coding for this.
    Thank You.
    Best Regards,
    Bhuvana.

    Hi,
    CASE I_VNAM.
      WHEN 'ZACTFY'.
       IF I_STEP = 2.
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
            WHERE VNAM = 'ZSCENARI'.
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(4).
            L_S_RANGE-LOW+4(2) = '01'.
            L_S_RANGE-high = LOC_VAR_RANGE-LOW(4).
            L_S_RANGE-high4(2) = LOC_VAR_RANGE-LOW4(1).
            L_S_RANGE-SIGN = 'I'.
            L_S_RANGE-OPT  = 'BT'.
            APPEND L_S_RANGE TO E_T_RANGE.
          ENDLOOP.
        ENDIF.
    With rgds,
    Anil Kumar Sharma .P

  • How to add USER EXIT in CMOD??

    Basically I've copied IDOC_OUTPUT_DELVRY FM code from another system.
    in that code I found user exit (EXIT_SAPLV56K_002).
    Now my lead asked me to add this exit to his project(ZLE_PROJ) in CMOD.
    anyone can help me how to add this exit and activate to ZLE_PROJ please....

    Hi Mr. Bond,
    Please check the sample given below.
    User exits :
    1. Introduction
    2. How to find user exits
    3. Using Project management of SAP Enhancements 
    1. Introduction:
    User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a functionmodule. The code for the function module is writeen by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module.
    The naming standard of function modules for functionmodule exits is: 
    EXIT_<program name><3 digit suffix> 
    The call to a functionmodule exit is implemented as:
    CALL CUSTOMER.-FUNCTION <3 digit suffix>
    Example:
    The program for transaction VA01 Create salesorder is SAPMV45A
    If you search for CALL CUSTOMER-FUNCTION i program
    SAPMV45A you will find ( Among other user exits):
    CALL CUSTOMER-FUNCTION '003'
      exporting
        xvbak   = vbak
        xvbuk   = vbuk
        xkomk   = tkomk
      importing
        lvf_subrc = lvf_subrc
      tables
        xvbfa = xvbfa
        xvbap = xvbap
        xvbup = xvbup.
    The exit calls function module EXIT_SAPMV45A_003
    2. How to find user exits?
    Display the program where you are searching for and exit and search for CALL CUSTOMER-EXIT
    If you know the Exit name, go to transaction CMOD.
    Choose menu Utillities->SAP Enhancements. Enter the exit name and press enter.
    You will now come to a screen that shows the function module exits for the exit.
    3. Using Project management of SAP Enhancements, we want to create a project to enahance trasnaction VA01 .
    - Go to transaction CMOD
    - Create a project called ZVA01
    - Choose the Enhancement assign radio button and press the Change button
    In the first column enter V45A0002 Predefine sold-to party in sales document. 
    Note that an enhancement can only be used in 1 project. If the enhancement is already in use, and error message will be displayed
    Press Save
    Press Components. You can now see that enhancement uses user exit EXIT_SAPMV45A_002. Double click on the exit.
    Now the function module is displayed. Double click on include ZXVVAU04 in the function module
    Insert the following code into the include: E_KUNNR = '2155'.
    Activate the include program. Go back to CMOD and activate the project. 
    Goto transaction VA01 and craete a salesorder. 
    Note that Sold-to-party now automatically is "2155"
    Regards,
    Renjith Michael.

  • How to create customer exit variable

    Hi guys,
    please any one can help for how to create customer exit variabel.
    Regards.

    Hi!
    welcome to SDN.
       its very simple.just go to Bex query designer. there u can use the following <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/ac/789b3c4d4d8d15e10000000a114084/content.htm">Link</a> to create a variable.. but use the processing type user exit.
    after that go to transaction SE37 in BW and opent he function module EXIT_SAPLRRS0_001
    and in that there is a include  ZXRSRU01.... just double click on it and edit that...
    there u can write code for your variable ,...for example write code inside
    case "ZMY_VARIABLE"
    *code for ur variable
    endcase
    u can use the following
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/f1/0a56f5e09411d2acb90000e829fbfe/content.htm">link for help</a>

  • How to create user defined button in alv report

    how to create user defined button in alv report
    thnks in advance.

    Hi,
    U can define it the the PF-STATUS ( Menu for ALV ).
    For that u have to define it in the EVENTCAT.
    form z_eventcat  using    p_i_eventcat type slis_t_event.
      data: i_event type slis_alv_event.
      call function 'REUSE_ALV_EVENTS_GET'
        exporting
          i_list_type     = 0
        importing
          et_events       = p_i_eventcat
        exceptions
          list_type_wrong = 1
          others          = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      clear i_event.
      read table p_i_eventcat with key name = slis_ev_top_of_page into
      i_event.
      if sy-subrc = 0.
        move 'TOP_OF_PAGE' to i_event-form.
        append i_event to p_i_eventcat.
      endif.
      read table p_i_eventcat with key name = slis_ev_pf_status_set into i_event.
      if sy-subrc = 0.
        move 'SET_PF_STATUS' to i_event-form.
        append i_event to p_i_eventcat.
      endif.
      clear i_event.
      read table p_i_eventcat into i_event with key name = slis_ev_user_command .
      if sy-subrc = 0.
        move 'USER_COMMAND' to i_event-form.
        append i_event to p_i_eventcat.
      endif.
    And in the DISPLAY
    call function 'REUSE_ALV_GRID_DISPLAY'
       exporting
         i_callback_program                = v_progname
         i_callback_pf_status_set          = 'SET_PF_STATUS'
         i_callback_user_command           = 'USER_COMMAND'
         i_callback_top_of_page            = 'TOP_OF_PAGE'
         i_grid_title                      = v_gridtitle
         i_save                            = 'A'
         is_layout                         = i_layout
         it_fieldcat                       = i_fieldcat[]
         it_sort                           = i_sortinfo
         it_events                         = i_eventcat
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        tables
          t_outtab                          = it_final
       exceptions
         program_error                     = 1
         others                            = 2
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    *MENU SETTINGS.
    form set_pf_status using rt_extab type slis_t_extab.
      set pf-status 'ALV_MENU'.
    endform.                    "SET_PF_STATUS
    endform.                    " Z_EVENTCAT
    Now double click on ALV MENU nad u can create a button in the application bar.
    Regards,
    Pritha.

  • How to create a package in ECC 6.0.

    Hi,
    Can you tell me how to create a package in ECC 6.0 system?
    Thanks in advance,
    Regards,
    Arnab.

    Hi,
    Thank you for your replies.
    Can you tell me the difference and uses of the two types of package I can create from SE21.
    i.e. : Package and package interface. any sap link would also be helpful. I need to know where i can use what and what would be helpful for my case.
    Regards,
    Arnab.

  • How to create user groups in SAP

    Hello Gurus,
    Can anyone let me know how to create user groups in SAP-HR Module and who will be creating  the user groups.
    plz provide me the steps.

    Hi Stephanie,
    IMG --> Personnel Mgmt --> Personnel Administration --> Basic Setting s --> Maintain User Parameters
    Please refer the below links:
    http://scn.sap.com/thread/1653026
    http://scn.sap.com/thread/1682721
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10eab7af-0e54-2c10-28a5-87b47adbe1a5?QuickLink=index&overridelayout=true&44478681629499
    Thanks,
    Madhav.

Maybe you are looking for

  • I am unable to open video files on this website.

    When I click on video links of the following website--http://tubtub.com/--I receive an error message that reads as follows: "File not found Firefox can't find the file at mms://TITLE.tubtub.com/. Check the file name for capitalization or other typing

  • SSL - Always Prompted with "Request Authentication"

    Hi, We have developed an Applet which works as an Download Manager and we had it signed as it needs to access the file system of the users. We have two deployment environments one over SSL (Entrust) and other Non-SSL. The signed applet works well ove

  • Pass single entry for GRIR clearing

    Dear Expert, I want single entry for GRIR clearing by F.13 in spite of multiple Clearing entries, can anyone tell me how to configure this? Regards, Saurabh Chaplot

  • How to define the Index on the column which is define in view (9i)

    hi all, I have one view which is based on to tables say 'customers' and 'vendors' view definition is like: create or replace view customer_vendor as select customer_name, 'Customer' type from customers union all select vendor_name, 'Vendor' type form

  • Photosmart7150 print issue with iMac

    Printer is installed on Win7 machine and networked through ethernet connection. Whenever I print from the iMac the file expands from a few hundred kilobytes to several megabytes by the time it shows up on the Win machine spooler. The print job then r