Enhancement spot in ME23N to update outbound delivey header

I have a requirement of copying the partner function from STO to outbound delivey, if the partner function is Forwarding agent. This can be achieved by using bapi 'BAPI_OUTB_DELIVEY_CHANGE'. What i want to know is where should i do the enhancement?
The requirement is when partner function is chnaged via ME23N it should automatically update the partner function at header level in VL02N(outbound delivery).
Can anybody tell me which enhancement spot is best for this purpose in ME23N.
Thanks in advance.

Hi
BAPI isn't an enhancement. It can contain an enhancement. BAPI is a tool to create or change SAP documents (sales ordeers, deliveries, invoices, purchase orders, and so on) or update SAP tables without the need to use the end user transaction. For instance, you can create purchase orders from other non-SAP applications via interfaces.
The BAPI are functions modules. So, you can see it with tcode SE37. Search in service.sap.com/notes documentation for this BAPI.
Regards
Eduardo

Similar Messages

  • BADI/Enhancement spot for VL01N (Outbound Delivery)

    Hi guys,
    while creating outbound deliver it needs to be change the contents of XMKPF (BKTXT), is there any BADI/Enhancement spot for the VL01n.
    Kinldy provide some inputs for this one...which is very helpful to me.
    Regards,
    Vijay

    Hi guys,
    Thanks for your valuable replies.
    special thanks to Kiran Sure because my requirement is full filled by given enhancement spot/badi is LE_SHP_GOODSMOVEMENT
    regards,
    Vijay

  • Exit or enhancement spot to update network component price

    Dear SAP expert,
    I have a problem with component in network pricing which will copy from material standard price. This lead to unrealistic price in PR creation since the standard price only updated per 6 months.
    I need to find an exit or enhancement spot to update the price in network to the last PO created.
    Anybody can help on this issue?
    Thanks in advance.

    thanks for the advice. May i ask another question which is:
    If i set the costing variant lets say to get the latest PO price, will it affect the material standard price in material master as well or only affect the network material component price. Since what i need is not to change the material standard price but only the material component price in network level..thanks

  • Error message in enhancement spot

    Hi...,
    I want to give error message in enhancement spot.
    I am using FM 'CR_BT_ORDER_POST'.
    wHEN USER WILL TRY TO CHANGE SERVICE ORDER.i WANT TO THROUGH ERROR MESSAGE.AND KEEP THE CURSOR ON SAME SERVICE ORDER SCREEN
    But now it is coming out of IW32.WHEN I AM GIVING ABORT MESSGAE TYPE.ERROR MESSAGE IS NOT ALLOWED IN UPDATE TASK MODE.
    tHANKS,
    aNIL

    Hi,
      I think you have to use the function module 'POPUP_TO_CONFIRM' give the error message what you want to and if the user press any button keep the control on the same screen.
    Regards,
    Himanshu

  • Update Outbound Delivery in EDI Process - Urgent

    Hello experts,
    I have to update outbound delivery for picking & PGI in EDI.
    I recognized the standard BAPI - BAPI_OUTB_DELIVERY_CONFIRM_DEC for this process, but it doesn't confirm picking.
    I also recognized the IDOC - IDOC_INPUT_DELVRYwhich doesn't create partner function.
    So now I need to choose any one & enhance with the help of User exit. I found a user exit in IDOC for creating partner function but there is no user exit in BAPI for picking confirmation.
    Please suggest me which is the best to use an IDoc or create a custom BAPI for this scenario with pros & cons.
    Thanks in advance,
    Sangeetha K
    null

    Hi gurus,
    Please help me with the issue.
    Points rewarded........
    Sangeetha

  • Re: enhancement spot

    Hi techies,
       I am interested in updating myself in the new concept enhancement spots.
      Suppose i have inserted a source code plug within the enhancement spot (Dynamic)
    (i.e) ENHANCEMENT.......
    if ...
    write:/ 'enhancement1'. (or)
    message 'enhancement 1' type 'I'.
    endif.
    END-ENHANCEMENT
    After i have included this code within the enhancement spot and activate it. my code gets changed as follows.
    (i.e) ENHANCEMENT.......
    if ...
    endif.
    END-ENHANCEMENT
    Whereas if i include any other codes (e.g) rmmg1-lgort = '0001'. within the if statement then that code is getting activated.
    Can anyone tell me the reason why the write statement and message statement is not accepted.
    Thanks in advance,
    P. Chithra.

    Hi harini shankar ,
    The reason behind this is you need a have a switch attached to it and which needs to be activated.
    For more information refer Switch Framework
    [http://help.sap.com/saphelp_nw2004s/helpdata/en/af/e8b540afc87c2ae10000000a155106/frameset.htm]
    Refer to the following video regarding the reason why its not activated.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/988fcbe9-0a01-0010-dbb0-a633829a1e82
    Reward points if helpful.
    Thanks ,
    Surya Pydikondala.

  • Enhancement Spot: WB2_CC_SETTLEMENT-- BAdi WB2_CC_SETTL_CHANGE_DATA

    Hi,
    I am implementing Enhancement Spot:WB2_CC_SETTLEMENT with BAdi WB2_CC_SETTL_CHANGE_DATA and class Interface IF_WB2_CC_SETTL_CHANGE_DATA.
    Interface IF_WB2_CC_SETTL_CHANGE_DATA have changing parameter is CR_BVB_TAB_DATA and defined as DATA.Structure of CR_BVB_TAB_DATA is available at runtime.
    Requirement is to access dynamic data of table CR_BVB_TAB_DATA fields WBELN, KNUMV and update field value of KAWRT.
    BAdi will be called in Vendor Contract Settlement ( transaction WB2R_SV ).
    I could not find trace of call badi  of WB2_CC_SETTL_CHANGE_DATA in program RWB2R_VENDOR_SETTLEMENT.
    Any information where this BAdi is called from program RWB2R_VENDOR_SETTLEMENT?
    Please suggest solution.
    Thanks,
    Somi Reddy Satti

    Hi Vikram,
    Thanks for prompt reply.
    The above transactions are belongs to Vendor Contract Settlements and under package WB2_REBATES.The BAdi's are called through classes CL_WB2_REBATE_SETTLEMENT,CL_WB2_REBATE_SETTLEMENT_1 in program RWB2R_VENDOR_SETTLEMENT.
    Enhancement Spot: WB2_CC_SETTLEMENT have following BAdi's
    WB2_CC_CHANGE_SPLIT_PART_SETTL - Change Split for Partial Settlement Dates active
    WB2_CC_REV_ACCR_ALLOWED_CHECK  - Check if reversal of accruals is allowed
    WB2_CC_SETTL_AFTER_CREATE      - Save own data after settlement document creation
    WB2_CC_SETTL_ALLOWED_CHECK     - Check if settlement is allowed
    WB2_CC_SETTL_CHANGE_BVB_DATA   - Change Business Volume Base for Settlement
    WB2_CC_SETTL_CHANGE_DATA       - Change Data before Data Transfer
    WB2_CC_SETTL_CHANGE_FINALLY    - Change Data before Settlement Document Creation
    WB2_CC_SETTL_CHANGE_HEAD_DATA  - Change Head Data
    WB2_CC_SETTL_CHANGE_ITEM_DATA  - Change Item Data
    WB2_CC_SETTL_SIGN_ADJUSTMENT   - Adjust Signs in Business Volume Data
    Thanks,
    Somi Reddy Satti

  • ENHANCEMENT SPOT ERROR- INTERESTING !!!

    Dear All,
    I am Enhancing the standard PR05 Tcode inside an include MP56TF90(Which updates the cluster and creates the Trip number) in a subroutine FORM update_cluster.
    I have to insert some lines of code before the statement : DATA: p_return TYPE i.(Which means before  update_te_cluster.)
    And, Some lines of code after the cluster is updated, trip created ie after  MESSAGE s185 WITH te-key-reinr.
    Thanks to SAP that it has provided implicit enhancement points at both these points.
    I successfully created 2 enhancement implementations at these 2 points are included my code at the 2 respective positions.
    Now, I have an IF condition in the upper part_.If the condition is met, then the cluster should not be updated_ and hence before   DATA: p_return TYPE i.  I am putting an ELSE statement and the first enhancement implementation end here after ELSE.
    If the condition is not met, then the cluster needs to be updated after ELSE statement and thereyby I am putting the ENDIF statement at the ned of the 2nd enhacement implementation ie., before     ENDFORM.   "update_cluster.
    As the IF and ENDIF are present in 2 different enhancement implemetations, the system gives an error as follows:-
    +In the coding for a non-static enhancement and for a non-static ENHANCEMENT-SECTION, the control structures (IF, CASE) must be closed...+
    *And, I have no Option but to do it as above to meet the customer requirement ...ie., If SUPPOSE I do ENDIF in the first part only and remove the endif from 2nd part, then the condition is ofcourse being met but the control comes down and updates the cluster as well (WHICH SHOULD NOT HAPPEN !)*
    Any comments on this piece ?
    I hope my Q is clear .. If not I will post the code next time.. (As the Question is too big )
    -Anwar ...
    Edited by: Sameer Anwar on Feb 8, 2011 8:05 AM
    Edited by: Sameer Anwar on Feb 8, 2011 8:08 AM
    Edited by: Sameer Anwar on Feb 8, 2011 8:09 AM

    Hi Roby,
    Once the interface for an enhancement spot is created you have to delete it completely as some part of it would still exist if you just delete it from se24 or se18.
    the classes which actually implements the interface or enhancement spot / implementations at times are left and thats why when you create it again it will not ask you for Package assignment if you will observe.
    So i will suggest to try checking the Spot components from se80 transaction and delete it completely. Also check if the entry still exists in tadir table which i am sure will be there even after you delete as i also encountered the same issue once.
    Thats why i suggested you to create it with a new name for E-spot and interface too and check otherwise may be change the tadir entry  as well.
    Hope this helps.
    regards,
    Vikas
    <b>Always reward points to useful suggestions.</b>

  • Enhancement/Badi/Enhancement Spot required for BP at the time of SAVE

    Dear Friends,
    I have a requirement to update the custom field(Created by using EEWB)  in BP transaction at the time of Save, based on the condition Risk Class Category, Could any one help me in finding the solution such as BAdi/Enhancement Spot/User exit where I can find the values of Risk Class category, Credit segment category and the custom field I can change at the time of save.
    Appreciate Ur help Thanks alot in advance.
    Br,
    Naveen

    Hello Selva,
    I tried both the options.
    The SDVFX008 is getting triggered.
    *if cvbrp-netwr is INITIAL and cvbrp-fkimg is NOT INITIAL.
    *  MESSAGE 'Not Valid' TYPE 'S' DISPLAY LIKE 'E'.
    * ENDIF .
    this is my logic but the values are initials.
    Is there nay other method which I can use?

  • Modify standard table in enhancement spot

    Hi Experts,
    I am using userexit_move_field_to_vbap enhancement spot.
    my piece of  code -
    XVBAP-ABGRU = 'ZP'.
    MODIFY XVBAP.
    I am getting dump. I want to know how to update a standard table in enhancent spots. Here i am tring to update XVBAP-ABGRU  with ZP for the corresponding sales order.
    Please help me <removed by moderator>.
    Thanks&Regards,
    sahil
    Edited by: Thomas Zloch on Jan 3, 2011 2:24 PM

    In this user exit you should change the field values of structure VBAP,not internal table XVBAP.
    VBAP-ABGRU = 'ZP'.
    See the Userexit comments
    This userexit can be used to move some fields into the sales  *
    *       dokument item workaerea VBAP

  • Runtime error in enhancement spot-' mereq_topline does  not exists.'

    Hi all,
    I have implemented an implicit enhancement spot in ME53n.
    When i applied break point in enhancement spot and control goes to ebhancement spot in debugging mode, i got purchse requisition number in mereq_topline.
    When i tried to use this structure value in code i get runtime error-
    ' mereq_topline does  not exists.'
    Can you please guide how to resolve  this runtime error.
    thanks.
    Edited by: Sanjay_lnt on Sep 20, 2010 8:52 AM

    Sanjay,
    try to delete the enhancement and recreate it
    Thanks
    Bala Duvvuri

  • Display custom error message in enhancement spots

    Hi all,
    Is there someone here who've encountered having the need to display custom error message in an enhancement spot? Could you help me please.. I can't find any reference from the net.
    Thanks in advance
    Regards,
    Aris

    Hi,
    The error message can be only displayed in enhancement spots based on thr program flow.
    You have to determine where its getting called for ex: in PBO or PAI etc.....
    You have to find the right place to display the error messages . for ex: using a memory id ......

  • BADI or Enhancement Spot while assigning BP to a Org Unit

    Hi,
    I have a requirement of changing the BP address while assigning the BP to a Org Unit in PPOMA_CRM. Is there any BADI or Enhancement Spot which can be used for this purpose.
    Thanks,
    Ravi G

    Hi Ravi
    Regarding this thread I want a help from your side if you can help me please.
    I have to put some validation for the assigned employee and the position under which the employee is beeing assigned.
    Is there any badi or Enhancement spot that can resolve my problem.
    the validation will be done as soon as we select the employee that will be assigned to the position and press the ENTER.
    It is done before SAVE.
    Best Regards
    Saurabh

  • Implementing Enhancement Spot

    Hi Experts,
               I am looking for an exhancement (Function Exit / Badi ) which will should be trigegred when user presses SAVE button in PO .(Say me22n)
               As I couldn't find suitable exit / badi....I thought of using the enhancement point provided for ME22N in the PAI module.Please correct if there is any issue upto here.
    *&      Module  EVENT_PAI_FINISHED  INPUT
          text
    MODULE event_pai_finished INPUT.
    ENHANCEMENT-POINT EVENT_PAI_FINISHED_01 SPOTS ES_LMEVIEWSF01 INCLUDE BOUND.
      CALL METHOD call_view->handle_event( 'BEFORE_TRANSPORT' ).
      CALL METHOD call_view->handle_event( 'PAI_FINISHED' ).
    ENDMODULE.                             " EVENT_PAI_FINISHED  INPUT
               Then to implement the enhancement point by creating a BADI implemetation ..when we are enetering the enhancement spot name ES_LMEVIEWSF01 under the create implementations section of SE19 transctaion with NEW BADI......and when we pressed cretae implementation button...nothing is happening..I mean neither BADI is getting created...nor thorwing any error message......
           Please suggest me how to follow.......You can find above code in the include
    LMEVIEWSF01 at line no 188........
            Earlier response will be appreciated.....
            Thanks ina dvance and reward points are garunteed....
    Regards,
    Sampath

    Hi Debhasis,
       Thanks for your reply. While saving exit 12 or exit 13 will be triggered ONLY when we make changes in standard PO item TABS.
        Let's say standard PO has 10 TABS at ITEM level. We are adding one more custom TAB there  adding to that our client interest is not to include this TAB fields in EKPO structure.  Hence we have to create the TAB by using screen exit option and we successfully created the TAB.
         Now take a case that we oopen ME22N with a PO no..then user did not make any changes in all the 10 standard TABS but make changes in only custom TAB...in that case exit 12 or exit 13 will not get triggered....Because they will be triggered only when you make changes to the fields which will be in EKKO or EKPO....as we are not supposed to extend EKPO ....those two exits will not be handy for us.......
         We even tried in existing BADI's ....but no BADI or exit will be getting triggering when we do not make any changes which effect EKKO and EKPO structure....
          Please let us know . if you have any idea to counter this unique problem.
           We also request you to please let us know ,if you ahve any idea, about implementing the this particular enhancement spot. Usually we can do it by SE19. But this particular spot is not allowing us to create one...... 
    Anyway Thanks .....Let's flow the discussion...
    Regards,
    Sampath

  • Badi created throught Enhancement Spot,but it is not registered in SXS_ATTR

    Hi All,
    Can anyone please tell me regarding why, When BADI created through Enhancement Spot, it is not registration in the SXS_ATTR table.
    During creation of BADI, Through BADI Definition, the interface and Class is generated by the system itself. Where when I create Badi , by Enhancement Spot I need to enter manually both the interface and Class name.
    BADI Definition:  Z_CUSTOM_BADI
    Implementation name   : Z_CUSTOM_BADI_1
    I hv given a class name as: ZCL_IM_CUSTOM_BADI_1
    But during the debugging, it showing the class name as: ZCL_IM_CUSTOM_BADI
    Thanks in advance.
    Rgds.
    Shaik

    Hi
    I think the request is good for deleting the enhancement, the problem could be if there are other objects there, but if the only object is the enhancement I think It should be ok
    @Max, inside the task when i double clicked the enhancement, its throwing an error the cant be read.
    That's normal if you have delete it
    Max

Maybe you are looking for

  • How do I stop my MacBook Pro from buzzing?

    My MacBook Pro occasionally makes these weird buzzing/clicking noises even when it isn't on. After awhile, it usually stops but sometimes it takes longer to stop. It sounds like it's coming from the vent thing connecting the keyboard to the screen. I

  • Skype number is suddenly not working for me and my...

    Skype number is suddenly not working for me and my colleagues to RECEIVE outside calls.  Any ideas? When I try to call my skype from my cell, it doesnt ring on either end.  It appears connected on the cell phone since the counter clock for the call i

  • Adpreclone.pl running and server shutdown

    Hi, I faced on situation wherein we were running adpreclone on dbtier and unix server went down for some maintenance activity.(DB services were down at that time) Please let me know what is the effect/issues i might face when i restart the adpreclone

  • Failing transfers from iMac to iPod

    I've won a free 30GB Video iPod and last night I set aout transferring my iTues Library to the new iPod. I had no idea how long such a step would take so i decided to do it overnight. Just before going to bed I noted that it was transferring a Queen

  • Status Profile for Internal Order

    Hi, Please tell me during creation of new status profile for new internal order type under status I have mentioned LKD - Locked and PLIM - Write plan line item. What should be used its corresponding Business Transactions with No Influence, Allowed, W