Alternative for field exit on select-option

Good afternoon,
I know that field exit doesn't work for select-option (SAP Note 29377, point 11) but i want to know if it exists an alternative (I use SAP 4.6, and an update to ECC6 is expected next month).
The field exit would be the best option because we must add exit in many transaction (approximately 100) in little time.
Thanks for your answers,
Best regards,
Anne.

Hi
A) Are there any way for debbuging field exit?
The trick to debug the field-exit is to download the data to a file on application server;
B) How run the field exits on field no editable?
It can't do it, because a field-exit is triggered as soon as a value of the field is changed.
D) Is used the field exit on version >= 4.6C
SAP doesn't support the field-exit from realese 4.7: the field-exit still works on the realese 4.7 and, I suppose, 5 and 6.00: but it doesn't work for enjoy transactions.
Anyway I believe it's better to replace the field-exit with a new solution from realese 4.7
Max

Similar Messages

  • Alternatives to Field Exit for executing a transaction?

    Hello,
    i'm looking for a way to add code to an existing dynpro, so that a double-click on a field executes a different transaction. As far as i know this is not allowed in a field exist. If there's also no BADI-method defined, what else can be used? Is there any other way than changing the current code of the application itself?
    TIA!

    Hi,
    The alternative for field exits after R/3 4.6C has been the enhancement Points...
    Check in debugging if there exists an implicit enhancement point in the PAI of the screen,
    If so you can add your code to call a new transaction...
    Regards
    Shiva

  • Need a document for field exit....urgent

    Can any one please send a document for field exit or have a simple document on how to work on a field exit with screen shots. pls send it ...its urgent
    Thanks and regards
    Nandha kumar R

    Hi,
    A field exit is a type of user exit.
    A user exit is a hook where you can inject your own add-on functionality or behavior to SAP’s standard business applications without having to modify the original applications.
    Field exits allow you to create your own programming logic for any data element in the Dictionary. You can use this logic to carry out checks, conversions, or business-related processing for any screen field.
    Field Exits
    Field exits allow you to create your own programming logic for any data element in the Dictionary. You can use this logic to carry out checks, conversions, or business-related processing for any screen field.  Example: The data element BBBNR identifies a company’s international location number. You might want to set up your R/3 System so that all international location numbers are larger than 100. 
    The field exit concept lets you create a special function module that contains this logic. 
    You assign the special function module to the data element BBBNR. You then assign the module to any programs and screens in which users can add new international location numbers. When you activate your field exit, the system automatically triggers your special routine whenever a user enters a company location number. 
    In 4.6c, you can use "RSMODPRF" program to create field exits.
    An example of a user exits :-
    MODULE user_exit_0001 INPUT 
        CASE okcode.
            WHEN 'BACK OR EXIT'.
                CASE sy-dynnr.
                        WHEN '100'.
                             SET SCREEN 0.
                             LEAVE SCREEN.
                        WHEN '200'.
    Note that you can write any code that satisfy your needs.                                                     ****
    But in this case, this was wrote as a sample code for reference sake.                                    ****
    And you can test it.                                                                                ****
                             SET SCREEN 100.
                             LEAVE SCREEN.
                 ENDCASE.
          ENDCASE. 
    Field exits (SMOD/CMOD) Questions and Answers
    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).
    - 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 afterwards, 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 and 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 variable 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 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 also 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 is an error in the kernel which no longer occurs as of 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.
    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_. 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 tothe dictionary. If the relation is indirect, i.e. via an       ABAP declaration (  LIKE ), no field exit can be executed.
    11. Field exits on check buttons do not work
    -  Field exits are only intended for input fields. As check buttons count as graphical elements, you cannot install field exits on
    them.
    12. Field exits do not work on selection screens
    SAP Field Exits
    From 4.6c onwards, Field exits will no more be supported by SAP.  They removed the function of field exit but they had given lot of flexibility through userexit.
    However, if you still required it, here is how to activate it :-
    First called up transaction  CMOD.
    Then called up transaction PRFB.
    or
    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).
    REFER THIS LINK ALSO.
    defining screen fields using FIELD-SYMBOL
    Thanks,
    Shankar

  • Alternate solution for Field Exit

    Hi All,
      Is there any other way to get the functionality of Field Exit?
      According to my requirement, I have to populate some values in a table control based on the value entered in a field.
      Please tell me a solution for this.
    Thanks,
    Nandhu.

    Hi,
    As per your requirement you want to populate some values based on the value of some other field.
    You can try for EXITS or if the field from which you want to use the value and the other fields which you want to populate are input fields then you can as well use field exits.
    Variables declared globally for storing values in the top include of the function group for field exits can be accessed in other field exits. So you can make use of this functionality.
    Thanks.

  • Upgrade for Field-Exits

    Hi there!.
       My customer is asking me to upgrade from 4.6c to ECC 6.0 their field-exits. But I've reading about Enhancement Framework, and for validations made for Field Exits, I would need a SAP Source Key Code to modify the SAP Object and implement the online validations in the screen SAPLCOMD Dynpro 3170.
       Has someone tried to work with this new technology ? what could I do for Upgrade this Field Exits?..
    Thank you very much for any help!.
    Antonio

    Hello,
    There was a recent discussion onthis topic. Here's the link.
    How to reduce input field length
    Apart from the name of the Standard Report, I hope you'll find something else of use , too.
    Regards,
    Anand Mandalika.

  • Steps for field Exit

    Hi friends,
    For my requirement, I have to use Field Exit.
    Can u please provide me steps/ notes for field exit.
    Regards.

    Hi,
    Follow this:
    - check data element of your field
    - go to SE37 and create a function group of your choice
    - run the program RSMODPRF
    - type your data element and run it
    - the system has to create FM for the field exit. It already suggests the name. Do not change it, just create that one.
    - assign your previously created Function Group
    - don't change the interface of the FM: input and output must be handled here in order to transport data to/from screen. Here you can check it the field fullfills your requirement
    IF input = ...
      MESSAGE 'Wrong input' TYPE 'E'.   "message type E will restart PAI and field will be input ready again
    ENDIF.
    "at the end you must use this
    output = input.   "to transport data
    - now using menu BACK function go back to program RSMODPRF and activate your field exit (Fieldexit -> Activate).
    - Don't forget to activate your FG and FM too.
    This procedure will activate Global field exit, if you want to create a local one, use the same program but Assing a screen and program to that data element.
    Regards
    Marcin

  • How to avoid the truncation of  field values in select-options

    Hi all,
    I have a requirement where i have used select-options to select multiple filenames.  I have taken the filename of type rlgrap-filename(128 char) But the problem is in select-options if the values of the filename which is selected has length ( i.e the length of the selected field value) exceeds 45 character , then he remaining charactes are truncated. Hence i am not able to get the
    correct field value in the internal table of the select-options.
    i came to know that if NO_DISPLAY addition is used then this truncation wont occur. But in my case user has to select the files and hence this addition cannot be used.
    please let me know if anyone has a solution for this or if there is any other way to select multiple entries in selection screen.
    Regards
    Manipal parkala

    rlgrap-filename is having the length of only 128 characters.If the file path exceeds 128 characters then the rest will get truncated.If you file name exceeds more than 128 characters and the pafth is fixed,then harcode the entire path in the program and later on concatenate the path and the file name into a string which can be used for further processing.
    paramters:p_file like rlgrap-filename.
    here just give the filename as say 1234.XLS.(Assuming that you are not browsing for the file using F4_filename).
    In the program harcode the path say C:\Documents and setting\sapworkdir\user\.
    Now concaternate these two and pass it to string which can be used for further processing.
    If the user intneds to browse the file and the path name exceeds 128 characters then follow the way to delcare the paramter in the selection screen as said above.If it is working for parameters then I think it should be working for select option also.

  • ZScreen(SE51)   Input field  should have Select option

    Hi ,
    I need to create one Select option on Screen designed using screen painter .
    Later I want to use in PAI of screen in select query as Select option .
    Mean to say in where clause of select query i have to use <b>IN</b> for that input field .
    Looking for some helpful responses .
    SS

    Hi,
    You can create a selection screen by using the normal SELECT-OPTIONS command as a subscreen and then call the subscreen in your main screen.
    SELECTION-SCREEN BEGIN OF SCREEN scr AS SUBSCREEN.
    call the sub screen using normal command.
    CALL SUBSCREEN b INCLUDING prog dynnr .
    regards,
    Mahesh

  • Use Field-Exit in selection-screen

    Hi,
    I have actived the field-exit of data element p_pernr program RCATSC01 screen 1000.
    But the result is the same like before.
    It is possible to use field-exit in screen 1000 (selection screen) of transaction CAPS ?
    Julien.

    Hi
    I believe the field-exit works for screen of module pool only.
    Max

  • Alternative for System.exit(0)

    Hi everyone........ I am using System.exit(0) to get out of the program but this will not close the connection objects etc..So suggest an alternative for that so that code can terminate in a proper way releasing all connection objects etc

    Well, the proper way for a Java program to end is for all it's (non-daemon) threads to terminate, System.exit(0) is inelegant.
    And if each thread cleans up the resources it allocated that automatically takes care of cleanup.
    But you can register a shutdown hook with Runtime each time you open an external resource. And/Or you can create a global List of shutdown processing items (e.g. Runnables) to invoke before shut down.

  • Adding a field in further selection option when using PNP

    when we run a report using PNP we get a further selections button on top.  can we add a new field like molga, in that further selection option if yes then how...can someone help me on that.

    Hi,
    I guess the Report your using must be SAP standard report.If yes, then you have to copy that program to some Z-program & make the change in the program itself.
    Because this logic is in program itself.
    This is the only way.
    Correct me, if I am wrong.
    Can I know the name of the report?
    Thanks,sarika.

  • Is possible in a dialog screen attach a field functional like select-option

    hi,
       Is it possible - in a dialog screen - to attach a field that has functionality like Select-options fields?
    And if so - how?
    and information about complex_selections_dialog

    Hi,
    Look at the below links
    module pool programming " to add selection-option on screen"
    module pool programming " to add selection-option on screen"
    Regards
    Sudheer

  • Report name for FIELD EXITS

    Dear Friends,
                          I want to write <b>FIELD EXITS</b>. I know there is a standard report given by SAP for this but i dont know the name so can anybody help me?

    Hello,
    There was a recent discussion onthis topic. Here's the link.
    How to reduce input field length
    Apart from the name of the Standard Report, I hope you'll find something else of use , too.
    Regards,
    Anand Mandalika.

  • Help for field exit

    hi friends,
      i am new to field exit .i want to know how field exit works,
      can any one send me sample code or step-by-step procedure.
      plz do the needful.
    tnnx.
    sonu

    Exits are basically the hooks whcih SAP has provided to add your own code. There are two types of Exits:
    1. Customer exits: Implemented as Function Modules within z includes. Anybody can change it and no access key is required.
    2. User Exit: Implemented as subroutines within includes (any include except y or z includes). You need access for the specific include and then you can any subroutine (user exit) within that Include.
    BADIs are the enhanced version of user exits where the same logic is implemented via classes and object (OOP)
    Enchancement point is the latest once introduces with ECC6.0 . Not very sure about that but you can change it without any access key.
    Please go through the following link which will help you understand the exits in a much better way:
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/content.htm
    http://www.sap-img.com/abap/what-is-the-difference-between-smod-and-cmod.htm
    http://sap.niraj.tripod.com/id21.html
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
    http://www.sap-img.com/ab038.htm
    User Exits.
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    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
    customer exits
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
    Menu Exit.
    http://www.sappoint.com/abap/spmp.pdf
    http://www.sappoint.com/abap/userexit.pdf
    http://www.sapdevelopment.co.uk/enhance/mod_sapmenu.htm
    http://www.sapdevelopment.co.uk/enhance/enhancehome.htm
    USER EXIT
    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
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • Adding a field to free selection option in F110 using BTE 00001820

    Hello,
    I am trying to activate BTE 00001820 so i can add the user name field to the free selection prameters screen in F110.
    Did all the configuration in FIBF, creat a Z for the relevant function.
    I added a break point inside the function expecting to go inside it when i activate the free selection tab in F110.
    No matter what i do the function is not activated.
    I would appriciate your help with the issue.
    Thanks,
    Arnon.

    Hi,
    I think the option is not available.
    VVR

Maybe you are looking for

  • Field names for the following information in Production planning (PP)

    Hi Experts   I am BI consultant, and  I need the field name for 'actual production quantity' in the PP module, and also what is the difference between - Actual production Quantity, Actual Component Quantity (0WITHDRWQTY),  and Actual Quantity (0CONFI

  • How to replace a field's search help of DDIC in FPM feeder class?

    Hi All, I want to replace a field's search help in DDIC structure, for an example, in structure HCMT_BSP_PA_XX_R0009, the field BANKL(Bank Keys) has a search help named 'H_BANKL', I want to replace this search help with other one such as 'H_BANKEY' i

  • Error When Opening the Transactions/Transactions Window

    Hi All, in Oracle E-Business Suite R12 Version Error When Opening the Transactions/Transactions Window ORA-06502: PL/SQL: numeric or value error ORA-06512: at "APPS.AR_MO_GLOBAL_CACHE", line 55 ORA-06512: at "APPS.ARP_STANDARD", line 2912 ORA-06512:

  • How can i get my forgoten security answers?

    Hello, I'm trying to buy apps from the app store but it keeps asking mw the security questions which i forgot the answers for. How can i get the answers or change them!! I tried the solution the web provided and didn't work. It's weird why do i have

  • Time datatype issue from SSIS

    Hi All, I have a SSIS pkg, I have 1. Sart_time (datetime datatype) 2. End_time (datetime datatype) 3. Run_time ( Time(0) datatype) I am using the Run_time to get the difference of star & end time to calculate the time taken to complete the execution