BADI or User Exit validation of operations tab and displaying an error mess

Hello,
Could you please let me know the BADI or User Exit validation of operations tab and displaying an error message in iw32
Thanks,
Suresh Mgl

Hi ..
I tried that user-exit...but i need to block the changes for purchase requisition which is in released stutus..
.i hope i need to do implicite enchancement spot.....could you please help me to do that..
Thanks,
Suresh Mgl

Similar Messages

  • Is there a user exit to restrict BOM change and display using material type?

    Hi Gurus,
    There’s a need to limit access to BOMs on a per material type however the client does not want to use the functionality of "BOM Authorization Group" in BOM header details.
    Do we have a user exit that can satisfy the said requirement?
    Thanks,
    Mae

    Hi
    Restriction to Changes of BOM will have better control using authorization object .Go to PFCG with your basis guy and try to explore the objects
    You can use C_AENR_BGR object to restrict.
    Otherwise , try apply BADI BOM_UPDATE
    Regards
    JH

  • BAPI,BADI ,BDC,ALE ,IDOC,USER EXIT,VALIDATION AND SMART FORMS.

    Dear Experts,
    I am pretty new in BAPI,BADI ,BDC,ALE ,IDOC,USER EXIT,VALIDATION AND SMART FORMS.
    Pls let me know for these topics shall i put the question in this community or should i put in any other form. Pl suggest me .
    Regards
    Shivas

    Plz SEARCH in SCN before posting ,you will get lot of posts .
    Don't use all caps in the subject line

  • Badi or user exit for changing currency INR to EUR

    hi friends,
    in po header there is one tab called status.
    in this tab there is one field called delivery payment
    which has curr INR but i want to change that INR CuRR
    to EUR.Can any one tell me how do this is there any badi or user exit
    for this req.
    thanks.

    Hi Sonu,
    Use the following program to find out the appropriate user exist for ur transaction:
    REPORT ZGURU_USER_EXIT_FIND .
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP User Exits exists.
    *& Tables
    TABLES : tstc,     "SAP Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
      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 = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
    Find SAP Modifactions
        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.
    Take the user to SMOD for the Exit that was selected.
    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.
    Then u can use the function CONVERT_TO_LOCAL_CURRENCY to change the amount from INR to EUR.
    Regards,
    Himanshu

  • User Exit to default operations in IW31

    Hello Everyone,
    I have the following requirements
    1. I need to dafault the Operations in IW31 transaction. I have tried with the following code
    1. I used cmod to open up user exit EXIT_SAPLCOIH_020.
    2. Then i used cmod to open up user exit EXIT_SAPLCOIH_003
    (IWO20001 PM order: User exit to pass routing to order).
    Here in INCLUDE ZXWOCU03, I entered the following code
    IF NOT CAUFVD_IMP-AUART = 'SM03'.
    ( Use above to filter order types and PMActTypes)
    SEL_TAB-PLNTY = 'A'.
    SEL_TAB-PLNNR = 'SAFE_INS'. "***This is the name of the task list
    SEL_TAB-PLNAL = '01'.
    APPEND SEL_TAB.
    ENDIF.
    Using the above code the Operations are getting defaulted even before entering the Maintenance Activity type (PMActType) and Base Start Date. My requirement is i want an User-Exit which fills Operations based on Order Type and Maintenance Activity Type(ILART). 
    2. I also want an User-Exit to change the Control key values in the Operation tab in IW31 transaction.
    Note:The version is 4.6C
    Thanks in advance!
    Regards,
    Sandhya
    Edited by: Sandhyap on Nov 19, 2010 2:56 PM

    Dear Saket Tiwari & Dëv Päträ
    I think I've given you the not clearing impression. i mean that T-Code OLMB is for "Inventory Management and Physical Inventory" configuration. (I think that you already know about it)
    1) Go to T-Code >> OLMB > Physical Inventory > Default Values for Physical Inventory  &
                                 OLMB > Physical Inventory > Field Selection for Physical Inventory
        Pre-settings for entering physical inventory documents
    Reason for inventory difference
         The default value you specify here is only displayed when you enter an inventory difference
         without reference to the corresponding document. But you can also change the default value.
    2) and You can control "Filed selection for Physical Inventory" such as MIGO filed selection.
    I think that before finding Technical Enhancement Spot, You can consider Configuration Control for your process.
    I hope that my options will be helpful for your project.
    Regards,
    Jeong, Yeong-Chul

  • BADI or User exit to update the data in a PO(ME22N or ME21N)

    Hi,
    I require a BADI or an user exit to update all the line items of a PO...
    Please let me know if there is a badi or user exit that triggers before the saving of the PO..and also updates the values of all the item data fields..
    Thanks in advance
    Regards
    Shiva

    Hi,
    we have checked above BADI;s but will not suffice the requirement;
    The requiement is
    While Creating PO(ME21N) and Changing PO(ME22N):
    When the user tries to Save the PO:
    All the line items should be accessible and can be editable.
    If the validation fails, error message should be displayed on
    the screen and user should be able to edit at that location.
    Please let me know if there is any other way or enhancement point for the same...
    Regards
    Shiva

  • Badi under User Exit

    Hi ,
    In Badi there can be 'n' number of implementations but in User Exit it is only one implementation,can we do the user exit as 'n' number of implementation ?
    For  E.g: can we write Badi under User Exit? if so how is it possible can any one plz explain detaily?
    Regards,
    Chalapathi

    Hi Chalapathi,
    There are two types of BADIs
    1. single used BADI : we can have one implementation for single requirement. If we want to use the same implemetation for another requirement also, we can write our code in already existing implemetation, BUt we can't create seperate implementation for that requirement.
    2. multiple used BADI: we can have N number of implemetations. We can implement the BADI per requirement seperately.I found it usefull when we are creating subscreen (Custom tabs) in standard screens.
    USER EXITS: User exits are like ABAP Perform in standard SAP programs. We can write code directly in between FORM & ENFORM and activate it. We can use the same exit for N number of requirements by adding our code to already existing one!
    If we create a new BADI (single or multiple) we can use the USER exit to write code to call our new BADI. BUT it rarely happens.
    Note: As suggested by Keshav, please dont post Interview Qs in FORUM.
    Reddy

  • BAdI: or User Exit for Campaign Creation   IN CRM 5.0

    Hi all,
    we are working in CRM 5.0,
    we have a Requirement like :
    when we create the campaign it should check higher level project ID (marketing Plan ID)
    if it is there it should permit for create campaign else it ll show error...
    Any BAdI: or User Exit for Campaign Creation?
    I ll geive reward points....
    Rhanks & Regards,
    Ganesh

    IN WHICH TRANSACTION U R CREATING CAMPAIGN ??

  • BADI or USER EXIT for MIGO when changing order number

    Hi experts, I'm looking for a BADI or USER EXIT in Tx. MIGO that is triggered after pushing ENTER when you change the order number. What I need to do is to propose the movement type depending on the order data. Thanks.

    Not sure but you can try in BADi MB_DOCUMENT_BADI menthod:
    MB_DOCUMENT_UPDATE

  • Badi or user-exit for QA32 after save

    I need a badi or user exit to execute exactly after save in QA32 ..I tried belows but they are not that i want
    QPL1_SUBSCREEN_ADDON
    INSPECTIONLOT_UPDATE
    Check these Exits:
    QEVA0004 Exit for changing information line in usage decision he
    QEVA0005 User subscreen for displaying add. data for usage decis
    QEVA0006 Entry to usage decision transactions
    QEVA0007 UD: Control of compulsory comment or long text presetti
    QEVA0008 Usage decision: Customer function key (e.g. to cancel U
    QEVA0009 UD: Predefinition of quantity to be posted to sample st
    QEVA0010 UD: Usage decision check
    QLCO0001 QM: Call alternative costs report from UD
    QSS10001 Possibility of calling a different print report

    Hello Tuncer,
    have you checked the BADI QE_SAVE? This is the last possible chance of changing data on saving a QM transaction and should be active in QA32.
    The only other solution I can come up with is a follow-up action i.e. for the UD-code
    Hope this information proves usefull.
    Regards
    Isabelle

  • BADI or User exit  for FB50 to update custom field in table COEP

    Hi all,
    i have added one custom field in table COEP through include CI_COBL .
    when i do posting through sales order(VA02) or purchase order(ME22n) that custom fields in COEP get updated with controlling document
    and through BADI AC_DOCUMENT i m updating that custom field in COEP.
    but when i do manual posting through FB50 controlling document is generated in COEP but i m not able to update that custom field
    because in this case BADI AC_DOCUMENT  is not get triggered.
    is there any BADI or User exit or enhancement spot for FB50 through which i can update that custom field in table COEP

    Hi Sandy,
    Thanks for u r reply,
    RFAVIS01 is not getting triggered through FB50
    and F180A001 ( EXIT_SAPLF048_001) is getting triggered but it doesnt contain COEP field in its parameter
    import - F180A_DOC_HEAD_TAB
                 F180A_DOC_ITEM_TAB
    changing - RELATION_TAB

  • Badi or user exit for FTR_CREATE for modifying the Payment Details

    Hi,
    I need a Badi or user exit that will modify the internal table for the "Payment Details" in transaction FTR_CREATE. Basically, instead of using the default entries in the "Payment Details", data from a Z custom table will overwrite the "Payment details" or the internal table containing the "Payment details". This should create entries in the Transparent Table VTBZV with the values fron the Z custom table.
    I'm trying to implement the BADI FTR_TR_GENERIC but I cannot find where and how to modify the original "Payment Details" entries. Or if its even possible to do this.

    Hi Ravi,
    I was trying to do that but I am not sure were to start. I tried to modify the contents of PI_PROXY_TRANSACTION->A_TAB_CASHFLOW using MODIFY <itab> but an error occured when I tried to activate it saying that the Class/Interdace Attribute is read-only and cannot be modified. Is there a Method that I need to do in order to modify the Attribute? (I'm not that familiar yet with Classes and Methods though)
    Also, just to test, I manually changed the contents of two internal tables containing the "Payment Details" data during debug mode. But after the program has ended its run and finally saved the data, the Table VTBZV was not updated with the manual data I introduced. So I'm not sure if the Badi FTR_TR_GENERIC (which is I'm implementing) really allows the "Payment Details" to be modified or if I'm modifying the correct internal table(s).

  • BAdi or User exit to use in MB26 to avoid posting before saving of mat doc?

    Hello Experts,
    Can anyone tell me which BAdi or User exit to use in MB26 to avoid posting before saving of material document?
    I have requirement to stop posting incase of negative invetory in issuing storag location.
    Thanks

    Hello,
    The issue is currently we alllowing the negetaive stock at storage location level.At this movement , we want to avoid the negetive stock creation while posting the Mat doc with MB26.Before saving the material document I want check the stock levels in MARD , if the stock levels goes negative from this posting, then I want to stop the document posting.
    Thanks

  • Need BADI or USER EXIT for VT02n

    HI Friends,
    I'm writing a driver program for a ouptput type ZET1 (interface) the tcode is VT02N .
    In menu bar: goto--> output here i've give the output type and save.
    My Problem is, if there is any error on the driver program, it should be displayed the error msg while pressing  the save button.
    is there any BADI or User Exit.
    Thanks & Regards,
    Vallamuthu.M

    Hi,
       Check the below BADI's
       BADI_LE_SHIPMENT                        BadI: Shipment Processing
       BADI_V56N                                     User Exit Transport - Message Determination
    Regards,
    Srini.

  • BADI or User Exit for Txn : CRMD_ORDER

    Hi Experts,
    Is there any badi or user-exits for the transaction crmd_order.
    regrads,
    arul jtohi a

    Dear Arul Jothi,
    BAPI_ACTIVITYCRM_CREATEMULTI
    BAPI_BUSPROCESSND_CREATEMULTI
    CRM_BUSPROCESSND_BAPI
    CRM_LEADCRM_BAPI
    BAPI_LEAD_CREATEMULTI
    CRM_OPPORTUNITYCRM_BAPI
    BAPI_OPPORTUNITY_CREATEMULTI
    CRM_SLSTRANSACTCRM_BAPI
    BAPI_SLSTRANSACT_CREATEMULTI
    Also, visit the following thread:
    Change status for sales order in crmd_order
    BAdi/Enhancement:
    /people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it
    Regards,
    Naveen.

Maybe you are looking for