Code Review of User Exits with Code Inspector

Hi,
    We are using Code Inspector(Tcode - SCI) for checking the quality of ABAP Codes. It is working fine for all custom programs. But when we are checking the code of User Exits i: e MV50AFZ1 or ZXM06U22 then it checks the std SAP program (SAPMV50A) or (SAPLXM06) for these exits in place of checking that particular Exit only . How the customer/User Exits can be checked using Code Inspector. Pls advice.

Hi there!
Today, I stumbled over the same problem: Defining an Include for user exits leads to a check of the surrounding function group from SAP which I don't want to correct at all.
Is there a nice an elegant way of filtering out the SAP modules from checking? If not, the only way to get around this seems to be building an own implementation of the Code Inspector integration into CTS.
Thanks, Markus

Similar Messages

  • Im trying to update db table in  user exit, with the internal table

    Im trying to update db table in user exit, with the internal table
    my scenario:
    loop at itekpo.
    updating itekpo -
    > at the end of user exit the db table ekpo have to be updated
    endloop.
    Im updating internal table, using 
    MODIFY itekpo TRANSPORTING INCO1 INCO2  WHERE ebeln = itekpo-ebeln
    where itekpo is internal table, but it is not updating the db table 'ekpo'.
    i also tried updating ekpo directly !
    Thanks in advance

    Hi,
    you can search in the forum itself,
    Try this link for instance
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=tocreateaBADI&adv=false&sortby=cm_rnd_rankvalue
    You can find a code for finding BADI as a report with the following Transaction
    finding badis
    How to find BADIs
    Reward if helpful
    Regards
    Byju

  • Client Copy Error - ERROR: Type 'F' user exit with SYS_ERROR:

    Hello,
    We want to create a client copy from client 001 to clien 715.
    The client copy test runs successfully.
    The following error occurs in normal mode of client copy.
    1 ETA028XClient copy from "03.11.2010" "17:12:43"
    1 ETA029 System ID............................ "IS3"
    1 ETA043 Target client........................ "715"
    1 ETA030 R/3 Release.......................... "701"
    1 ETA354   Basis Support Package..............."SAPKB70107"
    1 ETA031 Host................................. "xxx"
    1 ETA000 Start in background............. ....." "
    1 ETA032 User................................. "SAP*"
    1 ETA033 Parameter
    1 ETA034 Source client........................ "001"
    1 ETA188 Source client user masters............"001"
    1 ETA185 Copier profile:......................."SAP_ALL"
    1 ETA036 Table selection
    1 ETA177 Customizing data ....................."X"
    1 ETA037 With application data................ "X"
    1 ETA155 Initialize and recreate......... "X"
    1 ETA294 Change documents are not copied
    2 ETA367XStart analysis of system "17:12:43"
    3 ETA108 "/GC1/CC_EXIT_CLIENT_DELETION" executed "        0"("        0") entries copied
    4 ETA114 Runtime "             0" seconds
    3 ETA072 Exit program "/GC1/CC_EXIT_CLIENT_DELETION" successfully executed "17:12:53"
    A2EE/SAPAPO/OM 012 "Mandant 715:" "Verbindung nicht oder fehlerhaft gepflegt:" "IS3CLNT001" " "
    2 ETA102 ERROR: Type 'F' user exit with SYS_ERROR: "/SAPAPO/OM_CLNT_COPY_DOWNLOAD"
    2 ETA534 "RCOD:" " 8" "SY-SUBRC:" " 0"
    2 ETA191 Program ended abnormally
    Can you help me?
    thx
    Torsten

    Torsten,
    Are you doing a local client copy in a SCM System. I can see it fails & is looking for SCM specific fn modules & user exits.
    If yes, has a look at this notes there are some steps that needs to be done for the transactional date:
    894490 - Client copy: Transactional data
    And re-post it in the SCM forum: SAP Advanced Planning & Optimization (SAP APO)
    - Regards, Dibya

  • User exit with transaction MB*

    hi guru.
    i have a question with user exit. after read in other topic i still need explanation from other.
    my scenario is. whenever user use sap and system generate material document no. . i want system write this mat. doc. no. into text file and store in user 's pc.
    after read from other topic i search and found related enhancement/function but not know how to start with.
    so, plaes tell me then how to deal with this.
    regards.
    kittisak.

    Hi,
    to find the user exits & Badi's for the T-code..
    go to table TSTC>enter T-code and execute> get the Program for the t-code..
    and go to-se38-->get the package attached to the t-code..
    next go to t-code Se15>expand the enhacement tab>enter package under userexit and
                                                         execute you will get the list of exits
                                                         available...
                                                      -->enter package under Badi's tab and
                                                         execute you will get the list of Badi's
                                                         available... 
    All the User exits are stored in Table MODSAP..
    Regards,
    Prabhudas

  • User Exit with MD01 screen

    Hi All,
    In MD01 screen, you can find a field called <u>'User exit Parameter</u>".
    The user will have 3 options to input the data into this field.
    1.  The User can enter single value... ex: E01
        The user exit will execute the MRP Run based on this single value.
        For this scenario, i have SAP standard code as follows.. (Pgm name: LXM61F01)
        Here UXPAR will contain value 'E01'.
          WHEN 'Z1'.
          UXPAR = USER_PAR.
          CONDENSE UXPAR.
          WRITE UXPAR+0(3) TO DISPO.
          IF DISPO IS INITIAL.
            EXIT.
          ENDIF.
          IF MT61D-DISPO <> DISPO.
            NO_PLANNING = 'X'.
          ENDIF.
    2. The user can enter multiple values... ex: E01, E03, E09.
       The user exit should take these valuse into account and run the MRP.
       The above code is meant for single value.
       Now i have to develop the code for this scenario. How to build logic for this scenario  as the UXPAR will have value "E01, E03, E09"...????
    3. The user can enter values in range format... ex: E01-E05.
       The user exit should take E01, E02, E03, E04 and E05 to run the MRP.
       How to build the logic for this scenario..????? 
    Please Help me........
    Regards
    Pavan

    Can anyone please look into this issue and help me out...????
    Really appreciate your guidance in this regard....
    Regards
    Pavan

  • User Exit  with call up after document splitting in New GL.

    Hello,
    I am looking for a user exit which is called up after document splitting and before final posting to FI. We are implementing Ecc 6.0 and wish to change functional area on gl line item based on values in cost center.  However, this change/redetermination of functional area also needs to be done on documents which have been split.  Splitting is at profit center level.
    Regards
    Jayesh.

    Hi Gordon,
    Yes, by a little piece of ABAP.
    I have created a Z table and configured by co.code and document type. Add a little bit of code in the badi FAGL_3KEH_DEFPRCTR.
    Hope it helps.
    Thanks,
    Srini

  • Assign Source of Supply User Exit with Quota Arrangements in ME57 and ME56

    Hi there,
    We are using Quota Arrangements to define Vendor rebate levels and we have enabled User Exit EXIT_SAPLMEQR_001 to provide a more informative popup to replace standard Source of Supply popup as need to display current allocation quantities and % allocation fulfiled.
    This User Exit is invoked during Assign Source of Supply during PReq processing (More precisely during Assign Source of Supply in ME51n and Automatic Source of Supply in ME57 and ME56) which all works fine.
    When used in ME51n and Source of Supply Assigned and PReq saved, the allocated quantity against the valid Quota Arrangement (EQUK-QUMNG) is successfully updated with the relevant amount
    When using ME56 or ME57 to Automatically Assign source of Supply via the PReq list, the User Exit is invoked correctly and on selecting Vendor and saving the PReq is update correctly, however the allocated quantity against the valid Quota Arrangement (EQUK-QUMNG) is NOT updated with the relevant amount
    I have searched SAP Notes and debuged with limited success but cannot find evidence as to why this difference is happening - I assume that it has something to do with User Exit but any advice gratefully received if anyone else has experienced this issue?
    Ben

    Hello Jerry,
    source will be determine based on the following points:
    Outline Agreement
    Info record
    Quota Arrangement
    Source List
    For more information, <a href="http://help.sap.com/saphelp_47x200/helpdata/en/75/ee11b255c811d189900000e8322d00/content.htm">Click here</a>
    Hope this helps.
    Regards
    Arif Mansuri

  • ABEND in Java User Exit with RAW DataType

    I have a Java User Exit Extract running against a trail file that has been pumped to the GoldenGate instance in question.  The extract starts up without any issues, but gives the following error after I update a record that has a RAW datatype as the primary key:
    JAVAWRITER(javawriter.c:269) [ERROR]: Error occurred (Java exception): UEDataSource.createOperation:
    com.goldengate.atg.datasource.InvalidTransactionState: A new operation was received without first receiving a BEGIN transaction. This can happen when processing is resumed in the middle of a transaction, or when there are "before" images in the trail that are not being sent to the user exit (always include "GetUpdateBefores" in the user-exit parameter file).
    I have tried a number of things to try to resolve this, but I can't seem to make this work.  the params for this extract currently looks like this:
    extract uePump
    sourcedefs ./dirdef/my_defgen.def
    setenv (GGS_USEREXIT_CONF = "dirprm/javaue.properties")
    getupdatebefores
    cuserexit ./dirprm/libggjava_ue.so CUSEREXIT passthru includeupdatebefores
    table my_schema.B_PLN_DIR, fetchmodcols (PLN_DIR_ID, *);
    table my_schema.*;
    ... I've tried leaving off the "includeupdatebefores" argument to the cuserexit, leaving out the fetchmodcols handling for the table with the RAW PK field, but I still get the error shown above.
    Any help / pointers is much appreciated.

    includeupdatebefores (lowercase) doesn't work;  you must use the uppercase INCLUDEUPDATEBEFORES !!

  • Update transfer requirement user exit, with order

    Dear experts,
    I want to use exit MWMTR001, function module EXIT_SAPLL03T_003 to update the Transfer requirement with the Order number created in COR1.
    But I see that by the time the user exit is called, the order number has not yet been created in the database.
    Is there maybe another place to do what I want?
    Thank you in advance,
    Roxani Athousaki

    Hi Frenchy,
    Thanks for the answer. I have one more question.
    Is it possible to automate it based on a movement type, so that every time we create a Transfer Order for this movement type the relevant TR will be automatically marked for 'final delivery'. This would help us, because then we would not have to go to WAM everytime to mark it as complete.
    Or some kind of configuration that will dictate that only one Transfer order will be allowed for a Transfer Requirement and the TR will be set to complete as soon as the TO is confirmed.
    Thanks,
    Mike

  • User exit  with a field in custom z table

    hi ..
    I have a custom z table with a z field in it. This z field is linked with t800d data base table. when a report is executed using this t800d table they want text data from the z field, but it is not displaying . they said the possible solution would be defining  a user exit. how can i do this?

    Hi,
    Your requirement is not clear. Can you explain a bit.
    Regards,
    Atish

  • Help on User Exits with example needed

    Hello Experts,
    Need help/material on:
    1)Understanding Advanced Customization (VOFM, User Exits)
    2)Calculating Freight Charges
    3)Integrating Credit and Payment Cards
    4)Interfacing with Other Modules (MRP, AR)
    5)Using Batch Delivery Processing
    Regards
    Innova

    Hi,
    There are a number of techniques SAP have used over the years to implement user-exits.
    The most recent exits will be found in CMOD. Using CMOD (or SMOD), you can list all the enhancements available, that use this technique. As  usual in the SAP world, the later the version of SAP you are using, the more exits are available.
    Other exits do not use the enhancement technique. For example, in Sales Order Processing (SAPMV45A), SAP have provided empty forms, such as USEREXIT_SAVE_DOCUMENT_PREPARE that can be used to provide customer functionality. With one client, this was used to set the blocking indicator on a sales order, if a manual change had been made to pricing. The requiredscript is written in between form and end form.
    Another technique is the use of validation and substitution rules in the financial modules.
    The best way to find the user exits available is through the IMG. The relevant nodes will take you to where the customisation can be performed. Usually, the associated IMG note details the use of each exit, though there are gaps.
    Award points if helpful.
    Message edited by
    Mohan

  • User Exit with access to all line items in sales order

    Hi,
    Is there any user exit/BADI, where we have access to all line items at the same time?
    Thanks
    Kamal

    In the Transaction is VA01/2/3 u can use program  MV45AFZZ.
    this is user exit for SO.
    regards
    Prabhu

  • BW User Exit - Code in function of the query name

    Hi,
    I would like to create an user exit code which execute a algorithm different in function of the query executed. do you know in which variable is store the technical name of the query.
    CASE query
        WHEN 'Z_ZAPO_001'.
           V1 = 1
        WHEN 'Z_ZAPO_002'.
          V1 = 2    WHEN '10' OR '11' OR '12'.
    ENDCASE.

    Yaroslav,
    I_S_RKB1D-COMPID will never be filled for authorization user-exits (I_STEP = 0). Don't ask my why, I once raised this question to OSS and they replied it was never foreseen to work with authorization user-exits. God knows why, it's very unlogical and it wouldn't cost them a lot of work to get it working...
    I could solve this problem by applying a little trick. In our queries we included a user-exit keydate variable. This will push the user-exit first in I_STEP = 1 mode where I_S_RKB1D-COMPID is filled. Then save the query name by exporting it to the ABAP-memory. Afterwards, the user exit with code for I_STEP = 0 will be processed and then you can import the query name from the ABAP memory.
    I agree it sounds a little bit tricky but there is no better option I'm affraid.

  • Throwing error in PR User Exit even after Error is corrected

    Hi all,
    I have created a User Exit in Purchase Requisition in which User Write a Dept Code in PR Header and against that Dept Code only those User ID can create a PR whose ID and Dept code are inserted in Z table.
    When I write a Dept code in PR Header which is not assigned in that Z table against that User ID it is throwing a error and a red error mark is showing in line item but when i correct that ID in header it is still showing the error, my error is not getting refresh. I have written below code, please help where i am getting wrong.
    CALL FUNCTION 'BALW_BAPIRETURN_GET2'
         EXPORTING
           type             = 'E'
           cl               = 'ZVWPRMSG'
           number           = 002
    *     PAR1             = ' '
    *     PAR2             = ' '
    *     PAR3             = ' '
    *     PAR4             = ' '
    *     LOG_NO           = ' '
    *     LOG_MSG_NO       = ' '
    *     PARAMETER        = ' '
    *     ROW              = 0
    *     FIELD            = ' '
        IMPORTING
          RETURN           = MESSAGES.
          append messages to ex_messages.
    exit.

    Hi,
    when you're joining your user exit with corrected Dept code, what is the the context of ex_messages and messages?
    Maybe you forgot to clear some data.
    Regards,
    Klaus

  • Convert Variable User Exit to ABAP OO

    Hi, I recall an article that demonstrated a better way to implement the Varaible User Exit with ABAP OO, instead of the usual design.  The ABAP OO way would eliminate a single variable code error from shutting down all of the others.   Can anyone point me to the article?
    Thanks

    Hello,
    You can use BADI which is a ABAP OO.
    [Enhancing DataSources with BAdI RSU5_SAPI_BADI|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3001894b-b1fb-2910-77ba-e80b6f2053b7]
    [Implementing a Business Add In (BAdI) in an Enhancement|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0456c54-0901-0010-f0b3-cd765fb99702]
    Thanks
    Chandran

Maybe you are looking for

  • IOS 4 - no longer able to merge calls on a 3G

    Since the upgrade to IOS 4, my iPhone 3G refuses to merge calls. When I push on 'merge' it simply switches from on line to the other...

  • Tab design very limited in Portal.

    Hi all, Do you find that the available tools for tab design is very limited in Portal ? The available options are only Active / Inactive tab images, background / font colors. I may need to turn to html portlet to create my custom tab layout and possi

  • Iphone 4s, keypad sound not working, volume buttom doesnt show up or down

    Hello, I have bought my iphone 4s, 32gb 2 days back and i found out that the keypad sound does not work. i have gone to the setting, sound and turned on the sound of lock and keypad. However, its not working. also, the colume buttom when i click it u

  • Receive attachments with AS2 in Oracle B2B

    Is it possible to receive files (.doc, pdf etc..) as attachments when using the AS2 message protocol? If so, how to setup in Oracle B2B? Thanks for your help. Raja

  • Fuji raw files

    how to ope fuji raf files in pelements12?