EXIT_SAPLMEREQ_005  for PR cmod

is EXIT_SAPLMEREQ_005 the best place to change the standard field ekgrp (purchasing group ) or should i put it in other exit?

HI
goto se80..enter ME in the package..will return u various enhancements ..choose the relevant one!!

Similar Messages

  • How to transport a Enhancement Project for extractor (CMOD)

    Hi all,
    how can i transport a Function Enhancement for a R/3 extractor (created on the CMOD transaction)?.
    The extractor and the Structure Enhancement is already transported, but I go to SBIW and select the extractor under SAP-R/3 and select Function Enhancement, enter the project name and it's not transported.
    thanks a lot

    Hi Juan,
    Have you tried activating the components (under this project) and project in the target system.
    If you are unable to see the components/projects, you can try activating them in your development system, it will prompt for a transport request, which you can get imported into your target system. Hope it helps,
    Sree

  • How to read variable in CMOD code !

    Experts,
    in my one of the query, there is a variable, which takes 2 dates. so the variable is type "interval"
    so, when you run the report, user needs to enter value something like this.."mm/dd/yyyy  - mm/dd/yyyy"
    Now, i have writtn a code in CMOD, by reading this variable.
    But i dont know how to read 2nd date from the variable.
    READ TABLE   i_t_var_range
                 WITH KEY   vnam = 'VARIABLE'
                 INTO       l_var_range.
              First Date = l_var_range-low.
              Second Date = l_var_range-high.
    Does this low and high thing is correct?
    if i do debug, i could see the low values. but i coud see the same low values in High too.
    whats the problem ?
    please help

    Hi ,
    There are some scenarios for using CMOD, for variables in report.
    And as per I understand for you issue, please find my comments
    Scenario : You want to use the values enter by user in some other variable in the same report.
    Please make sure that properties of both the variables are same.
    Use below code:
    DATA: l_s_range TYPE rsr_s_rangesid.
    DATA: loc_var_range LIKE rrrangeexit.
       WHEN 'New Variale'.
            IF i_step = 2.
              LOOP AT i_t_var_range INTO loc_var_range
                      WHERE vnam = 'Varaible in which user has entered value'.
                CLEAR l_s_range.
                l_s_range-low  =   loc_var_range-low  .
                l_s_range-high =   loc_var_range-high .
                APPEND l_s_range TO e_t_range.
              ENDLOOP.
            ENDIF.
    Thanks
    Mayank
    Edited by: Mayank Chauhan on Feb 8, 2011 11:45 AM
    Edited by: Mayank Chauhan on Feb 8, 2011 11:46 AM
    Edited by: Mayank Chauhan on Feb 8, 2011 11:47 AM

  • Using MEREQ001 u2013 Checking error for data in customer data tab.

    Hi Guys,
    I have implemented MEREQ001 enhancement to add custom field in CUSTOMER DATA tab at item level. I want to validate the custom fields for error and display RED dot in front of the line item number when user press SAVE button.
    I am using EXIT_SAPLMEREQ_005 for validating the custom field when user press SAVE button.
    Is this the correct exit for this requirement.
    Can somebody share to code to display the RED dot in front of the line item which has error in custom fields?
    Thanks in advance.

    I think it's right
    U need to tranfer the message to exporting parameter or raise an error message

  • Queries based on Master data for the particular periods not working

    Hi,
    My Queries are based on master data and for 2007 we did not have customer groups define hence for the historical also we would like to display the customer groups hence we are reproting based on master data. But when iam executing my reprots for each and every month for the 2007 , i can able to execute the reprot properly but same when iam giving the values in ranges with the help of input filed ( calender month -interval) its taking hours but unable to retrieve the data for the 6 months at a time even if iam restricting the values in the queries still the problem is same...
    Can anyone has an idea what would be the problem .. its only for 6 months
    Thanks

    Hi
    Master data report consumes much time. try to see the Query Statistics  and make the performance tuning.
    Recheck your data flow for routines at TRules/upRules level.
    Recheck on the Query designer for formula/ Cmod Variables.
    The report fetching time even depends on the NO.of records too.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d06dcd70-41a8-2b10-9f8f-dc5c68769753
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6009e125-e9a3-2a10-c6a9-e1483dfa2e1b
    Hope ithelps

  • CMOD project got deleted

    Hi All,
    Can anyone help me out in tracking the deleted CMOD project.
    One of my CMOD project was deleted, how I could find out in which transport this Project was deleted.
    Thanks & Regards
    Prasanth

    Hi ,
    We cannot confirm this issue happened because of latest transport.
    User exit code (Z* include) active, May be CMOD project created earlier and then deleted in between because many transports exits for this CMOD project.
    Can you help us to track the history of Enhancements included into CMOD project (like inserting & deleting  ...Enhancements to CMOD project).
    Thanks for the help.

  • Daily operations for BW?

    Hi ~
    I'm learning BW 3.5 now and I would like to know what are the daily operations for a BW person. Also, could you provide me with a list of T-Codes and maybe a brief description of what each of them do?
    Thanks in advance,
    Denny.
    P.S.  Since I'm learning version 3.5, is there a big difference with BI 7?

    List of tcodes:
    Again search forum before you post....
    BALE Area Menu for Administration
    CMOD Enhancements
    DB02 Tables and Indexes Monitor
    DB12 DBA Backup Logs
    DB13 DBA Planning Calendar
    DB16 Display DB Check Results
    FILE Cross-Client File Names/Paths
    LISTCUBE List viewer for InfoCubes
    LISTSCHEMA Show InfoCube schema
    PFCG Role Maintenance
    RRMX Start the Business Explorer Analyzer
    RS12 Overview of master data locks
    RSA1 BW Administrator Workbench
    RSA3 Extractor Checker
    RSA5 Install Business Content
    RSA7 BW Delta Queue Monitor
    RSB1 Display authorization object
    RSBBS Maintaining BW Sender-Receiver
    RSBMO2 Open Hub Monitor
    RSBO Open Hub Maintenance
    RSBROWSER BW Browser
    RSD1 Characteristic maintenance
    RSD2 Maintenance of key figures
    RSD3 Maintenance of units
    RSD4 Maintenance of time characteristics
    RSD5 Internal: Maint. of Tech. Chars
    RSDCUBE Start: InfoCube editing
    RSDCUBEM Start: InfoCube editing
    RSDDV Maintaining Aggregates
    RSDIOBCM Start: InfoObject catalog editing
    RSDODS Initial Screen: ODS Object Processing
    RSFH Test Transaction Data Extractors
    RSIMG BW IMG
    RSKC Maintaining the Permitted Extra Chars
    RSMD Extractor Checker
    RSMON BW Administrator Workbench
    RSO2 Oltp Metadata Repository
    RSPC Process Chain Maintenance
    RSPCM Monitor daily process chains
    RSQ02 Maintain InfoSets
    RSQ10 SAP Query: Role Administration
    RSQ11 InfoSet Query: Web reporting
    RSRQ Data Load Monitor for a Request
    RSRT Start of the report monitor
    RSRTRACE Set trace configuration
    RSRV Analysis and Repair of BW Objects
    RSSM Authorizations for Reporting
    RSU1 Create update rules
    RSU2 Change update rules
    RSU3 Display update rules
    RSZC Copying Queries between InfoCubes
    RSZDELETE Deletion of query objects
    RSZV Call up of view V_RSZGLOBV
    RZ10 Maintain Profile Parameters
    RZ11 Profile Parameter Maintenance
    RZ20 CCMS Monitoring
    SALE Display ALE Customizing
    SAPBWNEWS PRINT SAP BW NEWS
    SBIW BIW in IMG for OLTP
    SCC4 Client Administration
    SCCL Local Client Copy
    SE01 Transport Organizer (Extended)
    SE09 Transport Organizer
    SE10 Transport Organizer
    SE11 ABAP Dictionary
    SE14 Utilities for Dictionary Tables
    SE16 Data Browser
    SE36 Logical Database Builder
    SE37 ABAP Function Modules
    SE38 ABAP Editor
    SE84 R/3 Repository Information System
    SE91 Message Maintenance
    SGEN SAP Load Generator
    SM04 User List
    SM12 Display and Delete Locks
    SM13 Administrate Update Records
    SM30 Call View Maintenance
    SM31 Call View Maintenance Like SM30
    SM36 Schedule Background Job
    SM37 Overview of job selection
    SM38 Queue Maintenance Transaction
    SM50 Work Process Overview
    SM51 List of SAP Systems
    SM59 RFC Destinations (Display/Maintain)
    SM62 Display/Edit Events
    SM64 Trigger Event
    SM66 System wide Work Process Overview
    SNUM Number Range Driver
    SPAD Spool Administration
    SPAM Support Package Manager
    SPRO Customizing - Edit Project
    ST02 Setups/Tune Buffers
    ST03 Performance, SAP Statistics, Workload
    ST04 DB Performance Monitor
    ST22 ABAP dump analysis
    STMS Transport Management System
    SU01 User Maintenance
    SU1 Maintain Own User Address
    SWU3 Automatic Workflow Customizing
    WE07 IDoc statistics
    WE20 Partner Profiles
    WE21 Port definition
    By no means, above is a complete list of transaction. SAP BW system contains many more standard
    transactions. In addition to which, there would be some useful custom transactions as well in any
    ongoing production system.
    Complete list of transactions in your system can be found in SAP table
    TSTC and TSTCT (Descriptions).
    Also, one can find them, Using SE84 -> Other Objects -> Transactions.

  • SE24 or In-line Declaration of Custom Class to be Used in a Custom Exit ???

    After our implementation of a custom screen in EXIT_SAPLIE01_007, the function-group XQSM contained the following custom elements:
    XQSM
        Function Modules
          EXIT_SAPLIE01_007     (this just includes ZXQSMU06)
        PBO Modules
          STATUS_9000
        PAI Modules
          USER_COMMAND_9000
        SCREENS
          9000                  (custom screen (modal dialog box))   
        GUI_STATUS
          9000                  (status for custom screen) 
        INCLUDES
          ZXQSMI01              (contains PAI module) 
          ZXQSMO01              (contains PBP module)
          ZXQSMTOP              (declares custom global variables)
          ZXQSMZZZ              (this just includes ZXQSMI01/ZXQSMO01
          ZXQSMU06              (this calls custom screen 9000)
    Then the users decided they wanted an editable ALV on custom screen 9000 (to handle multi-item GR postings in MIGO, not just single-item postings.)
    Since I never coded an editable ALV before, I first created a working editable ALV program from the SAP demo program BCALV_EDIT_03 plus some additions/modifications kindly provided by Uwe Schieferstein down in the ABAP Objects Forum.
    But now I'm stuck because I don't know which components of the XQSM function group I should put the following pieces of code in:
    1)
    class lcl_event_receiver definition deferred.
    data: g_event_receiver type ref to lcl_event_receiver.
    2)
    class lcl_event_receiver definition.
      public section.
      private section.
    endclass.
    3)
    class lcl_event_receiver implementation.
    endclass.
    Can someone please tell me where (1-3) belong inside XQSM - what components they should be put into?
    Or should I just build a custom class in SE24 and use it in the exit ???  (By "use it", I mean instantiate it and call its methods.)
    It seems to me that if I could define the class in SE24,it would be a lot easier, because everything else except (1-3) above clearly belongs in the PBO or PAIof the screen.

    Hello David
    In thread
    how to activate or deactivate a user-exit based a specific condition
    I have described a general strategy for implementing CMOD/SMOD exits. In your case, I would create a function group <b>ZXQSM</b> having two function modules:
    - <b>Z_EXIT_SAPLIE01_007</b> (= copy of EXIT_SAPLIE01_007) => calls the following fm
    - <b>Z_EXIT_SAPLIE01_007_SPEC</b> (-> specific exit that is executed only if certain conditions are fulfilled
    All you implementations for you editable ALV grid belong into your customer function group ZXQSM.
    Regards
      Uwe

  • Extractor and set-up table

    I have VAITM enhanced with few new fields.
    now when do those fields get populated... after set-up tables are filled or during set-up tables filling.
    I mean to know  that when in delta que, extraction que and application table reading, those CMOD user exits populate extract structures.
    Rita

    Hi,
    As per my understanding, the extractor program there is a code which looks up to CMOD to see if there is any enhanced code involved.If it is there it will execute the code and populate the additional fields too.
    So whenever the extractor program is executed, it checks for the CMOD code which if found is executed for every record populated.
    In this case it should work in all the cases you have mentioned.
    Hope this helps,
    Regards,
    Anoop P

  • Settlement rules in transaction IW31

    Hi gurus,
    Here is the requirement.
    After going into transaction IW31, we usually create settlement rules using the separate icon for that on the IW31 screen.
    Instead of that is it possible to create settlement rules either when we release the order or when we save the the order? The settlement rules has to be created automatically. Is it possible using user exits or BADIs?
    Thanks
    Nobz

    Customizing
    Plant Maintenance and Customer Service->Maintenance and Service Processing->
    Maintenance and Service Orders->Functions and Settings for Order Types->
    Settlement Rule: Define Time and Creation of Distribution Rule->
    Order type + 1 Mandatory for release
    ================================================================================
    CMOD - Enhancement: IWO10027 User exit: Generate user-defined settlement rule
    Example
    *&  Include           ZXWOCU24                                         *
      data char24(24).
      CLEAR pmdfu_tab.
      REFRESH pmdfu_tab[].
      pmdfu_tab-konty = 'PR'.
      pmdfu_tab-fdind = caufvd_imp-pspel.
      pmdfu_tab-perbz = 'PER'.
      pmdfu_tab-prozs = 100.
      APPEND pmdfu_tab.
      CLEAR pmdfu_tab.
      pmdfu_tab-konty = 'PR'.
      pmdfu_tab-fdind = caufvd_imp-pspel.
      pmdfu_tab-perbz = 'GES'.
      pmdfu_tab-prozs = 100.
      APPEND pmdfu_tab.
      CLEAR pmdfu_tab.

  • MIRO Equivalent of MIGO exit_saplie01_007 (FG XQSM Inc ZXQSMU06)

    In MIGO, there is an exit (exit_saplie01_007) that lets you pop custom screens, etc. after the user hits POST and before the MIGO update task is called.  IOW, this exit fires "within" the dialog process of MIGO, not the update task.
    Does any one know "right-off" if there is an equivalent exit for MIRO?

    Hello David
    In thread
    how to activate or deactivate a user-exit based a specific condition
    I have described a general strategy for implementing CMOD/SMOD exits. In your case, I would create a function group <b>ZXQSM</b> having two function modules:
    - <b>Z_EXIT_SAPLIE01_007</b> (= copy of EXIT_SAPLIE01_007) => calls the following fm
    - <b>Z_EXIT_SAPLIE01_007_SPEC</b> (-> specific exit that is executed only if certain conditions are fulfilled
    All you implementations for you editable ALV grid belong into your customer function group ZXQSM.
    Regards
      Uwe

  • Add new fields to VL06O

    We are on ECC 6.  I need to add additional fields to the General Delivery List - Outbound Deliveries from transaction VL06O.  Offhand I don't see an available user exit in the IMG.   Prior research seems to indicate that EXIT_SAPLV50Q_001 might do the trick.   However I've set a breakpoint there but the transaction is not stopping there.  If it's still valid in ECC 6, then how do I activate it?   If it's not valid, how would I go about adding additional fields?

    That's the correct enhancement but whether or not the breakpoint hits depends on where you set it.  You just need to follow the process for SMOD/CMOD enhancements and implement V50Q0001 (see OSS note 128150).

  • User Exit in PO & PR

    Hi all,
    I have a requirement where I have to populate the Material Group and purchasing group of the PO based on the user-selected General Ledger Account Number automatically .
         The change is required when:      
    The user has added or changed the General Ledger Account Number on a Purchase Requisition or a pruchase order Item in transaction ME51N or ME21N the material group and purchasing group has to be selected automatically.
    Can any body suggest a suitable exit where we can implement the required change.
    Regards,
    Anuj Kumar
    Message was edited by: Anuj Kumar

    Hi Anuj,
    There is a user-exit that enables you to change Purchase Requisition Data.  In transaction SMOD(SAP Enhancements), there is an enhancement"MEREQ001" which has a method that allows you to change data in SAP fields.  Use the exit "EXIT_SAPLMEREQ_005" for this purpose.
    To get the item data:
    CALL METHOD im_req_item->get_data
      RECEIVING
        re_data = item_data.
    To get the item data change indicators:
    CALL METHOD im_req_item->get_data
      RECEIVING
        re_data = item_datax.
    Change the desired fields in "ITEM_DATA" and set the corresponding update indicators in "ITEM_DATAX".
    To Set the item data
          CALL METHOD im_req_item->set_data
            EXPORTING
              im_data = item_data.
    To set the item change indicators
          CALL METHOD im_req_item->set_datax
            EXPORTING
              im_datax = item_datax.
    Hope this helps,
    Jerrod Baldauf

  • Issue with Import/Add function

    I have been having an issue with a difference between the position of files in Finder & the position in whcih they are shown LR 5.
    In Finder the folder view will be
    Neils Photos
       021 2013 01July - 31 Dec
          131123 HMAS Adelaide
             131123LOC001 (this is the image file)
    In LR 5 the folder view will appear as
    Neils Photos
      021 2013 01July - 31 Dec
         131123 HMAS Adelaide
      131123 HMAS Adelaide
            131123LOC001 (this is the image file)
    If I try to move the image to the correct folder in LR it will not allow it saying that the image already exists in that folder.
    When I RMC & selected "show in parent folder" I received the following message.
    An Internal Error Has Occurred
    Database “/Users/neilvincent/Pictures/Lightroom/Lightroom 5 Catalog.lrcat”: columns rootFolder, pathFromRoot are not unique Statement: UPDATE AgLibraryFolder SET rootFolder=?Where id_local=?;
    At first I thought this issue was being created by a plug-in but it is happening any time I "Import/Add" an image to LR.
    If I download from a camera, card or remote hard drive using Copy as DNG, copy, or move the image is shown correctly in LR. If I use Add to import an image or if I use a plug-in to create a HDR or panorama & save back to LR I have an issue. In the case of the plug-in the program is creating the image saving to to a location then Adding the file to LR. LR creates a new folder of the same name as the original folder but higher in the folder tree structure, it then shows the Added image in this folder rather than the folder it really is in.
    In the panels on the RHS the only box ticked is "Don't import suspected duplicates" but I don't see this panel when using a plug-in.
    The work around is to put the file into another folder & then move & import into LR.
    Is there a fix for this?

    Hi Tilak,
    The variables do behave differently in Integrated Planning applications.
    You have to pass the variable values exclusively in work book designer or web application designer for your cmod to work.
    Please refer the following document for more info.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10d2b273-0e12-2c10-fab3-a34bde559f92
    Thanks,
    Krishnan

  • CJ20N User Field Descriptive Text

    Hi all,
    In CJ20N, for an Activity's User Fields tab, we have a need to add descriptive text next to the field AFVGD-USR03 such that when data is entered into the field, the descriptive text is populated.
    For example, we've implemented the field to input a user ID. We would like the user's name to appear to the right of the field as descriptive text.
    How can we do this?

    Check this --
    First Option -
    SPRO - Project System - Structure - Operative Structures - Network - Enhancements for Network - Create Customer-Specific Fields in Network Activities
    Create Customer-Specific Fields in Network Activities
    The following SAP enhancement is available for networks in the Project System:
    CNEX0008    Customer-specific fields in network activities
    You can use this enhancement to add new customer-specific fields to network activities in table AFVU. To process these fields you can create your own screen, which the user can call up when maintaining networks. or from the project planning board.
    The enhancement CNEX0008 contains the following enhancement components:
    Menu entries:
    SAPLNWGR+CU1 project planning board
    SAPLNWCU+CU1 network maintenance (CN21, CN22, CN23)
    Function exits:
    EXIT_SAPLCONW_002 for data transfer to your own program
    EXIT_SAPLCONW_003 for data transfer from your own program
    Screen areas:
    SAPLCONW2999_CUSTSCR1_SAPLXCN10800
    Activities
    1. Create the enhancement.
    To do this, either create a new project or use an existing one.
    2. Create structure CI_AFVU in ABAP/4-Dictionary (Transaction SE11) in your own development class.
    3. Expand structure CI_AFVU to include your own fields.
    Please note:
    to use the name ranges reserved for customers
    the maximum number of fields in database tables, in this case AFVU and CI_AFVU is 749 (for SAP fields and user-defined fields together). For reasons of clarity, we recommend that you keep the actual number of fields to a minimum.
    SAP reserves the right to add new fields to table AFVU; if the maximum is reached, your user-defined fields could be removed.
    Activate the structure.
    4. Maintain the enhancement components:
    Assign the function customer fields a name.
    Add to the program coding for the function exit EXIT_SAPLCONW_002.  This exit transfers SAP data to your part of the program.
    RTo do this, call up the function module and double-click on the include Create the include module.
    Add to the program coding for the function exit EXIT_SAPLCONW_003. This function exit takes the data from your part of the program and Ptransfers it to the SAP standard program. Create your own corresponding module.
    Create the screen area.
    5. Activate the project.
    Only once you have activated the project, will your enhancement take effect.
    Note for Batch-Input
    If you want to fill your customer-specific fields later via batch-input you must take screen SAPLCONW 2999 into consideration.
    Second option --
    Check enhancement CNEX0001
    Overview
      In the standard Project System, the system does not check the
      user-defined fields in WBS elements and activities because their
      significance is customer-specific.
      You can use this enhancement to add a check.  The components of the
      enhancement are each accessed when you make entries in the appropriate
      user-defined field.
    Parameters
      In each case, the values of the relevant object (e.g.WBS element or
      activity) are transferred to the function modules.  There are no return
      parameters.  If the value in a user-defined field (field name USR...) is
      not allowed, an appropriate error message (E...) should be output.
           Enhancement CNEX0001 contains the following components:
         o   EXIT_SAPLCJSS_001: PS Customer-Exit for user-defined fields in the
             standard work breakdown structure
         o   EXIT_SAPLCJWB_001: PS Customer-Exit for user-defined fields in the
             work breakdown structure
         o   EXIT_SAPLCONW_001: PS Customer-Exit for user-defined fields in the
             network
         o   EXIT_SAPLCPDO_001: PS Customer-Exit for user-defined fields in the
             standard network
       Procedure
         For details of how to incorporate enhancements, refer to the system
         documentation or to the online documentation for transaction CMOD
         (project management of SAP enhancements, function exits)
    Hope this helps..

Maybe you are looking for