USER EXIT- Structure or View as well?

Hello friends i have a quick question.
I created a User exit by adding the ZZfields in the Structure.When i replicated into BW i couldnt see those 3 zz fields.When i went back to the Generic Datasource and checked in 'Display Field List' i see my fields as hide field and field only boxes checked and greyed out.When i actually save the generic datasource it shows me all the fields i can edit but not the ZZ fields.I fi need to unhide them then where from and/or do they need to be added to my View aswell.
Thanks.

hi,
  to see the field in bw u have to uncheck the hide column for that field and only field only column is checked.
now if u are using view/table for extraction u have to add the field to the view.
and it will automaticlay come in extract structure and u do not have to append it.
if function  module than u have to append the field and write user exit for it.
regards
pls assign popints if helpful.

Similar Messages

  • User exit structure

    I have to add some custom fields to a structure of an user exit ... can any one suggest me what is the best way to do this??
    Thanks!

    Hi ,
    See the following steps ;
    Step by step procedure for creating Field Exits
    There are eight steps to creating a field exit:
    Step 1:  Determine Data Element
    Step 2:  Go To Field Exit Transaction
    Step 3:  Create Field Exit
    Step 4:  Create Function Module
    Step 5:  Code Function Module
    Step 6:  Activate Function Module
    Step 7:  Assign Program/Screen
    Step 8:  Activate Field Exit
    Step 1:  Determine Data Element
    -     Before you can begin adding the functionality for a field exit, you must know the corresponding data element.
    -     An easy way to determine the data element associated to a particular screen field is to:
              Go the appropriate screen.
              Position the cursor in the appropriate field.
              Press ‘F1’ for field-level help.
              Click on the ‘Technical info’ pushbutton (or press ‘F9’) on the help dialog box.
              On this Technical Information dialog box, the data element will be specified if the field is 'painted' from the           ABAP/4 Dictionary.
    Step 2:  Go To Field Exit Transaction
    -     The transaction to create field exits is CMOD.
    -     You can use the menu path Tools -> ABAP/4 Workbench -> Utilities -> Enhancements -> Project management.
    -     From the initial screen of transaction CMOD, choose the Text enhancements -> Field exits  menu path.
    -     After choosing this menu path, you will be taken to the field exits screen.  From here, you can create a field exit.
    NOTE :  Even though you use transaction CMOD to maintain field exits, you do not need to create a project to activate field exits.
    Step 3:  Create Field Exit
    -     From the field exit screen of transaction CMOD, choose the Field exit -> Create menu path.
    -      After choosing this menu path, a dialog box will prompt you for the appropriate data element .
    -     Enter the data element name and click the ‘Continue’ pushbutton.
    -     Now, you will be able to create the function module associated to the data element’s field exit.
    Step 4:  Create Function Module
    -     You will automatically be taken to the Function Library (SE37) after entering a data element name and clicking the      ‘Continue’ pushbutton.
    -     In the ‘Function module’ field, a function module name will be defaulted by the system based on the data element      specified.  This name will have the following convention:
                        FIELD_EXIT_<data element>
    -     You can add an identifier (an underscore followed by a single character ).
    -     The first function module for a data element’s field exit must be created without an identifier.
    -     To create the function module, click on the ‘Create’ pushbutton, choose menu path Function module -> Create, or      press ‘F5’.
    -     After choosing to create the function module, you will get the warning:  "Function module name is reserved for      SAP".  This message is just a warning so a developer does not accidentally create a function module in the field      exit name range.  By pressing ‘Enter’, you will be able to go ahead and create the function module.
    -     Before coding the function module, you will have to specify the function modules attributes  --  function group,      application, and short text.
    Step 5:  Code Function Module
    -     From the function module’s attributes screen, click on the ‘Source code’ pushbutton or choose the Goto ->           Function module menu path to the code of the function module.
    -     Here you will add your desired functionality for the field exit.
    -     Remember that field exit’s function module will have two parameters -- one importing parameter called "INPUT"      and one exporting parameter called "OUTPUT".  These parameters will be set up automatically by the system.
    -     You must remember to assign a value to the OUTPUT field.  Even if the value does not change, it must be moved      from the INPUT field to the OUTPUT field.
    Step 6:  Activate Function Module
    -     After coding the function module, you must remember to activate it.
    -     Use the Function module -> Activate menu path to activate the function module.
    -     At this point, you can return to the field exit transaction.
    -     You should be able to 'green arrow' back to this transaction.
    -     When you return to the field exit transaction, you will see an entry for the newly created field exit.
    -     At this point, the field exit is global.  That is, it applies to all screens that use a particular data element.  On any      screen that uses the data element, the corresponding field exit function module will be triggered, once it is active.
    -     Also, the field exit will not be triggered yet because it is inactive.
    Step 7:  Assign Program/Screen
    -     This step is only needed if you want to make a field exit local.
    -     To make a field exit local, select the field exit and click on the ‘Assign prog./screen’ pushbutton.
    -     In the dialog box , indicate the appropriate program name and screen number.
         This information indicates that the field exit is local to the specified screen in the specified program.
    -     In the dialog box, you determine which function module gets executed for the field exit by specifying the identifier      in the ‘Fld. Exit’ field.
    -     If this field is left blank, the function module triggered will be 'FIELD_EXIT_<data element>'.
    -     If a single-character identifier is entered into the field, the function module triggered will be 'FIELD_EXIT_<data      element>_<identifier>'.
    Step 8:  Activate Field Exit
    -     The field exit must be active for it to be triggered by the system.
    -     Activate the field exit by choosing the Field exit -> Activate menu path.
    -     After assigning the field exit to a change request, its status will change to ‘Active’ and it will be triggered           automatically on the appropriate screen(s).
    NOTE : In order to activate the field exit the profile parameter abap/fieldexit = YES must be set on all application servers
    Reward points if hhelpful.
    Regards.
    Srikanta Gope

  • User Exit EXIT_SAPLMGMU_001 doesn't work with all MM views

    Hello,
    I'm using user exit EXIT_SAPLMGMU_001 in MM02/MM01 tcode to check if valuation class is correctly filled and i've a problem when i select all views for material. In MM02, when i select Accounting View, i can make the validation because in user exit, structure wmbew is filled, but if i select all views, only structure wmara is filled, all others structure are empty.
    does anyone can help me in this?
    Thanks

    HI
    CHECK WITH THESE USER EXITS
    MGA00001 Material Master (Industry): Checks and Enhancements
    MGA00002 Material Master (Industry): Number Assignment
    MGA00003 Material Master (Industry and Retail): Number Display
    Hope this helps !!!
    Cheers
    Alfred

  • BAPI , BADI , USER EXIT , FUNCTION MODULE

    Hi Experts
    Can any body pls explain me abt BAPI , BADI , USER EXIT , FUNCTION MODULE  and its uses in details .
    Thanks
    Devashish

    Dear Deba,
    Functional Module:Procedure that can only be defined in function groups and outside of classes. Can be called from all
    programs. Begins with FUNCTION and ends with ENDFUNCTION. Is maintained using the Function Builder of the ABAP
    Workbench.
    Functional Module can be checked using T Code SE37 for a package ,say in standard SAP CS15 will be used for checking
    the where used list for a material and here it can be checked only for one material,in case if we want to check for a list of
    materials a small report can be developed using the fucntional modules like
    CSEP_MAT_BOM_SELECT_WHERE_USED   API Bills of Material: Select BOM(s) (or)
    CS_WHERE_USED_MAT                Bills of material; where-used list
    User Exit:A point in an SAP program where a customer's own program can be called.
    In contrast to customer exits, user exits allow developers to access and modify program components and data objects in the
    standard SAP System. On upgrade, each user exit must be checked to ensure that it conforms to the standard system.
    There are the following types of user exit:
    User exits that use INCLUDEs - These are customer enhancements that are called directly in the program.
    User exits that use tables - these are used and managed using Customizing.
    User Exits can be viewed or checked using the T Code SMOD and using CMOD an user exit will be activated.
    BAdi:
    A template for BAdI objects.
    Business Add-Ins (BAdIs) are the basis for enhancements where BAdI methods in object plug-ins can be called from ABAP
    programs. The calling program controls which BAdI implementations are used by specifying filter values. A BAdI consists of a
    BAdI interface, a set of filters and some settings.
    From Release 7.0, BAdIs are edited in the Enhancement Builder and reside in the global class namepsace. You can switch on
    their implementations via the Switch Framework.
    There are also classic BAdIs, which are edited in the BAdI-Builder and superseded function module exits in Release 4.6.
    Related T Code SE18.
    Regards
    Mangalraj.S

  • Stock placement strategy via user exit

    Hello,
    I'm tring to change putaway strategy by using a user exit.
    In customizing i enter:
    Logistics Execution u2013 Warehouse Management u2013 Strategies u2013 Putaway Strategies u2013 Define strategy for fixed bins.
    Table V_T301S.
    When i enter one of the movements i can put V next to User exit act.
    How can I make the connection between the strategy and the user exit?     
    Thank you,
    Lilah.

    Hi,
    In the ST masterdata (config: WM - Masterdata - Define ST) you must activate the User Exit field for putaway and/or removal for the specified ST you want to use with a user exit. See view: V_T3010-USEIN or Table T331-USEIN. When this indicator is set and you go through the TO creation log, you will see that at some stage there will be an entry where is states that you are using an user exit to place/pick stock.
    Cheers,
    Hein

  • User Exit in Credit Card Authorization

    Is there a user exit that can be invoked whenever a Credit Card Authorization is performed?

    hi
    refer to the link below.. list of user exits
    http://www.easymarketplace.de/userexit.php
    http://www.planetsap.com/userexit_main_page.htm
    ====================
    User Exit structural authorizations: http://help.sap.com/erp2005_ehp_02/helpdata/en/17/8b7f409cd50a1ae10000000a155106/frameset.htm
    Chk Authorizations: http://help.sap.com/erp2005_ehp_02/helpdata/en/2b/fe26406f2c185de10000000a1550b0/frameset.htm
    http://help.sap.com/erp2005_ehp_02/helpdata/en/41/f7c8380ef2c707e10000000a11402f/frameset.htm
    http://help.sap.com/erp2005_ehp_02/helpdata/en/fc/75e43a744ebe14e10000000a11402f/frameset.htm
    http://help.sap.com/erp2005_ehp_02/helpdata/en/51/778838d4687e0ce10000009b38f8cf/frameset.htm
    http://help.sap.com/erp2005_ehp_02/helpdata/en/46/51f0b794b85e40e10000000a11466f/frameset.htm
    Reward if Useful
    Thanx & regards..
    Naren..

  • How To Find A user Exit ...........??

    hello
    experts how can i find a user exit which is not found in a the table modsap??actualy how can i find the include name in SAP standard program if i don get the exit name in table modsap for userexit??
    plz reply
    thanx

    HOW TO FIND USEREXITS
    Hello,
    To add to the above points --->
    1) Option 1 : you don't know the name or dont have any info on user exit
    run T-code : SPRO
    SPRO -> Click SAP Reference IMG -> click in the relevant module eg: SD (sales and Distribution) ->System Modifications -> User exits
    You can view documentation to understand the purpose of that user exit
    It is not that always one can find the user exits under the name "System modifications" but with respect to a module definitely user exits can be found under that module in SPRO
    2) Option 2 : You know the name of the user exit
    Run Tcode : SMOD -> fill in the enhancement name-> click on attributes and then components or directly on components and view the include...if already a code is written in the include,then on double click of include you can see the code...if an existing code is not there and you double click on the include,SAP prompts for a request
    3)Option3: You can use the custom code..which was contributed to SDN
    Create a new report program -> copy the code -> activate -> run
    on the p_tcode : give the name of the tcode for which you need to find the user exits and execute...a list of exits will be displayed...double click and follow the link
    **********************************ABAP CODE :***********************************
    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.
    Thanks

  • Name of the structure needed for sales order user exit

    Hi,
    I am planning to write a user exit which will insert the data into my ztable the moment the new sales order is created and is saved.
    I have identified FORM USEREXIT_SAVE_DOCUMENT as the necessary user exit. But the problem is that while inserting the data into the ztable I cannot insert the data from vbak as the data will be inserted into this table after the SO is saved.
    Thus I need to identify a structure which is used to populate the vbak table so that it simultaneously inserts the data in the ztable as well. Can anyone help me with the name of the structure so that these fields i.e. vbeln, vkorg, vtweg, spart are inserted into my ztable?
    Also need to know how to convert the net value i.e. vbak-netwr in Indian Rupees as it gets stored as Dollars ....
    Thanks,
    Vinod.

    Hi,
    One of the structure being used is RV45A, there are several other str's being used as well for various calculations,
    check out program SAPMV45A for the same.
    & in order to convert vbak-netwr to rupees use the below statemetnt,
    WRITE vbak-netwr TO zvbak-netwr CURRENCY INR.
    Regards,
    Raghavendra
    Message was edited by:
            raghavendra ay

  • User Exit  for structure BAPIMTCS

    Hi Experts:
    Is there a user exit (trx. XD02) to modify structure BAPIMTCS and to execute a Z function module?
    The problem is that a additional data field of client is not replicated to CRM. We have a client aplication working well. The only problem is, that no BDoc is generated when the (additional data) field and only the field is changed.
    Hoping for your help.
    Best regards,
    Cristina

    check
    Enhancement
    SAPMF02D                                User exits: Customer master data

  • Table maintenance view -user exit

    Hello, as you all know, there is a program generated behind the table maintenance view. I want to add certain validation on the values entered in the table maintenance.
    I know that modifying the program is not the best practice.
    Is there any user exit which will permit me to do this?
    thx.

    Hi Antish,
        Try to go with the table events. For this goto the Table Maintenance Generator Screen --> Environment --> Modification --> Events. Here you can handle some events according to your requirement. Validations can be done only in this way.
    Regards,
    Swapna.

  • How to find the structure in this user exit

    My requirement is add new field to Delivery due list ALV report(VL10G).For enhance this report i will append one field(LIKP-SDABW) in this structure SHP_VL10_ITEM.This structure is not showing in the include LV50R_VIEWG05
    USEREXIT_PREPARE_LAYOUT_FILL .Where i have to find this structure,and internal tables?
    Please help me.
    Thanks & Regards,
    sairam

    Hi Sairam,
    Goto the program for transaction VL10G.In that u make a seach for the user-exit
    USEREXIT_PREPARE_LAYOUT_FILL.Then write the logic inside tht.U will need an access key for that.
    <b>Reward points if it solves ur query or answer is helpful</b>
    Thanks
    Chinmay

  • Internal structures available in user exit

    How can I found out all the internal structures that are populated and available in a user exit or any point in code.
    Specifically I am looking at RV60AFZC routine USEREXIT_FILL_VBRK_VBRP and want to fill MWSKZ which is in KOMV. But I would like to learn a new technique that I can use for any program. Thank you.

    Hello,
    You can know if the particular structure is available in your session in either old or new debugger, all you need to do is
    (SAPLHRBEN00ESS)EVENT_DESCRIPTION_GS
    Where SAPLHRBEN00ESS -> Program Name
              EVENT_DESCRIPTION_GS -> Structure (wa), Internal Table that you want to access.
    Hope it helps.
    Thanks,
    Jayant

  • Can I create new IDOC segmemnt in user exit( edidd structure ) forcefully ?

    RFFOEDI1 is the standard driver program  which call the below user exit zxf08u06...
    Am programing user exit ZXF08U06...
    In user exit zxf08u06, actually edidd structue contains all the segments...
    In user exit zxf08u06, I am reading each segment which are in edidd structure, pulling required data from database and passing this data into this segment, so that this data appears in the IDOC's segments (we02).
    Now I need to create one new segment which is not there in edidd structure.
    Still I inserted this new segment and updated data. This new is coming in IDOC out put But IDOC was crested with error . Am I not supposed to create new segment whcih was not there in edidd structure forcefully ?
    MUCH THANKS IN ADVENCE.

    Hi
    Go thru the bellow links
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400365
    http://www.thespot4sap.com/Articles/SAP_ALE_IDOCS.asp
    Thanks
    Sunil

  • Need a User Exit for OCI Interface in case of Multiple Views

    Hello Friends,
    I need a help in finding the User Exit / BADI for passing the Catalog ID when you click on Catalog Button in Purchase Requisition , PM Order ( IW32) and Purchase Order.
    1. We have number of Views and we need to implement Custom logic for releavant Catalog ID and same should be passed to third party System.
    2. Creation of Custom Conversion module and how these will be called in MM.
    3. How the sequence number will work in Assigment of Conversion module.
    4.In case of Custom fields in RIHFCOM-CUSTFIELD1( Ex :  EBAN-ESTKZ ) / RIHFCOM-CUSTFIELD2,how this will be mapped to Standard fields in SAP
    Please help in this regard
    Thanks in Advance.
    Regards,
    Kishore,

    Hi,
    Exit Name Description
    SDTRM001 Reschedule schedule lines without a new ATP check
    V45A0001 Determine alternative materials for product selection
    V45A0002 Predefine sold-to party in sales document
    V45A0003 Collector for customer function modulpool MV45A
    V45A0004 Copy packing proposal
    V45E0001 Update the purchase order from the sales order
    V45E0002 Data transfer in procurement elements (PRreq., assembly)
    V45L0001 SD component supplier processing (customer enhancements)
    V45P0001 SD customer function for cross-company code sales
    V45S0001 Update sales document from configuration
    V45S0003 MRP-relevance for incomplete configuration
    V45S0004 Effectivity type in sales order
    V45W0001 SD Service Management: Forward Contract Data to Item
    V46H0001 SD Customer functions for resource-related billing
    V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
    SDAPO001 Activating Sourcing Subitem Quantity Propagation
    <b>Reward points</b>
    Regarsd

  • Difference between the different structures while dealing with User-Exits

    While dealing with User-Exits, we come across the different structures/Tables like XVBAP,YVBAP,TVBAP,IVBAP,*VBAP....
    What is the difference between them ?

    Usually X<tablename> and Y<tablename> are used in change document management to determine records updated (Y is old values and X new ones).  (Look at transaction SCDO)
    T<tablename is an internal table read from database and I<tablename> is an import table parameter of the same structure. <tablename> is an equivalent of <tablename> declared with statement TABLES and contains usually the "old" value.
    Look at exit documentation. start at [User Exits In Sales Document Processing|http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm]
    Regards

Maybe you are looking for