Is it possible to work with Field Exits in R/3 Enterp. Basis 6.20???

How could I work with them?

Yes you can.
SE 38 --> Prog RSMODPRF
http://www.sapdevelopment.co.uk/enhance/fexits.htm
But Have a look at OSS note 29377 as well:
Symptom
Problems and questions concerning field exits
Other terms
FAQ, Q+A, SMOD/CMOD, field exits
Reason and Prerequisites
Note
Field exits are frozen on the 4.6C maintenance level and are not further developed. This means that the existing functionality is kept with all restrictions (see also the last item below). Existing exits can be further used and are called at runtime as usual.
Existing exits can be maintained using program RSMODPRF (run the
program using transaction SE38). Activation of the field exits and
assignment of the dynpros can also be carried out using program
RSMODPRF. For this purpose, the program must be started without
parameters (input fields remain blank).
If required, new field exits can be created using program
RSMODPRF (see the program documentation).
Solution
1. Field exit was created with CMOD, but is not processed when calling the screen.
Since the field exit is not processed until PAI, an action must be triggered on the screen (Return, Save, ...).
Set profile parameter abap/fieldexit to YES and restart the system.
After activating the function module FIELD_EXIT... and the field exit, leave the transaction on whose screen the field exit is to be executed. The screen is not generated until the transaction is started.
Do not work on different application servers since there may be some delay before the field exit is activated.
The profile parameter must be set on all or none of the application servers.
If the field exit is to only be active on specific screens, check whether you chose the correct program and the correct screen number (take care with subscreens).
Generate the screen on which the exit should be active using SE51. It is possible that it was not correctly generated. If you want to be sure that all screens that use the data element are regenerated, you can transfer Report rsmodfdg from the correction instructions and start it with SE38. The Report uses the affected data element as the input parameter and regenerates all screens that use the data element.
Using SE51 -> Field list, check that the screen field does have a reference to a data element. In the name of the field exit, use the name of the data element and not the field name.
After transport, field exits are marked as active but will not be processed. Tip: First try deactivating the field exit once more and then activate it again.
2. How is performance affected by setting abap/fieldexit?
If a screen is generated and the profile parameter is set, a check is run on 2 tables (TDDIR, TDDIRS) to see whether a field exit must be generated for the respective field. In practice, the screen load is not generated until the screen is selected after an update. The user should not notice any difference because screen generation is very fast.
3. Can you read the contents of other screen fields in the field exit?
In principle, every field exit can store its value in the global variables of the function group (TOP) and hence make them available to other field exits. Note here that field exits are always called, not only if an entry is made in the field or if the field is empty. In addition, it is not possible to make any assumptions about the order in which the field exits will be called in the future.
4. How does the field exit behave on step loop fields ?
After the user has entered data, the field exit is called in PAI as often as there are visible fields in the step loop. The system variable SY-STEPL is incremented each time. If a new value is assigned to the field, it is displayed in the module between LOOP and ENDLOOP. This module is also called once for each visible step loop line.
5. Can field exits be debugged ?
No. Field exits must be tested separately in the ABAP/4 Development Workbench. For errors which only occur in the screen environment, it is helpful to write interesting variables to the file system using TRANSFER... . These can then be analysed there.
6. What can you do if the field contents are no longer transported to ABAP/4?
Check whether a value is assigned to the field OUTPUT.
7. When is the field exit called if a conversion exit is attached to the data element?
The field exit is called after the conversion exit. This means that the INPUT field receives the data in the same format as the ABAP/4 program receives it.
8. Although a global field exit is inactive, a function module is called which does not exist (for example FIELD_EXIT_PROGRAMM_@). This can lead to an ABAP dump error when function module FIELD_EXIT_<data element name> is called.
This is an error in the kernel which no longer occurs as of Release 3.0C. As a temporary measure, it is useful to assign a program and a screen which do not exist to the field exit and then activate the field exit.
Due to performance reasons, the active/inactive indicator is stored in the screenload. This can cause inconsistencies between Source and Load. Generate the affected screen with se51. If you want to be sure that all screens that use the data element are regenerated, you can transfer Report rsmodfdg from the correction instructions and start it with se38. The Report uses the affected data element as the input parameter and regenerates all screens that use the data element.
9. Field exit is not visible in CMOD, although created.
If you want to create a field exit for a data element, a function module is proposed with the name FIELD_EXIT_<data_element>. This function module must exist for the field exit to work. If you do not create this function module, but do create one with a suffix, the data element is not displayed in CMOD.
10. Field exit is not executed although it is active.
Fields which do not have the 'Input field' attribute usually do not trigger a field exit. The field exit is designed to allow an extended input check. It is therefore only called for input fields - even if they are not ready for input at runtime of the application by LOOP AT SCREEN.
This rule does not apply, however, if the field is located within a steploop. Here the field will be always activated, even if it is invisible.
Field exits can only be executed for fields that are directly related to the dictionary. If the relation is indirect, i.e. via an ABAP declaration (<fieldname> LIKE <dictionary element>), no field exit can be executed.
11. Field exits do not work on selection screens.
Results from the previous item since ABAP-internal fields and never the original Dictionary fields are used on selection screens.
12. Field exists do not work on check buttons.
Field exits are only intended for input fields. As check buttons count as graphical elements, you cannot install field exits on them.
13. How can all screens that use a data element be generated?
If you want to be sure that all screens that use a specific data element are regenerated, you can transfer Report rsmodfdg from the correction instructions into a customer report (e.g. zsmodfdg). The Report regenerates all screens. In this way, you can ensure that active field exits refer to screens and that inactive exits cannot be called on any screen. The Report uses the affected data element as the input parameter. The affected data element is in the name of the exit: FIELD_EXIT_<data element name>.
14. Restriction of usage
Field exit technology was developed for input fields on dynpros and cannot be used for other/new dynpro elements. This means that this technology does not offer support for the new ScreenPainter elements such as graphical elements (e.g. checkbuttons, radiobuttons, dropdown listboxes), controls (except for table controls which are supported like a step loop), or selection screens.
Erwan

Similar Messages

  • Can any one tell me how to work with field exit????

    Hi
    Can any one tell me how to work with field exit I know how to create them. I want to know how it works. Actually I want to create a field exit for T-CODE MIRO. Where I want to put the value ebeln of the PO Reference tab into the Assignment of details tab and make Assignment field disable.
    Thanks in advance

    Hi,
    Follow the Steps,
    1. Go to CMOD transaction
    2. From the menu "GOTO->TEXT ENHANCEMENTS->DATA ELEMENTS-   ->NEW DE CUST DOCU".
    3. In the displayed box specify the data element and
       press either "CHANGE" or " Ref to screen" button
    4. CHANGE button is for defining the documentation
    5. "Ref. to screen" if for assigning the screen in which
       a field has the this type data element.
       Note: You should have used this data element for a   
             field in that screen.
    6. Now it will ask for Function Module name, specify the
       FM name and double click it. It will go to the editor.
    7. Now using the Import parameters code accordingly
    8. Activate and go back
    9. Now "Assign the created program ( that is FM) to the
       screen by specifying the Program name and Screen
       number.
    10. Now save and activate.
    Note: No need to create a separate project for creating field exit through transaction CMOD.
    I hope this is suffice.
    Regs,
    Venkat Ramanan

  • IMPORT to memory id with field exit

    hi everyone, i need your help, i'm import to memory/export with field exit, I must capture a data of ik11, from table IMRG... this is the code:
    FUNCTION FIELD_EXIT_IMRC_MDOCM.
       DATA: V_MDOC LIKE IMRG-MDOCM.
    EXPORT V_MDOC TO MEMORY ID 'DOC'.
    ENDFUNCTION.
    And the field exit where capture the data and import to memory:
    FUNCTION FIELD_EXIT_IMRC_CNTRC.
        GET PARAMETER ID 'IPT' FIELD V_POINT.
          IMPORT V_MDOC FROM MEMORY ID 'DOC'.
        MESSAGE E001(ZEXITS_PRUEBAS) WITH V_MDOC.
    ENDFUNCTION.
    I proof with message, 'cause i can't use a break, really?!!!!
    Please help me!
    Thanks.!

    Hi Jimena,
    I remember a field exit being connected to a data element and program screen (dynpro). The field exit is processed when the screen field is processed by dynpro processor. But I do not see the screen field's value being exported to memory.
    The reason you can't put brekpoints is that actually the code is triggered by dynpro processor not abap runtime environment.
    If you want to proove thecode beeing executed, you can write info to file.
    SAP does not actively support field exits since a couple of releases. Are you sure this still works?
    You could try to find a BADI: Use the method I found at SDN some time ago:
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    Regards,
    Clemens

  • Premiere Pro cc 2014 do not import After Effects composition. Inside Premiere Pro CC 2014 is not possible call back After Effects, is not possible to work with After Effects. Thank you

    Premiere Pro cc 2014 do not import After Effects composition. Inside Premiere Pro CC 2014 is not possible call back After Effects, is not possible to work with After Effects. Thank you

    You haven't given us much to go on here.  What exactly are you doing and what exactly happens when you try?  Which specific version of each program are you using?  (Go to Help>About...)
    On a side note, a simple, brief thread title is all that's needed.  Something like "After Effects Issue" would be fine.  You don't need the full question there.

  • Is it possible to work with different languages in different applications?

    Hi,
    is it possible to work with different languages in different applications?
    To have f.e. Photoshop in English and Indesign in Dutch??
    Thanks!

    I am not sure about it that you can use different apps in different language in the same computer, however you can check the following links:
    http://helpx.adobe.com/creative-cloud/kb/change-installed-language.html
    Adjust the install language | CCM
    http://tv.adobe.com/watch/learn-creative-cloud/installing-multiple-languages-of-a-desktop- application/
    Regards
    Rajshree

  • Is it possible to work with PHP pages in Oracle ERP R12 and how to set up ?

    Hi,
    Is it possible to work with PHP pages in Oracle ERP R12 and how to set up ?
    Regards
    Nandhakumar P

    Hi Nandhakumar,
    To be able to access any Oracle database using PHP you require the following:
    A server with Apache 2+  (Unix, windows etc)
    PHP enabled using OCI8
    tnsnames.ora
    Oracle instant client and associated libraries
    This gives you direct access into oracle database. As for E-Business, you will compromise the security and safty of of R12 by going in through php. Oracle is not likely to support it either.
    I have got a apache/php/Oracle XE working on a test environment and Ithe performance is not a big issue. If you must I would hughly recommend Oracle Linux for quality and security.

  • Is possible to work with both Connection Pool?

    Hello,
    I would like to know if is it possible to work with both Connection Pools: Active Directory and DWH User? If it's yes, how can I specify to work with both simultaneously?
    Thank you and regards,
    Mónica.

    Hello Gayathri,
    The version is OBISE1 10.1.3.2.1
    The scenario is the following:
    I have two connection pools
    - One is mapping the DWH and it is using the System's variables :USER and :PASSWORD. Then I have an Initialization Block that get these values and I have created the logins as users in the database.
    - The other is mapping the DWH tables.
    I want to create directly users into the repository. The problem is the users of the repository cann't do the login because the first connection pool is trying to validate then against the database.
    Would be possible to validate the users against the connection pool and the repository simultaneously?
    Thank you and regards,
    Mónica.

  • Problem with Field Exit

    I have created an field exit through a program RSMODPRF. The requirement is that I have to change the type of screen field from CHAR to NUMC. That I have already done, but how to validate the felid if the user enters the character values or how to prevent user not to use character values.

    I don't understand your problem. I'm in 4.7 and made small test:
    REPORT ztest.
    TABLES wlk1.
    PARAMETERS p_lfdnr like wlk1-lfdnr.
    I even can't type in any characters - that's already handled by GUI!
    Field-exits (even with RSMODPRF) will not be available in future release - if possible (and necessary) make your checks in a user-exit.
    Regards,
    Christian

  • Problem with Field exits

    Hi Gurus
    i have a problem, in MM01/MM02(Basic data1) there is field called Prod.hierarchy(dataelement is prodh_d), for this data element how to create and change Field Exits and how to assign to MM01/MM02 Tcode.
    the code part i have to write is
    1. To validate MARA-PRDHA field length (field exit can handle this). the field length should be 18 char.
    2.Copy the value of MARA-PRDHA to MVKE-PRODH (the code of the field exit above, you can do field-symbol technique to transfer value from mara-prhda to mvke-prodh).
    plz. do the needfull information with all the steps with codeASAP.
    I am using Ecc 6.0 Version.
    Thanks & Regards,
    Sudheer.

    Hello,
    If you want to create a user exit execute report RSMODPRF with out parameters and create the FM to the field you need, and active it.
    But before doing that, check if there is a user exit or badi implementation availavle, it will be a better solution.
    Check for instance, the following:
    USER EXIT
    MGA00001                                Material Master (Industry): Checks and Enhancements
    MGA00002                                Material Master (Industry): Number Assignment
    MGA00003                                Material Master (Industry and Retail): Number Display
    Business Add-in
    BADI_EAN_SYSTEMATIC                     BAdI for Internal Control of EAN Logic
    WRF_DISCONT_PARAMS_I                    BAdI: Parameters in Fashion Discontinuation
    WRF_DISCONT_FACT_E                      BAdI: Follow-Up Actions in Discontinuation
    WRF_DISCONT_CHECKS_I                    BAdI: Scope of Check in Material Reorganization
    MG_MASS_NEWSEG                          User-Specific Fields & Segments in Mass Maintenance
    MATGRP_SKU_UPD                          BAdI for Article Hierarchy Connection
    CDT_CHECK_MATERIAL                      Checks for Existence of a Material in a CDT
    BADI_MM_MATNR                           Modification-Free Archiving Enhancement of MM_MATNR
    BADI_MAT_F_SPEC_SEL                     BAdI for Material Special Field Selection
    BADI_MATNR_CHECK_PVS                    Check Material for Use in iPPE
    BADI_MATERIAL_REF                       Addition of customer-defined default data for material
    BADI_MATERIAL_OD                        Integration of New Objects in Material or Article Master
    BADI_MATERIAL_CHECK                     Enhanced Checks for Material Master Tables
    BADI_GTIN_VARIANT                       User Exit for Customer-Specific GTIN Variant Check
    Hope this helps,
    Dont forget to reward.

  • Is possible to work with three calendars?

    Hi,
    I would like to work with three different calendars by user (without shared). Is it possible? If it is, how can I do/configure it?
    Thank you and Regards.

    Hi Bobb,
    thank you for your quick reponse. Ok, so they will have to work with only one.
    Regards,
    Mónica.

  • It is not possible to work with SO becauce tis crashed during the convert

    Hi!
    The base-System is a original Debian 3.1 (Sarge) , I installed the SO8 above the rpm-database (mkdir /var/lib/rpm; rpm --initdb) install with the Gfx-Installer, and later with the setup-script - now I have SO 8 update 3 rev 2.
    But it is not possible to save a *.xls-File or open a empty Impress-File!
    SO8 crashed evry time - with OO2 it is possible to the work!
    Have anyone a hint for me?
    Thx
    Thomas

    No.

  • Possibility to work with several Case types?

    Hi all,
    Is there any possibility to select a Case Type, while creating a dispute case on Process Receivables screen (inside Worklist)? For us, it would be very useful since we could be able to assign certain categories to each Case type.
    It looks as if system could let modify the Case Type through the attributes, not only once created the Dispute case, but also before saving it, here:
    However, it works for other attributes but not for the case type.
    Can anybody tell me if this is possible?
    Thanks in advance,

    OK - the field is BSEG-RSTGR.
    I just want to make clear this is one option, and one that I have used before. I would look at how you can seperate which case type should be selected.
    In my case you need to ensure the field is populated in the accounting doc of the disputed item
    The standard BAdI is FDM_AR_DEF_CASE_TYPE to determine the case type of the dispute.

  • How to work with user-exit include?

    Hi,
    I want to change the field 'No of packages' (LIKP-ANZPK) in VL02N.
    I have a func module EXIT_SAPLV50R_001 with an include ZXV50U08, when I double click it's not creating but it says 'Program names ZX... are reserved for includes of exit function groups'.
    What should I do?
    Thanks!
    Tarick.

    Hi,
    Its just a warning message. Just click enter. It will go inside the FM
    Cheers,
    Kothand

  • Is possible to work with more than two decimals

    Hi,
    my CRM OD environment shows only two decimals, but the customer needs four decimals. Is possible these change? How can I do it?
    Regards.

    Hello Gayathri,
    The version is OBISE1 10.1.3.2.1
    The scenario is the following:
    I have two connection pools
    - One is mapping the DWH and it is using the System's variables :USER and :PASSWORD. Then I have an Initialization Block that get these values and I have created the logins as users in the database.
    - The other is mapping the DWH tables.
    I want to create directly users into the repository. The problem is the users of the repository cann't do the login because the first connection pool is trying to validate then against the database.
    Would be possible to validate the users against the connection pool and the repository simultaneously?
    Thank you and regards,
    Mónica.

  • Working with Field Based Footage in Color

    Hi,
    I have a film shot on mini DV that is interlaced, when I send it to color to grade then back to FCP is seems to have lost a field.
    In the end I will master it as progressive, but Id rather merge fields than loose one all together.
    waht is the best workflow in this situation?
    cheers
    Alex

    Before you bring the material into FCP (let alone color) convert it to ProResLT progressive. Use Frame Controls deinterlace set to better.
    You now have 10 bit 4:2:2 progressive files
    Do your edit in FCP.
    Send the resulting files to Color
    x

Maybe you are looking for

  • Can't get rid of background image of toolbar buttons

    I am just a front-end developer and responsible for the front-end look of an ADF application that we are creating: We are using jDeveloper 11.1.1.4.0 (and we cannot upgrade due to being told no...so I cannot USE the skin editor which when I tried to

  • My Distribution Profile is grayed out in Code Signing Provisioning Profile

    Fellow developers, has anyone experienced this problem when you tried to compile your app for distribution: Did everything as suggested in this forum, including: - copying a distribution profile to the right folder and also draging over the Xcode ico

  • Crystal Report for Enterprise  Bex Text Variables

    Hi We are on Crystal Reports for Enterprise XI 4.0, Version 14.02.2. We have a text variable for cost center in our column heading that displays "Cost Center XXXX Budget" where XXXX is populated by the text variable. When this column element displays

  • Set RMAN catalog default setting for all databases

    Hi, I am running a 11gR1 RMAN catalog. I am wondering if is it possible to change a default configuration setting in the RMAN catalog  so that all the new databases will inherit it. For example, I would like all the new databases registered to the ca

  • Need yesterday's date on report using sysdate

    Hi i need yesterdays' date on the report i need output sholud be DATE: 07-July-2007 i ran query this select sysdate -1 from dual; i got it right. 07-july-2007 but i want like this, DATE: 07-July-2007 select 'DATE:' || sysdate -1 from dual; i got erro