User exit which gets triggered when a line item is deleted in va02

Hello all,
               I am unable to find a User exit which gets trigerred when i delete a line item from va02.If I use the User Exits for saving data in Include MV45AFZZ the screen field VBAP-POSNR for line item is not getting accessed.All i need to compare the line item texts. Which means if any of these texts change then i need to write my logic. But the screen field name for all the texts is the same.Please guide me.

Hello,
Whever you perform any actions on the line item, we have the user exit in MV45AFZZ, userexitxvbap. Whenever the the item is deleted the UPDKZ value in XVBAP value is set to 'D', else since you are using the transaction VA02, any change is recorded in YVBAP(for old values) and XVBAP(for new values), so using this two internal table you can write any necessary logic.
BR
Sudhakar.

Similar Messages

  • User Exit which is triggered when we do the posting to accounting

    Dear Guru,
    Can any one provide list of User Exits which are triggred while Posting in accounting happens via MM transaction?
    Regards,
    Sandeep

    Hello
    Go through the link
    http://www.easymarketplace.de/userexit.php
    Regards

  • 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

  • User Exit RV60AFZZ not Triggered When Processing IDOC

    Hi,
    I'm writing to seek some advice on why is the user exit RV60AFZZ not getting triggered when I do a vf01 bdc inside my inbouund IDOC function module. But when I try SHDB the user exit is getting triggered normally.
    Thanks,
    Mawi

    Hi,
    Yes I'm creating invoice using delivery orders, inside the idoc function module I'm using bdc call transaction vf01 but somehow it does not trigger the user exit.
    But when I do manual vf01 in sap, the user exit is getting triggered.
    I cant figure out why this is the behavior of sap.
    Regards,
    Mawi

  • 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

  • What is the Transaction/Program which gets triggered when file

    What is the Transaction or Program which gets triggered when file has been placed on application server to generate the Inbound IDoc from the same.
    Please let me know the procedure to automate the process of generating Inbound IDoc when the file has been placed in application server path...
    Thanks for your reply ....
    regards,
    G.Reddy

    hi
    MASTER_IDOC_DISTRIBUTE fm is used to create a IDOC for outbound & for inbound
    try this
    you can use master_ale_distribute function module to create the idoc.but before that you need to populate two internal table to pass in to this function module.
    1.it_edidc = this internal table tells the port,partner profile etc.this internal table having the same structure of edidc table
    2,second you create the internal table conatains the data records.this table got the the structure of edid4.
    3.populate these two internal table and pass this to this function module
    4.you can populate the second internal table from your flat file by writing some upload program
    FORM master_ale_distribute .
    *PERFORM get_mestype.
      wa_edidc-mestyp = wrk_mestyp.
      wa_edidc-idoctp = wrk_idoctyp.
      CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
      EXPORTING
        master_idoc_control                  = wa_edidc
      OBJ_TYPE                             = ''
      CHNUM                                = ''
      TABLES
        communication_idoc_control           = it_edidc
        master_idoc_data                     = it_idoc_data.
      IF sy-subrc  0.
      ELSE.     
        READ TABLE it_edidc INTO wa_edidc INDEX 1.
        IF sy-subrc = 0.
          MESSAGE s006(msg) WITH wa_edidc-docnum.
          PERFORM modify_idocnum.
        ENDIF.
      ENDIF.
    ENDFORM.
    Regards

  • 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.

  • Which user-exit or BAPI triggered when a schedule line is changed

    Dear All,
    Does anyone know which user-exit, enhancement or BAPI is triggered when we do change on schedule line item?
    Let's say, I have two line schedule line item, then I do change for delivery date. After triggered "Item Availability" button, system will accumulate confirmed Qty on first line and second line into first line. And then the second line will remain zero.
    I need to know, which enhancement or user exit or any standard FM do this process.
    I searched, but not found any user exit or enhancement that will go through.
    Best regards,
    Dinivian.

    Hi,
    For MFBF there are sollowing user-exits....
    XMRM0001 - Backflushing in Repetitive Manufacturing.
    PTRM0001 - For lead column in REM planning Table.
    SAPLRMPU - Customer Exit for Article Staging.
    Reward points if useful....
    Regards
    AK

  • When the User Exit USEREXIT_PRICING_PREPARE_TKOMK  gets triggered?

    Hi All,
    Could you please let me know when the following user exit gets triggered?
    USEREXIT_PRICING_PREPARE_TKOMK
    Is it before the Pricing?
    or
    After the pricing?
    Is it like Pricing uses TKOMK structure for calculating the Pricing?? Please help me....
    Thanks,
    Babu Kilari

    Thanks for the replies..
    I would like to know when this gets triggered, because in the structure TKOMK, i tried to change the value of KALSM(Pricing procedure) and clicked on carry out new pricing.
    But, the new pricing is not updated with the updated pricing procedure.
    Please let me know if I am going wrong.
    Your inputs will be appreciated on this.
    Thanks,
    Babu Kilari

  • User Exit not getting Triggered in Quality Server

    Hi,
    In FM 'IDOC_INPUT_DESADV' Iam using an User Exit 'EXIT_SAPLEINM_006' ,
    which is getting triggered in Development server.But when I moved it to Quality,
    The User Exit is not getting triggered.Thou the Exit is assigned to Enhancement
    and that in turn is assigned to Project, still the problem persists.
    Can any one suggest me what could be the problem.
    Regards,
    Kiran B.

    Kiran,
    Check the <b>Project</b> of that enhancement is active or not. not the enhancement.
    <b><REMOVED BY MODERATOR></b>
    Satish
    Message was edited by:
            Alvaro Tejada Galindo

  • User-exit not getting triggered in VA32

    Hello Experts,
    Iu2019ve a requirement and Iu2019m working on Change Scheduling Agreement u2018t-code VA32u2019. According to requirement I need to capture all header data and data in Sales, Item Overview, Item Detail and Ordering party tabs. Iu2019ve set the break points in almost all the user-exits but only one FM (EXIT_SAPLV45L_002) of exit u2018V45L0001u2019 is getting trigger. Even though other exits/FM has all the tables as import/export parameters which I need but they are not getting triggered. Can anybody please tell me which user-exit / BADI I should use to capture the required data?
    Thanks.

    Hello Experts,
    Thanks a lot Vijay for you reply. Iu2019ve seen user exits of MV45AFZZ include and looks like USEREXIT_SAVE_DOCUMENT_PREPARE is the correct user exit. But I havenu2019t use Includes before can you or anybody else please tell me how to write code in include. I know how to search an include in a program but not sure how to add code in the user exit.
    Thanks

  • User exit not getting triggered while creating the vendor

    Hi all,
    I wanted to extend the idoc(crermas01) according to my reqiurement.
    But when I am trying to create a vendor using the IDOC cremas01 the user exit EXIT_SAPLKD01_001 is not getting triggered.
    Can anybody tell me the reason why it is happening so...........
    Thanks and regards,
    Vinil.

    Is your Idoc generated after the execution?
    Where is you break-point, it is inside EXIT_SAPLKD01_001. Please note FM EXIT_SAPLKD01_001 will not be called unless it is implemented using project (CMOD) and project is active.

  • VA01 user-exit to modify net price of line item...

    Hello Experts,
    Is there a user-exit to modify the net price value of a line item upon 'ENTERING' in
    VA01 transaction?
    Hope you can help me guys. Thank you and take care!

    Hi,
    The user exits and badis for va01 tcode:
    Enhancement/ Business Add-in Description
    Enhancement
    V45L0001
    SD component supplier processing (customer enhancements)
    V45E0002
    Data transfer in procurement elements (PRreq., assembly)
    V45E0001
    Update the purchase order from the sales order
    V45A0004
    Copy packing proposal
    V45A0003
    Collector for customer function modulpool MV45A
    V45A0002
    Predefine sold-to party in sales document
    V45A0001
    Determine alternative articles for product selection
    SDTRM001
    Reschedule schedule lines without a new ATP check
    V60F0001
    SD Billing plan (customer enhancement) diff. to billing plan
    V46H0001
    SD Customer functions for resource-related billing
    V45W0001
    SD Service Management: Forward Contract Data to Item
    V45S0004
    Effectivity type in sales order
    V45S0003
    RP-relevance for incomplete configuration
    V45S0001
    Update sales document from configuration
    V45P0001
    SD customer function for cross-company code sales
    Business Add-in
    BADI_SD_SCH_GETWAGFZ
    Scheduling Agreement: Read WAGFZ from S073
    BADI_SD_V46H0001
    SD Customer functions for resource-related billing
    Pls. reward if useful...

  • User exit for delivery tab of PO line item?

    Hi guys,
    i want to impose checking on under delivery tolerance field present under delivery tab of PO line items.
    Is there any user exit to do this??
    Appropriate solution would be rewarded/
    Regards,
    GURU

    Check Enhancement - MM06E005 - Exit EXIT_SAPMM06E_012
    OR
    Check Business Add-In ME_PROCESS_PO_CUST has method CHECK.
    -Alpesh

  • User exit - for ME21N, 22N, 23N - at line item level

    Hi,
    I want to add new text field to display the description of the MPM(material) in it.
    That filed I want to add to the Account Assignment tab at item level.
    How to add that field on the screen, I mean any screen exit for this?
    and function module to pass the data to that field.
    If anybody worked on such problem then pls. let me know.
    Thanks in advance.
    -- Umesh

    Hi,
    These are the user exits for me21n.                
    AMPL0001          
    LMEDR001          
    LMELA002          
    LMELA010          
    LMEQR001          
    M06B0001          
    M06B0002          
    M06B0003          
    M06B0004          
    M06B0005          
    M06E0004          
    M06E0005          
    ME590001          
    MEETA001          
    MEFLD004          
    MELAB001          
    MEVME001          
    MM06E001          
    MM06E003          
    MM06E004          
    MM06E005          
    MM06E007          
    MM06E008          
    MM06E009          
    MM06E010          
    MMAL0001          
    MMAL0002          
    MMAL0003          
    MMAL0004          
    MMDA0001          
    MMFAB001     
    Regards
    praveen

Maybe you are looking for

  • Multiple devices on same apple account

    My children were given new ipod touches for Christmas. Now I have four devices on my Apple ID and the kids have access to my aps and contacts. How do I take their devices off my account and set them up their own? Thanks in advance, Joe

  • Footnotes and Bibliography?

    It appears that Apple has overlooked the ability to create footnotes and a bibiography in iBooks Author. (yet it's specifically targeted at the academic textbook market) Can this possibly be true???

  • [Not Related to Sony XPERIA] PSP USB Problem

    Hi, I am experiencing a PSP USB fault. Now, I cannot connect my PSP to my Laptop. Any suggestions?

  • JSP forward issue

    I have a web application deployed on weblogic 8 server. I have a jsp (AddNewUser.jsp) which forwards to a servlet (CreateUserServlet.class) with the following code : <jsp:forward page="/admin/CreateUser?userID=new"/>In the CreateUserServlet class, I

  • How can I trigger audio on mouse hover

    I know,  I know, sound is annoying on webpages but Im building a site that makes it easier for people who cant read to be able to understand the information better, i.e. making it more a accessible. Ive tried using the Javascript method but I couldnt