Problem in saving a user exit

Hi all ,
       I am working on a user exit for the KKA2 transaction . I needed to maintain Text Elements  for the same(The main program where the text elements are maintained is SAPLXKAG) and while saving of the text elements i assigned the package name but saved it as a local variable by mistake due to which it is saved as a local object . Now i need to put these text elements under a Transport request . Can some one help me out . Thanks in advance .

I've tried recreating in my system.  I see how you did it now.  We must change the package for object directory entry....
R3TR FUGX  XKAG
Go to SE03,  click on the option for....
Change Object Directory Entries
Next, click on the execute.
At the end of the list,  enter FUGX in the first input box and XKAG in the second input box,  the first box in the line which is greyed out will be filled in automotically,  check the checkbox next to your entry and click execute.
On the next screen, you will see you object, notice that is is assigned to $TMP package,  now double clickk on your object,  a dialog will appear where you can change the package. 
Regards,
RIch Heilman

Similar Messages

  • Problem while calling the user exit

    Hi All,
    In one of the program one user exit is called. Before this user exit ther is one FM . If I copy the same function module with a new name Z* , this user exit is not getting triggered. The program is going till the point where CALL CUSTOMER-FUNCTION '001' IS written but after that it's not going inside the user exit. But if I put back the original FM , this suer exit is getting triggered and it's gong inside the exit. I've activated the Project for this user exit also. As per our requirement I've to copy the original FM into Z* FM.But my doubt is when I put back the original FM , this User Exit is getting triggered whereas when I copied this FM it's not working .
    Anybody could helpme out why it's happening ?
    Thanks
    Alok

    Srinivas,
    Yes it's related to the other post where I had to copy one standard Function Pool.While copying the function pool I copied the FMs also.This problem is coming out of one FM ,when I changed this to Z* at the place where it is called, the user exit which is written inside that FM is not getting triggered even though program is reaching till the point where this user exit is called .
    Any clue ?
    Thanks
    Alok

  • Saving an user exit

    Hi,
    Where can i save my user exit while i am working with an user exit in real time. should i save it in my package or in local object.
    Regards,
    Sudhir

    Hi,
    If u do any changes in user exits that need to be save in
    package level under workbench request.Not in Local object.
    Regards
    Pratap.M

  • Problem with HR module - user exit

    Hi
    My requirement is to have budget order checking before I save expense claims through PA30.
    Here are the step I make :
    - Transaction code PA30
    - Enter personnel no
    - Enter Info type 0015
    - Create
    - Enter wage type
    - Enter amount (BETRG)
    - Cost assignment -> enter cost  center  + oder number
    - My requirement : (Need an exit to check budget of order number)
    - Save
    Please let me know if there's exit I can use.
    Thanks,
    Melissa

    Please post this in HR FORUM.

  • Need User Exit before the Purchase Order saved!!!

    Hai All,
        I am in search for User Exit before the Purchase Order gets saved.This User Exit should capture this generated Purchase Order and post it to the Destination System for further processing.
        Can anyone help me to find this User Exit.
    Thanks,
    Ugandhar.<b></b><b></b>
    Message was edited by: Ugandhar Domathoti

    Check out this enchancement in smod <b>MM06E001</b>
    in that EXIT_SAPLEINM_001
            EXIT_SAPLEINM_002
    may help you ....
    regards
    vijay

  • Problem with step 2 in user exit.

    Hello collegues,
    I have a problem with the variables user exit in the bex analyzer. I have created a variable user exit and this is used as user authorization, and this variables is optional and enabled to entry . When i debugg the user exit, i put the break point in the step 1, in the step 0 and in the step 2, i can check the step1 and 0 but in the step 2 don´t stop. 
    Why does this happen?
    Thanks for your collaboration.

    Variable enabled to entry are not are not candidate to step 2. This step is only called once per exit variable not enabled to entry.
    Regards,
    Fred

  • Purchase requisition , ME51N, user exit for change Release date

    Hello.
    Purchase Requisition ( transaction ME51N).
    I want to change the value of u201ERelease dateu201C using user-exit EXIT_SAPLMEREQ_005.
    CALL METHOD im_req_item->get_data
      RECEIVING
        re_data = get.
    set = get.
    set-frgdt = u2026..
      CALL METHOD im_req_item->set_data
        EXPORTING
          im_data = set.
    Next, in dynpro is visible the right value from EXIT_SAPLMEREQ_005, but when saving the system uses another value, not the value from user exit.
    Do you anybody have some experiences with this problem?
    Lumir

    Hi
    The USer Exit you can use for the ME51n Tcode is by using Badi's.The Badi you can use is ME_PROCESS_REQ_CUST BADI.
    Method to be used: PROCESS_ITEM
    This link gives you a brief idea.Hope it helps you.
    BADI for ME51N
    Thanking you.

  • User Exit for CO07

    Hi All,
    I have come across one requirement:
    While creating rework order in CO07, in the Component overview screen, there are two types of line items:
    1. Component to be issued (261 movement)--- Qnty value is positive (like 150 meters)
    2. Component to be received (531 movement)--- Qnty value is negative (like -75 meters)
    There are so many line items in this screen. (some with positive values and some with negative)
    I want the system to check,
    sum of all positive values = sum of all negative values
    If there is difference, then the system should give an Error message and not allow:
    1. either the release of order
    2. or Saving of order
    I think, User Exit can be given for this effect.
    Please let me know, the exit for the above problem.
    Dinesh

    CHECK THE USER-EXITS FOR CO07:
    CCOWB001            Customer exit for modifying menu entries
    COIB0001            Customer Exit for As-Built Assignment Tool
    COZF0001            Change purchase req. for externally processed operat
    COZF0002            Change purchase req. for externally procured compone
    PPCO0001            Application development: PP orders
    PPCO0002            Check exit for setting delete mark / deletion indica
    PPCO0003            Check exit for order changes from sales order
    PPCO0004            Sort and processing exit: Mass processing orders
    PPCO0005            Storage location/backflushing when order is created
    PPCO0006            Enhancement to specify defaults for fields in order
    PPCO0007            Exit when saving production order
    PPCO0008            Enhancement in the adding and changing of components
    PPCO0009            Enhancement in goods movements for prod. process ord
    PPCO0010            Enhancement in make-to-order production - Unit of me
    PPCO0012            Production Order: Display/Change Order Header Data
    PPCO0013            Change priorities of selection crit. for batch deter
    PPCO0015            Additional check for document links from BOMs
    PPCO0016            Additional check for document links from master data
    PPCO0017            Additional check for online processing of document l
    PPCO0018            Check for changes to production order header
    PPCO0019            Checks for changes to order operations
    PPCO0021            Release Control for Automatic Batch Determination
    PPCO0022            Determination of Production Memo
    PPCO0023            Checks Changes to Order Components
    STATTEXT            Modification exit for formatting status text lines
    WITH LUCK,
    PRITAM.

  • User exit to set  GR field in PO while creation

    Hi All,
    I have requirement where we have to tick check box for GR under delivery tab in line item details of Purchase order depending on some conditions.
    Say, if company code is 'X' and material group is 'Y' then only this check box should get ticked automatically before saving the PO.
    Can any buddy tell me which User Exit we can use to fulfill this requirement or how we can search for this user exit.
    Note: Problem is we want user exit which we tick this field before saving the PO.
    regards,
    Rahul

    Hi Rahul,
    I have the same requirement of yours in my project.
    could you please share me the solution, how you solved the same.
    You can update the forum
    Need to know the user exit to change unlimited check box in delivery tag
    Reward points assured.
    Thanks and Regards,
    Baburaj

  • User Exit or BADI for CN21/CN22 on event SAVE

    Hi all,
    i have problem about finding a user exit or badi that on event "save" of CN21/CN22, for check if users has used the right Material Group.
    Does anyone know how to do that?
    Thanks

    Hi
    find the user exits belongs to CN21
    CCOWB001               Customer exit for modifying menu entries
    COIB0001               Customer Exit for As-Built Assignment Tool
    COZF0001               Change purchase req. for externally processed operation
    COZF0002               Change purchase req. for externally procured component
    PPCO0001               Application development: PP orders
    PPCO0002               Check exit for setting delete mark / deletion indicator
    PPCO0003               Check exit for order changes from sales order
    PPCO0004               Sort and processing exit: Mass processing orders
    PPCO0005               Storage location/backflushing when order is created
    PPCO0006               Enhancement to specify defaults for fields in order header
    PPCO0007               Exit when saving production order
    PPCO0008               Enhancement in the adding and changing of components
    PPCO0009               Enhancement in goods movements for prod. process order
    PPCO0010               Enhancement in make-to-order production - Unit of measure
    PPCO0012               Production Order: Display/Change Order Header Data
    PPCO0013               Change priorities of selection crit. for batch determination
    PPCO0015               Additional check for document links from BOMs
    PPCO0016               Additional check for document links from master data
    PPCO0017               Additional check for online processing of document links
    PPCO0018               Check for changes to production order header
    PPCO0019               Checks for changes to order operations
    PPCO0021               Release Control for Automatic Batch Determination
    PPCO0022               Determination of Production Memo
    PPCO0023               Checks Changes to Order Components
    STATTEXT               Modification exit for formatting status text lines

  • User Exit during Sales Order Creation - New Line Item needed

    I have a situation during the process of sales order creation. If a Material in a line item has say 27 EA and the Base Unit is EA. But the Sales Unit is CSE. Then whenever the user enters 27 EA and presses enter he should get two line items.
    The first line item needs to convert to maximum number of CSE posible and the rest will be the second line item with the remaining EA. The order isn't important but that is what is needed. Question is how do I approach this problem and code my user exit accordingly and where do I code it.
    I was looking at SAPMV45A and saw the program MV45AIZZ which is meant as a user exit for any PAI event handling. If anybody has encountered this kind of requirement can you please share your view on this.
    I will definitely reward points for useful answers.
    Clark

    Hello Mahendra
    The requirement is as follows :
    PART 1:
    Sales Order Enter: 
    1.     When a line item is entered on a sales order (VA01 or VA02), at enter, check the sales unit of measure (VBAP-VRKME).
    •     Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP.  TANN are free goods that should not be considered for consolidation.  TAPS & ZTAP are lower level materials as a result of product selection.  They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
    •     Do not check items where VRKME <> EA
    2.     If VRKME = EA, go to MARM for MATNR.
    3.     Go to record where alternate unit of measure (MEINH) = CSE, get the value from the numerator field (UMREZ).
    4.     Divide the order quantity (VBEP-WMENG) by UMREZ.
    5.     If the result is greater than 1.0, the customer has ordered more than one case and a new line item needs to be added to the sales order for the case quantity.
    6.     Add a new line to VBAP for the same material with the case quantity.  If not a whole value, the remainder of eaches (bottles) should update the qty on the first item on VBAP.
    •     Part 1 is relevant for order types ZCA, ZOR, ZSO, RE, ZSM
    PART 2:
    Batch Job to run prior to the Delivery Due List:
    1.     Read VBUK for Delivery Status (LFSTK) = A (delivery not processed).  Get all of the document numbers (VBELN).
    2.     Go to VBEP for those document numbers to get the goods issue date for the order.  There will be many records in VBEP for the same sales order.  Look at all orders with a goods issue date (WADAT) of next day.
    3.     Go to VBAK for those document numbers to see if there are multiple sales orders for the same Sold To party (KUNNR).
    4.     For customers who have more than one order in VBAK, search all line items (for all orders).  If there are no duplicate materials across sales orders, do nothing.
    •     Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP.  TANN are free goods that should not be considered for consolidation.  TAPS & ZTAP are lower level materials as a result of product selection.  They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
    •     Do not check line items where reason for rejection (VBAP-ABGRU) is not blank
    5.     If there are duplicate materials, go through the same logic as in part 1.  If the quantity across the sales orders adds up to greater than one case, add the appropriate quantity to a new line item on the first sales order.   If there is a remainder qty, update the line item on the first sales order with this qty. In this case, the quantities on the second sales order needs to be closed out with a reason for rejection code of 50, ‘Line Item Consolidation’. If there is no remainder,  update the qty on this item directly.
    •     Part 2 is relevant for order types ZOR, ZCA, ZSM
    •     This batch job will have to be run manually for Day Pick orders.  The end of this program should automatically kick off the delivery due list for Day Pick orders, shipping condition 02.
    Business Justification:
    The business requires that like order line items be consolidated to one line item prior to the order going to the warehouse for picking.  This will aid in picking at the warehouse as well as result in the customer invoice not reflecting more than one line item for the same material.  In the case where the customer has truly ordered more than a case, i.e;, 1 case, 2 bottles, the documents in SAP will still reflect 2 lines.

  • BW User Exit

    Hi,
    I have a problem with a BW user exit in WAD. Here is the description of my problem:
    1) At first selection screen, a default range of date is selected (the 6 previous months). Let's call this range [1,2].
    2) I enter other range values [3,4] for this variable and I launch the query.
    3) When I come back to the selection screen (by clicking on the refresh button), I have then 5 lines with [3,4] + a 6th line [1,2], instead of [1,2].
    I can't see where is the problem.
    Here is my ABAP code for user exit ...
    Thank you for help!
    CASE i_vnam.
      WHEN 'DATE01_X'.
        CHECK i_step EQ 1.
        lv_today  = sy-datum.
        CLEAR ls_date.
        MOVE sy-datum TO ls_date.
        IF ls_date-month GE '07'.
          SUBTRACT 6 FROM ls_date-month.
        ELSE.
          ADD 6 TO ls_date-month.
          SUBTRACT 1 FROM ls_date-year.
        ENDIF.
        SHIFT ls_date-month RIGHT DELETING TRAILING ' '.
        OVERLAY ls_date-month WITH '00' ONLY ' '.
        IF ls_date-day EQ '31'.
          IF ls_date-month EQ '04' OR
             ls_date-month EQ '06' OR
             ls_date-month EQ '09' OR
             ls_date-month EQ '11'.
            ls_date-day = '30'.
          ELSEIF ls_date-month EQ '02'.
            ls_date-day = '28'.
          ENDIF.
        ELSEIF ls_date-day EQ '30'.
          IF ls_date-month EQ '02'.
            ls_date-day = '28'.
          ENDIF.
        ELSEIF ls_date-day EQ '29'.
          IF ls_date-month EQ '02'.
            ls_date-day = '28'.
          ENDIF.
        ENDIF.
        CLEAR lv_6m_ago.
        MOVE ls_date TO lv_6m_ago.
        ze_t_range-low  = lv_6m_ago.
        ze_t_range-high = lv_today.
        ze_t_range-sign = 'I'.
        ze_t_range-opt = 'BT'.
        APPEND ze_t_range TO e_t_range.
        REFRESH ze_t_range. CLEAR ze_t_range.

    Hi,
    According to me there is no problem in the code, but apparently, what happens
    is, that, when ever you refresh your query, you get the same code executed again
    and the values retains in the memory as you come back to the selection screen,
    it is not so strange, it is happening in most of the cases, with BW exists for
    variables..
    my suggestion is that, try declaring the variable/(s), append the date ranges..and
    then EXPORT THE RANGE INTO THE MEMORY..and REFRESH, as you re-execute the the query/Selection screen..IMPORT THE RANGE FROM MEMORY..this way up to some extent we will control this issue..
    Hope this would give U an idea..
    Cheers..
    Pattan..
    Message was edited by:
            Nasiroddin Pattan

  • User exit call customer function 002 is not getting trigerred

    Hi
    I am using the user exit call customer function 002 in the function module idoc_input_proact to trigger and idoc.my problem is that the user exit is not geting triggered.
    please help me gurus as this the last day for finishing thw work.
    regards,
    Asish dash

    it means tthat, u are applying a wrong exit in the pgm.
    try to once again search for the suitable exits for your program.
    try this:
    how to find the customer exits for a particular transaction
    check out the pgm in this thread:
    Re: Find User Exits
    regards,
    padma

  • User exit for IW31 which capture screen field Po number

    Hi all
    I have the requirement that when we save work order created by IW31. It shud trigger any user exit or BADI.
    In that we have to validate the screen field Purchase order number BSTKD from the Ztable entries.
    My problem is that no user exit passes this value as export parameter. so without that how can I get this value in the include program. Please let me know the user exit which hit after save and passes PO value so I can validate this field.   Thanks!!!
    Quick answer will highly be appreciated!!
    Nikhilesh Vyas

    Hello Kiran
    Thanks for ur reply
    But this Badi does not have purchase order number as parameter in any method which call after user press save button.
    Please let me know any other alternative if u have ...thanks!!

  • ABAP: Sales Orders user-exit

    Hi all,
    I have a functional requirement and I would like to know if a simple technical solution can be applied.
    My functional requirement :
    I create a Sales Order and according the Ship-to I've populated, some custom fields in Sales Order Header have to be automatically retrieved from a specific table and displayed in the screen.
    During this process, the user can often change the Ship-to and at each time, the system has to retrieve the corresponding data and displayed them into custom fields of the Sales Order.
    I wouls like to know:
    1- if the user-exit "MOVE_FIELD_TO_VBAK" can be used for retrieving the data according the Ship-to
    2- which user-exit I can use to display in custom screen of the Sales Order, the retrieved data related to the Ship-to
    Do not hesitate to propose all possible solutions, because I'm not aware about the techncial possibilities in Sales Orders.
    Thanks in advance.
    Have a nice day!

    Hi
    The first, take in account the recommendations in SAP Note 178328 - Problems due to incorrect user exits in SD.
    Read the comments for these subroutines.
    Go to SE38 for SAPMV45A and you can see all userexits
    Other source. Look for notes in the marketplace (service.sap.com/notes) related with these userexits.
    I hope this helps you
    Regards
    Eduardo
    PD: check in include MV45AFZB the subroutines USEREXIT_CHECK* for avoid changes.
    In include MV45AFZZ, read the comments for userexit_field_modification. You can avoid modifications for some fields.

Maybe you are looking for

  • Cisco Jabber for Android 4 (Ice Cream Sandwich)?

    Hi, I'm curious to know if there are any plans to make an Android 4 version of the Cisco Jabber client. If so, do you have any estimates on release date? Best regards, Pauli

  • Lost cd rom after upgrading to windows 8.1

    System information: Satellite C55-A5300 Windows 8 Problem: This computer worked fine until last month when my son let it update to windows 8.1.  The cd rom then disappeared and he has to have the cd rom for his games.  I've tried everything I could f

  • Why is mobile home syncing so slow?

    I am running 10.8.3 on the clients and 10.8.3 with Server 2.2.1 on the Server. I have turned server-side file tracking on with sudo serveradmin settings info:enableFileSyncAgent = yes But the full story I got that from (http://krypted.com/mac-os-x/en

  • ABAP Program to delete the update rules

    Hi guys,         Is there any ABAP Program to delete the update rules if any body knows.

  • How to see every frame of an inserted movieclip?

    Suppose I have a flash movie with 100 frames and on frame 20 I insert a movieclip with 10 frames. When I scrub through my timeline and get to frame 20-30 i only see the first frame of my inserted movieclip. Is there anyway of enabling so that you see