Exit for CJO2, Some fields should me only in display mode

Hi Experts,
I have to do certain field of CJ02 IN non EDITABLE MODE( Only Display) .
Please suggest me which user exit can be used ?
Rgds
Mohit

Done, Using Enhancment Points

Similar Messages

  • How to find user exits for a specific field

    hi,
        How can we find a user exit for a specific fields .
    as i know Three ways to search user-exits
    1. SE80 look includes in a packages with name user-exits
    2.  by zreport which will fetch user-exit in a T-CODE
    3. SMOD
    but what if we have to find a user-exit for particular field for e.g bupla(bussiness place) in MIRO.
    Please suggest me.
    Thanks and  Regards ,
    Rahul Singh.

    Hi Rahul,
    Here is the procedure to create field exits.
    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
    u2022     Before you can begin adding the functionality for a field exit, you must know the corresponding data element.
    Step 2: Go To Field Exit Transaction
    u2022     The transaction to create field exits is CMOD.
    u2022     You can use the menu path Tools -> ABAP/4 Workbench -> Utilities -> Enhancements -> Project management.
    u2022     From the initial screen of transaction CMOD, choose the Text enhancements -> Field exits menu path.
    u2022     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
    u2022     From the field exit screen of transaction CMOD, choose the Field exit -> Create menu path.
    u2022     After choosing this menu path, a dialog box will prompt you for the appropriate data element .
    u2022     Enter the data element name and click the u2018Continueu2019 pushbutton.
    u2022     Now, you will be able to create the function module associated to the data elementu2019s field exit.
    Step 4: Create Function Module
    u2022     You will automatically be taken to the Function Library (SE37) after entering a data element name and clicking the u2018Continueu2019 pushbutton.
    u2022     In the u2018Function moduleu2019 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>
    u2022     You can add an identifier (an underscore followed by a single character ).
    u2022     The first function module for a data elementu2019s field exit must be created without an identifier.
    u2022     To create the function module, click on the u2018Createu2019 pushbutton, choose menu path Function module -> Create, or press u2018F5u2019.
    u2022     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 u2018Enteru2019, you will be able to go ahead and create the function module.
    u2022     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
    u2022     From the function moduleu2019s attributes screen, click on the u2018Source codeu2019 pushbutton or choose the Goto -> Function module menu path to the code of the function module.
    u2022     Here you will add your desired functionality for the field exit.
    u2022     Remember that field exitu2019s 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.
    u2022     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
    u2022     After coding the function module, you must remember to activate it.
    u2022     Use the Function module -> Activate menu path to activate the function module.
    u2022     At this point, you can return to the field exit transaction.
    u2022     You should be able to 'green arrow' back to this transaction.
    u2022     When you return to the field exit transaction, you will see an entry for the newly created field exit.
    u2022     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.
    u2022     Also, the field exit will not be triggered yet because it is inactive.
    Step 7: Assign Program/Screen
    u2022     This step is only needed if you want to make a field exit local.
    u2022     To make a field exit local, select the field exit and click on the u2018Assign prog./screenu2019 pushbutton.
    u2022     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.
    u2022     In the dialog box, you determine which function module gets executed for the field exit by specifying the identifier in the u2018Fld. Exitu2019 field.
    u2022     If this field is left blank, the function module triggered will be 'FIELD_EXIT_<data element>'.
    u2022     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
    u2022     The field exit must be active for it to be triggered by the system.
    u2022     Activate the field exit by choosing the Field exit -> Activate menu path.
    u2022     After assigning the field exit to a change request, its status will change to u2018Activeu2019 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
    Execute the transaction SE38 with PROGRAM NAME - RSMODPRF
    Then give the Data Element Name for which field you want to create the exit(Just cross check with your field data element) and execute.
    then it takes you to SE37 with the function module name FIELD_EXIT_<DATA ELEMENT NAME> and then create the same function module.
    and in the coding part, You can write your logic to display the output of that field. and activate it.
    once you complete the above,
    Again execute SE38 transaction with program RSMODPRF and again click on Execute button without any Data Element Name. Now you select the data element which you have created and click on Assign prog/ Screen button and assign the program name and screen number of the filed and click on the menu Field Exit and Activate.
    Hope it helps.
    Regards
    Radhika
    Edited by: Radhika Pande on Nov 26, 2009 7:58 AM

  • Field Exit or User Exit for Maintenance Order field.

    Dear All,
    we need an field exit or an user exit for order(AUFNR)field in PM module.
    The Client wants that the value of this field should be validated and for certaion condition an error message should be given while saving an invoice for this order.
    Kindly provide the user exit ..
    Its urgent.
    Thansk in advance ..
    regards
    Ajay.

    Implement Field Exit within program   
    For this example I am using dta element 'EBELN' from table EKKO.                   
    Step 1: Execute program 'RSMODPRF', entering the data element of the field
    Step 2:Create function module when prompted, and add you code to the source section using the parameter 'INPUT' as the field value you are checking
    Step 3:      Save and activate Function and execute transaction 'CMOD'.
    Step 4:      Choose option: Goto-> Text Enhancements->Data elements->New DE cust docu.
    Step 3:      Save and activate Function and execute transaction 'CMOD'.
    Step 4:      Choose option: Goto-> Text Enhancements->Data elements->New DE cust docu.
    Step 5:      Enter data element
    Step 6:      Save and activate
    Step 7: Execute program 'RSMODPRF' again but this time leave data element field blank. Step 8: Select the checkbox for the data element you have just created and choose option: Field exit->Activate This will now be active for all instances of this data element, but you can assign specific program and screen combinations by pressing the 'Assign prog./screen' button. You can also change the code you entered in the field exit function module by pressing the 'Edit FM' button.
    regards
    vinod

  • BADI / USER-EXIT FOR DEFAULTING THE FIELD VTTK-TNDR_ACTC IN TCODE VT01N

    Hi,
    I require a BADI / USER-EXIT for defaulting the field VTTK-TNDR_ACTC(Currency of Actual Shipment costs) to 'EUR' in transaction VT01N(Shipment Transaction) .
    Please could anyone help me with this .
    Regards,
    Sushanth H.S.

    Hi!
    User Exits in Transportation
    In Transportation, there are enhancements that you can use with transaction CMOD.
    For a detailed description of the individual enhancements, see the documentation on the individual enhancements or function modules in transaction SMOD.
    You can display all enhancements that are available for the area of transportation by choosing F4 in the Enhancement field. Enter V56* in the Enhancement field and choose Execute. Enter V54* to get a list of all enhancements for the area of shipment cost processing.
    Business Add-Ins in the transports
    Business add-ins (BADIs) are predefined user exits. They enable businesses, partners, and customers to add additional softward to the SAP source code. The linkup of SAP's New Dimension Products, such as APO and BW, to the standard system is thus possible.
    Customer-specific functions can be executed before the save time and after the database update.
    The following methods are available for the BADI with the definition name 'BADI_LE_SHIPMENT':
    AT_SAVE: BADI is called up at the time of the save. Checks and return to dialog are possible.
    BEFORE:_UPDATE: BADI is called up right before the data is saved to the database, that is, when all the data is available (for example, internal ly assigned shipment number).
    IN_UPDATE: BADI is called up after the database update.
    Standard Settings
    Creating a BADI method:
    Call up transaction SE19. Enter a name of your choice. Choose "create" and in the dialog box enter the definition name 'BADI_LE_SHIPMENT'. Afterwards, enter a short text for implementation. Save the BADI.
    On the tab page 'Interface', choose the method for implementation by double-clicking on it. Now you can enter your customer-specific program code. Save and activate the code. You can acess the transmission parameters entered in the BADI definition. With the method ***_AT_SAVE you can initiate the exception ERROR_WITH_MESSAGE (description 'An error message has occurred' ) if you wish to return to the dialog.
    Afterwards, go to the heading and activate the interface.
    Regards
    Tamá

  • Field exits for non-editable field

    Hi All,
    can I write field exit for non-editable field?
    Thanks in advance...
    bye.

    hi,
    i think you can, just try it.
    But when you have to change it, because of a certain exception in the fieldexit, it is impossible to change the field.
    Hans

  • User Exit for making the field Bill of Lading Mandatory in Delivery

    Please suggest an User Exit for making the field Bill of Lading Mandatory in the Delivery document when we create an inbound delivery.

    Hi,
    I'm not sure, pls check these
    USEREXIT_SAVE_DOCUMENT_PREPARE
    EXIT_SAPLV46H_001
    NOTIF_EVENT_SAVE
    thanks
    Mohanprabu C

  • GET_P Method for Link in table - only in display mode

    Hello,
    i created an assignmentblock to display a ztable (Simple Object).
    One column in the table is homepage.
    For this attribute i added some coding to the GET_P_Method to have a link.
    The link works fine - but i have this link now not only in display mode but also in edit mode for the table.
    As a sideeffect this column is now longer editable.
    How should i change my GET_P coding so that the link is only there in display mode. In edit mode the field should be editable (no link).
    Thank you
    Best regards
    Manfred

    Hello Manfred,
    I do not know about your system... but the usual GET_P-methods do have an importing parameter IV_DISPLAY_MODE. This tells you if you are in display or edit mode.
    Check method CL_BT115QH__DETAILS_CN00->GET_P_ORDER_REASON.
    Or even more general: GETP_XYZ in your context node class.
    The part with the IF statement should be trivial.
    cheers Carsten

  • SICF- only in display mode

    Hi all,
    I want the tcode SICF to be in display mode alone.
    Under which authorization object it comes?
    Can I make only in display mode.
    Regards,
    R.Suganya

    Hi Alex,
    already full authorization was given.
    now i changed to only display. now it is working fine.
    thanks.

  • SOME FIELDS SHOULD NOT SHOWN IN THE REPORT

    Hi,
    this is to inform you that,  there is a requriment in reporting perspective (ALV),
    Requriment:
    i have to generate a ALV report which is viewed by our CFO with one t.code, in that report suppose there are 10 fields. 
    That is a specific report if some body apart from my CFO uses the same tcode to generate the same report than it has to display only 5 fields.
    if my CFO uses the same t.code all the 10 fields must be visible.
    please help me how to do it.
    regards,
    balajia.

    There are couple of ways to achieve this,
    1) - Create 2 variants, 1 variant for CFO with all the fields  & 2nd variant with only relevant fields. Then use the authorization concept, where basis can restrict the access / execution of the report with specific variants.
    From the basis view, they create role & assign this variants in one of the object ( not sure). Basis assistance required
    2) - When developing report, write the validation for the respective fields such as maintain Customize table in which maintain userID's & fields which they can access. Display only those fields to the userID who executes this report. It should check this customize table for this UserID & only those fields listed should get displayed. ( for all the fields, instead maintaining each field, you can enter "ALL",
    Eg: UserID -
    Fields
           CFO -
    ALL ( report should display all the fields)
         NONCFO-------Field1 | Field2 | Field3 | Field4 | Field5 ( only these fields should get displayed)
    Note: In Customize table either you can maintain with User ID or Role. It will be more convinient in future as well.
    Regards,
    Reazuddin MD

  • Exit for checking Exchange Rate in ME21N(Only for Import PO)

    Hi,
    Could you pls tel me User Exit/BADI for transaction ME21N to check the Exch Rate Fixed In Delivery/Invoice tab for Import Document Type.
    Thanks in Advance..
    Nithy

    Hi,
    This is the list of exits for ME21N.
    AMPL0001            User subscreen for additional data on AMPL
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a
    LMELA010            Inbound shipping notification: Transfer item data from ID
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receip
    LWSUS001            Customer-Specific Source Determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition relea
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn
    M06E0004            Changes to communication structure for release purch. doc
    M06E0005            Role determination for release of purchasing documents
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule imple
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MEVME001            WE default quantity calc. and over/ underdelivery toleran
    MM06E001            User exits for EDI inbound and outbound purchasing docume
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release orde
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MM06E011            Activate PReq Block
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processi
    MMAL0004            ALE purchasing info record distribution: Inbound processi
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    Regards
    Rajesh Kumar

  • Screen Exit for adding custom fields in Additional Data tab in ME21N

    I need a screen exit or whatever other method for adding custom fields to the additional data tab at header level.
    I also need a similar exit for adding a filed at item level.
    Thanks in advance
    Martin

    Hello,
    1st find badi or exit and then create screen ...and assign the screen group and screen no for that implementation....some steps i can give u i did with SPRO tcode....
    please check it for VA02
    SPRO u2013 SAP Reference IMG ---  Logistics General --- Basic partner u2013 customers -- Control u2013 Adaption of customers own masters data element u2013 prepare modification of customer free enhancement of customer master record
    1)Screen group                                  description
            zs                                           creating badi      --- (save)
           click on (label tab pages) u2013 new entries
           number u2013 10 , function code u2013 zs10 ,  description u2013 func ---(save) u2013(back)
    2)select (FM_CUSTOMER_ADD) u2013 copy
         Implementation name u2013 ZAS
         (desc u2013 impl for cust) u2013 (save)
        interfaceu2014(check_add_on_active) double click on it
    3)the above screen appear --  write the code in it u2013 (save) --- (activate) u2013 (back) u2013 (save)
         -- (activate) u2013 (back)
       Business adds in customer sub screens
    4)select (FM_CUSTOMER_ADD) u2013 copy
         Implementation name u2013 ZAS1
         (description -- cust) u2013 in attribute u2013 (give screen group name)
    5)go to interfaces (GET_TAXI_SCREEN)  double click on it
       (save)  --- (activate) 
    6)(SAVE)  -- 
        Goto SE38  -- CREATE PROGRAM WITH NAME (ZQW) type module pool
         Goto SE51  -- Prog : ZQW
           Screen : 200 (Create)
          Goto layout u2013 design the screen
    7)save u2013 activate
       then goto transaction : va02
    For User Exit's
    goto to tcode->status->program name->double click on that,
    then goto to-> attribute take the package name and
    Goto SMOD tcode ->Utilities->give the package name and F8
    then a list of exits will display for that tcode as well as that package.
    u can check the table MODSAP
    u can check the table MODACT
    For BADI's,
    1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE
    keep Break point at this location 'call method cl_exithandler=>get_class_name_by_interface'
    then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.
    2)Goto to tcode->status->program name->double click on that program will display's
    then  press crtl+F then cl_exithandler
    Thank u ,
    santhosh

  • User-exit for autopopulate nickname field in pa40

    Hello Experts,
    In transaction PA40 Create Personal data there is a screen field named Nickname which is Mandatory.
    I want to autopopulate this nickname field when i enter first name last name, the first name field should enter the nickname.
    Is there any user-exit for such a requirement.
    Thanks in advance,
    Thanks & Regards,
    Nikhil K.

    Hi Nikihil,
    You can use the User Exit that you identified but the function exit to use is EXIT_SAPFP50M_001. This is one you should use to default values in infotypes and the EXIT_SAPFP50M_002 is used to do checks and not manipulate the valuse. This is one of the right ways to do it and I have implemented it before and it works fine. You may want to call the following  methods to get current Infotype values from the screen and the proposed values to be updated with.
    CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
                  EXPORTING
                    prelp =
                  IMPORTING
                    pnnnn = .
    and
    CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
                    EXPORTING
                      pnnnn =
                    IMPORTING
                      prelp = .

  • PPCO0007 User Exit for  Changing Header Fields During Order  (CO40)

    .. Hi !!!!
      I need your help or suggestions,
      I need to change the standar order  before to save, i found the user exit PPCO0007,
      i assign the new value for the order, but when finish the fuction, EXIT_SAPLCOZV_001, the new values are
      lost, and finally the system set the standard order.
        Someona know how can change the order and the the batch.
         Thanks
    Noemí Huerta

    Hi Noemi
    You can use the enchancement PPCO0007 (exit when the production order is saved).
    Use the function module EXIT_SAPLCOZV_001 (User Exit for Checking or Changing Header Fields During Order Save) to update the field priority starting the information in the material-customer info record.

  • VT01N User exit for adding additional field to VTTP table and populate the

    Hi,
    Can any one sujjest what is the use exit/bapi when we add(append) a custom field to vttp table to populate the incremental number  based on ship to address when we create a shipment..
    need user exit in ...............to populate data to vttp table custom field when we append......

    hi,
    check these exits for vt01n.
    Transaction Code - VT01N                    Create Shipment
    Enhancement/ Business Add-in            Description
    Enhancement
    V56USVDP                                Preparation for updating new objects for transport?
    V56USVDO                                Update new objects for transport
    V56USTAT                                User-individual definition of transportation planning status
    V56UNUMB                                Shipment number allocation
    V56UDLUP                                Obsolete as of 4.6C: Delivery Update on Delivery Routines
    V56UCHCO                                Check shipments are complete
    V56UCHCH                                Shipment processing: Check whether changes were made
    V56TDLIF                                Filter Delivery Items for Shipment
    V56SLDET                                Shipment processing: Leg determination
    V56MVT04                                Extensions for Collective Processing of Shipments
    V56LOCID                                Shipment Processing: Determine Location Identification
    MV56AINI                                Initialization of transaction control for transportation
    V56AFCCH                                Shipment processing: Check function code allowed
    V56AGTAR                                User Exit for Filtering Shipping Unit Calculation
    V56ARCHV                                Customer-spec. checks for archiving shipments
    V56ATKTX                                Change the number of lines for text input in shipment
    V56BMOD                                 Transportation processing: Field modification
    V56DISTZ                                Shipment Processing: Determine Distance
    V56FCOPY                                Shipment processing: Copy delivery data
    V56FSTAT                                Shipment processing: Activities when setting a status
    V56L0001                                Status of Shipments for a Delivery
    V56LDELI                                Read Delivery Data for Shipment Processing
      Business Add-in
    BADI_LE_SHIPMENT                        BadI: Shipment Processing
    BADI_V56N                               User Exit for Message Determination: Shipment

  • While creating  VK11 for output tax it should allow only Output taxcode

    Hi all,
    while creating condition record VK11 for output tax ,in condition record only output tax code should be possible ,if they use any input tax code then error messsage should come or system should not allow to create.how we do this.
    Thanks in Advance,
    Bala

    Hi ,
    If you see it practically in Production..You will be maintaing condition record once and even if changes, it won't be so often. Secondly in Tax procedure what ever Tax codes are present that will displayed as a choice while maintainig condition record.
    If  it affecting by maintaining wrong code then better would to be educate Business users as per my understanding.
    Thanks,
    Veerendra

Maybe you are looking for

  • Traço vertical no facebook

    Toda vez que uso um recurso do Facebook que abre uma janela nova (exemplo: ao compartilhar algo, aparece uma janela para eu escrever e botões de compartilhar, etc... esse tipo de janela... não sei o nome exato ), tais como o compartilhar, ou quando v

  • Safari Help. Multiple tabs opening on startup

    I am using an imac currently updated running osx lion.  When trying to open safari this morning i have noticed to major differences.... when i open it up there are about 32 tabs that startup all at once.  Also the google searchbar i had is no longer

  • BAPI_SALESORDER_CREATEFROMDAT2 TAX NUMBER

    Hi experts, Is it possible, using this FM, to pass to the Sales Order, the TAX NUMBER of the partners, (VBPAVB-STCD1), or the VAT_REG_NO (like in its predecessor BAPI_SALESORDER_CREATEFROMDAT1). Thanks in advance. Best regards. Valter Oliveira.

  • Setting Adobe as Default Reader

    I purchased a new computer that has Foxit PDF reader installed (set as default reader) I cannot delete it - in order to disable it the direcdtions state that the "other" reader must be set as default. Where do I set Adobe as the default? I have never

  • Premiere Elements 12 Crashes on Mac

    I have a fairly new Mac with the latest Maverick updates. Premiere Elements 12 crashes randomly when I am working and loses everything. It even loses files from the folder where imported media is stored. It loses saved work as well. I have no idea wh