User exit for VL02n to trigger error message by checking PFI status

Please help me in finding out the exact user exit for the following enhancements:
1.When i go to VL02n transaction and try to delete the line item in the delivery for which already PFI(Profarma Invoice) is created an error message should be triggered by us stating "Proforma already created" 
2.Error message will have relevant PFI details and instruction to user to Cancel [Complete] the PFI as the first step in case of delivery item deletion. User will be allowed to delete the item only after the PFI is set to cancelled status.
3.An information message should be generated automatically if user tries to change the quantity in delivery document line item, if PFI is already created for the same
4.Information message will have relevant PFI details but allows the user to change the quantity.
How can this be done? Thro' which user exit?
Please post your suggesstions?

Hi,
Use the BADI "LE_SHP_DELIVERY_PROC".  Methods "FILL_DELIVERY_ITEM",  "CHANGE_DELIVERY_ITEM", "CHECK_ITEM_DELETION" will be useful
for your requirement.
Regards
Vinod

Similar Messages

  • Is it have some User exits for Vendor master  trigger when click some field

    Dear Experts,
         I would like to know Is it have User exit for Vendor master  trigger when click some field in Vendor master? not just User exit for Prior Save . Please kindly let me know some solution for this case.
         Many thank.

    Hi,
    check may this bapi will be useful your requirements, BAPI_VENDOR_CREATE
    below links may helpful for you:
    BADI http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm http://support.sas.com/rnd/papers/sugi30/SAP.ppt http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm http://members.aol.com/_ht_a/skarkada/sap/ http://www.ct-software.com/reportpool_frame.htm http://www.saphelp.com/SAP_Technical.htm http://www.kabai.com/abaps/q.htm http://www.guidancetech.com/people/holland/sap/abap/ http://www.planetsap.com/download_abap_programs.htm http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework http://esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt http://esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf http://esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc http://esnips.com/doc/365d4c4d-9fcb-4189-85fd-866b7bf25257/customer-exits--badi.zip http://esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt http://help.sap.com//saphelp_470/helpdata/EN/eb/3e7cee940e11d295df0000e82de14a/frameset.htm 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
    still if you not find any solution go for  custom exit, means in standard program only ABAP consultant change the program where you required, it is little risk, you have to do the more testing for this
    BR:
    Venkat.Gurram

  • User exit for VL02n

    I had applied a break-point in include ZXV50U07 at the time of post good issue in transaction VL02n.
    And it is properly triggered.Now I have to apply the logic for serial number check.But it is showing error when I write any internal table or field in it.
    Please tell me what should I do for that........what is the role of subroutine..
    please explain me...
    Regards,
    Amar

    Hi;
    V02V0001            Sales area determination for stock transport order
    V02V0002            User exit for storage location determination
    V02V0003            User exit for gate + matl staging area determination (head
    V02V0004            User Exit for Staging Area Determination (Item)
    V50PSTAT            Delivery: Item Status Calculation
    V50Q0001            Delivery Monitor: User Exits for Filling Display Fields
    V50R0001            Collective processing for delivery creation
    V50R0002            Collective processing for delivery creation
    V50R0004            Calculation of Stock for POs for Shipping Due Date List
    V50S0001            User Exits for Delivery Processing
    V53C0001            Rough workload calculation in time per item
    V53C0002            W&S: RWE enhancement - shipping material type/time slot
    V53W0001            User exits for creating picking waves
    VMDE0001            Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002            Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003            Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004            Shipping Interface: Message SDPACK (Packing, Inbound)
    Regards
    Shashi

  • User exit for VL02N when we save in the Tcode

    HI Can any body tell me what's the exact user exit that will trigger when we save the transaction vl02n ?
    Thanks in Advance
    Mahesh

    Hi mahesh,
    the userexit which ihave given is a standard one ,this needs access keys to write the code.
    iam giving the path plz check it.
    goto ->SE80->Give prog name SAPMV50A->Then expand the subroutines node u will find the USEREXIT_SAVE_DOCUMENT.
    if u want to check whether its triggering or not put a breakpoint on USEREXIT_SAVE_DOCUMENT and change the existing sales order and press save button.It will be triggered.
    Regards,
    Nagaraj

  • Some Quries on User Exit For VL02N

    Hi All,
    Does anyone knows how to obtain what Output Type the user has selected for a particular Outbound Delivery document before that document is saved/post goods issue?? I've tried using the user exit 'MV50AFZ1' but i couldnt seem to get any data on NAST.
    Thanks in advance and Best Regards.

    try to get output type based on the delivery Type not based on the delivery Number ?
    comming to ur probs : SAP will update NAST with delivery numner + output type ,but  u are going to create delivery ? So u may not get from NAST table.
    Regards
    Prabhu

  • Error raising exception in user-exit for idoc_output_delvry.

    Hi All,
       When I try to raise an exception from the user exit (idoc_output_delvry),
    I get an error message 'Assign Measurement unit to ISO code'.
        Can you help me solve this issue.
    Thanks in avance,
    Disney.

    Michael,
           Thanks for the quick response,
    I did check in IMG, an entry is already there, the 'primary field' is checked,
    USD is assigned to the iso code USD.
    Regards,
    Disney.

  • User exit for Pop-Up text Header Note II for transactions VA02 and VA03

    Hi ,
    Need  new user exit to call text pop-up functionality (used in standard at sales order creation) when modifying or displaying a sales order (VA02 / VA03)
    Text ID: ZX02
    Text Object: VBBK
    Text procedure: X1
    Access sequence: 6002
    Text is always shown at creation if exists for the SOLD-TO in the sold-to language, and is defined in customizing as to be displayed : V_TTXER_N-TXPFL = 'Y' or 'Z'
    This is checked in RV_TEXT_COPY
    NOTE: Present while creating the sales order , popup is coming to add the text.Same pop up required for VA02/VA03 transaction.
    Reason: all orders are entered via EDI . In these cases the info from the text is not displayed.
    Pl. let me know the user exit for above requirement.
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Jan 13, 2011 1:50 PM

    How do you know "ECOM Order"?
    What constitutes a "HOLD"?
    I'd do something like:
    In USEREXIT_SAVE_DOCUMENT_PREPARE (SAVE has been pressed at this point and SAVE_DOCUMENT is to fire off other processes, etc).
    IF sy-tcode eq 'VA01' or sy-tcode eq 'VA02'.
      if vbak-something (identify your ECOM order)
        loop at vbap transporting no fields (Think it's back to VBAP at this point)
        where... (look for your hold indicator in every row)
      endloop.
    if sy-subrc eq 0. "found the hold
    message innn(class) display like 'E'.
    endif.
    endif.
    endif.
    Be VERY careful with ANYTHING that you put into SAVE_DOCUMENT exit form.

  • User exit for CJ20n (to check budget when create Reservation) for project

    Dear All,
    Plz advice, is there any user exit for CJ20n(project builder) in order to check available budget when we create reservation under a network/activity for a project?
    Many thanks in advance.

    Hi,
    Budget functionality is available against actual / commitment items, but n't against reservation of materials as there cane be reservation at projects or plant level. Morever there is no such user exit in CJ20N.
    If you can make developments of reservation agsinst network as committments items then budget functionality may work in that case.
    Hope this will help you.
    Regards,
    Rakesh Pradhan

  • User exit for IT0185

    Hi all,
    Pls kindly help me to find out the user exit for infotype 0185. I want to check the value when saving a record.
    Thanks,
    Quanglv

    Hi,
    1. Go to transaction CMOD
    2. Selct project PBAS0001
    3. View components
    4. Choose an exit
    5. Click EXIT_SAPFP50M_002
    6. This exit contains one include. Double click "ZXPADU02". The program ZXPADU02 runs executed every time PA30 or PA20 is executed.
    7. Add in ZXPADU02 this code for example:
    IF innnn-infty = '0105'.
    add sone useful code specifically for it0105here
    ENDIF.
    good luck

  • User exit for Dismantle equipment

    Hi,
    I am using Structure tab of  tcode IE02 for a  superior equipment which has 3 equipments below it.
    I Click on the icon next to it and it takes me to the 3 sub equipments. Now whn i  select a subequipment and click on dismantle...it will remove tha equipment...now i click on back...
    i come to the main screen..
    I am using exit  EXIT_SAPMIEQ0_001...
    and here i want to check if user has deleted any sub-equipment.
    I am able to retrive all the subequipments which were previously there...but not able to find what equipments the user has dismanteled..
    Is there any other exit?

    Hi Himanshu,
    Just check for the following user exits. These are the user-exits for T-Code IE02.
    IEQM0001            Add. checks for equip. installation at functional locations
    IEQM0002            Additional checks for definition of equipment hierarchies
    IEQM0003            Additional checks before equipment update
    IEQM0004            Object is allowed for contract partner (Order->MaintCont.)
    IEQM0005            Object allowed for SD contract (MaintContract->MaintCont.)
    IEQM0006            Object allowed for SD contract (Maintain maintenance cont.)
    IEQM0007            Check/change manufacturer field in equipment master
    Hope this will help you.
    Regards,
    Nitin.

  • NEED VL02N VL09 USER-EXIT FOR DELIVERY COMPLETE INDICATOR IN PURCHASE ORDER

    I NEED VL02N VL09 USER-EXITS FOR DELIVERY COMPLETE INDICATOR IN PURCHASE ORDER POSITIONS.
    F.X: IF POST QUANTITY 10, BUT PURCHASE ORDER POSITION QUANTITY 30, I NEED AT ANY CASE TO SET DELIVERY COMPLETE INDICATOR FOR RELEVANT OUTBOUND DELIVERY AN P. ORDER POSITIONS.
    THANKS/

    Hi Malka,
    It's possible set the system to mark automatically the delivery completed indicator.
    First you need to set the under delivery and over delivery tolerances.You do this in customizing:
    Materials Management under Purchasing -> Material Master -> Define Purchasing Value Keys.
    Once you set this, you can insert this value keys on Material Master Record for the materials.
    When you create the PO with a material with this value keys set the system will check the under delivery and over delivery set on customizing.
    In customizing you also have the option to let the system mark automatically the delivery indicator based on delivery tolerances set.
    In Customizing for Inventory Management and Physical Inventory under Goods Receipt -> Set Delivery Completed Indicator, you can determine for each plant whether the system automatically sets the delivery completed indicator for delivery quantities within the underdelivery and overdelivery tolerances.
    You can test setting the under delivery for 0 (with a warning message) and see if the system will only mark delivery complete only for over delivery.
    You can also work with the following Badi: MB_GOODSMOVEMENT_DCI. This Badi also allows custom logic for setting the delivery completed indicator in a PO item.
    Message: M7 433 (The "delivery completed" indicator is set for the purchase order item)
    Regards,
    Rodrigo

  • Error in user exit for System menu

    Hi,
    I was working on the user exit for the System menu.
    There was some error in the menu exit I added and then logged off.
    Now when I am tryin to log in the system again and error is given without allowing me to login because the initial log on screen loads the system menu.
    Can anyoone help me resolve this issue.
    Edited by: Ashutosh Tripathi on Mar 26, 2008 11:16 AM

    Michael,
           Thanks for the quick response,
    I did check in IMG, an entry is already there, the 'primary field' is checked,
    USD is assigned to the iso code USD.
    Regards,
    Disney.

  • User exit for MIGO, message type MLGR

    Hi Guys,
    My Client wants to send mail to the Purchase requisitioner, once the material, he requested, has arrived in the premises (once GR is done).
    Standard SAP has Message type MLGR, which sends mail to the Purchase Order Creator.
    I want to use user exit in MLGR to change the mail recipient from PO Creator to Pur Req creator.
    Can anyone please tell me the user exit for the same?
    Regards,
    Ankush

    Thank you for the quick response.  I have setup all the configuration on SALE  with
    1. Creating  rule
    2. Maintain the rules with the default values
    3. Then Assign the above rules to the message type MATQM but still not pickup the new values that I wanted to be.
    Is there anything that I miss?  Please advise.
    Thanks again,
    Tai

  • What is the user exit for message type BENREP, IDoc BENEFIT3?

    Hello,
    We are looking for a user exit to use with IDoc BENEFIT3.  Our benefits provider requires information which is not stored in any infotype in SAP, but can be calculated based on 3 existing infotypes.  We need a user exit for this. 
    We thought we could use PBEN0018 w/function module EXIT_SAPLHRBEN00FEATURE_018, but our ABAP developer says this doesn't access any IDoc tables. HR_BEN_IDOC_SEND doesn't work for this purpose either.  We also found PBEN0033 for function module HR_BEN_GET_IDOC_EVENTS, but this is labeled as obsolete.
    Does anyone know if there is an exit for this?
    Thanks much!
    Anke

    For future reference in case anyone is trying to do this, we were not able to find a suitable user exit to enhance BENEFIT3 IDoc, so we put in an OSS note and received the following response:
    "...currently there is no user exit/Badi in SAP Benefits Administration
    to enhance IDoc BENEFIT3. Such functionality is indeed missing in the
    system, which means that you will need to submit a development
    request to enhance the system in this respect in a future release."
    Anke

  • User exit for FB60 after POSTING the Document.

    Hi,
    I have requirement with FB60 transaction where i have to display the error message to the user if the amount of the invoice is greater than some threshold value( this will be maintained in the custom table) to park the document .
    I have created project with enhancement SAPLF051 using the exit EXIT_SAPLF051_002 it is triggering only when parks the document .
    But my requirement is  i need an enhancement which trigger after user posts the document.
    Please help me...
    regards
    paveee.....

    Hi
    Following are the available user exits for fb60 transaction...
    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 sen
    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
    FEDI0001            Function Exits for EDI in FI
    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)
    If you still not find appropriate exit, go for badi's...
    1)To search for a badi, go to se 24 display class cl_exithandler.
    2) double click on method get_instance,
    3) get a break point on case statement. execute and start the required transaction in new session.
    4)look for variable exit_name. It would show the available badi's.
    <b>Please do reward if useful</b>
    Regards
    Dinesh

Maybe you are looking for

  • Error Activating Hierarchy SAP BW 7.3

    Hello Fellow BWer's! I'm facing an odd issue regarding this instructions found in the forums: BW 7.30: Hierarchy loading becomes easier with the help of new framework Loading Hierarchies from Flat File using the new DataSource and Transformation Tech

  • Conversion from BitSet to long

    Hi! I want to convert a BitSet to a number in long format, and it shouldn't be very complicated because BitSet uses an internal array of longs, but I don't know how to do it. Any idea? Thanks!

  • HT4972 how to turn back the version of iphone 4s 5.0.1 from 5.1.1?

    I'm doing Upgraded the version recently, from 5.0.1 to 5.1.1 but now my iphone 4s encounter some problem, (on and off signal) pls help.

  • Datasource replication

    Hi friends, I have a generic datasource which i extended in the R/3 Dev side and have put all the required objects in a request and the request was successfully transported to the R/3 QA. Now i did a replication of datasource in BW dev and everything

  • A question on itab

    hello abap masters, in my requirement, there are two ztables,  ZTABLE1,ZTABLE2. there are two internal tables corresponding to above ztables :  ITAB1, ITAB2. plz look into the foolowing code you might get better idea. DATA: ITAB1 TYPE ZTABLE1, WA_ITA