Exit/ BAdi to change delivery priority in ME21n while creating STO

Hi,
I'm trying to create STO through transaction ME21N. After entering the header data and material no. when i press enter i'm able to see the item level data. Here in item details, under tab 'Shipping' there is a field 'Delivery priority'. I want to influence this field. Is there any user exit / BAdi available that can be used to modify this field when i press enter after entering the header data and material??( i.e. Before Save).
I have tried creating implementation in BAdi 'ME_PROCESS_PO_CUST'. But during testing control was not stopping at the break-point.
Please suggest me solution to this problem.

Hi
Create an Implementation ME_PROCESS_PO_CUST  (like   Z_ME_PROCESS_PO_CUST) and check the method
IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM     Processing of Item Data
and keep a break-point   u have SET_SHIPPING_DATA  and GET_SHIPPING_DATA Methods
INterface Name  :::IF_PURCHASE_ORDER_ITEM_MM
EKPV--LPRIO  for Delivery Priority
surya

Similar Messages

  • User Exit/Badi to change the billing plan date when create sale order

    Experts,
    Please advise which user exit/badi can be used to change the billing plan date wen create sale order.
    My requriement is based on some rules to dynamically change the line item billing plan start date and end date when create sales order.
    I tried some user eixt in MV45AFZZ, but the date got revert to the orginal date from billing plan.

    Hi,
      check the include MV45AFZB.
    Thanks & Regards,
    Sateesh.

  • User exit/BADI to change the Accntg doc which gets created during Billing

    I am trying to do the following . Is this possible ?
    When a delivery related billing document is created an accounting document is created in the background , I want to modify the line items in the accounting document, Just before posting the accounting document.
    I am using  exit EXIT_SAPLV60B_008  as suggested but I don't see the accounting line items in any of the internal tables in this exit.
    My accounting document when it gets created looks like this. And I want to modify one of these lines before the document is posted.
    Thanks in advance.
    Regards,
    Ankur Bhandari
    1 01 32517 Jaaaa 3,700.83 USD
    2 50 3100000 MERCHANDISE SALES 3,199.96- USD
    3 40 3100000 MERCHANDISE SALES 160.00 USD
    4 50 3200000 DELIVERY INCOME 132.00- USD
    5 50 3200000 DELIVERY INCOME 10.00- USD
    6 50 2170156 SALES TAX COLLECTED 198.87- USD
    7 50 3400000 WARRANTY INCOME 320.00- USD
    8 15 32517 Jaaaa 3,700.83- USD
    9 40 1117217 RECV. VISA/MCARD Sto 3,700.83 USD
    Any answers on how can I delete line 1 8 and 9 and add another line which balances the amount ?
    Need to do this just before the accounting document gets generated.
    Is this possible ?

    Hi Ajay,
    I just want throw a light on your issue.
    There are couple of other user-exits also available here.
    Just check the required data is available or not?
    EXIT_SAPLV60B_001              User Exit AC Interface (Header Line)               
    EXIT_SAPLV60B_002              User Exit AC Interface (Customer Line)             
    EXIT_SAPLV60B_003              User Exit RW Interface (Cost)                      
    EXIT_SAPLV60B_004              User Exit AC Interface (GL Account Item)           
    EXIT_SAPLV60B_005              User Exit AC Interface (Accruals)                  
    EXIT_SAPLV60B_006              User Exit AC Interface (Tax Line)                  
    EXIT_SAPLV60B_007              User Exit AC Interface (Customer Line)             
    EXIT_SAPLV60B_008              User Exit AC Interface Transfer Tables             
    EXIT_SAPLV60B_010              User Exit Item Table for the Customer Lines        
    Thanks,
    Ramakrishna

  • User exit/BADI for changing the exchage rate type in MIGO

    Dear guru's,
    Please help me in finding the user exit/BADI to change the exchange rate type in MIGO.
    Regards,
    Abdul Rahim

    did you check this one MB_GOODSMOVEMENT?
    also exchange rates needs to be changed at Purchase order level and those will be reflected while creating MIGO.

  • Need the user exit/BADI name for Reverese order MIGo- ME21N(changing item)

    Hi
    I have the below requirement.
    I am changing the item details in the transaction MIGO transaction,the value of MSEG entries
    are got changed.and also it should change in the Purchase order level also(in the table EKKO).
    Can anybody tell me the User Exit /BADI name which is triggered in the Reverse order
    i.e MIGO -> ME21N.So that i can implement my code in the reverse order in the User Exit/BADI.

    hi I did not find any paramater type EKPO in the Exporting or changing of any methods in the BADI's given by you...........

  • User exit for XD01 with delivery priority

    Hi ,
    I am using a user exit EXIT_SAPMF02D_001 for customer master.Below is the piece of code .I am just displaying message based on delivery priority field in the customer master .
    But the probleam is when user only change the value in delivery priority field then only my message should come .But now my logic executes when ever no changes in the delivery priority field also and any touch other than this field also getting the message.
    Means the value in the delivery priority field  not refreshed in the customer master screen .Thats why the message is coming any time when not touching the field also.
    so can somebody suggest what to do?My logic should work only when delivery priority field only changed.
    TABLES:tpakd.
    DATA:l_lprio TYPE lprio,
         l_kztlf TYPE kztlf,
         l_antlf TYPE antlf.
    DATA:l_lp(2) TYPE c VALUE '03',
         l_kz(1) TYPE c VALUE 'B',
         l_an(1) TYPE c VALUE '1'.
    SELECT SINGLE * FROM tpakd
                    INTO tpakd
                    WHERE parvw = 'WE'
                      AND ktokd = i_kna1-ktokd.
    IF sy-subrc = 0 .
      MOVE i_knvv-lprio TO l_lprio.
      MOVE i_knvv-kztlf TO l_kztlf.
      MOVE i_knvv-antlf TO l_antlf.
      IF l_lprio = l_lp AND ( l_kztlf NE l_kz OR l_antlf NE l_an )  .
        MESSAGE w534(zm).
        ELSEIF l_lprio IS NOT INITIAL
                AND ( l_kztlf IS NOT INITIAL
                OR  l_antlf IS NOT  INITIAL
                OR  l_antlf NE '0'
                OR  l_antlf NE '9' ).
        MESSAGE w534(zm) .
      ENDIF.
    ELSE.
      EXIT.
    ENDIF.

    HI
    I think something doesn't sound good in this control
    ELSEIF l_lprio IS NOT INITIAL
      AND ( l_kztlf IS NOT INITIAL
           OR l_antlf IS NOT INITIAL                  "<-------
           OR l_antlf NE '0'
           OR l_antlf NE '9' ).
        MESSAGE w534(zm) .
    ENDIF.
    The control for L_ANTIF seems to be always valid, probably you should use AND insted of OR
    ELSEIF l_lprio IS NOT INITIAL
      AND ( l_kztlf IS NOT INITIAL
           OR ( l_antlf IS NOT INITIAL                  "<-------
           AND l_antlf NE '0'
           AND l_antlf NE '9' ) ).
        MESSAGE w534(zm) .
    ENDIF.
    Max
    Max

  • Reg. Exit/BADI for changing item data of PO in ME22N

    Hi all,
    My requirement is to update the field LABNR (Order Ack.) of few specific line items of a PO, in the Transaction ME22N, using Exit/BADI.
    I have tried the BADI  ME_PROCESS_PO_CUST. But the PROCESS_ITEM method of this BADI processes only the line item which has been changed/inserted in ME22N transaction. But my requirement is to update line items irrespective of whether that line item was "changed/not changed" during the process in ME22N screen.
    Could you please suggest me some suitable Exit/BADI for this requirement.
    Regards,
    Anbarasan K

    Thanks Martin.
    Problem solved by implementing the method Process_Header.
    1. Get the items from Header                              -  im_header->get_items
    2. Loop the item list and get the line item record   - re_item-item->get_data
    3. <- Logic to Update the line item - >.
    4. Update the line item                                       - re_item-item->set_data
    Thank you very much.. Martin.
    Regards,
    Anbarasan K

  • User Exit/ Badi for Changing Quant parameters during TO Creation

    Hi Gurus,
    Could you please guide me to advice the User Exit/Badi which can be used for changing Quant Data during TO Creation.
    User Requirement: Using "Recepient Field" in MIGO as a Key Value for FIFO in WM during goods issue. Receipient is copied into TR and TO (Standard SAP Functionality). For the purpose of Stock Removal based on Receipient Value, we need to copy this value into Quant Data field named Certificate Number ("LQUA-ZEUGN").
    I will highly appreciate reply from Gurus.
    Regards,
    Gupta M

    Hi manish,
    Use the Exit MWMTO001 for this purpose and modify the table accordingly. This will solve your problem.
    Thanks,
    Shibashis

  • How to change delivery priority in stock transfer schedule agreements.

    Hi Experts,
    we have an issue, the delivery priority is changed in the customer master recently and the deliveries created for the old schedule agreements pick the old delivery priority. we need to change the delivery priority in schedule agreements.
    Is there a way to change the delivery priority(in item shipping data) in stock transfer schedule agreement(doc type= LU).
    I tried changing it in ME32L but its just a display.
    Thanks
    Mahendra

    Hi All,
    Can any one reply to this.
    Thanks
    Mahendra

  • User exit / badi to change engine serial-number of vehicle in ie02 ??

    hi all ,
    does anybody familier with user exit/badi that can handle the screen called : vehicle technology
    in transaction ie02 for fleet management .
    i need it in order to update the field : engineserialno that appears in this screen.
    thanks in regard ,
    ami

    hI,
    The following User Exits and BADIs for that tcode.
    Enhancement
    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
    Business Add-in
    EQUI_SERLV_CHECK                        External Inspections for MARA_SERLV
    EQUI_SCR_CC                             Implementable Subscreen for Equipment for CCM
    EQUI_SCR_06                             Implementable Subscreen for Equipment No. 06
    EQUI_SCR_05                             Implementable Subscreen for Equipment No. 05
    EQUI_SCR_04                             Implementable Subscreen for Equipment No. 04
    EQUI_SCR_03                             Implementable Subscreen for Equipment No.
    EQUI_SCR_02                             Implementable Subscreen for Equipment No. 02
    EQUI_SCR_01                             Implementable Subscreen for Equipment No. 01
    <REMOVED BY MODERATOR>
    sekhar
    Edited by: Alvaro Tejada Galindo on Feb 27, 2008 3:28 PM

  • User-exit /BADI to change mseg during migo

    HI
    Can someone tell me which user-exit/BADI to be used which lets one change mseg during MIGO. There are some user-exit/BADI during migo but everywhere mseg is an import param. Actually for certain cases I want
    to change the amount in local currency field (dmbtr). I can always forcibly do it from an update-module called from MB_DOCUMENT_BADI but this would lead to inconsistency as the same won't be passed to
    accounting document.
    Regards
    Saurav

    Hi,
    i've also tried using the BAdI mentioned to change for some changes required for price during goods movement.
    after discussion with developer, we found out that the when the program reach the BAdI mentioned, it is already too late as the standard program has already populated the accounting document structure to be posted.
    to change the amounts to be posted to the accounting document can be managed with enhancement spots in inlcude program of LRWCLF01.
    but requires heavy logic to restrict to specific scenarios and  intensive testing, not recommended as it is not within the boundaries of standard SAP allowed changes.
    Cheers,
    Joaquin

  • User exit/BADi to change the header text in MIRO transaction

    Hi all,
    I am searching user exit or badi to change the header text in MIRO transaction.
    My requirement is, before post the invoice I need to populate the vendor name in Header text field(MIRO -> Details tab -> header text field ). I have tried all the user exits and BADi's related to MIRO. Doesn't work. If anybody knows please share.
    Thanks,
    Pranav

    Try BADI INVOICE_UPDATE.
    If you are in system version is ECC 6.0, you can find out a Enhancement SPOT (ES_SAPLMRMC) under Function module MRM_FINAL_CHECK, which can be used to perform this requirement
    Hope this helps.
    Thanks,
    Balaji
    Edited by: Balaji Ganapathiraman on Mar 14, 2008 4:43 PM

  • IW32 : User-Exit/BADI on Change of User Status

    Dear All,
                                     My requirement is to do some validations when a user changes the User Status of a Service Order to  'Cancel'.
    I am unable to find a user-exit/badi which will get trigerred when the above process occurs. I did find some user-exit at save but none of them will get me the new user status, so that I can check whether the Service Order going to be set as 'Cancel' .
    Regards,
    Antony

    Dear Wolfgang,
                         Thanks for your answer, it was indeed very helpful. I didnt find any luck with the FM you had mentioned but found some other FM:  QMEM_STATUS_OLD_NEW_READ , may be this will help me in solving my problem..There is one more Question which I hadnt mentioned in my post, If my validation over User Status  fails how can I get the old status back.. Because since the EXIT you had mentioned is at SAVE I dont think throwing an Error message will be the right option
    Regards,
    Antony

  • EXIT/BADI REQUIRED FOR DELIVERY SCHEDULE INSERT FOR PURCHASE ORDER

    We are creating delivery schedule for Purchse Requisition created through MRP in Z-Table , Now we requires this delivery schedule dates to be copied directly in PO while creating a PO.
    We have Tried Exits for the same MM06E004 and MM06E005 but after setting a break points system is not stopping at the required screen (delivery schedule date screen).
    Please provide BADI or exits available for the same.
    Thankx

    Dear Mr.Shan ,
    Thanks for your prompt and valuable reply , I had tried the exits mentioned by you previously and was not upto the expectations ,
    Problem solved using stac technique.
    Thanks
    Ankush

  • User Exit / BADI to change Project WBS Element/Task data

    Hi,
    We are using BAPI BAPI_PROJECT_MAINTAIN to create Project in R/3. We are passing Company Code to Project Definition Structure ( BAPI_PROJECT_DEFINITION ). BAPI updates Header company code at line item ( WBS element / Task ) level also. We do not want company code at line item level.
    Is any User Exit or BADI available in the above BAPI to change WBS/Task data. Also I would like to know whether we can control data flow ( from header to Line item ) through customisation.
    Thanks in advance.
    Naren

    Hi,
    Thanks. BADI WORKBREAKDOWN_UPDATE has import parameters. It does not have export parameters. I can not change import parameter data.
    I am looking for user exit or BADI to change WBS/Task data.
    Regards,
    Narendra

Maybe you are looking for

  • How do I upgrade OS X 10.5.8 on my iMac with Intel duo core processor

    I have an iMac 24" with 2,16 Ghz Intel Core Duo processor and 2Gb 667 Mhz DDR2 SDRAM running on OS X 10.5.8 to Lion? I know I have to upgrade first to snowleopard??? If so SnowLeopard is not available in the iCentres etc. What to do?? Brgds, Nils

  • Any way to get rEFIt to show the Recovery HD as one of its normal options

    To get ready for Lion, I uninstall rEFIt because I read about supposed incompatabilities. Well, I've seemed to have worked thru Lion's idocyncracies (and moreso Boot Camp"s problems), so I'm ready to add rEFIt back into the mix. Although it installs

  • Error message when trying to print from the Preview

    When I'm trying to print from the preview menu I have an error message and it won't print. Anything to do with recent upgrade to OS Lion?

  • Unable to Kill Session

    Good day all in my db i found the one session hang my table .but when i try to kill it i receive the following message 'session marked as kill' when i run SELECT SID, SERIAL#, STATUS FROM V$SESSION i found its status is kill but it still make my tabl

  • Setting default "Open With" for files

    Trying the set Photoshop CC 2014 as the default program for all PSD files.  When I select Photoshop CC 2014 as the default and select change all, the default reverts back to the old Photoshop CS6 - which is still installed.  Any ideas?