User exits/Badi PO Item category type L

Hi,
My requirement is when ever a PO is created with some specific Order Type (Ex: ZPOG), items with item category as L (subcontracting), in the material BOM component the Plant should be changed from AAAA  to BBBB.
Pls suggest some user exits or badi's to implement the logic to change the plant.
Thanks...
Cheers!!
Anand

i used this for approach for ASN only, i used this from ITS. so first i create the delivery using the VL31N with the PO, after success i deleted the items which i don't want using the VL32N and save the delivery with the items what ever i want. after a long analysis i followed this approach, since i have no option to pass the items to VL31N .
But you have another option here
see the include:
MV50AFZ1
here you can exclude the items which you don;t want , place the code in the routine
USEREXIT_SAVE_DOCUMENT_PREPARE

Similar Messages

  • User Exit VA01 - change item category and add lines

    Hi all,
    I am trying to implement the following requirement:
    - Sales order is created in VA01
    - Availability check is carried out in APO / GATP
    - Based on the results the item category in the sales order needs to be changed (in case of open quantities)
    - In case of partially confirmed lines a line split is required
    I am currently investigating two scenarios:
    - User exit move_field_to_vbap: at this point of time the availability check hasn't been carried out. Thus I am thinking of running a GATP simulation and changing the item category depending on the GATP results and adding new lines if applicable.
    - User exit check_vbap: at this point of time the value vbap-kwmeng and vbap-kbmeng is available and the item category can be changed based on that. Problem: All item category depended fields are already derived. A recalculation would be required. Same for added lines.
    Did anybody implement the same requirement? Any hints are highly appreciated.
    Thanks,
    Martin

    Can u be more clear.
    This are the exits used for the VA01
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing
    SDAPO001            Activating Sourcing Subitem Quantity Propagation
    V45A0001            Determine alternative materials for product selection
    Regards

  • Is there any user exit/ badi to populate the partner bank type for   F-63.

    Is there any user exit/ badi to populate the partner bank type (field name BSEG-BVTYP) in transaction F-63. There is exit ‘ZFI_FOAP_CDITEMS_00001011’ having BKPF and BSEG as only import parameters so I can’t change the value for BSEG-BVTYP.
    So could you please let me know any exit where I can change the value for BSEG-BVTYP for transaction F-63?
    Thanks in Advance,
    Steevan

    hi,
    Below r the user exit related to transaction  F-63.
    Check out if any of them will solve ur Query..
    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 send
    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)
    Reward points if helpful,
    Regards,
    Brijesh

  • 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...........

  • In ME21N,User Exit/BADI for  Defaulting  Vendor number at item level.

    Hi Experts.
    In ME21N, for every purchase order, we have condtion tab for each line item.
    Many condition typesot taxes  are listed based on the config for the materials.
    My requirements is, When we go inside by selecting a condition type we find vendor number displayed.
    I need a user exit/BADI for defaulting the Vendor number.
    Regards
    Balaji R

    Hi,
    check with below link,
    fo this one you will find both user exit and badis
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/find%252bapplication%252bclass%252bwith%252bexits%252band%252bbadis%252bfor%252ba%252btransaction
    Regards,
    Madhu

  • User exit / BADI to add the condition type in PO

    Hi Friends,
    The scenario is like user will be creating the Sales order & after that user will create the PR & immidiately after that PO will be created from PR no.
    I will be checking for some Z* condition type in sales order & if its present in sales order I have to add that condition type in PO.
    So for this I am searching for user exit or BADI.
    Please help me out with this.
    I have already tried following user exits & bADIs
    1. RV61AFZA - cant use because i dont get the PR no or SO no in this exit.
    2. RV61AFZB - cant use because i dont get the PR no or SO no in this exit.
    3. also tried the enhancement MM06E004 - if I add new condition type in XKOMV table condition type is not getting updated in PO.
    4. MM06E005 - if I add new condition type in XKOMV table condition type is not getting updated in PO.
    5. ME_PURCHDOC_POSTED - this BADI dont allow us to add the new condition type to std internal table.
    If you know anything apart from this then please do let me know.
    Full points will be awarded for the correct answer!!
    Best Regards,
    Aditya
    Edited by: aditya aghor on May 26, 2008 8:59 AM
    Edited by: aditya aghor on May 26, 2008 10:33 AM

    Transaction Code - MIRO                     Enter Invoice                                                                               
    Exit Name           Description                                                                               
    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    
    kevin

  • User Exit / BADI for  F-02 during SAVE to update BSEG Line Items.

    Hi Experts,
    I need a User Exit / BADI for Transaction code F-02 which triggers during save to update  BSEG-SGTXT with Vendor / Customer 
    name in the Tax Line Item.This is to update table BSEG .
    Thanks in Advance,
    Nithy

    Hi,
    Do it with the BTE 00001120 (tcode FIBF).
    I hope this helps you
    Regards,
    Eduardo
    PD: I forgot, check this link. It will tell you how to do it
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7
    Edited by: Eduardo Hinojosa on Jul 15, 2009 6:38 PM

  • 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.

  • User exit -BADI for overriding Partner number in Purchase order output type

    Hello All,
    We have a requirement wherein the EDI message type will distribute the Idoc to the partner number determined in the output type of the purchase order. We are maintaining the condition record for a generic partner number in MN04 and we want this partner number with partner role SH from the condition record to be modified to the sales order sold to party partner number. We are using third party processing and hence sales order number can be fetched from account assignment (EKKN) table of the purchase order. Kindly do let me know the user exit /BADI that can be used for achieving this functionality.
    Thanks in advance for your immediate response.
    With regards,
    Joseph Anand B

    Hi,
    check with below link,
    fo this one you will find both user exit and badis
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/find%252bapplication%252bclass%252bwith%252bexits%252band%252bbadis%252bfor%252ba%252btransaction
    Regards,
    Madhu

  • FB60  Line item User exit/BADI/BTE

    Hi Guys,
       I need a user exit/ BADI/BTE to change the  Line item in FB60 transaction.  Please let me know ifyou know  any enhancment on this. Thanks
    Regards,
    Ganesh

    Hi Dude,
    Following are the list of BADIS  for FB60 tcode
    BADI_FDCB_SUBBAS01
    BADI_LAYER
    BADI_FDCB_SUBBAS02
    PPA_CUST_BADI
    BADI_FDCB_SUBBAS03
    WRF_PREPAY_INVOICE
    BADI_FDCB_SUBBAS04
    BADI_FDCB_SUBBAS05
    ADDR_LANGU_TO_VERS
    ADDR_PRINTFORM_SHORT
    BADI_MATN1
    For your requirement the releavant badi is PPA_CUST_BADI
    Thanks & Regards
    Ramakrishna Pathi

  • User exit/badi to add items to a material document

    Hi,
    Is there any user exit/badi which can be used to add an item while creating a  goods receipt document in MIGO. The requirement is that when user does a GR against a PO, the exit should check if there is a returnable packaging material for the material in the PO, and then include this packaging material in the GR. We found  user exits/badis which allow changes to an existing item, but didnt find any which can be used to append an item.
    Let us know if there is any way to do this.

    Do you have check the BADI : MB_MIGO_BADI ? 
    I have use it to modify the MIGO screen (add a new tab) create an input field and use this field to modify the material master data.
    Maybe you could use for your work.
    Fred

  • To find out appropriate user exit/ badi for transaction VT01n

    Hi,
       I have the following requirement.
    Cass shipment type (VTTK-ADD03) field needs to be required and should be automatically populated upon creation of the shipment document.  The rules for populating the value (SO, ST, PO and RA) are as follows:
    If any of the orders on the shipment are customer order types, then the CASS shipment type should be a SO,
    If all of the orders are STO orders, then the Cass shipment type should be "ST",
    If all of the orders are PO orders, then the Cass shipment type should be "PO" , and
    If all of the orders are customer return orders, then the Cass shipment type should be "RA".
    I have to find out proper user exit / badi to do this.I have tried with many userexit but it won't work.
       Thanking in advance to give your suggestion in order to resolve it.
    With regards,
    Ajit.

    Hi this code will enable you to find the user exit for any transaction . Just give the transaction as input
    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.
    *---End of Program
    Just for your information the User exits available for VT01n are
    MV56AINI            Initialization of transaction control for transportation          
    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?               
    Award points if helpful..
    Thanks

  • Valuation price with user exit/BADI/Enhancement Spot (In valuation variant)

    Hi all,
    i am facing problem finding enhancement when creation of sales order of Valuation price with user exit/BADI/Enhancement Spot  (In valuation variant)
    For refferenece:
    When going to t.code VA03, select one item and go to extras in the menu bar and select costing then you find some amounts calculation i.e valuation price automatically.
    So when creation of sales order i am giving material and that material price automatically takes from material master and creating sales order.
    My customer requirement is to get the valuation price of the input material from Z-table during the sales order cost estimate.
    This Z-table contains the material code, plant , grade  of the material.
    Ex:
    Material         Plant   Grade Price
    A                1000    XYZ     25000
    A                1000    PQR     35000
    A                1000    BCD     45000
    Suppose it depends on sales document type and which grade price i have to take.
    So first of all i am unable to find enhancement where to change this code to get change the valuation price.
    Does anybody have any idea , is there any user exit/BADI/enhancement for this.
    So please help me in this issue.
    Thanks & Regards,
    lokeshgoud

    pls allow me to post the questions

  • User Exit/ Badi/ FM for Tcode IW32

    Hi Experts,
    I have a requirement which i need to update the next line with the same part number concatenate with u201CNVu201D and in the quantity enter u201C-1u201D and  enter the item category as u201CLu201D.
    The scenario is this,
    In the service order (IW32) when ever a component is entered on a new line item, example below:
    RESBD-MATNR= spare part(Ex: 0614-2331) compponent
    System should update the next line with the same spare part number concatenate with u201CNVu201D
    Ex: 0614-2331NV
    and
    Required quantity (RESBD-MENGE) =-1
    Item Category(RESBD-POSTP) = L
    Plant(RESBD-WERKS)= US40
    has anyone done this before? Can you lend a hand? I just need the exit/ badi where the coding can be done.
    Thanks.
    Regards,
    Min Dee

    Hi,
    try this User Exit..
      Exit name    Short text
      IWO10012  Maintenance order: Priority handling on central header
    to find the user exits & Badi's for the T-code..
    go to table TSTC>enter T-code and execute> get the Program for the t-code..
    and go to-se38-->get the package attached to the t-code..
    next go to t-code Se15>expand the enhacement tab>enter package under userexit and
                                                         execute you will get the list of exits
                                                         available...
                                                      -->enter package under Badi's tab and
                                                         execute you will get the list of Badi's
                                                         available... 
    All the User exits are stored in Table MODSAP..
    Prabhudas

  • User exit/BADI in MIRO that would trigger invoice quantity block.

    Hi,
    Is there a way to enchance MIRO so that an invoice quantity block will be set automatically through user exit/BADI?
    My requirement is that if an invoice is to be posted onto a PO line using an IO, the invoice needs to be processed onto the PO line up to the total of the PO line. And if the invoice goes above the PO line and there is still some budget on the IO, the invoice should get a quantity block.
    Also, the quantity block should be set before posting the invoice.
    Thanks.

    Hi,
    Exit Name           Description
    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 Name            Description
    INVOICE_UPDATE       Business Add-In: Logistics Invoice Verification
    INVOICE_UPDATE       Transfer Invoice Receipt to Records Management
    INVOICE_UPDATE       Event manager communication from invoice processing
    INVOICE_UPDATE       Rückantwort ins CRM aus der Lieferantenrechnung
    INVOICE_UPDATE       Implementierung, um S1NVEXC zu übermitteln
    INVOICE_UPDATE       Save FI Document Type for Principle of Prudence
    INVOICE_UPDATE       Vendor Evaluation Based on Documents from IV
    Check this badi's and user exits.
    Hope this helps.
    Regards,
    Qamar.

Maybe you are looking for

  • How to change pricelist type in customer master

    hi gurus, plz tel me any bapi or function module is there to chnage new pricelist type in customer master for a perticular sales area.

  • FINALLY, iTunes Store Working

    I have been dealing with Apple, my DSL and Norton for over a month about iTunes Store not loading and telling me I don't have a connection when I did. I went through all the threads etc and Apple and Norton were helping me. I am a teacher and my tech

  • When I edit music info it is not saved.

    I've formated my mac a few weeks ago. I've imported my lybrary with Time Machine and it works perfectly. The only problem is that I can not edit any song's info. Nor title, artist, lyric, front cover..nothing! When I press OK all the new data I've wr

  • Grouping by week using Date column

    I have a table with a date column. I'd like to generate a report grouping all entries by week. Is this possible with the date expressions/functions within Oracle? Thanks

  • I have a Macbook pro version 10.6.8  How can I get airplay?

    I have started a new job and it would be nice to have 2 monitors running separate programs not just mirroring.  I have a Macbook pro version 10.6.8 and would like to run my laptop and a separate monitor for work.  Any suggestions? and can i get airpl