User-exit that triggers everytime I change a line item and change condition

Hello Experts,
We are encountering an error wherein when we create a return order with reference
to an invoice and we create multiple line items with the same material, the succeeding
line items points to the wrong conditions in the reference invoice. Below is an example:
Original Sales Invoice 3010002390
Line Item No.     SKU          Quantity     Total Rebate Discount          Per Unit Rebate Discount
10          100315          10               128.07                    12.81
20          106666          10               128.07                    12.81
30          100338          10               243.86                    24.39
Return Order 1120000402  (repeatedly created with reference to the same sales invoice number)
20          106666          1               12.81                    12.81
30          106666          1               24.39                    24.39
For Return Order line 30, it should have picked the price 12.81 instead it picked 24.39,
which is the same line item with the original sales invoice.
I am using user-exit 'USEREXIT_NEW_PRICING_VBAP' and it triggers everytime I change the quantity of a line item.
But I tried to change the values in XKOMV and put 'U' in UPDKZ but it doesnt reflect when I view it.
Hope you can help me guys. Thank you and take care!

Thanks anyways...

Similar Messages

  • User Exit that triggers for Change operation

    Hi All..
    I want a user exit which triggers when I enter into an infotype(2001) from tcode PA30.
    My actual requirement is to show the field REFNR in display mode.
    By using the exit PBAS0001 exit0001 I can make the field REFNR in displaymode for create operation.
    But in change operation of the infotype the exit is not getting triggered.
    Regards,
    Anji.

    chk these
    Transaction Code - PA30                     Maintain HR Master Data
    Enhancement/ Business Add-in            Description
    Enhancement
    PBASRP01                                PA: User exit distributed reporting
    PBAS0002                                PA: Enhancements for Personnel Administration - Menu
    PBAS0001                                PA: Pers.Admin./Recruitment: Default values and checks
    PARA0002                                Enhancement for Calculating Annual Salary; IT0008,14,15
    PARA0001                                Enhancement for Determining the Number of Periods
    HRRPAI01                                User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
    HRPC0001                                HR: PC download authorization
    HRPBAS01                                User Exit for HR Master Data
      Business Add-in
    HRPAD00_PREM                            Definition of User Exit for Collective Search Help PREM
    HRPADUS_PBAS_0001                       Customer Exit for Message handling
    HRPAD_SUBTY_CHECK
    HR_F4_GET_SUBTYPE                       HR: Entry help for subtypes
    HR_FAST_ACTION_CHECK                    Check fields on the fast entry screen
    HR_INDVAL                               HR: Indirect wage type valuation
    HR_SET_PKGAB
    HRPAD00_RECOG_SCREEN                    Employee - Recognition Screen
    HRPAYXX_DELETE_PERNR                    BAdI for Reports Deleting Personnel Numbers
    HRPAD00_PAPM                            Definition of User Exit for Collective Search Help PAPM
    HRPAD00_GET_AF_0008                     Additional Fields for Basic Pay Infotype (0008)
    HRPAD00_ENTRY_LEAVE                     HR_ENTRY_DATE and HR_LEAVING_DATE
    HRPAD00_ADRS                            HR: Address formatting
    HRPAD00MGEACTIVATION                    Activation Action BAdI for Global Employees
    HRPAD00INFTY                            Update / Infotype maintenance
    HRPAD00AUTH_TIME                        Time Logic in the PA Authorization Check
    HRPAD00AUTH_RECORD                      Spanish Data Privacy Law: Exit for Recording
    HRPAD00AUTH_CHECK                       HR: Authorization Check
    HRIV_REDUCE_AMOUNT                      Reduction within Indirect Valuation

  • User exit that triggers while saving in transaction F-02

    Can any one please tell which userexit trigers while saving The document in transaction F-02.
    I have tried some exits but they are not triggered while saving.

    Hi Satya,
                   These are the User Exits for that T-Code.
    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
    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).
    Out of these, i am expecting one of the below is triggered while saving.
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    Regards,

  • User Exit for ME52N with Purchase Requisition number & line item number

    Does anyone know which user exit I could use to get at the purchase requisition number and line item number when I am trying to change a PR.  I see various exits with im_req_item but when I code a popup in the include it is not appearing.  I am just not finding the right exit.

    You can use enhancement MEREQ001, function exit EXIT_SAPLMEREQ_005. This enhancement description gives impression that it can only be used if you have custom fields but it can be used even when you don't have custom fields.

  • USER EXIT / BADI TO UPDATE BSEG-PRCTR ON LINE ITEM

    Hi,
    I am trying to copy the contents of BSEG-PRCTR from one line item to another.
    I want to update Profit center field automatically through some exit / BADI,
    Is there any BADI/ EXIT is available in system through which i can easliy change
    line Item details.
    If you know anything then please reply me.
    Thanks in Advance....

    Hi,
    I am trying to copy the contents of BSEG-PRCTR from one line item to another.
    I want to update Profit center field automatically through some exit / BADI,
    Is there any BADI/ EXIT is available in system through which i can easliy change
    line Item details.
    If you know anything then please reply me.
    Thanks in Advance....

  • User exit that gets triggered at the press of 'Enter' in IW42

    Hi,
    Is there any user exits that gets triggered at the press of Enter key in PM order confirmation IW42 transaction. Basically the requirement is to give a customized message at the order confirmation screen when the enter key is pressed.
    Regards,
    Prabaharan.G

    Hi,
    You may try the following enhancement points and exit respectively.
    CMFU0001        E            EXIT_SAPLCMFU_001
    CMFU0002        E            EXIT_SAPLCMFU_002
    Pls reward points if useful.
    Regards,
    Renjith Michael.
    Edited by: Renjith Michael on Jan 12, 2008 12:57 PM

  • User exits that change invoice price?

    Are you aware of any user exits that change invoice price?  Thanks.

    Hi,
    Pl use MV45AFZZ include. It has many user exists.
    FORM userexit_pricing_prepare_tkomk.
    Here you may your code
    ENDFORM.              "USEREXIT_PRICING_PREPARE_TKOMK
    FORM userexit_pricing_prepare_tkomp.
    Here you may your code
    ENDFORM.             "USEREXIT_PRICING_PREPARE_TKOMP
    FORM userexit_save_document.
    Here the code while saving the document
    ENDFORM.                    "USEREXIT_SAVE_DOCUMENT
    FORM userexit_save_document_prepare.
    ENDFORM.                "USEREXIT_SAVE_DOCUMENT_PREPARE
    Check the below enhancesments components also from SMOD.
    V45A0001
    V45A0002
    V45A0003
    V45A0004
    V45E0001
    V45E0002
    V45L0001
    V45P0001
    V45S0001
    V45S0003
    V45S0004
    V45W0001
    V46H0001
    V60F0001
    Cheers
    Hema

  • Which user exit is triggered on Save of CV01N/CV02N

    I have some requirement to be triggered on the Save of a document using CV01N/CV02N.
    I found three exits in the transaction EXIT_SAPLCV110_001, EXIT_SAPLCV110_002, EXIT_SAPLCV110_003 but none of them get triggered on Save even though I have activated the enhancement.
    If someone knows which user exit gets triggered on Save of CV01N/CV02N please let me know.

    You can use BADIs.
    You can use DOCUMENT_MAIN01.
    Go to SE18. Display 'DOCUMENT_MAIN01.
    On the menu bar, Click on Implementation > Create.
    Give your own implementation name starting with Y or Z.
    There's a method called BEFORE_SAVE in this.
    It has all the data DRAW, DRAD, DRAZ etc as Changing Parameters.
    So you will be able to manipulate that data in that method.
    Activate the implementation And you are good to go.
    Reward if helpful.

  • ESS CATS user exit not triggered

    Hi,
    I am making some validations on the time sheet using enhancement cats0006, but that user exit is not triggered in the portal, in ESS.
    I have my project activated through tr. CMOD, the user exit is triggered in R/3 using transaction CAT2.
    What could be the reason ?
    Thanks,
    Stefan
    Edited by: Stefan Kolev on Jan 24, 2012 10:51 AM

    Solved

  • BADI or User Exit that executes after BADI ORDER_SAVE

    Hi.  I am trying to find a BADI or user-exit that occurs after the BADI ORDER_SAVE has executed completely and saved the values to database.  This is because ORDER_SAVE only gives the item GUID not the header GUID and it appears the header data is only created when the save has taken place.  I am trying to use the function CRM_ORDER_MAINTAIN but I need the header data to manipulate it.
    Thanx in advance
    Martin

    I will tell you four methods to find a BADI,
    Method 1. If you think that it is a simple requirement then got SE18 and click on F4 and Iformation Systems. In the short description enter the short text and search.
    Method2. Another simple method is to search with Package.
    Method3. Put a break point in the FM SXV_GET_CLIF_BY_NAME and then run your transaction---> your requirement may satisfy here after when you press the SAVE Button. There are two more BADIs that will be triggered in general.
    a) Before Update
    b) In Update.
    Method4. Put a break point in the class CL_EXITHANDLER for METHOD get_instance. and then run your transaction.
    Hope this material helps.
    Bhargav.

  • How this user exit  MWMRF102 triggered in tcode LM05

    how this user exit  MWMRF102 triggered in tcode LM05. could somebody help for this procedure
    thanks in advance
    rakesh

    Hi Sairam,
    Goto the program for transaction VL10G.In that u make a seach for the user-exit
    USEREXIT_PREPARE_LAYOUT_FILL.Then write the logic inside tht.U will need an access key for that.
    <b>Reward points if it solves ur query or answer is helpful</b>
    Thanks
    Chinmay

  • How to find out FICO user exits that are used by User

    How to find out the FICO user exits that are used by user.

    Go to tcode CMOD. In the project field drop down your list there. Put a Z* there and run the list. These should be all the exits that are activated. Search for the ones that pertain to FI. You can also search by development class. You need a little ABAP knowledge to search easily. You get this by going to the tcode then to status then to the program then to the attributes. There you find the development class. Ie FBAS.
    pls assign points if helpful as a way to say thanks.

  • How to find which are the user exits that updating z table.

    There was a question posted by someone else which said:
    I have a z table. my requirement is to find the user exits that update the value to this table?
    but my requirement is to get only those user exits that update my z table.
    Before that question was rejected, it got 5 replies which made me think that this tip is worth sharing.
    So the steps are:
    Do a where-used list search from SE11
    Click on Search Range button at bottom
    Type UPDATE (you can also add Insert, Delete etc to select-option) to ABAP Key Words field
    Say No to the popup that asks whether to include Fields of the Table
    Result will show relevant programs with code snippets doing static Update on that custom table.

    EWK1 would be too performance heavy in this case. It scans the source code to get the result.
    You can however, download the list of programs given in where-used list, and give that as limiting condition in EWK1 or some other code scanning utility.
    Using my method, where-used list of table is taken from database tables, and then code scanning is done only on the that list, not on entire Z* programs.
    Try it yourself to notice the speed difference.

  • How can i do a variable User exit that present the values before execute

    Hi Gurus,
    How can i do a variable User exit that present the values before execute, i need this:
    a variable that calculate SYS-DATUM until 30 days before (I got the code) but this  variable run automatic because is user exit, i want this variable but first present the values, not execute automatic, this is because the users want the report that automatic present the values , help

    Hi,
    Refer the below links,
    http://documentation.softwareag.com/natural/nat424mf/pdf/ops_mf/conf_usrex.pdf
    http://www.erpgenie.com/component/content/article/1097
    http://www.apentia-online.at/UP/Apentia/files/Article/SAP_BW_User_Exits_and_BAdIs.pdf
    Hope it helps you,
    Regards,
    Ravindra.

  • I would like to change the current song from the pull down tab so that I don't have to exit whatever app I'm in, return to music and change it. Is this possible?

    I would like to change the current song from the pull down tab so that I don't have to exit whatever app I'm in, return to music and change it. Is this possible?

    Try double clicking the Home button and then swipe the bottom row fully to to the right to get to the music control

Maybe you are looking for

  • PDFs look different in Adobe reader and Acrobat professional compared to the built in PDF viewer on windows 8

    Hi there, I have been trying to narrow down an issue we have been having for some time in printing PDF files and finding that they look different on paper compared to screen.  Up until today our big KIP plotter got the blame, but as I have been colle

  • Unique or primary key on timestamp with timezone

    Hi, I have been experimenting with a date column in a primary key, or actually I tried using a timestamp with time zone in a primary key. While researching whether there was a way to avoid ORA-02329, I found the following: K15> create table dumdum  

  • Netstorage wrong hostname & virtual office empty page

    Hi, I updates our oes box (linux) with the latest patches (not sp's) and ofcourse: Nothing works anymore. When I login into virtual office, click on the netstorage link, I get the following message : NetStorage getData:IOException URL = https://virtu

  • Can't import fl.video

    I can't import fl.video I've looked for it but can't find it and I'm not sure I'm looking in all the right places.  Where on my Windows XP system should I be looking?

  • Starting a career in SAP

    Hi friends I am student from networking background with CCNA certification, but now I would like to choose my career in SAP. I haven't got any idea where to start with and which version of SAP suits to my technical background. Could any one of u plea