Badi Requirement

Hi Freinds,
I am new enhancements, i have requirements on BADI's, can any one help me in this how to slove this BADI's
Points will be given
The BADI's are
1.The header text of the reference document is to be copied as well when purchase Requisition (PRQu2019s) are copied into purchase Order (PO)
2.Change Item data in Tcode MIGO, Customer specific storage location determination for the material id with item text
Can any one explain me in detail about this BADI's
Thanks and Regards
Vijaya

Hi, can any one explain me about this 2 badi's, its very urgent , can any one help me in this
Regards
Vijaya

Similar Messages

  • User exit/BADI  required for coding for the selection custom fields in RSA3

    Hi,
       I have a requirement  in the Datasource extractor. I need to add custom Z fields  in the Data souce of the  2LIS_02_SCL and need to include in the selection part. So I have added the custom filed in the append structure and include the check in the selection checkbox in the transaction LBWE  under the datasource specified above. For the corresponding custom fields, to be populated in the ALV list, I have written the code in corresponding user exit  ZXRSAU01.
    Now I can view my custom Z fields in the list as well as on the selection fileds  while executing the transaction RSA3. But I need to write code for the selection criteria part.  On entering value in the selection criteria of my custom z field, no  values are selected to the corresponding query. Please let me know where should i write the coding part for the selection criteria of the Z fields for the Datasource.
    On debugging, to my understanding only  the standard fields are alone getting filtered by providnig the values in the selection part of the RSA3 tcode. It is called in Macros : Sel  < Datasorce> .... and  the fetch cursor is included inside the macros.
    Please let me know any user exits or Badi;s available for it.
    Thanks in advance

    Hi shivu,
    you might try the BAdI RSU5_SAPI_BADI. A good introduction can be found in the following document:
    [Enhancing DataSources with BAdI RSU5_SAPI_BADI|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/3001894b-b1fb-2910-77ba-e80b6f2053b7]
    The BAdI is called at the time of extraction, so this would be the right place to populate your additional fields.
    Best,
    Chris

  • User-exit or BADI required for changing Plant-sp.matl status in MM02

    Hi Folks,
    Our user requirement is when standard price is 0, we should assign value 'Z4' to Plant-sp.matl status(in MRP1 and Costing1 tabsin MM02) . Could any one suggest me a user-exit name or a BADI name to change Plant-sp.matl status in MM02. <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Regards,
    Ramineni.
    Edited by: Alvaro Tejada Galindo on Aug 22, 2008 5:59 PM

    hi,
    u can use it.
    u can use this exit also.
    MGA00001
    EXIT_SAPLMGMU_001
    i hav done  this coding in this exit and it is working.
    not same of ur requirement but try somthing like this.
    tables : mara,makt.
    data : it_mara type mara occurs 0 with header line,
           it_makt type makt occurs 0 with header line,
           it_marc type marc occurs 0 with header line,
           it_mbew type mbew occurs 0 with header line.
           select * from mara into table it_mara .
           if it_mara[] is not initial.
           select * from makt into table it_makt for all entries
           in it_mara where matnr = it_mara-matnr.
           endif.
          loop at it_makt.
          if stext-maktx = it_makt-maktx.
           if it_makt[] is not initial.
          select * from marc into table it_marc for all entries
          in it_makt where matnr = it_makt-matnr.
          select * from mbew into table it_mbew for all entries
          in it_makt where matnr = it_makt-matnr.
           endif.
        read table it_marc with key matnr = it_makt-matnr.
          if wmarc-werks = it_marc-werks.
       read table it_mbew with key matnr = it_makt-matnr.
       if wmbew-bwtar = it_mbew-bwtar.  " 'VAL_OPEX' or wmbew-bwtar = 'VAL_CAPEX'.
          message e001(zgm_msg).
            endif.
            endif.
            endif.
            clear it_makt.
            clear it_marc.
            clear it_mbew.
            endloop.

  • BADI requirement for Purchase Order

    Hello,
    I have to find a BADI for Purchase order which will satisfy requirement stated below.
    When processing on PO will be done for Goods received and/or Final delivery and/or Final invoice , I need to trigger an Idoc from BADI which will inform another client that flags stated above are set against that PO.
    Which BADI can be used to find information of these flag are set on PO as soon as it is processed and which in trun help me to trigger this idoc?
    Regards,
    Madhura

    try with MB_DOCUMENT_BADI
    this BADi will get trig for all goods movement transaction.
    better u go for user exits, insteed of BADi

  • Any Badi required for service procurement scenario?

    Dear Guru's
    I am configuring the service procurement classic scenario in SRM 7.01. Our requirement is as below:
    If the service requisition has backend contract available as a source of supply, it will create a purchase order in the backend ERP system.
    However, when it comes to contract, service hierarchy is supported in the srm contract as well. So, unlike srm 7.0, we can create follow-on contract with service hierarchy both in SAP SRM system and backend ERP system. How the system will decide whether to create the contract in the backend system or local SRM system?
    If I want to create local contract only from the purchase requisitions with service hierarchy, do I need to take help of the BAdi 'BBP_DETERMINE_LOGSYS'? Or i Need the BAdi only if I need to create the contract directly in the backend system.
    Secondly, Will the local contract be available as a source of supply in the sourcing cockpit or only the backend contract will be available as a sourcing?
    Thanks in advance,
    Ranjan
    Ranjan Sutradhar

    Dear Ricardo,
    Thanks for the confirmation. Till SRM 7.0, service hierarchy was not supported in the contract document in SRM. The system behaviour is to create contract with service hierarchy in the backend system. In case of multiple backend systems, we need to use the BAdi 'BBP_DETERMINE_LOGSYS'.
    Since we are in the SRM 7.01 where the central contract supports service hierarchy, we are proceeding with the approach suggested by you.
    Thanks and regards,
    Ranjan

  • Screen exit and BADI required

    Hi,
    i have a requirement like i need to add two fields in 'Additional data B' tab in VA01 and same fields need to add in ME21N 'Additional data' tab. and those fields need to append VBAK and EKKO.
    Can anybody help me by proposing some user exit and BADI for this.
    Regards,
    Pani.

    Hi
    There's no exit or BADI to do that.
    It can only active a new TAB with custom fields by enhancement standard tools: BADI or user-exit
    If you need to add new fields in standard tab, it'll mean u  need to change some standard screen and so some standard object.
    By implicit enhancement u can try to update the abap code of standard program, but this tecnique can't use to change a standard screen, here u need to change it directly by screen painter
    Max

  • QM - BAdi Required for Inspection Lot Updation

    Hi,
    1.
    <b>May i know the exact BAdi for the requirement shown below.</b>
    Actually the material master is setup for serialnumber assignment at HU, when this is the case when PGR of the delivery is done another inspection lot gets created, and correct, the second one should not be created, the first inspection lot has to be updated based on the PGR of the delivery.
    2.When I double click over the method in SE19 and try to change it,I am not able to write the code for the required method.I'm getting message as "User XX is currently editing Class XXXXX".
    Can I have a solution for this too..
    Thanks in Advance

    Hi,
      You can prefer any one of the BADI,AS per idea you can look into <b>INSPECTIONLOT_UPDATE.</b>
    Implementing Business Add-Ins (BADI)     
    The use of object orientated code within SAP has lead to new method of enhancing standard SAP code called
    Business Add-Ins or BADI's for short. Although the implementation concept is based on classes, methods and
    inheritance you do not really have to understand this fully to implement a BADI. Simply think of methods
    as a function module with the same import and export parameters and follow the simple instructions below.     
    Steps:
    1.     Execute Business Add-In(BADI) transaction SE18
    2.     Enter BADI name i.e. HRPBSGB_HESA_NISR and press the display
            button
    3.     Select menu option Implementation->Create
    4.     Give implementation a name such as Z_HRPBSGB_HESA_NISR
    5.      You can now make any changes you require to the BADI within this
            implementation, for example choose the Interface tab
    6.     Double click on the method you want to change, you can now enter
            any code you require.
    7.      Please note to find out what import and export parameters a
            method has got return the original BADI definition
            (i.e. HRPBSGB_HESA_NISR) and double click on the method name
            for example within HRPBSGB_HESA_NISR contract is a method
    8.      When changes have been made activate the implementation
    Here iam giving docs to ur ref:
    check any fo the below links. this will def help u.
    http://www.allsaplinks.com/badi.html
    And also download this file....
    http://www.savefile.com/files.php?fid=8913854
    There are other tutorials on this site...
    http://sapbrain.com/Tutorials/tuto_download.html
    BADI'S
    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
    <b>Reward points</b>
    Regards

  • Is BAdI required for table extension

    Good Morning,
    I am working on an application that uses BAPI_BUS2172_CHANGE to maintain entries in CProjects.
    We have extended the DPR_PROJECTS table to include our own fields.
    As part of the process, the BAdI CHANGE_EXIT_MAP was activated. I am wondering if the BAdI is required because of the use of the table extension.
    I've found some threads in the forums that seem to imply that if one uses the standard approach to populating the EXTENSION area (VALUEPART1, VALUEPART2, etc) then the standard BAPI will handle the customer extension. The standard approach being that the fields in the extension are moved contiguously to the extension area and the extension is then passed to the BAPI.
    SAP Help has a travel agency example about table extensions, but the BAPI requirements, to me, aren't clear regarding the BAdI.
    I have been unsuccessful in getting the custom fields updated without using the BAdI. However, this is my first exposure to BAPIs, so I may be doing something else wrong and I don't want to unnecessarily implement the BAdI.
    My question is, if one extends a table and then uses a SAP-supplied BAPI to maintain the extended data is it a requirement to provide the BAdI to handle the data move between the extension area and the database structure.
    Thanks.

    Hello
    Could you pls. let me know how to fill the IMPORTing (especiallyu EXTSNION_IN structure) parameter to this BAPI to update/populate my ciustom fields in DPR_PROJECT table?
    I have implemented the BADI but its not triggering! Pls. let me know what did you do to trigger the BADI?
    Thankj you

  • Badi required for the program RFFOEDI1

    Hello friends
    when i assigned the variant EDI_CHECK to the existing program in F110 Tcode one outbound idoc was generated with the message type PAYEXT and idoc type PEXR2002. Now i want to extend this idoc with 2 custom segments.I need to write the code in user-exits or Badis for these custom segments.
    please help me on this issue, is there any badis or exits for idoc extension.
    Thanks n Regards
    Naresh

    Hi Naresh,
       Exit FEDI0003 available for your requirement.
    Please check.
    Regards,
    Suhas

  • BADI required for BP transaction

    Hi Experts,
    My requirement is:
    When a BP is created or changed, then the user should  be able to add only 2 roles - ( BP General and Prospect ) to the BP. The BP tcode should not allow the user to add any other roles while creating or changing the BP.
    Please let me know whether a BDT is required or a BADI.
    If a BADI is required, please let me know the name of the BADI.
    Regards,
    Sangeeta.

    Hi Sangeeta,
    The BADI approach will be a little complicated to program...but you can use BADI BUPA_INITIAL_SCREEN.
    This has interface IF_EX_BUPA_INITIAL_SCREEN, which has method INITIAL_SCREEN, with  parameter EV_REQUEST.
    EV_REQUEST can hold a lot of information on how the opening screen should look - and you need to fill this information in your implementation. E.g : it has method SET_BUPA_PARTNER_ROLE - using which you can ensure that the screen opens in a certain predefined role .
    If you want to use this solution only for organizations, then you cna only preset the type using SET_BUPA_CREATION_TYPE.
    THis is the BADI that will help you. Maybe you can have a look at the std implementation of this BADI for further tips. Also look at FM BUP_PARTNER_MAINTAIN,and its where-used list, which gives you tips on how to fill EV_REQUEST.
    Cheers,
    Rishu.
    Ps: The application transaction suggested by Smita is a great solution. If you only want to use it for organization, just disable creation of person for role Prospect (or through minor changes to UI).

  • BADI required for ME11 TCODE

    HI abapers,
                     i need BADI for ME11 Tcode. i have to made this material specific. i wnat fix the uppar limit of a material price field.
    thnks
    pardeep

    Hi pardeep,
    TO FIND BADI FOR A TCODE:
    Do the below steps to get the user exits or BADIs for a tcode and see what exactly meets your requirement.
       Get the Dev Class / Package of any Transaction code
       Go to transaction SMOD , Press F4
       Give in the Dev Class / Package, Press Enter
    This gives the User Exits for any transaction
    Goto SE84 --> Envir. --> Exit Techniques --> Business Add-ins --> Definitions
    Give the Dev Class / Package and Press Enter
    You will get the User Exits / BADIs' for a tcode
    There are lots of exits.
    See below
    Enhancement/ Business Add-in Description
    Enhancement
    MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
    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
    MM06E011 Activate PReq Block
    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
    AMPL0001 User subscreen for additional data on AMPL
    LMEDR001 Enhancements to print program
    LMEKO001 Extend communications structure KOMK for pricing
    LMEKO002 Extend communications structure KOMP for pricing
    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
    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.
    M06B0004 Number range and document number
    M06B0003 Number range and document number
    M06B0002 Changes to comm. structure for purchase requisition release
    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 Reques
    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: Custome
    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_PR_CREATE_01
    ME_BAPI_PO_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 Standar
    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
    As per  ur requirement u will select the BADI from tha above list.
    REWARD IF USEFUL
    thanks and regards
    suma sailaja pvn

  • 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

  • EXIT/BADI  required for F-02,F-04,F-22

    In F-02,F-04,F-22, after saving account document number generated, after that any EXIT/BADI available to capture that document number ??
    My requirement is::  If the document posting is successfull i want to take a printout so I need to call smartform(zlayout) immidiatly after document number generated.

    Hi,
    Use this simple method to find the badi.
    1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
    2. In 'Display' mode, go to 'Methods' tab.
    3. Double click the method 'Get Instance' to display it source code.
    4. Set a breakpoint on 'CALL METHOD cl_exithandler => get_class_name_by_interface'.
    5. Then run your transaction.
    6. The screen will stop at this method.
    7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.
    Hope this helps u.
    Thanks.

  • EXIT/BADI required  for  F-04

    In F-04  after saving account document number generated, after that any EXIT/BADI available to capture that document number ??
    My requirement is:: If the document posting is successfull i want to run BDC program for manual  clearing using transaction f-03 .

    Try this Badi:
    BADI          FI_AUTHORITY_ITEM     Extended Authorization Check for Document Display
    Thanks,
    AMS

  • BADI required to add tab(at Item data) in MIGO

    hi all,
          I need to add one tab in MIGO transaction at item level after batch tab. Is there any BADI available.
    Please suggest.
    Thanx & Regards
    Rami Reddy

    Hi ,
    Use the badi...
    MB_MIGO_BADI  .
    Methods
    PAI_DETAIL
    PBO_DETAIL
    LINE_MODIFY

Maybe you are looking for

  • Need of Profit centre in Material Master

    Hello Experts, As of now we have not entered profit centre in material master. Is it necessary to maintain the profit centre in material for any scenario? If yes can you please explain me those scenarios. Thanks in Advance, Satya

  • HP Notebook w/ Windows 7 Home Premium 64 bit

    How do I restore the startup function on my hp notebook with windows 7 Home premium 64 bit bought in 2010? I have run all the diagnostics in systems recovery and everything checks out, however the unit powers up but nothing starts up. Can someone ple

  • What's wrong with the letter "I"?

    All of a sudden i can not type the capital letter i without putting the caps lock on. The shift key works beautifully for all the other letters, but not for i.  When i hold down shift and press i there is but a blank space, not even a small i:(... Wh

  • Backlight bulbs in Cinema Displays

    Does anyone know how many bulbs there are, where to get / replace, part number, etc. I have a 20" Apple Cinema Display, and the backlight is dimming on the top half.

  • Oracle 8 pattern matching

    Hi all, I need to extract some data from a text field in an Oracle 8 database. I also need to do this within a stored procedure. The data in the text field is of variable length, and is unformatted, containing name value pairs and other items. Somewh