Speedy info about field-exit

Hi all.
With a Field-exit we can only check a field, or also modify the field?
Thanks

Hi,
you can check and modify also.
Field and screen exit..
regards
vijay

Similar Messages

  • Official documentation from SAP about field exits as obsolete

    Hi all,
    I want to know if there is any official SAP documentation about the support of field exits. Because, I herad some time ago that they are obsolete and its use is not recomended from 4.6C onwards.
    Regards,
    Eric

    Check OSS note 29377.

  • A question about field exit

    I have created a function module 'FIELD_EXIT_ABREX'.Can I use other field value  in this Function Module?How to implement it?

    Hi,
    Firstly decide the scope : Global or Local to screen.
    Global Field Exits are trigerred from all Screens whereas for Screen specific needs the screen to be specified when we go for activating it....
    Run program RSMODPRF and specify the field ...
    Note : Screen name & data element may be different...so u have to specify Data Element & not Screen field name. Just to remind as this is common pitfall.
    Now as u said 'FIELD_EXIT_ABREX' as the Func module created. This gets the screen value of field ABREX in variable INPUT of the Func Mod 'FIELD_EXIT_ABREX' and after processing u can return value throu variable OUTPUT.
    You can write u r validations in the FM and do whatever. Just remember the value are lost as soon as this Field Exit is triggerred Again
    I hope this should help you for further wwork and any other specific issue do post back ... we'll see dude.
    <b>Do reward if this was useful and adds to u r knowledge / solves issue</b>
    Regards,

  • About field exits

    Hi Gurus,
    i have a problem, in MM01(Basic data1) there is field called Prod.hierarchy(dataelement is prodh_d), for this data element how to create Field Exits and how to assign to MM01 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 ASAP.
    Thanks & Regards,
    Sudheer.

    You can create a field exit to the data element by running the report RSMODPRF.
    You will then have to assign the the program name & screen No. (In this case the program name & screen No. in MM01 transaction.)
    You will have to write a field exit for MARA-PRDHA and within that ensure that the field length is 18char.( The input value you read should be of 18 char).
    You can read the screen field value by using the fn. module to read the screen values & put that value inside MVKE-PRODH. This can be written in another exit.
    Important Things to Note.
    1.You cannot debug a field exit.
    2. Assign the correct program name & screen no. to activate the field exit.
    3. This is written at data element level.
    Hope this helps...
    Let me know if you need any further details.
    Regards
    Deepu.
    Reward Points if it helps.

  • Expanding iTunes fields to handle more info about each CD (Mac & PC)

    The LP and CD covers often hold a lot of important info about the album, music and artist, producer, history. With the use of physical album covers on the decline as we use iTunes/mp3s more and more, a lot of liner notes and credits are no longer with our music. iTunes doesn't even have a field for Producer or engineer! But what about cover art or room for the players on the records, etc. (can you tell I used to work at record companies?
    I think iTunes needs to be redesigned to take the place of a CD jewel box so we can get much if not all of the info on the digital album. Even a tab for additional artwork as some CDs have not just front cover art but also back cover or what about the box set where there's the boxset art but each CD has it's own CD cover art. Currently I just use the art from the CDs but then lose the art from the outer box, which I would like to be able to include in the future.
    The current Comments fields is WAY too small I'm thinking you could as a tab that would be fore the entire record like the size of lyrics so you could put all the players, liner notes, quotes, etc. in an unstructured way and be able to see most of the data without having to scroll so much.

    You can associate a PDF with an album and put as much or as little information in it as you want. Some album downloads come with digital booklets which may, but often don't, replicate all the information from the original packaging.
    You can also embed additional artwork images in a files tag. Files with multiple images develop two triangles at the top of the artwork box to let you switch between the available images.
    While I agree the artificial limit of 255 characters for Comments in iTunes is annoying if you put any such information into the Lyrics field there is the bonus that it can actually be viewed from your devices.
    tt2

  • Documentation about Screen, Menu and Field Exits

    Hi all!!
    I need some documentation about Screen, Menu and Field Exits.
    I´m very interested specially on steps by steps.
    My mail is [email protected]
    Helpful posts will be rewarded.
    Thanks in advance and regards,
    Manuel.

    <b>Types of Exits </b>
    There are several different types of user exits. Each of these exits acts as hooks where you can attach or "hang" your own add-ons.
    <b>Menu Exits</b>
    Menu exits add items to the pulldown menus in standard SAP applications. You can use these menu items to call up your own screens or to trigger entire add-on applications.
    SAP creates menu exits by defining special menu items in the Menu Painter. These special entries have function codes that begin with "+" (a plus sign). You specify the menu item’s text when activating the item in an add-on project.
    <b>Screen Exits</b>
    Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen’s flow logic.
    <b>Function Module Exits </b>
    Function module exits add functions to R/3 applications. Function module exits play a role in both menu and screen exits. 
    When you add a new menu item to a standard pull down menu, you use a function module exit to define the actions that should take place once your menu is activated. 
    Function module exits also control the data flow between standard programs and screen exit fields. SAP application developers create function module exits by writing calls to customer functions into the source code of standard R/3 programs. 
    These calls have the following syntax: 
    CALL CUSTOMER-FUNCTION ‘001’.
    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.
    reward  points if it is usefull..
    Girish

  • Pls give some info about userexit

    hi everyone,
    i never did work on userexit before. Could you give some info about how to create userexit and some knowledge related to that. Any suggestion is appreciated.
    Best Regards,
    Julian

    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>
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    CUSTOMER EXITS-> t-code CMOD.
    As of Release 4.6A SAP provides a new enhancement technique, the Business Add-Ins.
    Among others, this enhancement technique has the advantage of
    being based on a multi-level system landscape (SAP, country versions, IS solutions, partner,
    customer, and so on)
    instead of a two-level landscape (SAP, customer) as with the customer exits.
    You can create definitions and implementations of business add-ins at any level of the system landscape.
    You can use below code to find out user exits associated with particular transaction.
    *& Report  ZUSEREXIT                                                   *
    *& Finding the user-exits of a SAP transaction code                    *
    *& Enter the transaction code in which you are looking for the         *
    *& user-exit and it will list you the list of user-exits in the        *
    *& transaction code. Also a drill down is possible which will help you *
    *& to branch to SMOD.                                                  *
    REPORT zuserexit NO STANDARD PAGE HEADING.
    TABLES : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    TABLES : tstct.
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
    IF sy-subrc EQ 0.
      SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'
                       AND object = 'PROG'
                       AND obj_name = tstc-pgmna.
      MOVE : tadir-devclass TO v_devclass.
      IF sy-subrc NE 0.
        SELECT SINGLE * FROM trdir WHERE name = tstc-pgmna.
        IF trdir-subc EQ 'F'.
          SELECT SINGLE * FROM tfdir WHERE pname = tstc-pgmna.
          SELECT SINGLE * FROM enlfdir WHERE funcname = tfdir-funcname.
          SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'
                                      AND object = 'FUGR'
                                    AND obj_name EQ enlfdir-area.
          MOVE : tadir-devclass TO v_devclass.
        ENDIF.
      ENDIF.
      SELECT * FROM tadir INTO TABLE jtab
                    WHERE pgmid = 'R3TR'
                     AND object = 'SMOD'
                   AND devclass = v_devclass.
      SELECT SINGLE * FROM tstct WHERE sprsl EQ sy-langu
                                  AND  tcode EQ p_tcode.
      FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
      WRITE:/(19) 'Transaction Code - ',
           20(20) p_tcode,
           45(50) tstct-ttext.
      SKIP.
      IF NOT jtab[] IS INITIAL.
        WRITE:/(95) sy-uline.
        FORMAT COLOR COL_HEADING INTENSIFIED ON.
        WRITE:/1 sy-vline,
               2 'Exit Name',
              21 sy-vline ,
              22 'Description',
              95 sy-vline.
        WRITE:/(95) sy-uline.
        LOOP AT jtab.
          SELECT SINGLE * FROM modsapt
                 WHERE sprsl = sy-langu AND
                        name = jtab-obj_name.
          FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
          WRITE:/1 sy-vline,
                 2 jtab-obj_name HOTSPOT ON,
                21 sy-vline ,
                22 modsapt-modtext,
                95 sy-vline.
        ENDLOOP.
        WRITE:/(95) sy-uline.
        DESCRIBE TABLE jtab.
        SKIP.
        FORMAT COLOR COL_TOTAL INTENSIFIED ON.
        WRITE:/ 'No of Exits:' , sy-tfill.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'No User Exit exists'.
      ENDIF.
    ELSE.
      FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
      WRITE:/(95) 'Transaction Code Does Not Exist'.
    ENDIF.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST   SCREEN.
    *---End of Program.
    I hope it gives some basic idea.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Warning message in field exit

    Hi All,
    I'd the requirement of giving a warning message for transaction VA01 if user enters some specific order type.
    So I'd created a field exit for AUART for this screen. But i am able to give error message only and found out that warning & info messages can't be given in a field exit.
    Please help me out. Is there any way I can give a warning message in field exit or suggest some other sol. for it.
    Thanks,
    Manu

    Hi,
    Thanks f or your answers, but the issue is that i need to give this message as User enters the details on VA01 screen & presses enters.SO i can't use user exit like move_field_to_Vbak & others.
    Also, using a FM to give pop up message will ultimately make use of statement CALL SCREEN which is not allowed in field exit, i also tried FMs which displays messages normally means not in pop up screen, but again through it also i can only give error messages.
    Please suggets if there is any other option.
    Thanks,
    Manu Parihar

  • ITunes and Finder - how are info about audio files refreshed?

    I am now in the process of embedding artwork in my mp3-files using CoverScout. I have also updated info about all my tracks in the iTunes after embedding the artowrk, by selecting all the files and clicking GeitInfo and clicking OK (without making any changes). All albums are displayed correctly with new artworks. This, however, is not the case with the Finder.
    Generally, if a mp3-file has (embedded) artwork then the file would be displayed as a thumbnail of the artwork in question. The thing is that the icons for the mp3-files that were recently embedded with artworks are displayed as lacking artwork (they are displayed with the simple iTunes icon). Moreover, the Preview of GetInfo window does not show that the mp3-files contain the embedded artwork. The files are not refreshed. However, if I copy or duplicate those files then the copied files are displayed correctly, with the right getinfo. This, however, does not work if moving files. The files are not refreshed when moved, only when copying or duplicating.
    I find it curious that Finder does not refresh the files, even after restarting the Mac, given the fact that iTunes have the information that there is artwork. Is there a way to refresh the files in the finder without copying or duplicating the files?
    Another curious thing with albums containing tracks with embedded artwork is as follows: the Finder displays some of the tracks as thumbnails of the artwork in question, but not with all the files. The same goes for the Preview of the files in GetInfo. Some have the correct Preview displaying the artwork, but some lack the info about the artwork in the Preview. Why are not all files displayed as having embedded artwork, but only some, given the fact that they belong to the same album and the artwork was embedded in the same way?
    The same goes when I embed the artwork without CoverScout, by updating multiple files through iTunes (dragging the artwork to the Artwork-field in Info). The Finder does not display that the files are embedded. I must copy or duplicate these files in order to refresh the info.
    A more general question: how do I refresh files in the Finder? There is no refresh button, as in the Windows.
    I would appreciate your help.
    Kind regards
    Alex

    I was wrong about one thing concerning refreshing the files. I said that restarting the Mac would not refresh the files. However, if the iTunes have info about album's/tracks artwork then the Finder will also have this info after rebooting the system. My question is whether the Finder can be refreshed, without rebooting (restarting)?

  • Finder's "Get Info" Creator field not the same as "Creator Code"??

    Can someone explain what the difference is between the "Creator Code" associated with a file, and what the Finder's "Get Info" shows as the "Creator" (in the "More Info" section)?? I have a program that will not process a file unless a specific application has created the file. But if I change the "Creator Code" with a utility like "Type & Creator Changer" from AlphaOmega, the "Get Info" command shows no difference in the "Creator" field of the "Get Info" window.
    What is going on? What is the difference between these two "Creator" pieces of information of a file?
    How can one change what is in the "Get Info" "Creator" field??
    Thanks for your help...
    -Bob

    I don't think what you are talking about is the same as what I asked. I looked at the file that works with HexEdit and there is some other info about "CreatorTool" and "Creator" that in the case of the file that works is set to "ScanSnap Manager" and this is what appears in the "Creator" field of "Get Info" (in the "More Info" part of the GetInfo window). This is what I am guessing the Abbyy FineReader program is looking for to allow it to process the file. Without it it will not convert a PDF image file to a searchable text PDF file. Files that work and don't work can both have the "Open With" set to the same thing, so don't think that this has anything to do with the issue. Both can have the same "CreatorCode" too, so this is not it.
    In fact I just verified that if I change the "Creator" info in a file that works, the FineReader software will not process it. But the problem is that just changing the "Creator" info in a file to "ScanSnap Manager" is not enough. Bummer...
    So my dilemma is I can print a PDF file onto paper, then turn right around and scan it on the ScanSnap scanner and then FineReader will process it. But this is silly to have to print a file I already have the PDF of, let alone kill a few trees for the paper to print it on, in order to do the FindReader processing. Any suggestions??
    So, the question still is, what exactly is the FineReader looking for and how do I change a PDF file to have it so that FineReader will process it??? Is there a utility that will add/edit this other CreatorTool and/or Creator info in the file???
    Thanks...
    -Bob

  • Need info about RH Server 6 and reports

    I'm interisted in RH Server 6 but I'm unable to locate much
    practical info about it on the Web site, and a call to sales didn't
    help. I need to know what I'm getting us into before I contribute
    our $2,000. Can anyone provide this information or point me to its
    location on the site:
    --I have system requirements from the Adobe site, but what is
    the "server" and what does installation and setup entail? About how
    how long does it take, or how difficult, to achieve operability?
    --According to a piece by John Daigle, the server component
    should be installed on a Windows server running IIS 5+. Is IIS a
    separate software or standart part of Windows server? If separate,
    what preparation should that server have before the installation in
    addition to installation of IIS?
    --I know nothing about security/firewall protocols. We will
    have our own and our customer firewalls to navigate. Are the server
    setup instructions adequate for setting all that up? Or are
    purchasers expected to have sys admins knowledgeable to set that
    up? Is that applied to the RH server or the Windows server? if RH
    server, how can I get a copy of instructions for my system people
    to review?
    --Have users found the RH server/RoboEngine reliable, once
    it's operable?
    --Is it true that the usage reports aren't customizable? Can
    additional usage data be specified in the RH server?
    --These report summaries are vague--Areas Requiing Help,
    Frequently Viewed Content--stating only that repoorts show the
    suchandsuch done "most frequently" or "most often." Does that mean
    the top 3, 5, 10 or what? Is there a way to track all of that
    activity from most to least?
    --The summaries of the reports Unanswered Questions and
    Frequently Asked Questions say that terms entered in the Search
    field are identified. Questions and terms aren't the same in my
    book--am I right that it captures anything entered? Can it do the
    same for the Index field?
    --I saw no RH server under downloads, or maybe missed it.
    Correct in guessing that a demo version is not available?
    --Is RH server user doc available on the web site? I found
    the Getting Started gude, which isn't much use in evaluating the
    product.
    I have additional questions, but if you can answer these
    questions or direct me to answers some of those may be covered.
    Thanks,
    Mike
    Access database.

    Hey, Mike!
    I found a few things for you. I'm in a hurry, so I'll list
    them quickly.
    For the Trial, go to the Adobe downloads page
    http://www.adobe.com/downloads/
    Then select RoboHelp Server 6 from the dropdown list. You
    will be asked to register (free) if you haven't already. When you
    arrive at the download page make sure you note the Trial Serial #
    To make it easier for you, its:
    1336-1033-2628-5062-0993-4570
    You can also find a RoboHelp Server 6 Getting Started Guide
    here
    http://www.adobe.com/support/robohelp/downloads/getting_started_rh6_server.pdf
    You were asking about IIS. Yes. As Colum says, this comes
    with virtually any version of Windows Server (or Windows XP
    Professional). However, you must install and configure it. I am not
    an IT or web administrator so it took me a while to learn, but
    amazingly I got it to work if you're patient and follow the steps.
    (I'm speaking of both IIS and Robohelp Server) Clearly IIS
    configuration is not a trivial thing and it is assumed that an
    author would have help and cooperation from the IT or Web Admin
    folks.
    As for customizing reports. At present, the existing reports
    are the only ones offered. Since these reports are generated from a
    database (Access, SQL Server or Oracle) I would think (haven't done
    it myself) that someone familiar with database adminstration could
    open the DB (after a backup that is) and be more creative with
    generating customized reports.
    You are right that the "Question" does in fact mean any
    search term or phrase that an end user puts in the search field.
    This is the string that is stored and reported as a question. In
    discussing this with the Adobe team at STC last month, they agreed
    that this was definitely a holdover from the legacy software and is
    due for a change sometime in the future.
    To answer your other question, text entered in the Index
    field is not stored in the database, only the search term field.
    Since taking on the old legacy product from eHelp and
    Macromedia, Adobe is focusing most of its attention on beefing up
    the client authoring app for the next version (Adobe RoboHelp 7).
    My assumption is that they are keen on improving the RoboHelp
    Server as well. I have passed along many feature requests along the
    lines you seem to suggest and hopefully the server will evolve
    along with the client app.
    Even with its limitations, my clients tell me RoboHelp Server
    provides very useful feedback to help them improve their knowledge
    base content to make it more helpful and responsive to users needs.
    They also like the searchability of PDF, Word, PPT and Excel as
    well...something which plain WebHelp without the RoboHelp Server
    does not do.
    I probably didn't get to everything, but hope this helps.
    John

  • Info records field in Purchase Order

    How can we make info-record field mandatory for selected purchasing organization when creating Purchase Order using ME21N.

    I can think of 3 options:
    1) Use field settings if you want it mandatory for all purchasing organizations.
    2) Another way would be to create 2 document types - one with info record mandatory and other with info record optional. People purchasing for the purchasing organizations where info record is required will be authorized only for the first document type (where info record is mandatory)
    3) Use user exit EXIT_SAPLEBND_002 (the one for PO Release). This can be activated even if PO release is not active.
    Lakshman

  • 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

  • Field exit is not working for a user

    Hi,
    We have implemented a field exit in ME12 to change the purchase info record short description. It is working fine for most of the users except for some users. I just wanted to know is there any way we can restrict the field exits based on Authorization
    Did any one faced this kind of issues
    Bhanu

    Hi,
    Reason could be that users are logged on different servers : check that profile parameter abap/fieldexit is set equally in all application servers.
    If it's okay, then you'll find the reason only by tracing 2 users, one which is okay, the other not, doing exactly the same thing. To do that, use SE30 with a variant with "no aggregation", as Olga explains in her blog ([SDN blog: ABAP Runtime Analysis (SE30) - How to analyze ABAP program flow|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/4847/17050 [original link is broken] [original link is broken] [original link is broken] ]). Then you compare the 2 traces to see from which point execution differs. You can use SAT transaction, available from 7.0, to compare 2 traces far more quickly.
    BR
    Sandra

  • Field Exit for customer master data

    hi
    i want to execute a check every time that we create a new customer
    this check should check that the field "VAT REG.." is field and not blank
    please your advice what is the best practice for this issue, field exit? badi? or is there any other way recommended
    i think that there is option to use  field exit but i don't know which field exit and how to do it
    many thanks

    Hi Meir,
    You go to SE84, and enter the enhancement I provided. Then, you activate the user-exit and write your own code. You can consult your ABAP team, if you are not sure about implementing user-exit.
    Regards,
    Eli

Maybe you are looking for