User Exit only ME22N

Dear All,
I have  implemented on USER_EXIT for ME22N.
but data is not passing added field to Database table EKKO.
and I want only Display the Added TAB only ME22N T-CODE ONLY. It is showing all ME21N AND ME23N TCODE ALSO.
Please help on this.
Regards,
Parshuram.

Dear Sir,
I am implementing th BADI  ME_GUI_PO_CUST.
Please tale me which program i have to create screen and how to attached it to standard t-code me22n.
please help step by step.
Reagards,
parshuram.

Similar Messages

  • User exit in ME22N

    Hi,
            I am looking for an user-exit in ME22N transaction. My actual requirement is when I change account assignment category ( EKPO-KNTTP), the confirmation control (EKPO-BSTAE) should be defaulted with some value say 002.
    I have  noticed user-exit Function modules EXIT_SAPMM06E_007 and EXIT_SAPMM06E_017. There is a table TEKPO in the tables parmater of this FM's. I can see the values in fields TEKPO-KNTTP and TEKPO-BSTAE  also. But when I change the values, suppose I set TEKPO_BSTAE = 002, It is not getting reflected in the transaction ME22N.
    Can you please guide me, if the user-exits I have chosen are right ones to achieve the functionality or any other values in the user-exits need to be updated. Are there any BADI's for this kind of requirement.
    Thanks in advance.
    Vishnu Priya

    Hi Vishnu Priya,
    Inside the implementation for method 'IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM', use the method im_item->get_header to get the header details, then use method im_item->get_data to get item details. Now, you can pass the new value to the required fields and finally use im_item->set_data to set the values to PO.
    You can see the methods available for the associated type of parameter IM_ITEM by double clicking on IF_PURCHASE_ORDER_ITEM_MM.
    Make use of available methods to get the required details and proceed accordingly.
    Best Regards,
    Kumar.

  • User Exit for ME22N while saving of PO

    Hi all,
    i want a USER EXIT for ME22N while saving. i want EKET data.
    After checking EKET data, i want to chage EKPO data.
    Thanks
    pabi

    Hi,
    Below Exit you can have access to EKET and EKPO data in the tables paramters before the SAVE
    EXIT_SAPMM06E_012
    TEKPO: EKPO data
    TEKET: EKET data
    Enhancement:MM06E005 (Check in SMOD transaction)
    Check for one Paramter: I_TRTYP (This is for Create/Change/Display Modes) or You can check on Sy-Tcode = ME22N
    Hope this helps
    Regards
    Shiva

  • Urgent: User exit for ME22N and ME32K transactions

    I need to know a user exit(s) for changing Purchase Order and Contract line item fields from EKPO table. Please let me know if you know any. BADIs are also fine if the user exit does not exits. Thanks

    Dear AP,
       I'm enlisting all the exits :-
    Transaction Code - ME22N             Change Purchase Order
    Exit Name
    Description
    AMPL0001
    User subscreen for additional data on AMPL
    LMEDR001
    Enhancements to print program
    LMELA002
    Adopt batch no. from shipping notification when posting a GR
    LMELA010
    Inbound shipping notification: Transfer item data from IDOC
    LMEQR001
    User exit for source determination
    LMEXF001
    Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001
    Customer-Specific Source Determination in Retail
    M06B0001
    Role determination for purchase requisition release
    M06B0002
    Changes to comm. structure for purchase requisition release
    M06B0003
    Number range and document number
    M06B0004
    Number range and document number
    M06B0005
    Changes to comm. structure for overall release of requisn.
    M06E0004
    Changes to communication structure for release purch. doc.
    M06E0005
    Role determination for release of purchasing documents
    ME590001
    Grouping of requsitions for PO split in ME59
    MEETA001
    Define schedule line type (backlog, immed. req., preview)
    MEFLD004
    Determine earliest delivery date f. check w. GR (only PO)
    MELAB001
    Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1
    Enhancement to Document Overview ME21N/ME51N
    MEVME001
    WE default quantity calc. and over/ underdelivery tolerance
    MM06E001
    User exits for EDI inbound and outbound purchasing documents
    MM06E003
    Number range and document number
    MM06E004
    Control import data screens in purchase order
    MM06E005
    Customer fields in purchasing document
    MM06E007
    Change document for requisitions upon conversion into PO
    MM06E008
    Monitoring of contr. target value in case of release orders
    MM06E009
    Relevant texts for "Texts exist" indicator
    MM06E010
    Field selection for vendor address
    MMAL0001
    ALE source list distribution: Outbound processing
    MMAL0002
    ALE source list distribution: Inbound processing
    MMAL0003
    ALE purcasing info record distribution: Outbound processing
    MMAL0004
    ALE purchasing info record distribution: Inbound processing
    MMDA0001
    Default delivery addresses
    MMFAB001
    User exit for generation of release order
    MRFLB001
    Control Items for Contract Release Order
    No of Exits:         35
    Transaction Code - ME32K                   Change Contract
    |Exit Name|Description                                   |
    AMPL0001
    User subscreen for additional data on AMPL
    LMEDR001
    Enhancements to print program
    LMELA002
    Adopt batch no. from shipping notification when posting a GR
    LMELA010
    Inbound shipping notification: Transfer item data from IDOC
    LMEQR001
    User exit for source determination
    LMEXF001
    Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001
    Customer-Specific Source Determination in Retail
    M06B0001
    Role determination for purchase requisition release
    M06B0002
    Changes to comm. structure for purchase requisition release
    M06B0003
    Number range and document number
    M06B0004
    Number range and document number
    M06B0005
    Changes to comm. structure for overall release of requisn.
    M06E0004
    Changes to communication structure for release purch. doc.
    M06E0005
    Role determination for release of purchasing documents
    ME590001
    Grouping of requsitions for PO split in ME59
    MEETA001
    Define schedule line type (backlog, immed. req., preview)
    MEFLD004
    Determine earliest delivery date f. check w. GR (only PO)
    MELAB001
    Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1
    Enhancement to Document Overview ME21N/ME51N
    MEVME001
    WE default quantity calc. and over/ underdelivery tolerance
    MM06E001
    User exits for EDI inbound and outbound purchasing documents
    MM06E003
    Number range and document number
    MM06E004
    Control import data screens in purchase order
    MM06E005
    Customer fields in purchasing document
    MM06E007
    Change document for requisitions upon conversion into PO
    MM06E008
    Monitoring of contr. target value in case of release orders
    MM06E009
    Relevant texts for "Texts exist" indicator
    MM06E010
    Field selection for vendor address
    MMAL0001
    ALE source list distribution: Outbound processing
    MMAL0002
    ALE source list distribution: Inbound processing
    MMAL0003
    ALE purcasing info record distribution: Outbound processing
    MMAL0004
    ALE purchasing info record distribution: Inbound processing
    MMDA0001
    Default delivery addresses
    MMFAB001
    User exit for generation of release order
    MRFLB001
    Control Items for Contract Release Order
    No of Exits:         35
    Regards,
    Deva.

  • User Exit in ME22N with version management

    Hi Experts,
      I have implemented the userexit MM06E005 with FM - EXIT_SAPMM06E_012 . and in Include program i have given the code.
    CASE sy-tcode.
    when 'ME22N'.
    IF SY-UCOMM = 'MECHECKDOC' or sy-ucomm = 'MESAVE'.
      If i_ekko-PROCSTAT = '01'.
         message 'Please tick the Version Completed in Version Tab' type 'E'.
      endif.
    ENDIF.
    if the user changes in ME22n it will generate the version automatically that time before saving or checking the prog it will show the error message to check the version tab.
    It is working fine using this Exit.But,Some of the fields in Item details tab Material data ,Invoice ,Quantity and all not at all generating the version.Some fields if user  makes change it is generating version and error.but some fields it is not happening.
      If anybody know the userexit to generate the version pl.tell me or tell me the alternate way.
    Thanks in advance,
    Regards,
    Nandha

    Hi Experts,
    I have implemented the userexit MM06E005 with FM - EXIT_SAPMM06E_012 . and in Include program i have given the code.
    CASE sy-tcode.
    when 'ME22N'.
    IF SY-UCOMM = 'MECHECKDOC' or sy-ucomm = 'MESAVE'.
      If i_ekko-PROCSTAT = '01'.
         message 'Please tick the Version Completed in Version Tab' type 'E'.
      endif.
    ENDIF.
    if the user changes in ME22n it will generate the version automatically that time before saving or checking the prog it will show the error message to check the version tab.
    It is working fine using this Exit.But,Some of the fields in Item details tab Material data ,Invoice ,Quantity and all not at all generating the version.Some fields if user makes change it is generating version and error.but some fields it is not happening.
    If anybody know the userexit to generate the version pl.tell me or tell me the alternate way.
    Thanks in advance,
    Regards,
    Nandha

  • Doubt on User Exit in ME22n

    Hi Friends,
    I want to create an User Exit to create a Change pointer.
    When a change is made to TCode ME22N.
    The Change pointer is used to Update EKES Table.
    It would be helpfull. If any one can suggest an User Exit Specific to this issue.

    Hi Sudhir,
    I will suggest you check with this badi ME_PO_PROCESS_CUST .
    Regards,
    Madhu.

  • User exit for ME22N

    Hi!
    Here's our scenario: we wanted our PO to be non-editable when it comes to price when it has already a goods receipt. But right now, the system allows it and no available system messages can suffice the requirement. Is there an available user exit for this?
    Thank you.

    Hi,
    Do one thing use the BADI ME_PROCESS_PO_CUST .....in this you have one method PROCESS_ITEM use this and try to pass error message depending on your condition(whether goods reciept happend or not)....
    Thanks,
    Shailaja Ainala.

  • BADI/user exit for me22n - disable/grey out field quantity (MEPO1211-MENGE)

    Dear all SAP gurus,
    When changing PO (ME22N), I need to disable (grey out) the quantity field on item (MEPO1211-MENGE), when all scheduled quantity is already received (EKET-MENGE = EKET-WEMNG).
    Have tried using LMEIGICJI and Handle_event method in CL_SCREEN_VIEW_MM. But still doesn't go to the screen that wants to be disabled.
    Tried using BADI ME_PROCESS_PO_CUST, but couldn't find how to disable the quantity field.
    (IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_ITEM only works for custom field).
    Please kindly advise
    thanks in advance

    Hi Ahmad,
    No need of ABAP, follow this IMG Path.
    Material Management -> Purchasing - Purchase Order ->  Define Screen Layout at Document Level
    After Executing it . Choose ME22 from list and then choose display icon.
    than double click Quantity and Price here uncheck opt. Entry and check display.
    save your work.
    Hope this works.
    Regards
    Ahsan

  • 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

  • User exit for ME22N in throwing an error message.

    Dear Experts,
    I have a requirement here :
    PO is created, and see it in ME22N ,we see line items. In a line item when we make changes in PO Quantity or value and save it, then Select the line item and Go to -> Environment-> Item changes. It takes to a screen where a new doc no is generated. Whenever we make changes in PO Quantity or value and save and navigate through  Go to -> Environment-> Item changes, it generates a doc number.Similarly,it can generate any no.of doc nos for the changes we make.For each change in line item  ( in PO Quantity or Value ) it generates each doc number.
    My requirement is to restrict the user not to generate more than 3 doc numbers.After 3 doc numbers are generated and user tries to change line item PO or value for another doc no, an error message has to be thrown to stop the user.
    Please guide me in this requirement.
    Thanks in advance.
    Anticipating your early reply.
    Thanks,
    ranisin

    Hi,
    Use change pointers
    Function Modules :
    1) CHANGE_POINTERS_CREATE
    2) CHANGE_POINTERS_READ
    3) CHANGE_POINTERS_STATUS_WRITE
    4) CHANGE_POINTERS_READ_MODE_SET
    5) CHANGE_POINTERS_READ_INFO_GET
    Tables :
    1) BDCP - Change pointer
    2) BDCPS - Change pointer: Status
    3) BDCP2 - Aggregated Change Pointers (BDCP, BDCPS)
    4) CDPOS - Change document items
    5) CDHDR - Change document header
    Tcodes :
    1) BD61 u2013 Activate change pointers.
    2) BD50 u2013 Activate change pointer s for message types.
    Hope this helps you.
    Thanks and Regards,
    Ranjith Nambiar

  • Change PO Output, user exits

    Hello Champions,
    Will anyone share me, is there any user exit which triggers while changing Purchase Order Output Medium in ME22N transaction. How to know list of user exits which are applicable for ME22N transaction?. will anyone guide me.
    Reward with Full points

    Hi,
    Here are the list of User Exits for ME22N
    Enhancement
    MEVME001                                WE default quantity calc. and over/ underdelivery tolerance
    MM06E001                                User exits for EDI inbound and outbound purchasing documents
    MM06E003                                Number range and document number
    MM06E004                                Control import data screens in purchase order
    MM06E005                                Customer fields in purchasing document
    MM06E007                                Change document for requisitions upon conversion into PO
    MM06E008                                Monitoring of contr. target value in case of release orders
    MM06E009                                Relevant texts for "Texts exist" indicator
    MM06E010                                Field selection for vendor address
    MMAL0001                                ALE source list distribution: Outbound processing
    MMAL0002                                ALE source list distribution: Inbound processing
    MMAL0003                                ALE purcasing info record distribution: Outbound processing
    MMAL0004                                ALE purchasing info record distribution: Inbound processing
    MMDA0001                                Default delivery addresses
    MMFAB001                                User exit for generation of release order
    MRFLB001                                Control Items for Contract Release Order
    AMPL0001                                User subscreen for additional data on AMPL
    MEQUERY1                                Enhancement to Document Overview ME21N/ME51N
    LMEDR001                                Enhancements to print program
    LMELA002                                Adopt batch no. from shipping notification when posting a GR
    LMELA010                                Inbound shipping notification: Transfer item data from IDOC
    LMEQR001                                User exit for source determination
    LMEXF001                                Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001                                Customer-Specific Source Determination in Retail
    M06B0001                                Role determination for purchase requisition release
    M06B0002                                Changes to comm. structure for purchase requisition release
    M06B0003                                Number range and document number
    MELAB001                                Gen. forecast delivery schedules: Transfer schedule implem.
    MEFLD004                                Determine earliest delivery date f. check w. GR (only PO)
    MEETA001                                Define schedule line type (backlog, immed. req., preview)
    ME590001                                Grouping of requsitions for PO split in ME59
    M06E0005                                Role determination for release of purchasing documents
    M06E0004                                Changes to communication structure for release purch. doc.
    M06B0005                                Changes to comm. structure for overall release of requisn.
    M06B0004                                Number range and document number
    Business Add-in
    ME_PROCESS_COMP                         Processing of Component Default Data at Time of GR: Customer
    ME_PO_SC_SRV                            BAdI: Service Tab Page for Subcontracting
    ME_PO_PRICING_CUST                      Enhancements to Price Determination: Customer
    ME_PO_PRICING                           Enhancements to Price Determination: Internal
    ME_INFOREC_SEND                         Capture/Send Purchase Info Record Changes - Internal Use
    ME_HOLD_PO                              Hold Enjoy Purchase Orders: Activation/Deactivation
    ME_GUI_PO_CUST                          Customer's Own Screens in Enjoy Purchase Order
    ME_FIELDSTATUS_STOCK                    FM Account Assignment Behavior for Stock PR/PO
    ME_DP_CLEARING                          Clearing (Offsetting) of Down Payments and Payment Requests
    ME_DEFINE_CALCTYPE                      Control of Pricing Type: Additional Fields
    ME_COMMTMNT_REQ_RE_C                    Check of Commitment Relevance of Purchase Requisitions
    ME_COMMTMNT_REQ_RELE                    Check of Commitment Relevance of Purchase Requisitions
    ME_COMMTMNT_PO_REL_C                    Check for Commitment-Relevance of Purchase Orders
    ME_PROCESS_PO                           Enhancements for Processing Enjoy Purchase Order: Intern.
    MM_EDI_DESADV_IN                        Supplementation of Delivery Interface from Purchase Order
    MM_DELIVERY_ADDR_SAP                    Determination of Delivery Address
    ME_WRF_STD_DNG                          PO Controlling Reminder: Extension to Standard Reminder
    ME_TRIGGER_ATP                          Triggers New ATP for Changes in EKKO, EKPO, EKPV
    ME_TRF_RULE_CUST_OFF                    BADI for Deactivation of Field T161V-REVFE
    ME_TAX_FROM_ADDRESS                     Tax jurisdiction code taken from address
    ME_REQ_POSTED                           Purchase Requisition Posted
    ME_REQ_OI_EXT                           Commitment Update in the Case of External Requisitions
    ME_RELEASE_CREATE                       BAdI: Release Creation for Sched.Agrmts with Release Docu.
    ME_PURCHDOC_POSTED                      Purchasing Document Posted
    ME_PROCESS_REQ_CUST                     Enhancements for Processing Enjoy PReqs: Customer
    ME_PROCESS_REQ                          Enhancements for Processing Enjoy PReqs: Internal
    ME_PROCESS_PO_CUST                      Enhancements for Processing Enjoy Purchase Order: Customer
    ME_COMMTMNT_PO_RELEV                    Check for Commitment-Relevance of Purchase Orders
    ME_CCP_ACTIVE_CHECK                     BAdI to check whether CCP process is active
    ME_BSART_DET                            Change document type for automatically generated POs
    ME_BAPI_PR_CREATE_02
    ME_BAPI_PR_CREATE_01
    ME_BAPI_PO_CREATE_02
    ME_BAPI_PO_CREATE_01
    ME_BADI_DISPLAY_DOC                     BAdI for Internal Control of Transaction to be Invoked
    ME_ACTV_CANCEL_PO                       BAdI for Activating the Cancel Function at Header Level
    MEGUI_LAYOUT                            BAdI for Enjoy Purchasing GUI
    SMOD_MRFLB001                           Control Items for Contract Release Order
    EXTENSION_US_TAXES                      Extended Tax Calculation with Additional Data
    ARC_MM_EKKO_WRITE                       BAdI: Enhancement of Scope of Archiving (MM_EKKO)
    ARC_MM_EKKO_CHECK                       BAdI: Enhancement of Archivability Check (MM_EKKO)
    ME_CCP_BESWK_AUTH_CH                    BAdI for authorization checks for procuring plant
    ME_COMMITMENT_STO_CH                    BadI for checking if commitments for STOs are active
    ME_COMMITMENT_RETURN                    Commitment for return item
    ME_CIP_REF_CHAR                         Enables Reference Characteristics in Purchasing
    ME_CIP_ALLOW_CHANGE                     Configuration in Purchasing: Changeability Control
    ME_CIN_MM06EFKO                         Copy PO data for use by Country version India
    ME_CIN_LEINRF2V                         BADI for LEINRF03 excise_invoice_details
    ME_CIN_LEINRF2R                         BADI for CIN India - Delivery charges
    ME_CHECK_SOURCES                        Additional Checks in Source Determination/Checking
    ME_CHECK_OA                             Check BAdI for Contracts
    ME_CHECK_ALL_ITEMS                      Run Through Items Again in the Event of Changes in EKKO
    ME_CHANGE_OUTTAB                        Enrich ALV Output Table in Purchasing
    ME_CHANGE_CHARACTER                     Customer-Specific Characteristics for Product Allocation
    ME_CCP_DEL_DURATION                     Calc. of Delivery Duration in CCP Process (Not in Standard)
    Edited by: Raj on May 12, 2008 10:05 PM

  • User exits while changing the PO Output Medium

    Hello Champions,
    Will anyone share me, is there any user exit which triggers while changing Purchase Order Output Medium in ME22N transaction.  How to know list of user exits which are applicable for ME22N transaction?.  will anyone guide me.
    Reward with Full point

    Hi PV,
    These are the list f User exits for ME22N:
    Exit Name           Description
    AMPL0001            User subscreen for additional data on AMPL
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a GR
    LMELA010            Inbound shipping notification: Transfer item data from IDOC
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001            Customer-Specific Source Determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition release
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn.
    M06E0004            Changes to communication structure for release purch. doc.
    M06E0005            Role determination for release of purchasing documents
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MEVME001            WE default quantity calc. and over/ underdelivery tolerance
    MM06E001            User exits for EDI inbound and outbound purchasing documents
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release orders
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processing
    MMAL0004            ALE purchasing info record distribution: Inbound processing
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    Regards,
    Maia

  • User exit function module include how to write the code

    hi all,
    i am creating user exit  for ME22N  using this enhance  MM06E005 .
    in this i created subscreen and set some fields .
    that data has to be stoe in EKPO.
    inside the include i have to write the logic plz guide me how to follow .
    once i enter it will store on wish internal table and wish internal table to shall i move to EKPO .
    If Tcode is ME23N how to display data in disable mode.
    Regards,
    Hari.

    This is the code inside the function module .
    once i enter data in custom field the below wish table it will store.
    FUNCTION EXIT_SAPMM06E_016.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(I_EKPO) LIKE  EKPO STRUCTURE  EKPO
    *"     VALUE(I_AKTYP)
    *"     VALUE(I_CI_EKPO) LIKE  EKPO_CI STRUCTURE  EKPO_CI
    *"     VALUE(I_BSTYP) LIKE  EKKO-BSTYP
    *"     VALUE(I_NO_SCREEN)
    *"     VALUE(I_LFA1) LIKE  LFA1 STRUCTURE  LFA1
    *"     VALUE(I_LFM1) LIKE  LFM1 STRUCTURE  LFM1
    *"     VALUE(I_EKKO) LIKE  EKKO STRUCTURE  EKKO
    *"     VALUE(I_REKPO) LIKE  EKPO STRUCTURE  EKPO OPTIONAL
    *"     VALUE(I_KEKPO) LIKE  EKPO STRUCTURE  EKPO OPTIONAL
    *"     VALUE(I_AEKPO) LIKE  EKPO STRUCTURE  EKPO OPTIONAL
    *"     VALUE(I_REBAN) LIKE  EBAN STRUCTURE  EBAN OPTIONAL
    *"     VALUE(I_MT06E) LIKE  MT06E STRUCTURE  MT06E OPTIONAL
    *"     VALUE(I_EINA) LIKE  EINA STRUCTURE  EINA OPTIONAL
    *"     VALUE(I_EINE) LIKE  EINE STRUCTURE  EINE OPTIONAL
    *"     VALUE(I_EKPO_OLD) LIKE  EKPO STRUCTURE  EKPO OPTIONAL
    *"     VALUE(I_KOMP) LIKE  KOMP STRUCTURE  KOMP OPTIONAL
    *"     VALUE(I_ENJ_CALL) OPTIONAL
    *"  TABLES
    *"      TEKPO STRUCTURE  BEKPO OPTIONAL
    *"      TEKET STRUCTURE  BEKET OPTIONAL
    *"      TEKKN STRUCTURE  EKKNU OPTIONAL
    *"      TKOMV STRUCTURE  KOMV OPTIONAL
    INCLUDE ZXM06U41 .
    ENDFUNCTION.
    inside the INCLUDE ZXM06U41 .  i writen this code
    *&  Include           ZXM06U41
    DATA :
          FS_EKPO TYPE EKPO_CI.
    IF ( SY-TCODE EQ  'ME22N' OR SY-TCODE EQ 'ME23N'
          OR SY-TCODE EQ 'ME22' OR SY-TCODE EQ 'ME23' ) .
      LOOP AT TEKPO.
       IF ( TEKPO-EBELN EQ i_EKPO-EBELN
            AND TEKPO-EBELP EQ i_EKPO-EBELP ) .
        EKPO_CI-ZMATERIAL = TEKPO-ZMATERIAL.
        EKPO_CI-ZQUANTITY = TEKPO-ZQUANTITY.
        EKPO_CI-ZUNIT     = TEKPO-ZUNIT.
        EKPO_CI-ZPRICE    = TEKPO-ZPRICE.
        EKPO_CI-ZCURRENCY = TEKPO-ZCURRENCY.
       ENDIF.
      ENDLOOP.
    ENDIF.
    Regards,
    Hari.

  • User Exit not getting triggered

    Dear all,
    we are creating a workflow for PR Release which needed release strategy customization. so we are trying to set the release stratagy by changing the communciation structure CEBAN-USRC1 field.
    for this, i had done the following things:
    1. SMOD->M06B0005->components->EXIT_SAPLEBND_004->INCLUDE ZXM06U31 (double clicked) wrote few lines of code.
    2. CMOD-> created a proj ZMM_PREL->assigned Enhancement M06B0005 under enhancements tab-> EXIT_SAPLEBND_004-> activated all
    (User exit, project eveything).
    Now my problem is when i create a PR, this user exit does not get triggered at all. I am working on ECC6.0 the same code which i did in Ecc5.0 for my previous client is still working fine.
    Can anyone please guide me where i might have gone wrong?
    Thank you,
    Regards,
    Lakshmi

    Hi,
    HAve u verifiyed that the user-exit u r using is triggered whenever u create ou PR.?
    First of all u have to put breakpoints at each and every user-exits provided for that transaction, then check which user exit is getting triggered when u carete ur PR. and thenafter write ur code in this user-exit only.
    Reward is useful.
    Regards,
    Harsha

  • Cascading Prompt in User Exit.

    Hi Gurus,
    I have an enhancement requirement for user exit, but not sure if it could be possibly done. I'll try to make this as explicit as possible. Basically, now I have 2 prompts:
    Prompt A - List of Cars
    Prompt B - Cars Model
    I have been given a requirement to actually filter my selection list of cars based on the cars model. For example, by default List of Cars has 10 Cars before I input anything on the Cars Model. Once I inputted something on Cars Model, my List of Cars should be lesser than 10 Cars (maybe 8 Cars) now due to the unavailability of the Cars based on the Cars Model.
    From my understanding, the user exit only will be kick start once the execute button is triggered in RSRT t-code and not on the selection list. So, is it possible to do something like this in user exit?  Let me know if this is still unclear.
    Regards,
    Kiloh

    Hi Bala,
    As of I know your requirement is not possible.
    If you have city object then it is possible
    or
    Apply prompt for both country and state with "and"
    Regards
    Riaz

Maybe you are looking for