Userexit in VT02N

Hi
I need to generate an idoc when shippind doc is deleted from VT02N tocde. I have found some user exits but not sure which one to use.
EXIT_SAPMV56A_001
EXIT_SAPMV56A_002
EXIT_SAPMV56A_003
EXIT_SAPMV56A_004
can any body suggest which one to go for.
thanks
sankar

Hi,
Put a break point in all these exits and delete your shipping doc. Control will come to the break points. There check the importing and exporting and tables parameters where u will get all the data u need. So u can code in that include. If the control is not going to these check below enhancements and BADI also.
Enhancement
V56UCHCH
V56TDLIF
V56SLDET
V56MVT04
V56LOCID
V56UCHCO
V56USVDP
V56USVDO
V56USTAT
V56UNUMB
V56UDLUP
V56ATKTX
V56ARCHV
V56AGTAR
V56AFCCH
MV56AINI
V56BMOD
V56LDELI
V56L0001
V56FSTAT
V56FCOPY
V56DISTZ
Business Add-in
BADI_LE_SHIPMENT
Thanks,
Vinod.

Similar Messages

  • Generating idoc when deleting shipping doc

    Hi
    I need to generate an idoc when we delelte the shipping doc from VT02n tcode. How can i do that? I am new to ale and idoc
    thanks
    sankar

    Hi
    I got a clue on how to create the idoc and all. but where do i write the form which will generate the idoc. I mean is there any userexit in VT02n tcode where i can do that?
    thanks
    sankar

  • VT02N - do PGI and Invoice for certain deliveries either based on certain conditions

    Hi Friends ,
    We are using VT04 for creating shipments . While shipment completion stage in VT02N   an activity profile has been maintained  which does both the Goods issue and Invoice.
    We have a business requirement , PGI and Invoice should be created only for specific set of deliveries based on certain conditions.
    Is there any standard way to do this or by using user exits.
    Please guide.
    Thanks,
    Nileshsa.

    what about adding a check in userexit RV60AFZZ, when the condition is not met during invoice creation, error out and disable the creation of the invoice document?

  • VT02n : User Exit (Urgent)

    Hi all,
    I have a requirement where in i need to incorporate some logic when the user presses the Exit and Cancel Button in VT02N based on the function code for eg.
    for Exit FC (MM_BEEN) and For Cancel (MM_ABBR).Can anyone tell me the user exit which gets triggered so that i can incoporate my logic according to Function code like ( if sy-ucomm =  'MM_BEEN' . do something) .
    Many Thanks in Advnace
    Cheers
    Ahmed

    Transaction Code - VT02                     Old: Change Shipment
    Exit Name           Description
    V56AFCCH            Shipment processing: Check function code allowed
    V56AGTAR            User Exit for Filtering Shipping Unit Calculation
    V56ARCHV            Customer-spec. checks for archiving shipments
    V56ATKTX            Change the number of lines for text input in shipment
    V56BMOD             Transportation processing: Field modification
    V56DISTZ            Shipment Processing: Determine Distance
    V56FCOPY            Shipment processing: Copy delivery data
    V56FSTAT            Shipment processing: Activities when setting a status
    V56L0001            Status of Shipments for a Delivery
    V56LDELI            Read Delivery Data for Shipment Processing
    V56LOCID            Shipment Processing: Determine Location Identification
    V56MVT04            Extensions for Collective Processing of Shipments
    V56SLDET            Shipment processing: Leg determination
    V56TDLIF            Filter Delivery Items for Shipment
    V56UCHCH            Shipment processing: Check whether changes were made
    V56UCHCO            Check shipments are complete
    V56UDLUP            Obsolete as of 4.6C: Delivery Update on Delivery Routines
    V56UNUMB            Shipment number allocation
    V56USTAT            User-individual definition of transportation planning status
    V56USVDO            Update new objects for transport
    V56USVDP            Preparation for updating new objects for transport?
    MV56AINI            Initialization of transaction control for transportation
    No of Exits:         22
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • Userexit For TCODE J1IJ depot excise invoice

    hi
    I want to know is there any userexit for depot excise invoice. That we can use to check weather excise entry date that is (J_1IRG23D-CPUDT) is equal to likp-WADAT_IST . Any info will be really helpful.
    Thank you

    Hi,
    Use this program SAPMJ1IJ in this program there are 4 includes.
    First try with  MJ1IJF01
    So check with your abaper which exit is working in this include.you can do it by setting break-point.
    Also check other includes MJ1IJTOP  MJ1IJO01  MJ1IJI01
    Thank you,

  • BADI/UserExit for MIGO in Stock Transfer

    Hi Gurus,
    I have a requirement.
    When posting a GR in MIGO, if the material has been flagged to go through inspection, MIGO post the batch to quality inspection.
    Now, when a batch has already gone through inspection (for example in another plant) and its released (passed) and its been transferred to another plant, if we are receiving this batch doing a post GR in MIGO, it automatically post it to quality inspection again.
    Is there a BADI, UserExit or way to skip this inspection and post the batch to unrestricted stock since its already gone through inspection in the previous plant and has a Decision Code A0 (accepted etc).
    We don't want to change the material master for this because we still want the material/batch to go through quality inspection if its hasn't already been.
    Thanks..
    Baz
    Edited by: Basil Balogun on Sep 23, 2010 1:49 AM

    Hi,
    Try the possibilities of MB_MIGO_BADI. I think in method LINE_MODIFY, POST_DOCUMENT and perhaps PAI_DETAIL.
    I hope this helps you
    Regards,
    Eduardo

  • Sales Order Costing. Error values, need BAPI or Userexit or Enhancements

    Hi Experts,
    I have a situation to solve the Errors in Sales Order Costing.
    My Error is,  its not splitting values equally,,, (BOM Item Price Values)
    for example...
    let i have a parent Item A.
    and Child Items as A1, A2, A3.
    Now the Qty of A is 100. for each item the price value is 50. so the total value is 5000/-
    Now If i need one A, then I need 8 A1's, 4 A2's, 3 A3's.and let think A1 value and A2 value and A3 value (single Unit ) are equal. and let the value be 100.
    but in BOM i can see all the values of A1, A2, A3 as same. (500, 500, 500) but it should be (800, 400, 300)
    The single Unit Price is not multiplying with Quantity, but its equally splitting.
    Please tell me Can I find and BAPI or Userexit or any enhancements or any Configurations to do.
    Thanks & Regards
    Dileep .C

    no replies and my thread was dead.

  • USEREXIT FOR transaction J1IJ

    Hi
    My user wants that date in J1IJ that is excise from depot sale should same as PGI date. If it is not same it should throw some error. Is there any userexit available for the same.
    Any information will be of great help.
    Regards
    Jalaj

    Hi Jalaj,
    Use any one of  these user exits
    MJ1IJI01.
    MJ1IJF01.
    Regards
    Ram

  • Add button to shipment dynpro vt02n without modification

    Hi all,
    is it possible to add a button (or someting else) into shipment transaction vt02n subdynpro 1030 (or any other subdynpro) without modification. In material master data it is possible over customizing. Is this possible in shipments, too?
    Thanks Max

    Hi Madhu,
    Can you provide me more details on what to do with my situation?
    I already have the program which is SAPMV56A but I don't know what to do after. Also can you tell me where I can find (table) the items on the Trans. Type list?
    Thanks,
    Eric

  • Display error message in userexit

    I have a checking which implement in userexit. When the criteria meet, it will block po saving and display error message. I would like to know how to display the error message. Thanks!

    Use like this for first approach else if second one were serve you purpose than you may go with second one also.
    DATA: mid  TYPE sy-msgid VALUE 'SABAPDOCU',
          mtype TYPE sy-msgty VALUE 'I',
          num  TYPE sy-msgno VALUE '014'.
    MESSAGE ID mid TYPE mtype NUMBER num.

  • Need userexit while saving the billing document (VF01)

    HI Folks,
    I need a userexit while saving the VF01 transaction code. My requirement is i need to check if there is any intercompany invoice was created before the delivery related invoice
    By default SAP creates delivery related invoice . I have checked lot of userexits with package VF but none is working and also gone through the standard userexits RV60AFZ*, still didn't find any good one for my requirement..
    All your help is highly appreciated..
    waiting for your replies.
    Regards,
    raj

    Hi,
    I have done some analysis before posting the question and one mistake i done is i have checked theUSEREXIT RV60AFZC and i checked XVBRK AND XVBRP instead of VBRK and VBRP...also whie saving this  is not called, it is called when we press enter and also when we press SAVE button in the initial screen.
    I missed the small thing...
    Thanks for the link..
    Regards,
    Nagaraj

  • Userexit while saving the billing document

    Hi all,
    Is there any userexit while saving the billing document..I want to define minimum invoice value in system.
    Regards,
    Puneet Makkar

    Hi,
    In preceding project, i had the same requirement.
    Price condition : copy from std price for minimum value.
    Use condition category (for specific determination price for invoice).
    In price procedure : apply requirement to active only for invoice (std = 22).
    Re determination of price during creation of invoice :
    use RV61AFZA with the value of condition category to adapt pricing type (ex : X).
    modify copy rule (Tcode VTFL) for item : use new value for pricing type (ex : X).
    Regards,
    Lionel

  • Pls help me to identify in the SD userexit what triggers "del of items"

    Here's the background of the problem. (it is difficult to explain the problem and I will try my best).
    When processing certain IDOCs, something in the SD userexit is causing the change logs of vbap records to be set with a message for every item "Item has been deleted".  I could not reproduce the problem in either the development or QA environment. It is happening in production and it happens when the IDOC is processed every night by a batch job running a standard SAP program RBDAPP01.
    It then becomes too late for me to debug the issue in production...and I can't real mess around with idoc procesing in production either..
    Since it has become impossible to reproduce the problem in QA or Dev , I am trying to figure out how to prevent it from happening...
    (I know fixing the existing records is another problem) I'm trying to figure out what code in the user exit thinks that it should log a message "Item has been deleted" for every item of vbap. The item itself is not deleted or marked for deletion..it;s just that this is appearing in the change history...  
    Can anyone suggest what may be causing this issue.,..
    Thanks....
    Sam
    Edited by: SammyBoy on Apr 8, 2011 10:39 PM
    Edited by: Sam on Apr 8, 2011 10:40 PM

    If u want to add Items data, u have to handle the Table control by writing the complete code.
    U have to write code for 2 items, when u press enter u will get new row to enter new record one by one.
    Narendra

  • Update LIKP table while saving the output type in VT02N transaction

    Hi All,
    I have a requirement where i have to update Delivery Priority(LPRIO) field in LIKP table while saving the output type in VT02N transaction. I am not able to use the BAPI "BAPI_OUTB_DELIVERY_CHANGE" or FM "WS_DELIVERY_UPDATE" because, when we save the output type the programs that are configured in NACE are triggered in update mode and hence i will get a roll back error.
    Let me know other ways of updating the table at the time of saving output type for shipment transaction VT02N.

    This could be a result of one of the following reasons:
    1: Incorrect smart form/routine assigned in the output configuration (NACE)
    2: Serial number range of the delivery expired
    3: The default settings of the user (SU01) processing the delivery is missing the default printer name.
    Hope this is helpful
    Manish

  • USEREXIT to adjust the rebate credit memo request to your own require

    We are using function module SD_BONUS_CREDIT_NOTE_CREATE in one of our rebate program.
    This Functional provides the option to use USEREXIT to adjust the rebate credit memo request to your      own requirements.
    With Present form of  functionl module it take standard doc type to  create the  rebate credit memo request.
    So Question here which  are userexit we have in this FM  which can be used to create  the  rebate credit memo request to our requirement.
    Has any body used this FM before to this length..
    appreacite your help
    Thanks
    rao

    Hi Serma,
    I haven't use this FM. I only can advise you how to find user exits in this (any) FM.
    Open your FM via SE37 and then try to find in this Function Group any CALL CUSTOMER-FUNCTION 'xxx' ..., where xxx is a 3-digit number which refers to the relevant FM EXIT_<FG>_xxx.
    <FG> is the name of the Function group to which the FM belongs to.
    When you find such an EXIT-Function, take a look at the parameters. When you find parameters which satisfy your needs, go ahead and build your EXIT enhancement in the predefined ZX-Include (you can find this inside the FM EXIT_<FG>_xxx).
    I hope this helps,
    Heinz

Maybe you are looking for

  • Icloud account disabled daily

    How can I permanently reset my iCloud account that is disabled every day "due to security reasons"?  I've followed all the steps on https://iforgot.apple.com/ however there is nothing on there that indicates what to do if this happens every day.  I'v

  • Launch Approval Appraisal Documents in Iview format not SAP GUI for HTML

    Hi, Sorry iam not sure whether this is the right place to post this question. I have a requirement where i need to change the appearance of UWL tasks related to appraisal approval. Whenever a user clicks on approve apraisal tasks it is popping SAP GU

  • Lion unable to recognize my TM700 camcorder

    hi, I connected my Panasonic TM700 camcorder (AVCHD 1080i/P) via USB cable to my iMac.  However, it did not show up in Finder as a camera/device.  How can I download the videos from camcorder to iMovie 11 or a folder ? Thanks in advance for your help

  • Move collapsed group in tree control expands it

    In LV 2010, I have a tree control.  If I collapse a group and move it to a new location in the tree, it is expanded when I drop it in its new location.  Is this a configurable option?  A bug?

  • BYdesign studio

    hello , We have heard that when partner want to extend the application we will use visual studio.but until now i don't understand when we will use visual studio because un the docs we speak about business objects and abap langage ,i would like to kno