User exit for me 51 to put field descryption  for ekbn-sakpto in screen 505

hi .
i have a requirement to put field descryption in screen 505 for me51 tcode(program sapmm06b) for field g/l account in screen 505(Account Assignment for item 00010).
waiting for your resposne.
bye.
sita.

Hi Seetaram,
Hi,
By using the below code you can find the User exits for a particular TCODE.Execute this program and the TCODE in selection screen.
REPORT z_find_userexit NO STANDARD PAGE HEADING.
*& 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.
Reward if helpful,
phani

Similar Messages

  • Can I use User Exit u2013 IWOC0004 u2013 Change Single-Level List for TCODE IW37N?

    Hi All,
    Can I use User Exit u2013 IWOC0004 u2013 Change Single-Level List for TCODE IW37N?
    In documentation of the User Exit I can see that I  can use this user Exit for IW37(Program - RIAFVC20) , but I want to use this for IW37N (RIH_ORDER_OPERATION_LIST).
    Please tell me is it possible.
    With best regards,
    Narendra

    Hi Pete Sir,
           I am on 4.7 , how to work with it. I am going to use screen exit IW0110018 and I want to add User fields in the IW37N.
    Thanks with best regards,
    Narendra

  • Is there any user exit/ badi to populate the partner bank type for   F-63.

    Is there any user exit/ badi to populate the partner bank type (field name BSEG-BVTYP) in transaction F-63. There is exit ‘ZFI_FOAP_CDITEMS_00001011’ having BKPF and BSEG as only import parameters so I can’t change the value for BSEG-BVTYP.
    So could you please let me know any exit where I can change the value for BSEG-BVTYP for transaction F-63?
    Thanks in Advance,
    Steevan

    hi,
    Below r the user exit related to transaction  F-63.
    Check out if any of them will solve ur Query..
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    Reward points if helpful,
    Regards,
    Brijesh

  • User Exit - adding defualt WBS Element in addi.tab for IW31 - Servi.Order

    I am facing a problem with adding WBS Element in Addit.Data tab for Service Order creation using IW31.
    At the time of creating service order using TCODE IW31, I have to maintian default values like WBS ELEMENT, for this I am using a USER EXIT "IWO10010".
    The problem is getting dump error. Becuase, it is NUMC type and I am passing the value with character + numeric. Like "EX/1232/22".
    Field length is NUMC - 8.
    "CAUFVD-PSPEL"
    If I create manually without using user exist, the field WBS Element is accepting the value and service order is creating successfully with WBS Element.
    This is also same as CAUFVD-PSPEL.
    I Couldn't understand How the SAP system will works?
    Any solution for this.
    Note: Creating Service Order IW31, Passing WBS Element with user exist with same field (CAUFVD-PSPEL) giving dump error showing "Passing Character values". If I create manually, and enter character + numeric in the same field CAUFVD-PSPEL, system creating service order without any error.
    Help me out
    thanks
    Sekhar

    self answered

  • User exits to update a Zfield in AUFK table for T-code KO01(Order Creation)

    Hi all,
    I have a custom field(zZTEST) in aufk and coas struture(zztest) in order to display in the output generated by kok5 for order.
    The reason for adding in coas struture is the ALV output in kok5 uses coas structure
    I know aufk table gets an entry while creating an order in ko01.
    When i save the order (i.e when i succesfully create an order) i have to pass a value to aufk-zztest so that the custom field in aufk for that internal order created has an value.
    I was looking at the user exits available for ko01
    i found 5 user exits for ko01
    Exit Name---Description
    COOPA002---Customer function for master data maint. - internal
    COOPA003---User-Defined Fields in the Order Master
    COOPA004---Customer function: Print order master data
    COOPA_01---Customer check modules for internal orders
    KKAZ0001---Customer check modules for internal orders
    I have written the code break-point in all the includes associated with this USER EXITS.
    Out of this only only 2 includes gets triggered when i click General data and investments tab .
    I have the code in both of them and the aufk tables gets updated when i save an internal order and i can see the value in kok5 output as well.
    To be frank this is what i want.
    But my only worry is that when we create a new internal orders we don't have any data to be filled i.e mandatory fields in General data and INvestments tab.
    i.e. user can create an internal order without even going to these tabs(General data and INvestments tab) in that case the custom field doesn't get updated and as a result of that i don't see that value in KOK5 ALV output.
    Let me know what can be done or is there any other way that this can be achieved or the way i approached is right or wrong or am i am missing any user exits and the system is at 4.6c.
    Thanks
    Venkat

    Hi,
    Any suggestions on this post
    Thanks

  • VL01N - User Exit to substitute Profit Centre value field

    Hi Guru,
    In the VL01N transaction (Outbound Delivery) I'm looking for a user exit to substitute the Profit Centre derived from a standard procedure by SAP, with another value.
    Can you suggest me the user exit normally used to do it?
    Thanks

    Hi,
    User exits for  VL01N transaction code
    V02V0001  Sales area determination for stock transport order
    V02V0002  User exit for storage location determination
    V02V0003  User exit for gate + matl staging area determination (h
    V02V0004  User Exit for Staging Area Determination (Item)
    V50PSTAT  Delivery: Item Status Calculation
    V50Q0001  Delivery Monitor: User Exits for Filling Display Fields
    V50R0001  Collective processing for delivery creation
    V50R0002  Collective processing for delivery creation
    V50R0004  Calculation of Stock for POs for Shipping Due Date List
    V50S0001  User Exits for Delivery Processing
    V53C0001  Rough workload calculation in time per item
    V53C0002  W&S: RWE enhancement - shipping material type/time slot
    V53W0001  User exits for creating picking waves
    VMDE0001  Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002  Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003  Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004  Shipping Interface: Message SDPACK (Packing, Inbound)
    Regards,
    Madhu

  • User Exit to validate sold to party field

    Hi Friends,
    Is there any user exit/ BADI to validate sold to party field in VA01. This exit should not only apply to the VA01 transaction but anywhere customer number is created in SAP. It should be possible to find a user exit that is called right at the time of entry of the customer number so that the search in the database can be intercepted and search by either number and return the one found.
    I found V45A0002 ...but this is for predefine values on sold to party field.
    Please Note: - It should be common user exit to validate sold to party and customer number in any trn.
    Points will be given for helpful answers.
    Regards,
    Hari krishna

    Hi Nagaraj,
    Thanks for your reply.
    In this include (MV45AZZ), It will stop at the user-exits USEREXIT_MOVEFIELD TO_VBAP, USEREXIT_FIELD_MODIFICATION.
    But however, I tried to create/change customer in XD01/XD02...It was not stopping in MV45AZZ at any of the exits.
    Any alternative solution or Is there any exit/ BADI ???
    Regards,
    Hari krishna

  • BADI/user exit to be used EIPO-TEXT1 field of the outbound delivery line item?

    Hi ABAPERS,
    Need some help on an enhancement with reference to outbound delivery in SCM module.I have a requirement for an enhancement to ensure that the License Check is performed for each Delivery Item based on the Material`s Export Control Parameters and updating the license number identified against each of the line item in the outbound delivery in a predetermined field.
    Basically, Using enhancement, find the appropriate License based on the information fetched from the Delivery Document and check if this is matching with the available License Information. Then the appropriate License fetched should be visible in the License Log of the Delivery Document.
    The valid License No. fetched should be updated at the Delivery Document Item – Foreign Trade – Comments Tab-Description Field 1.(ie. populate the license T606Z-GENNR in EIPO-TEXT1 field of the outbound delivery line item.).
    Could you please advise on the BADI/user exit to be used in this case. Request your inputs.

    I found the solution myself. I was actually not needing a user-exit to do this. I just simply solved it by using function modules READ_TEXT and SAVE_TEXT in a customer program.
    Regards.

  • Urgent!!!!User exit or BADI to change INSMK field in ME27 transaction

    Hi ,
      Can anybody help me to find the user exit or badi for ME27 transaction. I need to change the field INSMK to BLOCKED.
    I tried EXIT_SAPMM06E_012 ,
             EXIT_SAPMM06E_016
             EXIT_SAPMM06E_017
    by adding my code but nothing worked. Please help me in this.
    Points will be rewarded if helpful.
    Thanks in Advance.

    hai   Leela,
    Just Go To SE84
    Give The PRogram Name Or PAckage name In Which ME22N is present.
    Then Click On Display
    Then Click On Enhancements
    Then U will Get USer Exits Aswell As BAdis.
    Ok IF helpful Reward.
    And Then  Use Suitable One.
    Regards
    Eshwar

  • USER EXIT or BADI to update the field in trx. ME41

    Hi guys,
    My requeriments is  update the field EKKO SUBMI of record when the trx. ME41 but can not find how to do it, the BADI ME_PROCESS_CUST the method POST not allowed me to meet user and not allow the update the field.
    Please help ...
    Thanks.

    Hi Ramana,
    Go to SPRO Transaction and follow the below path
    Customer relationship management>Transactions>Settings for Service Processes>Business Add-Ins and you will find 8 BADI's.
    Check these BADI's useful for you.
    Regards,
    Lijo Joseph

  • SO Pricing User Exit - How to know which item is selected for re-pricing.

    Hello Experts,
    I have to modify material data when user does a update pricing in VA02, the problem is...How do I know which item is selected for re-pricing (in MV45AFZZ)? I am using user exit USEREXIT_PRICING_PREPARE_TKOMP.
    For Ex: If my order has 3 items and 2nd one is selected and then 'Update' is done on 'conditions' tab. Above pricing user exit is triggered 3 times for all items, so I cant check XVBAP.
    Your help will be appreciated.
    Thanks,
    Sagar

    Hi J@Y,
    Thanks for reply. But USEREXIT_PRICING_PREPARE_TKOMP is triggered for all items, so how do I know which is current item?
    If you see in debug mode, xvbap-posnr and tkomp-kposn will have 10,20,30 everytime (for 3 times). How do I know if user has selected 20?
    Thanks,
    Sagar

  • User exit or Badi to add custom fields in selection screen of tcode CATS_AP

    Hi Guys,
    I want to add a custom field to the selection screen of report RCATS_APPROVE_ACTIVITIES (tcode CATS_APPR_LITE).
    I also want to display filtered by this custom fields.  Please let me know the user-exit (prefebly) or BADI.
    I will appreciate if somebody can share the steps.
    Thanks,

    Hi,
    Yes there is, the BADI name is CATS_REPORTING.
    It can be views in transaction SE17.
    thanks.
    JB

  • USER EXIT or BADI  to add custom fields in QI06 Output

    Hi Gurus,
    I have tried to find out Suitable User Exit / BADI to add custom fields in QI06 ( Collective Maintenance Display) output. but in vain..
    We found USer Exits -QLIB0001/QLIB0002 .
    Badi- QB_PLAN_SELECTION_P, QB_Q_INFO_RECORD,QB_QM_SYSTEM_COMPARE,ALV_SWITCH_GRID_LIST
    which are not useful.
    So need your Suggestions / help in finding out suitable exit/ BADI.
    Thanks in Advance,
    Lalit.

    Hi,
    You can use the function module SXV_GET_CLIF_BY_NAME to find more BADI. Set a break point and run QI06 until the end.
    I hope this helps you
    Regards
    Eduardo

  • User exit/BADI to have a validation in MIRO for item level

    Hi Experts,
         My requirement is to do a validation in MIRO (Invoice Verification) transaction, when the user enters the PO details ( T.code - MIRO ) and if the material group in the line item belongs to specific set of material groups, then I want to show a popup stating to choose a different GL account.I am searching for a suitable User exit to implement the above change which I have mentioned. So Could you please suggest me any User exit or BADI Which can be used to incorporate my changes.
    Thanks in advance.
    Regards,
      Srinivas

    Hi,
    check this thread:
    BADI IN MIRO
    Best regards.

  • User exit in ME22N to change standard fields

    Dear all,
    I'm trying to change the delivery date from exit EXIT_SAPMM06E_013 but the system doesn't keep my changes. I'm able to change the delivery date in exit EXIT_SAPMM06E_017 but I need to make it from exit 013 because I need know the confirmations from tables XEKES/YEKES.
    I'm on release 4.6C and I don't have the chance to use the BADI ME_PROCESS_PO_CUST.
    Is there a way to make this from exit 013?
    Here is the code I'm trying to use:
      DATA : wa_table(100) TYPE c,
             t_ett         TYPE STANDARD TABLE OF beket,
             wa_ett        TYPE beket.
      FIELD-SYMBOLS: <fs_ett> TYPE ANY TABLE.
      IF sy-tcode = 'ME22N'.
        wa_table = '(SAPLMEPO)ETT[]'.
      ELSEIF sy-tcode = 'ME22'.
        wa_table = '(SAPMM06E)ETT[]'.
      ELSE.
        EXIT.
      ENDIF.
      ASSIGN (wa_table) TO <fs_ett>.
      t_ett[] = <fs_ett>[].
      LOOP AT t_ett INTO wa_ett.
        IF sy-tcode(4) = 'ME21'.
          wa_ett-eindt = sy-datum.
        ELSEIF sy-tcode(4) = 'ME22'.
          wa_ett-eindt = sy-datum.
          wa_ett-updkz  = 'U'.
        ENDIF.
        MODIFY t_ett FROM wa_ett.
      ENDLOOP.
      <fs_ett>[] = t_ett[].
      UNASSIGN <fs_ett>.
    Thanks for your help.
    Elio

    Hi,
    I am facing the same pbm.
    I am trying to change PO Order Qty (Menge) based on a formula.
    I have tried writting the code at the exits :
    EXIT_SAPMM06E_016 and EXIT_SAPMM06E_013
    I am also working on REL 4.6c. facing the same pbm. The value does not stay...!!
    By now, you must have resolved the pbm.
    How did you?
    Regards,
    remi

Maybe you are looking for