Finding Enhancement for a userexit

Hi All,
I am trying to find Enhancement name for the userexit USEREXIT_MOVE_FIELD_TO_VBAP and so far have tried all suggestions from the experts including, sample program code to find userexits for a transaction, SMOD, SE84 (thru package), etc., etc.. but without any success.  Can someone please show me step by step how to find the Enhancement for this userexit.  I would greatly appreciate it.  Again, no tips, hints, pls. ..just the actual steps for the aforementioned userexit.  Once we have this resolved, we could apply this to a lot more exits, which would be a big help as we need the Enhancement name in CMOD.
Thanks & Regards,
Tony

This is special type of the userexit form in the SD area. You will not find it in SMOD, CMOD etc.
You can find this FORM in the program MV45AFZZ.
You need an access key for this program if you are chaning it first time.
MV45AFZZ is the include which cotains all the userexit forms for order processing.
Regards,
Naimesh Patel

Similar Messages

  • How to find enhancements for a TCode

    Hi,
    We are doing a study for upgrading from 4.7 to ECC 6.
    For this I would like to know the enhancements done in particular (critical transactions). I have searched on the forum and found 2 approaches.
    1) Go to the program of the transaction and in the program search for call customer.
    2) Go to the program of the transaction and then take the package of the program and then in SE80 enter package name and then we will get all the enhancements for the transaction.
    However for eg for TCode CJ01 when I search the program I am able to find a few customer exits. However when I take the package name in SE80 I do not get any enhancements. So how do I find out the enhancements for a Transaction code (User exits, BADIS, exit programs, etc).
    Thanks,
    Mick

    Hi,
    To find the user exits associated, execute following code in SE38
    *& Report  Y_USER_EXIT_SEARCH                                          *
    REPORT  Y_USER_EXIT_SEARCH      .
    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.
    WRITE: 'sy ucom=', SY-UCOMM.
    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.

  • Need enhancement for KS01 Transaction for Department Filed

    Hi Gurus,
    Iam having a requirement on KS01 transaction to find enhancement for Department field.
    Here I could not find any enhancement Exit to proceed further.
    Please let know is there any alternate solution:
    Here is my comlete rquirement below:
    1.Make the u2018Departmentu2019 field, (CSKSZ-ABTEI), mandatory in the Cost Centre Master Record using   screen program name SAPLKMA1 and screen number 0300.
    2.Check the entry made in the u2018Departmentu2019 field, (CSKSZ-ABTEI), in the Cost Centre master record
    When the transaction KS01 is saved check the value in the u2018Departmentu2019 field, (CSKSZ-ABTEI), against values stored in a variable in a Z table by Controlling Area, if matched allow creation, if no match go to the first message below.
    3.Department field is not allowed to be changed once postings have been made to the Cost Centre.
    Check for transaction KS02 or KS12 when save check if u2018Departmentu2019 field has been changed, if no change continue, if changed check to see if postings have been made to the Cost Centre (table COEP), if postings have been made give the second error below, if no postings allow changes to be saved.
    Thanks & Regards
    Bhaskar

    Hi,
        Check following User Exits in SMOD all are for KS01.
      Exit Name           Description
    COCCA001            Customer enhancement to cost center authorization checks
    COCCA002            Customer Functions for Organizational Authorization Checks
    COOMEP01            CO-OM: Information system -> line item reports
    COOMKA01            Customer Fields for Cost Element Master Data
    COOMKS01            Customer Fields for Cost Center Master Data
    COOMKS02            Cost Center: Checks When Saving
    COOMKS03            Cost Center: BAPI Enhancements
    COOMLA01            Customer Fields for Activity Type Master Data
    Salil....

  • Find Tcode from given userexit & Badi

    Hi Experts,
    i got a requirement to find Tcode from the given userexit and badi,  Can anyone help me to find the Tcode .
    Note: I know how to find the userexits & Badi from the Tcode.
    Please help me to find the Tcode from the given userexit.
    Thanks  in advance.

    Hi,
    If you know the exit name; then goto table MODSAP and get the enhancement for the same.
    Then go to SMOD and get the package name...based on the package name, got to se80 and get the transaction name from the object hierarachy...
    Sometimes you may have the enhancement name in the program name(enhancementname)
    Hope this helps you
    Regards
    sk

  • I need the drivers of EDR Enhanced for LabVIEW 8.6 or more, please.

    Hello, I want to acquire a signal with the microDAQ-Lite of EAGLE Technology and I need the EDR Enhanced LabView Driver. The one I have is for labview 6.x or 7. Currently I am working in Labview 2010 so I am needing the drivers for this version. I have found in a webpage (http://edr-enhanced-for-labview.software.informer.com/8.5/ ) that a version developed by National Instruments for version 8.5 exists, it says it is free, but i cant find it. Does anyone knows if a newer version exist? or where can I find the latest one?? Please help.
    Thanks in advance.
    Alejandra 

    NI does not develop drivers for third-party DAQ devices. Contact the vendor or use the driver you have. You can load version 6 and 7 into LabVIEW 2010.

  • F-48- Downpayement related to downpayment request and enhancements for PO

    Hi to all,
    Is there anyone that can explain me why in F-48 transaction, when I make a downpayment related to downpayment request, in the subsequent screen the fields are filled with the value retrieve from previous screen ( in which I selected the downpayent request related to DP I'm posting) all fields except the purchase order field that remains NOT filled ("space" ). So it should be filled by the user. I was asked to find a substitution in order to make this field automatically filled with the correct value without the user needs to fill it manually . The problem is that purchase order field seems to be related to another field called LPN (Long Procuerement Number ). Anyone can suggest a suitable enhancement for substitution ?
    Thanks in advance...
    Andrew

    Thanks Tejas sir, AND VV sir,
    Sri Problem resolved.  But sir, we want while F-47 payment request special GL Indicator A in both case in F-48 too.. spl GL Indicator A only. while doing the same thing getting error.. see the error Below.
    Special G/L indicator A is not defined for down payments
    Message no. F5053
    Diagnosis
    The specified special G/L indicator is not classified as "down payment" or not listed in the list of the target special G/L indicators for indicator "F".
    System Response
    The entry is not accepted.
    Procedure
    Enter an allowed special G/L indicator or initiate a change of the default settings.
    Kindly help me sir.
    Thanks
    Pranav Kr. Gupta
    Note: i will give u the point. as well sir.

  • Enhanced for-loop by java5 needs to be more  enhanced?

    Hi, all of you,
    I often need to iterate a collection. Sometimes I need to iterate a subset of a collection. Then I have found the enhanced for-loop is not enough.
    Before Java 5, you did the following:
    for(int i=0;i<collection.size();i++) {
    Object object = collection.get(i);
    doSomething(object);
    }Thanks to Java 5, you can do the following:
    for(Object object:collection) {
    doSomething(object);
    }However, before Java 5, I have the flexibility to skip the first two lines by purpose, as follows
    for(int i=2;i<collection.size();i++) {
    Object object = collection.get(i);
    doSomething(object);
    }What should I do the same thing with Java 5?
    Kind regards.
    Pengyou

    pengyou wrote:
    JoachimSauer wrote:
    masijade. wrote:
    uncle_alice wrote:
    Or, if the collection is a List: for (Object obj : theList.subList(2, theList.size())) {
    doSomething(obj);
    Ah, yeah, I keep forgetting about that. ;-)
    Actually, I just never think about it. ;-)I think you're not alone. I find that subList() is severly under-used. It simplifies a lot of operations (ever tried someList.subList(0, someIndex).clear()? Try it).The solution is nice except it might throw IndexOutOfBoundsException.Which probably means a bug somewhere else. The way to avoid runtime exceptions is to write code that doesn't put you into situations where they'll arise, not to avoid them being thrown

  • Picture enhancement for GeForce 7600 on Qosmio G30-188?

    In the manual of my brandnew G30-188 there is on page 8-31 a picture with a menue called Toshiba picture enhancement for Geforce 7300. It is described that you can change the settings for the Video and TV-picture. But on my G30-188, which has the GeForce 7600 I dont find any Toshiba picture enhancement menue.
    Can someone help out?

    The 7300 is in some machines and this section applies to this. There is no windows based enhancement tool for the 7600 (I have one in my Qosmio) but you can alter settings in the Qosmioplayer by going into the setup screens directly (F1 or F2 I think.
    Hope this helps

  • Find the package of a tcd / program, and then find enhancements

    how to find package for a tcode
    like for me21n is ME
    i want find the package for the program of any tcode and so that i can find the enhancement with the help of the package in smod
    Edited by: Julius Bussche on Feb 10, 2009 4:26 PM
    Please use meaningfull subject titles

    Hi Rahul,
    This code might be helpfull:
    report zedgar_user_exits line-size 254.                     "100.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir,tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    data: l_prog like rs38l-include.
    parameters: p_tcode like tstc-tcode. " OBLIGATORY.
    parameters: p_actv as checkbox default 'X',
                p_sum as checkbox.
    start-of-selection.
      select single * from tstc where tcode eq p_tcode.
      if sy-subrc eq 0 or p_tcode is initial.
        if not p_tcode is initial.
          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.
        else.
    *      SELECT * FROM TADIR INTO TABLE JTAB
    **                      WHERE pgmid = 'R3TR'
    *                       WHERE OBJECT = 'SMOD'.
    **                      AND devclass = v_devclass.
          select * from modsapt
                  where sprsl = sy-langu.
            jtab-obj_name = modsapt-name.
            append jtab.
          endselect.
        endif.
        select single * from tstct where sprsl eq sy-langu and
                                   tcode eq p_tcode.
        format color col_positive intensified off.
        if p_sum is initial.
          write:  /(19) 'Transaction Code - ', 20(20) p_tcode,
                 45(50) tstct-ttext.
          skip.
        endif.
        if not jtab[] is initial.
          if p_sum 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.
          endif.
          loop at jtab.
            select single * from modsapt
                    where sprsl = sy-langu and
                    name = jtab-obj_name.
            format color col_normal intensified off.
            if p_actv is initial.
              write:/1 sy-vline, 2 jtab-obj_name hotspot on,
                          21 sy-vline , 22 modsapt-modtext, 95 sy-vline.
            endif.
            tables: modsap.
            data: l_1.
            clear l_1.
            select * from modsap where name = jtab-obj_name
                                   and typ = 'E'.
              if p_actv is initial.
                select single * from tfdir where funcname = modsap-member.
              else.
                select single * from tfdir where funcname = modsap-member
                                             and mand = 'C'.
              endif.
              if sy-subrc eq 0.
                if l_1 is initial.
                  l_1 = 'X'.
                  if p_sum is initial.
                    if not p_actv is initial.
                      write: /1 sy-vline, 2 jtab-obj_name hotspot on,
                             21 sy-vline , 22 modsapt-modtext, 95 sy-vline.
                      clear l_prog.
                      hide l_prog.
                    endif.
                  endif.
                endif.
                data: l_foi like modsap-member.
                l_prog = tfdir-pname+4.
                concatenate 'L' l_prog 'U' tfdir-include into l_prog.
                data: tab_prog type table of d022s with header line.
                clear tab_prog[].
                data: tab_prog2 type table of d022s with header line.
                clear tab_prog2[].
                call function 'RFC_READ_REPORT'
                     exporting
                          program = l_prog
                     tables
                          qtab    = tab_prog
                     exceptions
                          others  = 1.
                clear l_prog.
                loop at tab_prog.
                  if tab_prog-line cp '*INCLUDE*'.
                    replace 'INCLUDE' with '' into tab_prog-line.
                    replace '.' with '' into tab_prog-line.
                    shift tab_prog-line left deleting leading space.
                    write tab_prog-line to l_prog.
                    call function 'RFC_READ_REPORT'
                         exporting
                              program = l_prog
                         tables
                              qtab    = tab_prog2
                         exceptions
                              others  = 1.
                    loop at tab_prog2.
                      if tab_prog2-line eq space
                         or tab_prog2-line cp '#**'.
                        delete tab_prog2.
                      endif.
                    endloop.
                    if not tab_prog2[] is initial.
                      write: /  sy-vline,
                             21 sy-vline,
                                modsap-member,
                             50 l_prog hotspot on intensified,
                             95 sy-vline.
                      hide l_prog.
                      tables: tftit.
                      clear tftit.
                      select single * from tftit where spras = sy-langu
                                            and funcname = modsap-member.
                      if sy-subrc ne 0.
                        select single * from tftit where spras = 'EN'
                                             and funcname = modsap-member.
                        if sy-subrc ne 0.
                          select single * from tftit where spras = 'DE'
                                           and funcname = modsap-member.
                        endif.
                      endif.
                      write: tftit-stext.
                      l_foi = modsap-member.
                    endif.
                    exit.
                  endif.
                endloop.
                if l_foi ne modsap-member and p_actv is initial.
                  l_foi = modsap-member.
                  write: /  sy-vline,
                         21 sy-vline,
                            modsap-member color col_negative,
                         50 l_prog hotspot on intensified,
                         95 sy-vline.
                  hide l_prog.
                  clear tftit.
                  select single * from tftit where spras = sy-langu
                                        and funcname = modsap-member.
                  if sy-subrc ne 0.
                    select single * from tftit where spras = 'EN'
                                         and funcname = modsap-member.
                    if sy-subrc ne 0.
                      select single * from tftit where spras = 'DE'
                                       and funcname = modsap-member.
                    endif.
                  endif.
                  write: tftit-stext color col_negative.
                endif.
              endif.
            endselect.
          endloop.
          if p_sum is initial.
            write:/(95) sy-uline.
            describe table jtab.
            skip.
    *        FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    *        WRITE:/ 'No of Exits:' , SY-TFILL.
          endif.
        else.
    *      IF P_SUM IS INITIAL.
    *        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    *        WRITE:/(95) 'No User Exit exists'.
    *      ENDIF.
        endif.
    *  ELSE.
    *  ENDSELECT.
    *    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    *    WRITE:/(95) 'Transaction Code Does Not Exist'.
      endif.
    at line-selection.
      get cursor field field1.
      if field1(4) eq 'JTAB' and p_sum is initial.
        set parameter id 'MON' field sy-lisel+1(10).
        call transaction 'SMOD' and skip first screen.
      else.
        if not l_prog is initial.
          set parameter id 'RID' field l_prog.
          data begin of bdcdata occurs 100.
                  include structure bdcdata.
          data end of bdcdata.
          data begin of itab occurs 10.
                  include structure bdcmsgcoll.
          data end of itab.
          clear: bdcdata[], bdcdata.
          clear: bdcdata.
          bdcdata-program  = 'SAPMS38E'.
          bdcdata-dynpro   = '0100'.
          bdcdata-dynbegin = 'X'.
          append bdcdata.
          clear: bdcdata.
          bdcdata-fnam     = 'RS38M-PROGRAMM'.
          bdcdata-fval     = l_prog.
          append bdcdata.
          clear: bdcdata.
          bdcdata-fnam     = 'BDC_OKCODE'.
          bdcdata-fval     = '=SHOP'.
          append bdcdata.
          call transaction 'SE38'  using bdcdata  mode 'E'
                                   messages into itab.
        endif.
      endif.
    regards,
    Edgar

  • Enhancement for a User Exit

    Hi Experts.
    Can anyone tell me how to know the enhancement for a particular user-exit.
    Rgds,
    Simran

    Hi,
    If you know the User-Exit name for eg:EXIT_SAPFP50M_002, Goto SE11 and check the table MODSAPVIEW giving this (EXIT_SAPFP50M_002) in the MEMBER field, you will find the Enhacement Name in the Name filed.
    But is the thing you need to know or finding an user exit for a SAP transaction..?
    SK

  • Enhancement for Equipment master data

    Hi all
       I want to find an enhancement for Equipment master data. I want to add some customer fields to Equipment data,but i can't find the enhancement.Anybody tell me the Enhancement which be useful for that. thanks.
    BR
    Chris.

    Hi,
    you can add new tab on the screen and provide your custom field on that tab. You have to add a new tab for any Technical Object by doing some configuration changes in SPRO. first go to SPRO and in screen sequences add a new tab sequence against the profile. Now in the function group SAPLXTOB you can see this new tab screen. Do your requirements on this screen.
    Reward if useful and get back to me if you need any help.
    Thanks,
    Anil

  • Enhancement for BGM1 Transaction

    Hi Friends,
    I have a reqirement to add a new column in the BGM1 transaction -> Item Screen -> Services Tab ,            in-between SORTID and INCL/EXCL. I have checked all the User-exits, Customer exits and BADI's available for the transaction but could not find a suitable enhancement for this.
    I have given the basic frame work of the sequence in which the column should be inserted below.
    Item              Service             Text              LongText            Sortid       New field to be inserted              INCL/EXCL                       
    Is there any way to modify the screen by inserting this column. Please guide me.
    Thanks & Regards,
    R.Indirajit.

    Hi
    I do not think so, there is any user exit/BADI related to "Baseline date" change.
    Instead, if you are using ECC6.0 you can go with " Enhancement Spots ".
    Program:
    Include:     LFDCBFM0
    Search for " Implicit Enhancement " in the above program.....
    At the end of the Subroutine " Modify_Screen_Header_Fields ", place your logic:
    Logic:
                 Loop at screen.
                     Case Screen-Name.
                           When 'INVFO-ZFBDT'.
                               If <company code> is YES.
                                   screen-input = 0.
                                    modify screen.
                                endif.
                     endcase.
                 end loop.
    Hope this helps.............

  • How to Find BADI for a particular FM

    Dear Abapers,
    How do I find a BADI for a Particular Function Module.
    I did google and found three methods but none helped.
    1) going to Transaction se37 to find your function module.  Locate the function SXV_GET_CLIF_BY_NAME.
    this doesnt help me because i dont want to find badi for a transaction.
    2) got se24 and put a break point in the method of class cl_exithandler. I tried this didnt help.
    3) taking the pacake name and going to se80 and enter it there, you see enhancements. I did this , found the package name of that FM which is WZRE. but there are lots of enhancements and badis. i cant find the related one with discription.
    my FM is IDOC_INPUT_SINGLSETTRQS_CREATE. I really need help to find the correct badi for this.
    any help is appreciated.
    thanks.

    Hi,
         To find a BADI for any enhancement follow these steps,
    1) Put a brak point in method CL_EXITHANDLER=>GET_INSTANCE. This will give you the EXIT_NAME and the implementing class name of the BADI.
    2) Remove IF_EX from the implementing class this provides you the BADI name.
    Regards
    Ram

  • Screen enhancement for ECM

    Hello gurus,
    Once we create ECN we go into Objects tab and add objects. Is there a way we can enhance that screen so that I can add customer fields into the view? Any guidance in this regards will be very helpful.
    Thanks
    Regards
    Sreepati

    Hi Hari,
    You can use the function pool SAPLXCCA & include ZXCCAZZZ to find some suitable exits to enhance for the customer fields.
    Hope this helps
    Regards
    Raju

  • Enhancement for QA32 Inspection lot stock tabs

    Hello everybody:
       In QA32  user can do UD operation in "Characteristics" tabs and do Posting operation in "Inspection lot stock" tabs.
       phase 1: I use QEVA0010 enhancement to check UD  in "Characteristics" tabs and it works.
       phase 2: I need to check  the value of  "To unrestricted use" field in "Inspection lot stock" tabs but I can't find enhancement to do that.
       In my company, some user can use QA32 to do UD and do posting. But some of them often do posting without UD. In QA32 there is only a warning  message if you do posting without UD. So I need to check when user enter value in "Inspection lot stock" tabs some conditions must be satisfied (like UD).
      Is there any enhancement to use for my issue? thank you.
      ps. I have already tried QEVA0001. it doesn't wok.
      attachment is the picture of warning message.

    Hello,
    Here i suggest you that if you are using Exit for UD then in that only just apply one code where program first will check the QAMR/QASR etc. all result table field w.r.t inspection lot and if fields found empty means no data or RR then system wont pass UD code for UD posting.
    Or just make first MIC as required MIC and apply the code in that first MIC, if that MIC value is blank then again system wont allo UD.
    Secondly, Status profile maintenance is also an another stdn way to execute the requirement.
    Regards

Maybe you are looking for