BAdi to be used to update ECC PO

Hi,
We are using SRM5.0 classic Scenario, I have tried ME_PROCESS_PO_CUST,BBP_INBOUND_PO_BADI, ECS_PO_BACK BAdis but was not able to replicate/ perform modification to the data passed to the ECC PO.even simple changes to volume field or any other fields are not occuring.
Request you to guide me.
In ME_PROCESS_PO_CUST badi I have written following code under PROCESS_ITEM
ls_mepoitem = im_item->get_data( ).
  ls_mepoitem-txz01 = 'Reached'.
  im_item->set_data( ls_mepoitem ).
Even this is not working.Pls Guide me.
Thanks,
SV

Hi Swarim,
These BADI will not help in your case as number 2 and 3 below are for Extended classic scenario,please see documentation for these BADI's.
BADI no 1 will be used only if you are using backend R/3 system as posting happens for SRM PO by different route.
1.ME_PROCESS_PO_CUST,
2.BBP_INBOUND_PO_BADI,
3.ECS_PO_BACK
Changing data in SRM system can be one of option and you can explore that using BADI BBP_DOC_CHANGE_BADI,please see documentation for this BADI.
There is another BADI available BBP_ECS_PO_OUT_BADI,which is only used for Extended classic scenario,please see documentaion for this BADI as well.
There is another BADI on SRM side which kicks in before moving data into backend system.
BBP_CREATE_BE_PO_NEW....there are two method in this BADI
1.FILL_PO_INTERFACE- Interface for Purchase Order Creation BAPI_PO_CREATE
2.FILL_PO_INTERFACE1-Interface for Purchase Order Creation BAPI_PO_CREATE1
so use appropriate method based on R/3 release,see documentation for details.
Regards,Nishant

Similar Messages

  • BADI-User exit required for updating Purchase order header field -IHREZ

    Hello All,
    We have requirement in our business to update the purchase order header field "our reference" EKKO-IHREZ with some text field. We need a BADI/user exit that can be used for updating this field . We have checked the BADI ME_PROCESS_PO_CUST and unfortunately we are not able to use this BADI as it getting triggered in enjoy SAP transactions ME21N , ME22N etc. We are not creating the purchase order manually and we are using ME59N for creating Purchase order . Hence we are looking for some user exit/BADI that can be used in ME59N for updating the purchase order header field IHREZ.
    Thanks in advance for your immediate response .
    With regards,
    Joseph Anand B

    TRY using the exist u2022     EXIT_SAPLME59_001
    You can also later on add this field by BAPI_PO_CHANGE

  • BADI or function module for updating open purchase orders

    Hi all,
    Does anyone know of a BADI or function module which can be used for updating item prices in open purchase orders?
    All helpful answers are highly appreciated!
    Regards,
    MV

    1 ) execute this program  in se38 .enter the input as transaction code  for which you want list of User
    Exit.
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP® User Exits exists.
    *& Tables
    TABLES : tstc,     "SAP® Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP® Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
      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 = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
    Find SAP® Modifications
        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.
    Take the user to SMOD for the Exit that was selected.
    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.
    2) Second way is to go to transaction code SE93 .enter transaction code click on display.
    There you will see the package. Copy that package name.
    Go to transaction code se84
    Enhancements -customer exits-enhancementsu2014enter package there and execute.
    You will get list of exits.
    3) BAPI for PO change is
    BAPI_PO_CHANGE

  • BADI Differences between 4.7 and ecc 6

    Dear experts,
    Can any one tell me the differences in BADIs in 4.7 and in ECC 6.0
    Thanks in advance
    somesh

    Hi Venkat,
    SOURCE: difference between badis in 4.7 and ECC 6.0
    The u2018BADI-su2019 (Business Add-Ins), as they exist in pre NW04s releases are now called old classic-BADIu2019s (release 4.6 ). This was the first object-oriented way to enhance the ABAP system. This, to a certain extent, allows multiple implementations with limited filter support. The classic-BADIu2019s are implemented using ABAP Objects.
    With the introduction of Enhancement framework from E.C.C 6.0 a new BADI concept in additional to the old classical BADIs has evolved called as Kernel-BADI enhancement.
    The old classic-BADIu2019s are implemented purely at the ABAP Workbench level; that is, both the definition and implementation are realized as workbench repository objects (global classes and interfaces).
    The new Kernel-BADI takes it to the ABAP language level. Because of this, the new Kernel-BADIu2019s are much faster compared to the old classic-BADIu2019s.
    There are two new ABAP statements available now to support the Kernel-BADIu2019s, namely GET BADI and CALL BADI.
    Example:
    data bd_hdl type ref to badi_name.
    GET BADI bd_hdl filters filt_1 = u2018VALUEu2019.
    CALL BADI bd_hdl->method
    exporting param_1 = 10.
    The old classic-BADI used to mix both implementation selection and method call in the same CALL METHOD statement. The implementations could only be chosen at run-time because of the above reason and due to the fact that the BADI handle could only be gotten from another method call by passing the BADI name.
    Whereas in the new Kernel-BADI, the active BADI implementations are included into the load of BADI handle at compile time and the filter criterion are expanded as IF statements. This is the reason the new Kernel-BADIu2019s are much faster than classic-BADIu2019s.
    Some of the other new features of Kernel-BADIu2019s are,
    u2022 Improved Filters with complex filter condition editor
    u2022 Stateful BADI support and Context based lifetime control
    u2022 Possibility to inherit the implementations
    u2022 Switchable using Switch Framework 9
    Have A Nice Day
    Chaitanya.

  • How to activate a material once it is created using MM01 in ECC 6.0

    Hi,
    How to activate a material once it is created using MM01 in ECC 6.0.
    i am encoutering a error " the material test1 does not exist or is not activated " when i want to display it in MM03.

    hi,
    the material might not be created.
    check updation might be failed.
    before saving check for incomleteness.
    try to create again and check.

  • Use select & update(query) at the same time

    I'm sorry to trouble you.
    I am racking my brains to find a solution to the problem.
    I don't search a problem in my source.
    I maked every effort.
    I am tired to death.
    I wanna use (select & update(query)) at the same time.
    The Source compiled but have not access to DB
    plz help me.
    Can you give me a hand?
    sorry my bad English..
    link my source
    http://www.netian.com/~111nice/bangnew.java

    can you clearly explain whats problem and what error your are getting

  • Is there any BADI or any other alternate in ECC for the Field exits

    Hi guys,
    Is there any BADI or any other alternate in ECC for the Field exits:
    FIELD_EXIT_BP_VERS_Z
    FIELD_EXIT_BP_VERSION

    Hi,
    If you are aware that these are the field exit funciton modules that get created when you create a field exit for the corresponding data element.
    Hence there will not be any replacement for this FM, But you need to find where the data element is triggering(the tcode) and check in debugging if there is any BADI/Enhancement Point.
    Hence check for which data element the FM belong to using the program RSMODPRF and check if they are globally activated, then they trigger on all the screen/transactions..(Tedious to replace with BADi/Enhancemnet points everywherre)
    If the field exit is activated for screens, check to which transaction the screens belong to and then check for enhancement point or badi that trigers on the screen..
    Hope this helps
    Regards
    Shiva

  • BADI BBP_CREATE_BE_RS_NEW  - how to debug in ECC (SRM shopping cart)

    Hi,
    We are using BADI BBP_CREATE_BE_RS_NEW (ECC system).
    We put external breakpoint on this BADI.   Made sure also that the BADI is activated.
    Our problem is it didnu2019t stop on our breakpoint.  Authorizations to debug/etc are there.
    When it was not possible to debug when shopping cart is created in internet link (SRM), we used tcode BBPSC01 (ECC system) to see if we can go to the BADI and debug it.  However still the program did not stop at break point at the ECC side.
    (SRM Module shopping cart)
    How do we debug this BADI in ECC?  Anything to set up or ?????
    SRM_SERVER   550   0013    SAPKIBKT13   SRM_SERVER 550: Add-on installation
    SRM add on to ECC 6.0
    Looking forward to hearing from you <removed by moderator>.
    Thanks.
    Edited by: Thomas Zloch on Sep 30, 2011 4:01 PM

    1) If your debugging in our Development system.
    You can use the DO , ENDDO loop.
    Copy and paste the below code in your BADI code where you want to start debugging.
    Create the shopping cart in SRM then the screen will be in processing mode.
    Go to ECC system transaction code SM50
    execute the transaction you will see an ALV report with all processeor running.
    You will find one line with your BADI name .
    Select that line and GOTO -> Program/Session menu option -> Program -> Debugging.
    After the above action Debugger will start and the curser will be at DO , ENDDO loop.
    make the FLAG value = 'X" in the debugging and from there you can debug the BADI.
    DATA : FLAG.
    DO.
    IF FLAG = 'X'.
       EXIT.
    ENDIF.
    ENDDO.
    Once your debugging is over make sure that the above code is deleted.
    Let me know if there are any concerns.
    2) If you want to debug in the Testing or production environment then you have to login to ECC system with your RFC user name and put the external break point.
    When you create the Shopping cart the RFC user will run the ECC logic thats why we ned to login with the RFC user.
    We can request BASIS people to give the access for some time to debug the application with RFC user.
    This you can do in Development also.
    Thanks
    Naresh
    Edited by: Naresh Nelapatla on Oct 26, 2011 1:54 PM

  • Error while saving a workflow via sharepoint designer: Server-side activities have been updated. You need to restart SharePoint Designer to use the updated version of activities.

    While saving a workflow using SharePoint designer on a SharePoint site, I get the following error: 
    Server-side activities have been updated. You need to restart SharePoint Designer to use the updated version of activities.
    Steps to recreate error:
    Login to the WFE server hosting IIS and workflow manager, open SharePoint Designer 2013 and login to a SharePoint site.
    Access the list using SharePoint Designer 2013, in the workflow section, click new workflow. 
    In the new workflow dialog, enter workflow details, click save (see screenshot below).
    Error message is displayed as below:
    After restarting SharePoint Designer, the saved workflow is not seen in the site/workflows or list/workflow section.
    Workaround
    When the above steps are repeated while accessing the site via SPD from any other box besides the WFE/Workflow manager host server, the error is not encountered and its possible to save/publish workflows.
    Notes
    Workflow Manager 1.0 is installed.
    The site has been registered with Workflow manager using Register-SPWorkflowService
    cmdlet.
    Any clue on why is this happening?

    Hi Vivek,
    Please close your SharePoint Designer application, clear/delete the cached files and folders under the following directories from your server installed SharePoint Designer, then check results again.
    <user profile>\appdata\roaming\microsoft\SharePoint Designer\ProxyAssemblyCache
    <user profile>\appdata\local\microsoft\websitecache\<sitename>
    http://www.andreasthumfart.com/2013/08/sharepoint-designer-2013-server-side-activities-have-been-updated/
    Thanks
    We are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • HELP: Failure flashing BIOS using Live Update 5

    Hi,
    I used Live Update 5 to download the latest BIOS version for my MB. Then when I was running the update, I chose "". (I know it's incorrect and I should have chosen the other one.) After the update, the machine restarted and showed a cursor blinking on the top left on a black screen, and it wouldn't proceed any more. I can enter the BIOS without a problem. I can also boot from CD or USB, but the windows on my machine simply wouldn't boot.
    After the problem arose, I have tried flashing the BIOS with the MSI Forum HQ USB Flashing tool on this forum. It tells me that  but the same problem remains.
    What should I do now?
    Thanks for your time and consideration!

    After any flash, the battery should be removed for awhile and the CMOS cleared. Reset all your BIOS menu settings again making sure the boot order etc. is correct and the proper mode is selected that your OS was installed under, i.e. IDE or AHCI mode.

  • How do I use AO update in the Route signal.vi

    Hi support,
    My goal is to create a waveform (to buffer it) and output it using the analog card (PCI-6713) N times and with the frequency F. Apperanlty this is done using a (actually 2) digital counter(s) on the PCI-6602 card.
    This is done using route signal.vi using "AO update". However I have not managed to get it working. I only get error -10341. So my questions are how do I do it? More specificly how do I use AO update in the Route singal.vi Do I need to conect the cards in any perticular way (cabels or so)? Also do you have more information about how the vi route signal works (the help file does not help me much)?
    Grateful for all help.
    I'm using labview 6.0 as developpement platform, and using the PCI-6601, PCI-67
    13 and a PCI-7344 cards. Since the program is quite large I will only send a portion of it, the pulseGen is supposed to generate the waveform (loaded as a text file, also submitted) the digital output used is in case 1 (in pulseGen) the analog output is in case 3. The MissingWaveform.vi is just to ensure that a waveform is supplied to the pulseGen.vi
    Sorry about the mess.
    /Chatri

    Cabling and Interfacing between Boards: You have capability for direct simultaneous connection between 6713 and 6602 (also 6601) via the RTSI bus, but you need to get a cable to connect between the boards. You can connect between the boards using the I/O pins of their respective signal conditioning hardware. These connections are slower. There are also PFI (Programmable Function Interfaces) connections that are set within the VI's.
    All that said, it is not obvious why you want to use the RTSI. You can use the PCI-6713 to generate AO. Presumably you have some signal conditioning accessory; which ever pin of that accessory the AO appears on, you wire it over to the SC accessory for the 6601 and the appropriate pin for the counter gate or
    source you want to use.
    Suggestions: Don't try to work in the context of your big VI for now. Get the AO bit and the counting bit to work together by themselves. Then shoe-horn them into the big VI. Also, consider a call to the NI help line. They are very good. 800.433.3488 (800IEEE488)
    In case you hadn't noticed the DAQ cards and Counter/Timer cards come in different flavors and there are specific example VI's to suit. 6602 uses NI-TIO chip, but PCI-671X are DAQ-STC. Again the NI help people are good at catching this kind of stuff.
    Your question is rather large and hard to manage. Perhaps if you break it down into small chunks the advise will be more free flowing.
    mike

  • I have two apple id's because my hotmail account is no longer active. How can I delete the old one and use or update the new one?  Every time I try it won't allow me and now my iPad thinks there are two accounts and they are arguing with each other. Help!

    I have two apple id's because my hotmail account is no longer active. How can I delete the old one and use or update the new one?  Every time I try it won't allow me and now my iPad thinks there are two accounts and they are arguing with each other. Help!

    You can't merge accounts or copy content to a different account, so anything that you bought or downloaded via the old account is tied to that account - so any updates that those apps get you will only be able to download via that account. You can change which account is logged in on the iPad via Settings > Store

  • I have two apple id accounts ,when i used to update application it used to prompt a default id and if the application was downloaded using the other id i would cancel and it would prompt the other id but not any more .

    i have two apple id accounts ,when i used to update application it used to prompt a default id (the old one) and if the application was downloaded using the other id i would cancel and it would prompt the other id but not any more .
    it just prompt the old id which im not signed in with im signed in using the new id and when i cancel nothing happens and when i try to update applications separately  i have the same problem .
    im signed in using the new id
    the old one is my wife's so i can't delete it
    the problem happens  when i update all or  each application by its own
    using ios 5.0.1 on a iphone 3gs
    the applications are downloaded using both the new and old id's
    any help will be greatly appreciatedِ

    These are user-to-user forums, you are not talking to Apple here and they don't monitor these forums - I've asked the hosts to remove yout account ids from your post.
    In terms of combining accounts it's not currently possible to do so, nor to copy/transfer content from account to another.

  • How can I use Office Update without the Office CD?

    How can I use Office Update without the Office CD? On the microsoft website I've clicked the options which mean I shouldn't need the CD (which wasn't supplied with the laptop), but poartway through updating the service pack I get a request for the Office 2000 Professional CD.
    Any suggestions?

    Hi
    Did you mean a Office or One Note?
    As far as I know the One Note is a part of the Recovering Image and the CD is not delivered with the unit. Furthermore the Toshiba units are not delivered with the Office 2000 software.
    Nevertheless, did you check the update function in the Help i.e. in Word?
    There you will find a options called Check for Updates
    http://office.microsoft.com/en-us/officeupdate/default.aspx
    Bye

  • How can I use the update operation in a VC Model

    Hello experts,
    i try to to use the update operation in my VC model.  I have developed an AS wich return a table. Now i want to update a table row. So I add the update operation to my model. But it doesn´t work. I mapped all attribute between the table and the update service. The event name is submit.
    Another strange thing is: If i try to update in the service browser it cames the error message that the vandatory attribute ... is missing.
    Any ideas??
    Thanks
    Marco

    Hi Marco,
    In this case it is possible that your update service requires a mandatory parameter which you are not providing.
    When you drag your service onto the VC screen, right click on the service and test it.It will give you a clear picture of which parameters are required by the service and besides you can also use some test data to check if the service is working properly.
    Do let me know if this helps.
    Thanks,
    Gaurav.

Maybe you are looking for