While working on BADI coping from PR to PO, it's not triggering

Hi,
I am working on BADI to get one field VENDOR MATERIAL NO to get displayed in PO while coping from PR to PO in IDES version.
I have created PR and based on that PR, I want to create PO but one particular field VENDOR MATERIAL NO  is not copied from PR to PO.
I have used on BADI ...ME_PROCESS_PO_CUST  and Method is PROCESS_HEADER.
I have used this below code
method IF_EX_ME_PROCESS_PO_CUST~PROCESS_HEADER.
method IF_EX_ME_PROCESS_PO_CUST~PROCESS_HEADER.
    DATA: po_items TYPE purchase_order_items,
    po_item_obj TYPE purchase_order_item,
    lv_BANFN type eban-banfn,
    lv_BNFPO type eban-bnfpo,
    lv_idnlf type eban-idnlf,
    po_item TYPE mepoitem.
*-Get All Line Items
    po_items = im_header->get_items( ).
*-Set vendor material no For Each Line Item
    LOOP AT po_items INTO po_item_obj.
      po_item = po_item_obj-item->get_data( ).
Get the Vendor Material Number
      SELECT SINGLE
      BANFN
      BNFPO
      idnlf
      FROM EBAN
      into (lv_BANFN , lv_BNFPO , lv_idnlf)
      WHERE BANFN = po_item-BANFN
      AND BNFPO = po_item-BNFPO.
      if sy-subrc EQ 0.
        po_item-idnlf = lv_idnlf.
        po_item_obj-item->set_data( po_item ).
        clear: lv_BANFN,
        lv_BNFPO,
        lv_idnlf.
      endif.
    ENDLOOP.
endmethod.                    "IF_EX_ME_PROCESS_PO_CUST~PROCESS_HEADER
endmethod.                    "IF_EX_ME_PROCESS_PO_CUST~PROCESS_HEADER
But this BADI not getting trigerred in IDES... ECC6.
So can any one help me on this
Waiting for quick response.
Best Regards,
BDP

Dear Jürgen,
Thanks for the prompt revert. I create a PR by using the ME51N and later create a PO via ME21N with reference to the PR. After I drag and drop the PR into the basket (PO screen), subsequently, the system ask me to fill up all the information again about the account assignment. I tested with other account assignment category, such as "K", it is able to copy the reference (PR's account assignment information) to the PO without any problem.
Thank you.
Regards,
Edwin

Similar Messages

  • While working on my website CMS, pieces of the page are not visible

    After I updated to Firefox 4.0, parts of the pages are missing when I'm working in my web CMS. It has not affected usability, but it's strange not seeing the right hand side of the CMS pages and having some of the formatting icons in the wrong places.

    First, try resetting your phone:
    Press the sleep/wake button & home button at the same time, keep pressing until you see the Apple logo, then release.

  • How can I convert Pdf from RGB to CMYK, keeping font color 100% K while working in Illustrator?

    How can I convert Pdf from RGB to CMYK, keeping font color 100% K while working in Illustrator?
    When I try to open the document in Illustrator and I convert to CMYK the black font converts to rich black, but to set up for Offset printintg I need the text to be only in Black (100%K).
    The original source of the document is a Microsoft Word file, I have converted the Word file to Pdf in order to setup for OFfset Printing.
    Thanks

    I have tried that way, but the downside is that the fonts are set in gray not in a 100%K, also I have to deal with other fonts that are composites and meant to stay Full Color. I could select text by text and convert to gray but, its a 64 page document and I wouldn't want to make a expensive mistake.

  • How to make a field default in mm01 while coping from other material

    hi all,
    i want to make a field default in mm01 ....mara-mstae -
    say value 'A', when
    i am coping from other material.
    normally a T.variant is working in the scenario when im creating a material
    but not when i am coping from other material.
    Any field exits would work on that .if so  how?
    thanks in advance,\
    sg

    i have to make the x-plant material status as 'BE' in mm01 basic view 1 ,when the material is created or copied from .<b>but it should be only default for the user might change it</b> 
    now when the material was created its workin---- coz a transaction variant has been created.
    but when im coping it from other material its picking the properties of the old material ( from which im coping) ..not the field value which i want to display as default.
    field exit only validates. can we give default value by it ,before saving a material??????
    thanks,
    sg

  • I am facing a problem while working in Muse... The issue is I cannot delete a page from my plan, when I am trying to delete it showing an error and the application shuts down. I am working on an emergency project which I got to submit it tomorrow I hope y

    I am facing a problem while working in Muse... The issue is I cannot delete a page from my plan, when I am trying to delete it showing an error and the application shuts down. I am working on an emergency project which I got to submit it tomorrow I hope you will find a solution for the same.Help with using Adobe Muse CC

    Thanks,
    I have tried with a new site it's working perfectly.
    See the screenshot of the error.
    Thanks for your support Rohit

  • Error while working and saving .PDF files from Illustrator CS 5.1

    One of my partners has been facing issues while working with Adobe Illustrator PDF Files, especially while saving them. We've lost so many hours of work with these errors. We own an early 2009 iMac (MB418LL/A) running OS X Mountain Lion (10.8.5). You can see the specs in this link:
    iMac "Core 2 Duo" 2.66 24-Inch (Early 2009) Specs (Early 2009, MB418LL/A, iMac9,1, A1225, 2267) @ EveryMac.com.
    She works with vectors and images, most of the time. At the moment, working on a Letter sheet sized magazine. Any help would be appreciated. Thanks in advance.
    This is the error shown: http://txs.io/Xnrb

    Alvin,
    Just to make sure: Where are you/is she saving?
    Here it is always recommended to open/save AI documents from/to own harddisk, and to only copy from/to externals such as local server/whatever.
    The reason is that with the latter, AI files tend to get corrupted sooner or later, so you may be lucky for a while but it hurts when your luck runs out.

  • The computer works very bad after upgrade from 10.4.11 to 10.5

    hi,
    I have upgraded my powermac g5 double processor from 10.4.11 to 10.5 now the computer works very bad. If I try to launch software update the application crash, final cut pro crash, when I try to mount a disk image the application crash, firefox is very slow and I can really navigate on the web.
    somebody has some suggestion?
    thanks
    andrea

    this is the error for "installer":
    Process: Installer [3011]
    Path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
    Identifier: com.apple.installer
    Version: 3.0 (276)
    Build Info: Installer-2760000~1
    Code Type: PPC (Native)
    Parent Process: launchd [103]
    Date/Time: 2009-10-12 10:22:40.713 +0200
    OS Version: Mac OS X 10.5 (9A581)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x000000000000feec
    Crashed Thread: 12
    this is the error for "final cut pro":
    Process: Final Cut Pro [3030]
    Path: /Applications/Final Cut Pro.app/Contents/MacOS/Final Cut Pro
    Identifier: com.apple.FinalCutPro
    Version: ??? (???)
    Build Info: FCPApp-905291121~12
    Code Type: PPC (Native)
    Parent Process: launchd [103]
    Date/Time: 2009-10-12 10:30:09.469 +0200
    OS Version: Mac OS X 10.5 (9A581)
    Report Version: 6
    Exception Type: EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000001, 0x000000008fe0105c
    Crashed Thread: 0
    Dyld Error Message:
    Symbol not found: kPrivateTundraFileWritingOptionsKeyDontValidateTimeCodeWhenWriting
    Referenced from: /Applications/Final Cut Pro.app/Contents/MacOS/../Frameworks/MIO.framework/Versions/A/MIO
    Expected in: /System/Library/PrivateFrameworks/CoreMediaIOServicesPrivate.framework/Versions /A/CoreMediaIOServicesPrivate
    this is the error for "software update":
    Process: SoftwareUpdateCheck [498]
    Path: /System/Library/CoreServices/Software Update.app/Contents/Resources/SoftwareUpdateCheck
    Identifier: SoftwareUpdateCheck
    Version: ??? (???)
    Code Type: PPC (Native)
    Parent Process: launchd [430]
    Date/Time: 2009-10-09 14:24:01.678 +0200
    OS Version: Mac OS X 10.5 (9A581)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000004
    Crashed Thread: 1

  • How to stop video from playing while working on menu

    I have some menus with a bunch of moving video clips in drop zones in them. After some fiddling around with preferences, the clips are playing while working on the menus rather than just showing still images. I havent seen this behavior before.
    Anyway, its making it excruciatingly, hair pullingly, jump out the windowly, eventually the app does not respondly slow to do any work in the app. Anyone know what stupid setting we must have changed?
    thx

    Thx for the speedy reply. I'm not sure what was happening, but thankfully the app was so overwhelmed that I had to force quit it. Aside from losing my recent changes (aarrggh why no autosave in dvdsp) it was a blessing because on opening the app again, problem gone. Didnt have to jump afterall. I'll try some experiments with those keystrokes once the app is done rendering these menus.

  • Speedgrade CC 2014 becoming increasingly slow while working on a project that was direct linked from Premiere CC.

    Speedgrade CC 2014 direct link from Premiere Pro CC 2014.  The application is becoming increasingly slow when making any adjustment or just selecting any buttons on screen.  While working for and hour on my project it is now bordering unresponsive.  In addition it is causing the Finder to become slow and any other applications such as Safari and Mail. 
    I'm on a Mac Pro5,1 OS 10.8.5, 6-core intel xeon 2.93GHz, 16gb Ram, Ati Radeon HD 5770 and NVIDEA Quadro 4000 cards. 
    I'm hoping this is just a setting in speed grade and not a bug.

    First, Davinci and  the Adobe DVA's (digital video apps) utilize resources very differently from each other. That said, your hardware is making me green ...
    This is something that should fly on your system, so ... I would definitely suggest my previous thing of running that benchmark testing ... it will tell you how your system runs the Adobe stuff, and indicate if anything could be modified so it would work better. Some people with FAR less a system than you're running fly through a DL session. Even my system with only four "real" cores (8 "logical" ones ... whatever ... ), 16Gb RAM, and a GTX770/4Gb vRAM and multiple internal & eSATA drives to split things up for throughput sustained stuff, has been running pretty smoothly. Even though it wasn't using much of the video card, which screams for many people in the Adobe DVA's. This latest set of improvements has pretty much nearly eliminated Sg using it ... so we'll have to puzzle out WHAT is causing Sg and the other apps to ignore my card when in identical setups it's a real beast.
    That's the kind of thing that can drive the engineers up the wall. Some of the systems that have had terrible problems such that users have been on here complaining that "no on could possibly be running "serious professional footage & effects" on a system like theirs, didn't you idiots test it?" ... have received the response ... that Kevin or Al or someone is running a completely identical system to almost all tiny respects ... and is flying with 6k footage running a ton of PrPro & Ae effects then worked heavy in Sg. And coasting at it. Not that they at all challenge that the user's system is nearly unusable at the moment ... but figuring out why on two nearly identical setups it works so differently can be rather tedious with hundreds of thousands of lines of code involved, various plugins, and maybe a 2/3rds moon on the third Tuesday.
    Like mine. I know quite a few people use this card on the Adobe apps and it's really flying for them. It's been re-installed twice on mine, Windows and all monitoring systems see it fine, but ... even after multiple installs and CC cleaner attempts and such it's not "seen" properly by any Adobe app. So ... off  to run the benchmark to see what all in my system is doing fine ... and if there's any hint as to why that card isn't getting used.
    Also ... it would maybe be useful to get Dennis Weinmann or Fran Roig to jump in, maybe get a sample of your project file or info on those LUT's or something, to see if they've got any ideas. Trouble is most of Adobe's staff is on Winter Break for the next week plus.
    Neil

  • Is it possible for me to screen capture from one desktop while working on another desktop?

    I would like to use QuickTime screen capture feature on Mountain Lion to record a video from Desktop 1, while working separately on Desktop 2. However, QuickTime records this by following my movements to Desktop 2 and then recording what I am doing in Desktop 2. Is there any way around this (either using Quick Time or perhaps a different program/software)?
    Thanks

    No.
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.
    If you are wondering how using multiple Apple IDs relate to iCloud, see Apple IDs and iCloud.

  • While working in iMovie, computer shut down and all imported clips from that project disappeared. The project still existed, with titles, but all video clips were gone from the movie as well as the computer library.

    Clips were imported from SD card into iMovie project. While working on the project, computer shut down. When restarted, all clips from that event were no longer in the project, or in the computer library. Project existed, with titles, but blank spaces exist where clips had been.

    OH MY GOD! This EXACT thing just happened to me! It didn't save my event and didn't show the date in the iMovie library but if I look under all projects, the project is there. Except that there are little blank place holders where all my clips were. Also the title of the project has a little yellow "!" symbol next to it which I can only assume means that the file is corrupted.
    I can't believe it destroyed like 8 hours of work!
    I have a 15" mid 2011 MBP and Mavericks OS.

  • My MBP mid 2010 display blackout and froze while working but my keyboard light will still light up. Won't be able to retrieve it and have to hard shutdown. Sometimes it happens a lot. Wether it connected to power or not, it will blackout on and off. Pleas

    My MBP mid 2010 display blackout and froze while working but my keyboard light will still light up. Won't be able to retrieve it and have to hard shutdown. Sometimes it happens a lot. Wether it connected to power or not, it will blackout on and off. Please advice what shall I do.

    Do you have a 15" mid-2010? If so then your problem is surely...
    Mid-2010 15" MacBook Pros - the bad NVIDIA GPU
    If you're having frequent kernel panics with your 15" mid-2010, or intermittent screen problems, the problem is, more than likely, the faulty NVIDIA GPU found in a number of those machines.
    Here's just a sample of a kernel panic log that points to the faulty NVIDIA card:
    Kernel Extensions in backtrace (with dependencies):
             com.apple.GeForce(6.4.0)@0x82ac4000->0x82b7afff
                dependency: com.apple.NVDAResman(6.4.0)@0x834a0000
                dependency: com.apple.iokit.IONDRVSupport(2.2.1)@0x82fd3000
                dependency: com.apple.iokit.IOPCIFamily(2.6.5)@0x7a802000
                dependency: com.apple.iokit.IOGraphicsFamily(2.2.1)@0x8301b000
             com.apple.nvidia.nv50hal(6.4.0)@0x83c05000->0x84019fff
                dependency: com.apple.NVDAResman(6.4.0)@0x834a0000
             com.apple.NVDAResman(6.4.0)@0x834a0000->0x8378dfff
                dependency: com.apple.iokit.IOPCIFamily(2.6.5)@0x7a802000
                dependency: com.apple.iokit.IONDRVSupport(2.2.1)@0x82fd3000
                dependency: com.apple.iokit.IOGraphicsFamily(2.2.1)@0x8301b000
    Here's the "official" Apple take on the issue - but the very real kernel panics need not be preceded by 'Intermittent black screen or loss of video'... in fact, you might not experience any video problems at all. Although video problems can certainly be a portent of things to come…
    So what can you do? Print out a copy of your kernel panic and a copy of the Knowledge Base article and take them, along with your machine, to your local Apple Store or an Apple Authorized Service Provider. The unfortunate thing is that many people have passed the “three years from date of purchase” now and Apple is not honoring the free logic board replacement for many users. Some dealers seem to be making some exceptions for those past the three year mark, but don’t count on it…
    Good luck,
    Clinton

  • Urgent.....Error while running a jsp report from Jdeveloper

    Hi,
    I am getting following error while running a jsp report from Jdeveloper. I am using version 10.1.2.1.0. The same report is working fine when I am running it from report builder. ( Both these tools were installed using Oracle Developer Suite 10g version 10.1.2). I did search in oracle discussion forums and google, but I could not arrive at a resolution of error. Any help in resolving this issue would be grateful.
    Error details:
    Page url : http://<hostipaddress>:8988/Reports-reportproject-context-root/MyReport.jsp
    Reports Error Page
    Wed Oct 17 20:03:22 IST 2007
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
         at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:464)
         at MyReport.jspService(MyReport.jsp:4)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Could anyone help me out in resolving this issue.
    Thanks
    Siva...

    Hi,
    I posted this message in jdeveloper forum yesterday, but there was no response. So I thought of posting it in this forum to check my luck.
    Thanks
    Siva...

  • QName error while calling a web service from Sourcing

    I need to call a web service from Sourcing script. The web service team has provided us the WSDL and I have generated the required stubs using wsimport and packaged the required java classes in a custom JAR. Now while calling a web method using this jar from my script, I am getting and exception. The exception message that I printed out was this:
    Caught exception e with msg Connection IO Exception. Check nested exception for details. (Connection
    IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
    java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).)
    The same jar and same code works fine when called from a standalone java program.
    I am not using or creating QName anywhere in my script. The only place where QName is used is in the generated java class and there it is created from the correct namespace URL
    Can anyone please help me out in figuring out what is the issue?

    This is the stack trace of the error:
    #2.0 #2014 05 08 09:02:30:915#+00#Error#com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding#
    #BC-ESI-WS-JAV-RT#webservices_lib#C000CF8242BA4B800000002100002648#2174850000000005#sap.com/E-Sourcing-Server#com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding#VAC53324#89##D811EE96D68E11E3C9E0000000212F82#3cf7fe38d68f11e3c963000000212f82#3cf7fe38d68f11e3c963000000212f82#0#Thread[RequestHandler.RqThread: fullsave,5,Dedicated_Application_Thread]#Plain##
    Connection IO Exception. Check nested exception for details. (Connection IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
        java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).).
    [EXCEPTION]
    com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Connection IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
        java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).).
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.writeSOAPRequestMessage(SOAPTransportBinding.java:256)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1318)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:991)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:945)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:168)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEISyncMethod(WSInvocationHandler.java:121)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEIMethod(WSInvocationHandler.java:84)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invoke(WSInvocationHandler.java:65)
        at $Proxy2539.grantOrganizationRoles(Unknown Source)
    I tested the same custom JAR, that is deployed in Sourcing, separately using a standalone java program and there it gave back the correct SOAP response

  • I received a text today while at work about iCloud keychain verification code. I have not signed up for it or anything that uses it. I work out of the city with limited internet access so not sure why I would be getting this. Is my info safe??

    I received a text today while at work about iCloud keychain verification code. I have not signed up for it or anything that uses it. I work out of the city with limited internet access so not sure why I would be getting this. I only got this number about a month ago. Apparently someone else had the number before because I get texts from his family members wondering whats going on. I got one yesterday and the person didn't seem to thrilled that the number was cutoff and today I got 2 texts about iCloud Keychain which I don't even know what it is. Seems suspicious to me. If the person who use to own the number is doing it he should know it is not his number anymore because he obviously didn't pay his bills.  I'm not too sure about iCloud Keychain so just want to know my info safe?? It says it can store credit card numbers which is what gets me worried. Frankly I think it's pretty stupid to save that kind if information with any kind of app. But I don't want some random person trying to access my personal information because they are bitter they lost their number.  Please let me know as soon as possible so I can change passwords or anything that is needed.
    thanks

    If it were me, I would go to my carrier and get a new number. Since you have only had it for a month, the inconvenience would be minimal.
    Barry

Maybe you are looking for

  • Multiple Devices on itunes Account

    Is there a limit to the number of devices that you can attach to an itunes account?

  • Bridge CS5 Photo Downloader will not rename files

    I choose Custom Name + Shot Date but Photo Downloader ignores this and transfers files as MG+4 numbers. I can't even get a sequencial number even though I choose one Before in CS4 I used this option with success. Does anyone have any ideas? Thanks Da

  • Supported Browsers for Captivate 4

    Can someone please list the supported browsers for version 4 of Captivate?  I've scoured the web site and am coming up dry.  They are really pushing version 5 now.  I even called support, who later transferred me to sales, and neither could tell me w

  • Can't find *.docx attachments in Find

    I have my headquarters back-end at GW version 8 SP2 ... Client @ 7.0.4 right now. - I can do a Find on a keyword in a *.DOCX attachment OK. I have my Regions back-end at GW version 7 SP4 ... Client @ 7.0.4 as well. - I can't do a Find on a keyword in

  • Publishing site without re-uploading images?

    Hello community, Is it possible to publish changes to a Muse site without re-uploading all the assets every time?  Something like in Dreamweaver where you can choose not to upload all the dependant files?  Thanks for any advice!