In DOC CHECK BADI: Check if PO has a SC when coming from a BID

Hi Experts,
Please consider this situation and recommend best possible approach.
From Sourcing, I raise a BID and then create a PO from the BID.
While PO creation, I need to check if this PO had SC and if so include the SC requestor in the approval if the price has increased while Bidding when compared the created SC.
Here I am facing a challenge - When executing the DOC CHECK BADI, the FM: BBP_PROCDOC_GETDETAIL does not result any HEADER_REL itab values that shows any history details of the PO document. Whereas by the time the logic moves to the Workflow BADI, this same FM returns values (SC and other details).
My Query: While creating from a BID, How can I check if this PO is generating out of a SC in the DOC CHECK BADI.
Thanks in advance.
Vj

Hello Asha,
You can check this BADI "BBP_ITEM_CHECK_BADI" and this badi is called when
u2022     a new item has been created,
u2022     an item has been changed or the document is to be checked
Regards
Sameer

Similar Messages

  • My apple Tv has audio problems when streaming from my NAS server.

    My Apple TV has audio problems when streaming from my NAS server or computer and even internet. I can hear the click sound it makes when you click on the icons, but when the movie starts there is no audio. This even happens when using XBMC. I have HMDI directly to my TV suing Apple TV 2. I have tried resetting, turning off both TV and Apple TV, and changing the HDMI cable. It is driving me nuts.

    XMBC requires a hack, we cannot help with hacked devices.

  • HT2494 the sound won't work on my Macbook pro  the headphone port actually has a red light coming from it

    Can not get sound on my Computer.  The headphone port actually has a red light coming from it.  Help

    Insert a headphone jack and remove it and see if the light goes out. The red light indicates the switch didn't switch from head phone to your Mac's speakers. Some folks have actually used a match stick to undo the switch.

  • Check Print:MICR Line placement shifted when upgraded from 12.1.2 to 12.1.3

    Hi,
    We have are upgrading to 12.1.3 tomorrow (from 12.1.2). In the test environment, we noticed the MICR Line shifted up and to the left y 1/2 an inch. Has anyone else had a simiilar issue? Also, is there a way to lock the placement of the MICR line in Check Template?
    Thank you,
    Patrick

    Hi Patrick,
    Is this printed PDF output from BI Publisher using PDF Publisher driver/style? If so, check that you paper is set the same in pasta_pdf.cfg under $FND_TOP
    Regards,
    Gareth
    http://garethroberts.blogspot.com

  • PDF has missing text when created from FM 9

    My Software:
    Windows XP Professional Version 2002 SP 3
    FrameMaker 9.0p255
    Adobe Acrobat 9 Pro Version 9.4.1
    When generating a PDF document from FrameMaker, the PDF document has random missing text, including whole paragraphs, sentences and some text in tables. We have several FrameMaker books and they are all having the same issues. These books were fine when we last published updates within the last month and we have not made any changes to fonts.
    When generating a PDF from FrameMaker, we always print the book to a postscript file first following these steps:
    - Go to File > Print Book.
    - Select the Adobe PDF printer.
    - Select the Print to File option and specify a .ps filename.
    - Select the Generate Acrobat Data option.
    - Use Acrobat Distiller to convert the PS file to PDF.
    Note that I also tried File > Save As PDF and got the same results.

    Did you reboot after the hotfix? fwiw, other users on the forum have had difficulty with the hotfix not being installed correctly the first time around.
    once you download the hotfix from MS you have to run the .exe, and then  when it’s finished you have to reboot. Then check the Add or  Remove programs in Control panel, and click the “show updates” button,  then scroll way down to see the hotfixes, to be sure that #952909 is  shown.
    What fonts are you using in your documents? Specific type (PS, TT, OTF) and any other info you have (foundry, etc).
    Do the "gaps" seem to occur when there are font changes in the document, e.g. when words in a sentence are bold or when a paragraph in a different weight (e.g. bold italic) follows, say, a "regular" text weight paragraph? As another test, can you highlight a segment of good+bad+good text in the PDF, do Control+c to copy it to the clipboard, then Control+v to paste it into a different file (Word, text editor, even another new FM document).  Do the words of the "missing" text segments show up?
    edit: the hotfix download process is a bit confusing; if I remember correctly it has to be requested, then MS sends a link to the download webpage, then the downloaded .exe has to be run.

  • Apple TV has no sound when mirroring from Mac mini,sound works when mirroring from iPad and iPhone

    When I mirror from Mac mini to Apple TV there's no audio from Apple TV to my av amp,it works fine from iPhone and iPad,is there something I need to do in the airplay settings?

    Here's what finally solved my issue:
    https://discussions.apple.com/message/24436903#24436903
    From this Apple Community User:
    https://discussions.apple.com/people/Winston%20Churchill
    Try the following steps, check whether things are working after each step where appropriate, before trying the next.
    Restart the Apple TV (Settings > General > Restart).
    Restart the Apple TV by removing ALL the cables for 30 seconds.
    Restart your router. (Also try removing it’s power cord for at least 30 seconds)
    Reset the Apple TV (Settings > General > Reset > Reset all settings)
    Restore the Apple TV (Settings > General > Reset > Restore)
    Apparently there is an issue if you push the Apple Remote before you set your computer to mirror.  Whatever I did, it had locked it in that state.  Once I stopped mirroring, then went onto the TV screen and restarted the Apple TV (#1 above) it then allowed me to choose mirroring on my Mac and the audio automatically switched from the computer to the TV (making the computer now mute), BTW the volume needs to be maxed on the computer as that will transmit to the TV if your volume is low on the computer.  Then you can raise or lower it the way you want on your TV.
    Yay!
    Hope this helps others.....

  • "remote desktop connection has stopped working" When printing from remote desktop connection

    I have been having a issue when using a windows 7 machine. I have Remote Desktop to a session on Windows2008 R2, I am using the local printer resources to redirect the printing. However everytime i try to print it crashes the remote desktop application.
    Gives me "remote desktop connection has stopped working." I have 4 other computers connected and printing with no issues what so ever. This only happens when i print. It does print by the way just the application crashes.
    -I have also updated the printer drivers to newest possible thru the manufactorer website. The printer is a Brother MFC-8890DW. Windows 2008 R2 is up to date for the RDS server. 3 other machines are able to Remote in and print. The user is able to print using
    diffrent machines just not the Windows 7 machine.

    Hi,
    Happy to hear that you resolved your issue. For another issue which you are facing here trying to provide some suggestion.
    As you have commented that you are facing issue with second screen resolution on wide screen. The setting which I am suggesting can only applies when you are using multi-monitor Remote Desktop connections.  If you are making Connections using a single
    monitor do not use this setting. 
    So for this you can try to apply “Limit maximum display resolution” setting in group policy, where you can mention the width & height for the screen to display. The setting can be applied on below mentioned
    path.
    Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Remote Session Environment
    Meanwhile sharing article with you for more information.
    Remote Session Environment
    http://technet.microsoft.com/en-us/library/ee791847(v=ws.10).aspx
    Hope it helps!
    Thanks.

  • "An internal error has occurred" message when scanning from MX922 to desktop using Windows 7

    I am no longer able to scan using my MX922 connected to my desktop running Windows 7 without getting a message on my desktop saying "An internal error has occurred".  I have turned the MX922 on and off, I have disconnected both the power cord and USB cable from the MX922 and from my desktop, I have reconnected the USB cable to a different port on my desktop, I have uninstalled all Canon programs from my desktop and reloaded all Canon programs with the MX922 CD, and I have restarted the desktop multiple times.  I scan documents several times a week for my business. It has worked fine until today. What do I need to do to correct this problem and get back to scanning?

    Hi boisseaujm,
    If you temporarily disable any antivirus or firewall software that is on your computer, then attempt to scan again, are you able to scan successfully?
    If this is a time-sensitive matter, additional support options are available at Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Stateless Session Bean has no Context when called from WAR

    Hello,
    Here is the code for my stateless session bean (it will carry out certain actions based on the timer service)
    package DigestTest;
    import java.io.BufferedWriter;
    import java.io.FileWriter;
    import java.util.Date;
    import javax.ejb.*;
    import javax.ejb.TimedObject;
    import javax.ejb.Timer;
    * This is the bean class for the MasterTimerBean enterprise bean.
    * Created Sep 7, 2006 9:05:09 AM
    * @author ttaylor
    public class MasterTimerBean implements SessionBean, MasterTimerRemoteBusiness, MasterTimerLocalBusiness, TimedObject
    private SessionContext context;
    public void setSessionContext(SessionContext aContext)
    context = aContext;
    * @see javax.ejb.SessionBean#ejbActivate()
    public void ejbActivate()
    * @see javax.ejb.SessionBean#ejbPassivate()
    public void ejbPassivate()
    * @see javax.ejb.SessionBean#ejbRemove()
    public void ejbRemove()
    // </editor-fold>
    * See section 7.10.3 of the EJB 2.0 specification
    * See section 7.11.3 of the EJB 2.1 specification
    public void ejbCreate()
    // TODO implement ejbCreate if necessary, acquire resources
    // This method has access to the JNDI context so resource aquisition
    // spanning all methods can be performed here such as home interfaces
    // and data sources.
    public void ejbTimeout(Timer timer)
    try
    BufferedWriter writer = new BufferedWriter(new FileWriter("C:\\timerTest.txt"));
    writer.write("Timer has tripped");
    writer.newLine();
    writer.flush();
    writer.close();
    catch(Exception e)
    return;
    // Add business logic below. (Right-click in editor and choose
    // "EJB Methods > Add Business Method" or "Web Service > Add Operation")
    public String initializeTimer()
    String result = "\n\nInitializing Timer\n";
    try
    // Create Your Timer
    if(context!=null)
    TimerService ts = context.getTimerService();
    result = result+"Instantiating Timer Object\n";
    Timer timer = ts.createTimer(new Date(), 5000, "TestTimer");
    result = result+"About to grab TimerHandle";
    TimerHandle timerHandle = timer.getHandle();
    else
    result = result+"\nContext Object is null\n";
    catch (Exception e)
    result = result+"\nError:\n"+e.toString();
    return result;
    public String writerTest()
    String result = "about to write";
    try
    result = result+"\nOpening the file";
    BufferedWriter writer = new BufferedWriter(new FileWriter("C:\\timerTest.txt"));
    result = result+"\nWriter Test Passed";
    writer.write("Writer Works");
    writer.newLine();
    result = result+"\nFlushing writer";
    writer.flush();
    result = result+"\nClosing writer";
    writer.close();
    catch (Exception e)
    result = result+"\n"+e.toString();
    return result;
    I am calling initializeTimer() from a jsp page with a simple <jsp:useBean tag>.
    The program keeps returning that the context variable is not set(this is from the context!=null conditional in initializeTimer()). I am very confused, I thought that setContext(...) was called by the container upon instantiation (and thus should happen completely without any action from me).
    How am I able to call a session bean that has not had the context set?
    Any information is appreciated,
    Thanks,
    Scott

    thank you for your reply, rajeevm007.
    it seems that the question is really a problem now.
    i think i should update weblogic to the lastest version and confirm this question. if it still in there, it seems that we have to reset the global variables all manually. so, now, we are discussing that should we modify all the ejbs, or wait the next version of weblogic. :) of cause the second choice is a joke.
    no other good choice?
    maybe in the march of the next year....
    cheers
    thank you again.

  • Resman has fatal errors when run from start menu

    I have a VME chassis connected to my computer via an NI MXI-2 bus.  When I run resman out of MAX, it works fine.  When it automatically runs on startup or when I run it from the start menu, it bombs out with a windows fatal error.  This has happened for years, on multiple different computers.  This isn't a huge deal, so I haven't investigated it before.  Is this a known bug?  Is there a way to fix this annoyance?  I'm running latest driver versions of everything, although the VXI driver has remained static for quite some time from NI.
    I just discovered the different operation today - start menu vs. in MAX.  I think it may be a clue...

    This is somewhat of a known issue.  Take a look at the following KB:
    http://digital.ni.com/public.nsf/allkb/851CD72FA50001B0862571100081237B?OpenDocument
    Chad B. » National Instruments » ni.com

  • Registry name and value to check if server has internet connection

    Hi
    I want to check that if server has internet connection though registry value. Can any one help me the path of registry to check if server has an internet connection or not

    > Martin Can I get the script to check the server has an internet
    > connection ?
    Sorry, I don't have one - we never had the need to check this... Short
    VBS snippet:
    strURL = "https://www.grumpfasdklfhsdf.comm"
    Set objExplorer = WScript.CreateObject("InternetExplorer.Application",
    "IEWindow_")
    objExplorer.Navigate strURL
    Do While objExplorer.ReadyState <> 4
        WScript.Sleep 100
    Loop
    Sub IEWindow_NavigateError( pDisp, sURL, sFrame, sStatus, sCancel )
        WScript.Echo sStatus
    End Sub
     sStatus in the Sub will contain HTTP error codes. 502 for "Host not found".
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Get approver details in doc check

    Is there any way to get the current approver and corresponding item guid determined by the system in doc check badi?

    Hi Saravanan,
    I am getting the approvers in the method GET_APPROVERS_BY_AREA_GUID via Z class which is a copy of /SAPSRM/CL_IM_WF_RR_CCTR_SC
    Now in this method I am getting the approver details from ECC, if no approver details is found I want to throw a error in the SC saying no approvers found. Since I could not pass any error message via that method I wanted to implement a check in doc_check badi if there is an approver against a line item, if not then it will show error to the user. Instead of calling and using the entire logic again in doc_check badi I wanted to check if any method can be used to retrieve the approver for the item during runtime.

  • The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.

    got event ID 4015 and source DNS-Server-Service. please suggest how to fix this issue
    The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.
    Raj

    Hi
     first run "ipconfig /flushdns" and then "ipconfig /registerdns" finally restart dns service and check the situation,also you can check dns logs computer management ->Event viewer->Custom Views->Server roles->DNS.

  • Media Encoder crash in CS6. Could not read from the source. Check if it has moved or been deleted.

    I'm having a problem getting Media Encoder to get past the dynamic link portion of encoding a time line sequence.
    I can send it over to Media Encoder, but it crashes consistently after the yellow bar saying something about dynamic link.
    I have CS6 installed in my computer here at work, it previously had CS5.5 installed on it.
    I read some answers about CS4 having this problem and tried to create a shortcut and put it in the dynamic link folder, but that didnt work.
    I would hate to have to reinstall the software here at work as the IT department is a pain- but I can't encode video on one of the computers we use here.
    Any ideas on what may be happening and how I can solve the problem?
    Thanks!
    Its a Dell Workstation with Windows 7 Ultimate installed dualE5620 processors at 2.4GHz. .
    only 6 GB RAM, and a RAID 5 hard drive setup with 3- one gb drives giving the C drive space of 1.8Gigs
    Its got an NVIDIA Quadro NVS 420 video card.
    I'm upgrading this computer to better work with editing video, so this is a good time to get this all cleaned up.
    Im adding RAM (24GBs)- replacing the video card to a GTX 780 3GB running 3 monitors.
    I'd also like to either split up the RAID (ugh)..or just add 2 internal SAS HDDs. to split up the video and the cache and the OS/programs as is usually done with editing video.
    Thanks for your help in advance...
    Mike

    ...more information...problem still not solved....
    After searching more in the forums, I tried a couple more things:
    I tried to restart AME and clearing the preferences. This didnt help.
    I also deleted the ...appData/Roaming/Adobe/AdobeMediaEncoder/6.0 folder and all subfolders   No help here either.
    I also tried to import the sequence via AME rather than export via PP. This worked. The sequence loaded immediately and processed perfectly.
    When I export via PP, I hit the queue button, it hangs for about 3 mins, then the yellow bar appears saying "Connecting to Dynamic Link server"
    it then hangs for approx 3 mins again and then I get the Failed alert.
    the error log reports:
    Encoding failed
    Could not read from source. Please check if it has moved or been deleted.
    any help available here????

  • Could not read from the source. Please check if it has moved or been deleted

    hi all,
    when i try to render a afx project from media encoder i get the following message
    "Could not read from the source. Please check if it has moved or been deleted"
    i've read on the forum that this is due to an old installation of Premiere.
    I'm using a brand new computer. the only software installed is my cs5 master collection and the updates from adobe website.
    win7 pro
    i7
    16 gig ram
    cheers
    s

    Hello, this is terrible problem, which i found in CS 6 softwares ...
    solution i found only working, is uninstall and reinstall full package.. but it is not all,
    you need to do BRAND NEW admin account in windows, and install it there.
    that means, i could not export after repair from encoder in my original account never more (!!)   .. this is really terrible way how to repair this issue, because :
    1.by reinstalling of software, client WASTE HIS TIME
    2.by necessity to begin work in another windows profile you again WASTE YOUR TIME because of learning and migrating all other profile modifications, which i see really unaccpetable. Adobe means, this solution of repair is ok, and they did not do till today any steps of creating some "clever" solution.
    I ask everybody, who will meet this issue in future, guys, please, complain about this situation, give "BUG Report" to them, and write "feature request" to them , in the way of creating some repair tool, which check actual  "broken" connections between encoder and premiere, which refuses to "take material" from it and encode, and REPAIR it automatically..  
       I am not IT, but ..does it seems so hard to create this ? Adobe IT developers should know their systems, and should create such utility tool really easy.
    Steps to reproduce bug:
    1. i export anything by button "queue" from premiere to Encoder
    2. Encoder will start encoding
    3. Encoder does not show the window of media encoding (down left )
    Results: sound of sheep occur,
    in encoding error file is this reason of canceling the encoding :
    01/02/2014 10:10:48 AM : Encoding Failed
    Could not read from the source. Please check if it has moved or been deleted.
    History of this problem and detailed description, HOW i did "repair" this. With wasting of app 2,5 days of my working time :
    1. after repairing "error 5" problem , i solved it by reinstalling the suite from the new admin user profile (profile B) . 
    I continued my work on my normal working windows profile . (profile A)
    Every cooperation (AE+Pr, export media via "queue" to Encoder) was working fine . . .
    2. suddenly it stop working (without knowing any possible reason - i did not do installations )
    and showed in error export log file :
    "Could not read from the source. Please check if it has moved or been deleted."
    3.repair via procedure(procedure "a"):
    i did this procedure on the profile B (profile from last time installation of repairing problem error 5)
    I did these steps :
    a-uninstall master coll suite
    b-i used Adobe cleaner tool (remove ALL)
    c-removed raw directories in locations
    •C:\Program Files\Adobe
    •C:\Program Files(x86)\Adobe
    •C:\Program Files\Common Files\Adobe
    •C:\Program Files(x86)\Common Files\Adobe
    •C:\ProgramData\Adobe
    d-removed these links from registry file
    •HKEY_LOCAL_MACHINE\SOFTWARE\Adobe
    •HKEY_CURRENT_USER\Software\Adobe
    •HKEY_LOCAL_MACH INE\SOFTWARE\Wow6432Node\Adobe
    •HKEY_CURRENT_USER \Software\Wow6432Node\Adobe
    e-restarted the PC
    f- newly installed the Master Coll CS6
    g-update the software
    result of repair of "3" : problem still exists
    4.Ok i find out after coordination with support, it should have been created  ANOTHER NEW admin account.
    4a:so i did the same procedure (uninstalling) in profile B
    4b: and then i created brand new admin profile (profile C)for INSTALLATION of software
    4c: restarted the pc (and did not updated it yet)
    result :
    ==exporting of any sequence/raw/AE link video material from premiere via "queue" (Encoder) (profile C) : export WORKS
    ==exporting of any sequence/raw/AE link video material from premiere via "queue" (Encoder) (profile B) : export WORKS
    ==exporting of any sequence/raw/AE link video material from premiere via "queue" (Encoder) (profile A) : export DOES NOT WORK ! ! !
    (in profile A, is possible to export some raw video material in encoder which is imported to it via "drag and drop)
    problem i see:, i have my basic profile A, which i am interested to work, because of all my directory modifications are in there..
    this issue should be some "broken" connections between encoder and premiere, which refuses to "take material" from it and encode.
    what i expect :
    to get from Adobe some repair tool, which automatically checks these connections and repair if necessary, without necessity of founding the new profile and reinstallation of whole software.. this is madness !
    what i do NOT expect from Adobe:
    to get from Adobe advice of kind : you have to reinstall full software in new admin profile. sorry , we do not know the solution, because we do not know, how do behave our software.

Maybe you are looking for

  • Execute a WSDL file generated through SAP R/3

    Hi all, I want to know how to execute a WSDL file generated after running web service wizard for a RFC in SAP R/3 system? This WSDL file contains XML schema with input and output parameters with RFC name. Is there any way that i can execute that WSDL

  • How to add two protection mode in oracle data guard

    Hi all, We have a discussion on oracle physical data guard yesterday..... As we all know that data guard has 3 protection mode 1. Maximum Performance 2. Maximum Availability (Default) 3. Maximum Protection Now we were discussing about is it possible

  • Function module in background work process

    Hi All, i'm using trfc for processing FM only in background work process CALL FUNCTION 'FUNCTION_MODULE' IN BACKGROUND TASK but when i execute FM it's occupying two work process one is dialog (running current FM )and another one is background( runnin

  • Conditions in BPM

    Hi Experts, Scenario : SOAP -> First webservice -> Second Webservice -> Third Webservice Requirement : If the EmpId from the SOAP client request is 234 then I have to call the first webservice otherwise I have to skip the First webservice from the bu

  • Can there be a document plugin?

    I do not have Lightroom yet.  As part of my work flow for processing photos I  put together a hard copy Metadata Sheet.  This lists file name  and across from  it, in columns, file type, size, dimensions,  title, keywords.  I know no other  way to do