EXIT after save in VL02

Hello everyone,
Can any one let me know are there any exits or badis which trigress after saving the delivery into the database
I need a exit or badi which only triggress after the deliveery has been created at the last in vl02.
Regards,
Reginaldo

Hi,
  try following: Before pressing save button in the transaction write down command "/h" to switch on debugger and in the debugger press shift + F5 to popup windows "Break-point at Statement" and write down "CALL CUSTOMER-FUNCTION".
With this the debugger will stop you everywhere where the user exit is called. With this way you can check if the exit you find is appropriate for you.
Regards,
  Karol
P.S.: Another possibility is to use tcodes CMOD and SMOD and try to find user-exit via descriptions ...
Edited by: Karol Seman on Dec 21, 2009 7:55 PM

Similar Messages

  • User exit after save for purchase order create/change

    After generating the purchase order no (ME21) i need to save that PO no into a custom table.....can u plz tell me such user exit where i can do this???

    Hi,
       BADI ME_PROCESS_PO_CUST.
    1. Method to implement would be POST.
    2. Method POST has parameter IM_HEADER which is in reference to IF_PURCHASE_ORDER_MM.
    3. This reference has method GET_CONDITIONS.
    4. call this method to get conditions data.
    5. Make all the changes based on the logic and use method SET_CONDITIONS to change the values.
    User exit will be MM06E005.
    EXIT_SAPMM06E_012.
    <b>Reward points</b>
    Regards

  • Need BADI or EXIT after Save of BP data

    Hi,
    I am replicating BP data from ISU to CRM. My data is coming smoothly. I need to do some enhancements in CRM side after BP data of ISU will get save into CRM.
    I need a BADI or EXIT in CRM which will call  after my ISU data will get Save into CRM.
    Please help me to solve this issue....... !
    Thanks & Regards,
    Harkesh Dang

    Hi Harkesh,
    To find the BADI do the following:
    1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
    2. In 'Display' mode, go to 'Methods' tab.
    3. Double click the method 'Get Instance' to display it source code.
    4. Set a breakpoint on 'CALL METHOD cl_exithandler=>get_class_name_by_interface'.
    5. Then run the transaction and save the BP.
    6. The screen will stop at this method.
    7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.
    Regards,
    Saumya

  • User exit after save for purchase order?

    After generating the purchase order no (ME21) i need to save that PO no into a custom table.....can u plz tell me such user exit where i can do this???

    Hello,
    Use the exit
    EXIT_SAPMM06E_012
    EXIT_SAPMM06E_013
    VAsanth

  • User Exit for MIGO after save

    Hi
    I want to print a label for the items in MIGO once the document is posted but I am unable to find a user exit after save of the MIGO transaction.
    Please guide me in this aspect
    regards
    Grame Smith

    Use this Badi.
    MB_DOCUMENT_BADI
    Read the documentation in Se18.

  • User exit for ML81N after SAVE

    I need a User exit for Service Entry Sheet change after the user has Saved the release. I need to update a customized "Z" table when a Service Entry is released from ML81N. I need to ensure the Service Entry is saved with release status. The user-exits such as SRVESSR are triggered during creation of the Service Entry but not after Save. For e.g. if I used that exit to update my Z table, the Service Entry release may not have actually saved (say due to some error), but my Z table would have been updated. Is there a solution for such a requirement?? I saw some previous threads similar in request, asking for a User exit after SAVE, but it seemed to relate to WorkFlow.

    hi ...
    try to use MB_CF001 exit ....                                                                               
    The enhancement MB_CF001 includes a function module that is called up    
    immediately before the COMMIT WORK when a goods movement is posted.                                                                               
    All the material document data is passed on to this function module from 
    the following tables:                                                                               
    o   MKPF    (Material document header)                                                                               
    o   MSEG    (Material document items)                                                                               
    o   VM07M   (Update data)                                                                               
    This data can be passed on to other programs.                                                                               
    Note                                                                               
    The enhancement does not write any data to the material document, that   
    is, it is not possible to change material document data before the       
    update posting takes place.

  • Badi or user-exit for QA32 after save

    I need a badi or user exit to execute exactly after save in QA32 ..I tried belows but they are not that i want
    QPL1_SUBSCREEN_ADDON
    INSPECTIONLOT_UPDATE
    Check these Exits:
    QEVA0004 Exit for changing information line in usage decision he
    QEVA0005 User subscreen for displaying add. data for usage decis
    QEVA0006 Entry to usage decision transactions
    QEVA0007 UD: Control of compulsory comment or long text presetti
    QEVA0008 Usage decision: Customer function key (e.g. to cancel U
    QEVA0009 UD: Predefinition of quantity to be posted to sample st
    QEVA0010 UD: Usage decision check
    QLCO0001 QM: Call alternative costs report from UD
    QSS10001 Possibility of calling a different print report

    Hello Tuncer,
    have you checked the BADI QE_SAVE? This is the last possible chance of changing data on saving a QM transaction and should be active in QA32.
    The only other solution I can come up with is a follow-up action i.e. for the UD-code
    Hope this information proves usefull.
    Regards
    Isabelle

  • User Exit or BADI for MIRO after save

    Hi
    I want to show a message in MIRO once the invoice document is create but I am unable to find a user exit or BADI after save of the MIRO transaction.
    Please guide me in this aspect.
    Regards

    try to run the below codes in a new program,it can help you to find all user exits of a t-code:
    TABLES : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    TABLES : tstct.
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
    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 EQ enlfdir-area.
    MOVE : tadir-devclass TO v_devclass.
    ENDIF.
    ENDIF.
    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.
    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.

  • MIRO - User Exit during SAVE: Read items & Update header

    Hi there!
    During MIRO after pressing save...
    I search for an user-exit or BAdI, to READ ITEM DATA and UPDATE HEADER DATA (XBLNR) after SAVE but before UPDATE.
    I have searched this forum, but with no luck. Many more then me seem to have the same problem. The most common answer have been to try BAdI INVOICE_UPDATE, but that BAdI only give READ access and NO UPDATE, so no luck there..
    To summarize all my searching here and findings... I list all exits I have tested...
    User-Exits
    LMR1M001 User exits in Logistics Invoice Verification
    LMR1M002 Account grouping for GR/IR account maintenance
    LMR1M003 Number assignment in Logistics Invoice Verification
    LMR1M004 Logistics Invoice Verification: item text for follow-on docs
    LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006 Logistics Invoice Verification: Process XML Invoice
    MRMH0001 Logistics Invoice Verification: ERS procedure
    MRMH0002 Logistics Invoice Verification: EDI inbound
    MRMH0003 Logistics Invoice Verification: Revaluation/RAP
    MRMN0001 Message output and creation: Logistics Invoice Verification
    BADI - When saving in MIRO the following BAdI were passed...
    PPA_CUST_BADI
    /CCIS/FICLRDC_ENH
    INVOICE_UPDATE  << only read no update
    ME_DP_CLEARING
    AC_DOCUMENT
    FI_LIMIT_PROCESS
    AC_QUANTITY_GET
    FMRE_BUS_PROCESS
    EXIT_XFMPRI_001
    CO_DOCUMENT_INFO
    INVOICE_UPDATE (method change_before_update ) << only read no update
    MRM_RANSACT_DEFAULT
    MRM_HEADER_DEFAULT
    Other BAdI's
    MRM_HEADER_CHECK - Bara ingående värden för kontroll
    MRM_HEADER_DEFAULT - Tyvärr sätter bara XBLNR precis när man går in i MIRO...dvs för tidigt.
    MRM_ERS_HDAT_MODIFY  - EJ anropad...
    Would be greatful for any ideas on this matter...
    Best regards
    Henrik

    Hello Henrik,
    In BADI INVOICE_UPDATE there are 3 methods CHANGE_AT_SAVE, CHANGE_BEFORE_UPDATE and CHANGE_IN_UPDATE.
    Of these CHANGE_AT_SAVE is called before INSERT / UPDATE statements are executed. We can use this to update RBKP-XBLNR.
    We can't use CHANGE_BEFORE_UPDATE and CHANGE_IN_UPDATE methods as they are called after INSERT / UPDATE statements are executed and before COMMIT.
    You can update RBKP-XBLNR through INVOICE_UPDATE~CHANGE_AT_SAVE method using call stack technique like below. You can replace 'VALUE' in the below code with the value based on your calculation using other variables like s_rbkp_new, ti_rseg_new etc.
    method IF_EX_INVOICE_UPDATE~CHANGE_AT_SAVE.
      DATA: lv_name_xblnr(30) TYPE c VALUE '(SAPLMRMP)RBKPV'.
      FIELD-SYMBOLS: <fs_rbkpv> TYPE mrm_rbkpv.
      ASSIGN (lv_name_xblnr) TO <fs_rbkpv>.
      IF <fs_rbkpv> IS ASSIGNED.
        <fs_rbkpv>-xblnr = 'VALUE'.
      ENDIF.
    endmethod.
    Best regards,
    Vishnu Tallapragada

  • Substitution rule has to triggered after save document in FB70 and FB75

    HI,
      I have a substitution rule for REFNR field  and that will trigger when you make FB70 and FB75 for 2 company codes. In the user exit for subustitution we have a code to get the next object number for some other purpose. because third party will use this generated next number for their legal requirement.
    The real problem comes this substitution rule is triggered before save document. due to this if i came back from the transaction without saving the document I am losing that generated number which i dont want.
    I need some tips on this. is there a way in the substituion settings we will trigger this exit at save document.
    I would appreciate your inputs on this.
    Regards
    PRasad

    Hi Rob,
      I would like to know.
      call point 001 is document header
      call point 002 is document item
      call point 003 is complete document.
    I am assuming 003 triggers after complete the document.
    Any clue on this.
    Regards
    PRasad

  • Remain on Infotype screen after save

    I have a created a custom infotype 9xxx and now I have a requirement that user are allowed to saved changes on infotype 9xxx thru PA30 and it has to remain on infotype 9xxx screen instead of jumping out to PA30 screen after saved.
    Is this possible?
    Is it is a config somewhere or we have to handle it technically ?
    because I have checked other standard infotypes like 0024 ,, in which it is not coming out after save.

    About IT0024 if integration with PD is switched on this infotype has different logic in comparison with other PA infotypes.
    This is why after saving the record it does not exit to the PA30 for example.
    I suggest to leave it as it is because such behavior is the standard one (to leave the detail screen after saving the record).

  • User Exit after saving

    Dear Gurus
    Is there any user exit after saving billing document to save the data into Ztable for the purpose of control  in our business process
    prasad.J

    User Exits For Billing
    o USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified
    in the billing type table and can be changed in this user exit. This
    user exit is only called when the billing documents is created.
    o USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program
    RV60AFZZ)
    In this user exit additional fields for account determination that
    are not provided in the standard system are copied into
    communication structure KOMKCV (header fields).
    o USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
    In this user exit additional fields for account determination that
    are not provided in the standard system are copied into
    communication structure KOMPCV (item fields).
    o USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program
    RV60AFZC)
    Depending on the number range, table TVFKD is used to set the
    billing date (country-specific requirments in Italy).
    USEREXIT_NUMBER_RANGE is automatically deactivated when this user
    exit is being applied.
    o USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created.
    It is used to provide the header and the item of the new billing
    document with deviating or additional data.

  • USER-EXIT on SAVE event for IE01

    Hi,
    I need USER-EXIT on SAVE event for t-code IE01.
    EXIT IEQM0003 work only first time after pressing "SAVE".
    IF i press "SAVE"  second time equipment will be created.
    Edited by: andriy.hulyk on Jan 26, 2012 12:45 PM

    Here is my code:
    IF DATA_ILOA-TPLNR IS INITIAL.
      AUTHORITY-CHECK OBJECT 'ZZ_MC_FLC'
      ID 'ZZFLC' FIELD '*'.
      CASE SY-SUBRC.
        WHEN 0."SAP-ALL User
          EXIT."OK
        WHEN 12."User without restriction
          EXIT."OK
        WHEN OTHERS.
          AUTHORITY-CHECK OBJECT 'ZZ_MC_FLC'
          ID 'ZZFLC' FIELD '01'.
            CASE SY-SUBRC.
              WHEN 0."Create eq. only with FL for some work centers
                MESSAGE E250(ZPM) WITH 'test' RAISING POSTING_NOT_ALLOWED_EXT.
            ENDCASE.
        ENDCASE.
    ENDIF.
    If i press "SAVE" firs time it work great. But next pressing just create new equipment. My restriction does not work(

  • Need Userexit/Badi after save while creating invoice at VF01

    Hi expert,
    Can anyone tell me which BADI / USEREXIT i can use for update the custom table
    after save while creting invoice at VF01.
    Regards,
    Manasi

    Manasi,
    from next time onwards please post it in relevant forums
    for now check these links
    USSER-EXIT creating the invoice in VF01
    Re: user exit at invoice creation Vf01/Vf04
    VF01/VF04 user exit
    Thanks
    Bala Duvvuri

  • Can not refresh page after save properly(When not saving master record)

    I am using jdeveloper 11g R2 (11.1.2.3) JSF Facelet
    In some use case I have Address as master table and Person as detail table
    For some business reason I need to don't save same addresses
    eg:
    If +1 Test St+ is in database already and new user coming and adding this address with new person
    I need to use the row in database not creating a new address
    I do saving in doDML method of Address with some hashing algorithm and it is fine
    My problem is that I can not refresh page after save properly
    User coming to page think Adding a new address and a new person but in fact no new
    address added because of business I describe above
    Any ideas how I can implement this?
    Appreciate that
    Regards
    Mohsen

    Hi,
    from your description it is not clear why the page doesn't refresh. It could be a problem in your implementation code - who knows. What if you perform the address check on a command button that actually submits the new address? If the check returns true (address exists) you would call row.refresh(forget new row); and re-query the view object so the address coming from the database is displayed. If you wanted to use the doDML then yuou need to be aware that doDML doesn't help removing the row the user created. It just ignores the database update but the entity is still around, which in my suggested solution wont be the case.
    Frank

Maybe you are looking for

  • Retrieve crystal report file print settings

    I have crystal reports 10 report file, in which I edited the printer settings... collate and number of copies(2) and saved it. now i want to print it from VB6. I am using a customized print dialog form (not using the common dialog control) I want to

  • Context menu How to add extra lines in Windows 7

    Windows 7. Just updated from XP.  Only modest technical skills, so I would appreciate simple detailed instructions if anyone is able to help me.

  • Trying connect my itunes remote from my iphone and when it gives me the passcode there is no place to put it in

    trying to connect my itunes remote from my iphone 4 but when it gives me the passcose there is no place to put it. And when it is connected to my computer it won't as well

  • Indesign CS5.0 SDK - Reframe Command

    Hello I have a working version of code that palces an excel spreadsheet on a document then prints it to PDF My sheet has to be resized tho, so I am succesful in calling the code below in VBScript to resize, then expand my spreadsheet on the page Set

  • Broken Hyperlinks in excel

    I am working on a spreadsheet that most of our company uses and when I set up a hyperlink to go into our company network folders the hyperlink works for about 2 weeks and then it switches to a different folder on its own. When it switches to this fol