BADI/user exit to merge items in PO

Hello,
does someone know a BADI or user exit where I can merge items in a purchase order when I create/change it. The intension is that the quantities of 2 items that have the same material are added into one item.
I tried BADI ME_PROCESS_PO_CUST, but it seems that non of the methods have all items available, I can only handle one item at the time.
kind regards,
Pieter

Isn't it enough to do it for one item at a time? Or do you plan to merge items on old POs ?
if you have a PO item of material A and you want add another item for material A, then it merges to the first item.
You can simulate it manually.
Create a PR with several items.
Then execute ME21N. open the document overview and find your requistion.
Drag and drop one requisition item into the shopping cart on top of ME21N.
then open the schedule tab in item detail of ME21N.
take next PR item and drop into the shopping cart below the schedule tab.
SAP will create a second schedule line (if delivery date is different) but add the quantity to the existing PO item.

Similar Messages

  • Badi/ User Exit - to update item data on Post GR in MIGO

    Guyz,
    I have a requirement to update the value in ALAN1 , ALAN2 fields while posting GR in MIGO. And also I need to access the value of realted PO (ebeln) and line item(ebelp) and equipment number(or serial number) EQUNR filed ,while doing the coding for this enhanemnet.
    I was looking for Badi or User exit to meet the need. I have found a Badi MB_MIGO_ITEM_BADI, which I have implemented. I have put a break in the method and found that I can access all the value in the above mentioned field (IS_GOITEM, is the sturcture in the Badi signature) but one problem still persists.
    I can see only the last line item(ebelp), in IS_GOITEM, where I need to see all the line item, so that I can relate which Equnr is assigned to which Lineitem.
    Please tell me if you know any badi or user exit for this purpose.
    Regd,
    Anid 
    Points Guranteed
    Message was edited by:
            Anid

    Hi,
    we have checked above BADI;s but will not suffice the requirement;
    The requiement is
    While Creating PO(ME21N) and Changing PO(ME22N):
    When the user tries to Save the PO:
    All the line items should be accessible and can be editable.
    If the validation fails, error message should be displayed on
    the screen and user should be able to edit at that location.
    Please let me know if there is any other way or enhancement point for the same...
    Regards
    Shiva

  • BADI/user exit to be used EIPO-TEXT1 field of the outbound delivery line item?

    Hi ABAPERS,
    Need some help on an enhancement with reference to outbound delivery in SCM module.I have a requirement for an enhancement to ensure that the License Check is performed for each Delivery Item based on the Material`s Export Control Parameters and updating the license number identified against each of the line item in the outbound delivery in a predetermined field.
    Basically, Using enhancement, find the appropriate License based on the information fetched from the Delivery Document and check if this is matching with the available License Information. Then the appropriate License fetched should be visible in the License Log of the Delivery Document.
    The valid License No. fetched should be updated at the Delivery Document Item – Foreign Trade – Comments Tab-Description Field 1.(ie. populate the license T606Z-GENNR in EIPO-TEXT1 field of the outbound delivery line item.).
    Could you please advise on the BADI/user exit to be used in this case. Request your inputs.

    I found the solution myself. I was actually not needing a user-exit to do this. I just simply solved it by using function modules READ_TEXT and SAVE_TEXT in a customer program.
    Regards.

  • BADI/User Exit suggestion - for determining Partner in PO header

    Hi All,
    I want to be able to automatically populate and determine a manual partner function within the header of a purchase order creation.
    Example, when PO is allocated against account assignment 'P' then go to the WBS element assigned and retrieve the specific partner number for partner function type XX. Then populate this into the relevant header partner function of the PO.
    Any ideas of which BADI/User exit could be used in ME21N?
    Thanks
    Steve

    Hi Steve
    Before going to search the UserExit/BADI, please remember your account assignment will be at item level and the partner will be at Header level.If you have number of line items with different account asssginments or different WBS elements under account assignment P, it is difficult to determine the partner functional at Header level.Please think on how can you build logic? There are number of BADI/Exits available for Purchase order.
    Regards
    Ramakrishna

  • FBCJ BADI/User Exit or Validation Rule Implementation

    Inspite of my maintaining validation as under, i am not able to achieve what i desire, i.e., System is still posting Cash transactions thru FBCJ t code for amount exceeding INR 50,000
    1. Created a validation name
    2. Assigned it to Application Area - FI
    3. Callup Point - 2 Line item
    4. In validation step 0001, created pre-requisite as
    Transaction code = 'FBCJ' AND Account Type = 'D' AND
    Posting key = '15'
    5. Under check, Amount <= '50000.00'
    6. Entered E in message type with corresponding message class ZKM_MSG_CLASS for message number 018
    7. Assigned the above validation in OB28 t code for activation level 1 (i.e., Active)
    System display a message; but also post it as well, despite of 'E' error message type.
    How to tackle with the above problem.
    Is there any other badi/user exit for FBCJ. I have only find CJ_DOCUMENT, but it's not working for me.
    Thanks and Regards,
    Sohail

    Hi
    Below are some of BADIs available for WAK1. Please check.
    Exit 
    WCOUP001  User exit for coupon processing in POS inbound
    BADIs
    RDM_BAPI_PROMO_CREATE - Enhancement Spot (RDM_OPT_PROMO_IN)
    RDM_PROMO_POST - Enhancement Spot
    RDM_PROMOTION_WAK1 - Enhancement Spot
    WAKT_BADI_001  -
    ~~~Ganesh Kumar K.

  • BADi/User Exit in J1IEX/MIGO

    Hi.,
    While capturing excise invoice in MIGO, iI wanna to make excise material type NONCENVATABLE as default for those items which has JMIP (Inventorized duty) in Purchase Order.If the material is maintained as Raw/asset/consumable/tools & if JMIP condition is maintained for that material in PO,then while capturing excise invoice in MIGO,it should take the excise material type as NONCENVATABLE.
    Are there any Badi/User Exits for this?
    Please guide on this issue
    Thanks & Regards,\

    Check with function module "J_1IEX_DETERMINE_CHAPTER_ID" & "J_1IEX_FILL_EXCISE_ITEMS"..

  • Badi/user exit in tcodes me54n,me55,me28 and me29n

    hi all,
    1.which is the badi/user exits that is there in me54n and me55...for saving and releasing purchase requisation(s) .
    2.which is the badi/user exits that is there in me28 and me29n...for saving and releasing purchase order(s) .
    points will be rewarded.
    regards,
    johnson

    Transaction Code - ME54N                    Release Purchase Requisition                                                                               
    Enhancement                                                                               
    MEREQ001                                Customers' Own Data in Purchase Requisition                                                                               
    Business Add-in                                                                               
    ME_COMMITMNT_PARKING                    BAdI for Redefining Commitment Interface When Parking   
    ME_MEREQ_PARKING                        BAdI Purchase Requisition: "Hold"                       
    ME_REQ_HEADER_TEXT                      Copy Header Text: Enjoy Purchase Requisition
    Transaction Code - ME55                     Collective Release of Purchase Reqs.
    Enhancement                                                                               
    MEQUERY1                                Enhancement to Document Overview ME21N/ME51N               
    MEVME001                                WE default quantity calc. and over/ underdelivery tolerance
    MM06E001                                User exits for EDI inbound and outbound purchasing documents
    MM06E003                                Number range and document number                           
    MM06E004                                Control import data screens in purchase order              
    MM06E005                                Customer fields in purchasing document                     
    MM06E007                                Change document for requisitions upon conversion into PO   
    MM06E008                                Monitoring of contr. target value in case of release orders
    MM06E009                                Relevant texts for "Texts exist" indicator                 
    MM06E010                                Field selection for vendor address                         
    MMAL0001                                ALE source list distribution: Outbound processing          
    MMAL0002                                ALE source list distribution: Inbound processing           
    MMAL0003                                ALE purcasing info record distribution: Outbound processing
    MMAL0004                                ALE purchasing info record distribution: Inbound processing
    MMDA0001                                Default delivery addresses                                 
    MMFAB001                                User exit for generation of release order                  
    MRFLB001                                Control Items for Contract Release Order                   
    MELAB001                                Gen. forecast delivery schedules: Transfer schedule implem.
    AMPL0001                                User subscreen for additional data on AMPL                 
    LMEDR001                                Enhancements to print program                              
    LMELA002                                Adopt batch no. from shipping notification when posting a GR
    LMELA010                                Inbound shipping notification: Transfer item data from IDOC
    LMEQR001                                User exit for source determination                         
    LMEXF001                                Conditions in Purchasing Documents Without Invoice Receipt 
    LWSUS001                                Customer-Specific Source Determination in Retail           
    M06B0001                                Role determination for purchase requisition release        
    M06B0002                                Changes to comm. structure for purchase requisition release
    MEFLD004                                Determine earliest delivery date f. check w. GR (only PO)  
    MEETA001                                Define schedule line type (backlog, immed. req., preview)  
    ME590001                                Grouping of requsitions for PO split in ME59               
    M06E0005                                Role determination for release of purchasing documents     
    M06E0004                                Changes to communication structure for release purch. doc. 
    M06B0005                                Changes to comm. structure for overall release of requisn. 
    M06E0004                                Changes to communication structure for release purch. doc. 
    M06B0005                                Changes to comm. structure for overall release of requisn. 
    M06B0004                                Number range and document number                           
    M06B0003                                Number range and document number                           
    Business Add-in                                                                               
    ME_PROCESS_PO                           Enhancements for Processing Enjoy Purchase Order: Intern.  
    ME_PROCESS_COMP                         Processing of Component Default Data at Time of GR: Customer
    ME_PO_SC_SRV                            BAdI: Service Tab Page for Subcontracting                  
    ME_PO_PRICING_CUST                      Enhancements to Price Determination: Customer              
    ME_PO_PRICING                           Enhancements to Price Determination: Internal              
    ME_INFOREC_SEND                         Capture/Send Purchase Info Record Changes - Internal Use   
    ME_HOLD_PO                              Hold Enjoy Purchase Orders: Activation/Deactivation        
    ME_GUI_PO_CUST                          Customer's Own Screens in Enjoy Purchase Order             
    ME_FIELDSTATUS_STOCK                    FM Account Assignment Behavior for Stock PR/PO             
    ME_DP_CLEARING                          Clearing (Offsetting) of Down Payments and Payment Requests
    ME_DEFINE_CALCTYPE                      Control of Pricing Type: Additional Fields                 
    ME_COMMTMNT_REQ_RE_C                    Check of Commitment Relevance of Purchase Requisitions     
    ME_COMMTMNT_REQ_RELE                    Check of Commitment Relevance of Purchase Requisitions     
    ME_PROCESS_PO_CUST                      Enhancements for Processing Enjoy Purchase Order: Customer 
    SMOD_MRFLB001                           Control Items for Contract Release Order                   
    MM_EDI_DESADV_IN                        Supplementation of Delivery Interface from Purchase Order  
    MM_DELIVERY_ADDR_SAP                    Determination of Delivery Address                          
    ME_WRF_STD_DNG                          PO Controlling Reminder: Extension to Standard Reminder    
    ME_TRIGGER_ATP                          Triggers New ATP for Changes in EKKO, EKPO, EKPV           
    ME_TRF_RULE_CUST_OFF                    BADI for Deactivation of Field T161V-REVFE                 
    ME_TAX_FROM_ADDRESS                     Tax jurisdiction code taken from address                   
    ME_REQ_POSTED                           Purchase Requisition Posted                                
    ME_REQ_OI_EXT                           Commitment Update in the Case of External Requisitions     
    ME_RELEASE_CREATE                       BAdI: Release Creation for Sched.Agrmts with Release Docu. 
    ME_PURCHDOC_POSTED                      Purchasing Document Posted                                 
    ME_PROCESS_REQ_CUST                     Enhancements for Processing Enjoy PReqs: Customer          
    ME_PROCESS_REQ                          Enhancements for Processing Enjoy PReqs: Internal          
    ME_COMMTMNT_PO_REL_C                    Check for Commitment-Relevance of Purchase Orders          
    ME_CCP_BESWK_AUTH_CH                    BAdI for authorization checks for procuring plant          
    ME_CCP_ACTIVE_CHECK                     BAdI to check whether CCP process is active                
    ME_BSART_DET                            Change document type for automatically generated POs       
    ME_BAPI_PR_CREATE_02                                                    ME_BAPI_PO_CREATE_01                                                                               
    ME_BADI_DISPLAY_DOC                     BAdI for Internal Control of Transaction to be Invoked     
    ME_ACTV_CANCEL_PO                       BAdI for Activating the Cancel Function at Header Level    
    MEGUI_LAYOUT                            BAdI for Enjoy Purchasing GUI                              
    EXTENSION_US_TAXES                      Extended Tax Calculation with Additional Data              
    ARC_MM_EKKO_WRITE                       BAdI: Enhancement of Scope of Archiving (MM_EKKO)          
    ARC_MM_EKKO_CHECK                       BAdI: Enhancement of Archivability Check (MM_EKKO)         
    ME_CCP_DEL_DURATION                     Calc. of Delivery Duration in CCP Process (Not in Standard)
    ME_COMMTMNT_PO_RELEV                    Check for Commitment-Relevance of Purchase Orders          
    ME_COMMITMENT_STO_CH                    BadI for checking if commitments for STOs are active       
    ME_COMMITMENT_RETURN                    Commitment for return item                                 
    ME_CIP_REF_CHAR                         Enables Reference Characteristics in Purchasing            
    ME_CIP_ALLOW_CHANGE                     Configuration in Purchasing: Changeability Control         
    ME_CIN_MM06EFKO                         Copy PO data for use by Country version India              
    ME_CIN_LEINRF2V                         BADI for LEINRF03 excise_invoice_details                   
    ME_CIN_LEINRF2R                         BADI for CIN India - Delivery charges                      
    ME_CHECK_SOURCES                        Additional Checks in Source Determination/Checking         
    ME_CHECK_OA                             Check BAdI for Contracts                                   
    ME_CHECK_ALL_ITEMS                      Run Through Items Again in the Event of Changes in EKKO    
    ME_CHANGE_OUTTAB                        Enrich ALV Output Table in Purchasing                      
    ME_CHANGE_CHARACTER                     Customer-Specific Characteristics for Product Allocation

  • MIRO Validation BADI / USER EXIT

    Hi All,
    Need a line item level validation for invoice amount validation with PO line item.
    Please suggest me BADI / USER Exit name for same.
    Thanks,

    Use this exit.
    LMR1M001.

  • ME41 badi/user exit

    Hi
    Do you know an BADI/user exit which is called in transaction ME41?
    My requirement is to insert some custom text into item texts.
    For Purchase Order I've done it with ME_PROCESS_PO_CUST and method PROCESS_ITEM but I can tfind simmilar functionality for RFQ.

    Hi Tomas,
    I think you have to create an enhancement spot. I once developed an enhancement spot to manipulate the item text in ME41.
    Here are the steps.
    - Open MM06EFTE_POSITIONSTEXT_UEBER0H include.
    - Create an implicit enhancement (usually right before endform line)
    - You can write your code to do the item text manipulation inside the enhancement block (the text is stored in tlinetab table)
    FYI, for RFQ:
    tdobject = 'EKPO'
    tdname = 'RFQ number + line item'  (ex: 460000001700010)
    tdid = 'A01' (standard for item text)
    I hope this is useful for you

  • User exit to change item level data in purchase order

    Hi,
    Can anyone let me know the user exit to change item level data in purchase order . there is a badi ME_PROCESS_PO_CUST for this but the issue is its method process_item gets triggered only when the item is changed. My requirment is
    For purchase order document types u201CZSOu201D and u201CZCOu201D, where the purchase order is a u201CLimits Orderu201D only i.e. no materials or services on the purchase order, the print price indicator field should be set to u201Cblanku201D (unchecked).   now i cant use ME_PROCESS_PO_CUST  because process_item wont get triggered if there is no change in itemlevel data.
    Regards,
    Rahul

    Hi Rahul,
    Probably EXIT_SAPLMEKO_002.
    hope it helps,
    Edgar

  • Help - User exit to change item level data in Purchase Order

    Hi,
    Can anyone let me know the user exit to change item level data in purchase order . there is a badi ME_PROCESS_PO_CUST for this but the issue is its method process_item gets triggered only when the item is changed. My requirement is For purchase order document types u201CZSOu201D and u201CZCOu201D, where the purchase order is a u201CLimits Orderu201D only i.e. no materials or services on the purchase order, the print price indicator field should be set to u201Cblanku201D (unchecked).   now i cant use ME_PROCESS_PO_CUST  because process_item wont get triggered if there is no change in item level data.
    Thanks,
    Rahul

    Hi Rahul,
    Probably EXIT_SAPLMEKO_002.
    hope it helps,
    Edgar

  • BADI / USER-EXIT to change Vendor Material Number in ME21n

    Dear Sir,
    We are looking for a BADI/USER-EXIT  in Tcode ME21n , which can change the Value of  "Vendor Material Number" (Vendor Material Number is available under Item Detail in "Material" Tab . The value which need to be populated in the Field "Vendor Matreial Number" is  equal to first 4 character of the Item Code .
    I request the SAP Experts to kindly guide me with a sample Code please .
    I will be highly grateful for the kind help pl .
    Regards
    B Mittal

    Hello B.V.,
    User-Exit:
    First open the relevant Module Pools for ME21n via SE38. Then search for all CUSTOMER_FUNCTION 'xxx' where xxx is a 3 digit number. This number is linked to a User-Exit EXIT_<Module Pool>_xxx. Then investigate this function for it IMPORT parameters. In your case there has to be an interface for "Vendor Material Number".
    For to implement the required changes use the by SAP delivered include ZX<something> inside this function.
    BAdI:
    1. Search in IMG
    2. Find Enhancement Point in the relevant Module Pool.
    Hope this helps,
    Heinz

  • Create Purchasing Requisition from IW31 - BADI, user exit

    Hi
    I need to do changes to purchasing requisition which is getting created from IW31.
    Is there any BADI, user exit etc. I can use?

    Hi Elena,
    Try these user exits.
    CNEX0013  Order: Cust. enhancement: Default item category comp. a
    CNEX0026  Customer enhancement for general inspection of material
    CNEX0027  Customer enhancement: Plant, storage loc. finding for c
    IWO10004  Maintenance order: Customer check for order completion
    IWO10005  Maintenance order: Cust.-specif. determination of profi
    IWO10006  Maint. order: Fcode exclusion through cust. enhancement
    IWO10007  Maint.order: Customer enhancement - permits in the orde
    IWO10008  Cust. enhancement: Determination of tax jurisdiction co
    IWO10009  PM Order: Customer Check for 'Save' Event
    IWO10010  Maint. order: Cust. enhancement for determining WBS ele
    IWO10011  Maint. order: Customer enhancement for component select
    IWO10015  Maintenance order: F4 Help for user fields on operation
    IWO10016  PM Order: Cust. enhancement to check operation user fie
    IWO10017  Determine external order number by customer logic
    IWO10018  Maintenance order: User fields on order header
    IWO10020  Maintenance order: Automatically include task list
    IWO10021  Automatic task list transfer when creating order from n
    IWO10022  Determine calendar from user exit
    IWO10023  Service order: Change header data for advance shipment
    IWO10024  Service order: Changes to items for advance shipment
    IWO10025  PM/SM order: Finding responsible cost center
    IWO10029  Inclusion of bill of material in PM/SM order
    IWO10030  Preset Fields for Event Object
    IWO10031  Hide personnel number in PM/SM order
    IWO10033  Customer-Specific Authorization Check Maint./Service Or
    IWO10034  Operation status based on the status of capacity reqs
    Regards,
    Vijay

  • BADI/user exit for transcation code "BP" in CRM

    Hi Experts,
    Is there a BADI / user exit that is triggered after successful saving/updating of Business Partner using transaction code "BP"?
    We want to send general infos such as partner number, Name, Birth date, etc. about the business partner being created/updated using IDoc.
    We are using CRM WinClient 4.0.
    If you know  the steps on how this requirement will be done, kindly post them.
    Thank you very much.

    I don't have any CRM system at hand, but I'm sure there are some BAdI's for this. Look in SE18 for BP or BUS, and i'm sure  you will find something.
    One suggestion though: Before going for the BadI, try and see if CRM also uses change pointers for sending Idoc's . This case you wont need any user exits / badis, an probably no programming at all.
    Transaction
    BD50: Activate Change Ptrs for Mess. Type
    BD61: Activate Change Pointers - Generally
    and use report RBDMIDOC for triggering IDoc.

  • BADI, User Exit before FI document is posted during GR posting in MIGO

    Hi Gurus,
    In transaction MIGO, whenever a goods receipt is posted, a corresponding FI document is then created. I am in need of a BADI, User Exit, or other forms of enhancements that is triggered before this FI document gets posted because I have to edit data in the header (BKPF) and detail (BSEG) part, specifically the fields BKPF-XREF1_HD (Reference key 1) and (BSEG-ZUONR) (Assignment).
    The field XREF1_HD is to be populated with the vendor number from MIGO (GOHEAD-LIFNR)
    The field ZUONR is to be populated with the PO Number from MIGO (GOITEM-EBELN)
    Regards to all,
    Joseph

    Hi,
    I am on 4.6C.
    We are using EXIT_SAPLF048_001 of enhancement F180A001 for the same.
    Please note that control comes here for no of SAP transactions, hence you need to take care of it by executing your logic only for a particular SAP transaction.
    I hope this helps,
    Regards
    Raju Chitale

Maybe you are looking for

  • Filter a tableview based on a column value-Navigation Issues.

    Hi, I have a table view with total 99 values. The values are displayed in 10 tabs of the table view with 9 values in each tab.I go to the third tab and select a column value, which triggers an event and filters the result list from 99 to 12. I am sim

  • IPhone 2.0 - Any Sign of ToDos?

    Is there any sign that we will get ToDos on the iPhone with the new software release, synch'd from iCal? It's the one thing that I've really been missing since day 1.

  • Can't play a SVCD!

    Hello! I have a BIG problem: I cannot see any SVCD on my Mac Mini (PPC, MacOS X 10.3.9 Panther) None of my players is able to play SVCD! These are the error messages: Quick Time 7.1.2 "Error while opening the film. The film couldn't be opened." Movie

  • How do I rearrange the sequence of pictures within "All Photos" album?

    I've just upgraded to Photos. I have 35322 photos and it seems to handle it better than iPhoto. I'm finding the "All Photos" album is showing out of chronological sequence, with various "moments" photos intersperced into a variety of different "momen

  • How to look a filled out form?

    Hi. I want to create a form, when completed and saved by the applicant (using Adobe Reader) should be looked from further editing. Is this possible?