Error "BBP_BD 002: An Exception occured" when changing doc type

Hi All,
We are using the BADI BBP_TARGET_OBJTYPE to determine a PR or PO and change the doc type if PR is determined.
PR/PO is determined correctly but when we tried to assign new doc type for PR getting error "BBP_BD 002: An Exception occured" .
Below is the code.
IF wa_item-be_doc_type='ECPO'
      IF wa_item-catalogid IS INITIAL OR wa_item-catalogid CO space
        wa_item-pack_objtype = 'BUS2105'. "PR
        wa_item-be_doc_type = 'ECPR'
      ELSE.
        wa_item-pack_objtype = 'BUS2012'. "PO
      ENDIF.
      MODIFY ct_item FROM wa_item TRANSPORTING pack_objtype.
END IF
Can any one tell is this correct or do we need to modify anything?
Thanks in advance,
Jagadish
Edited by: Jagdish Reddy on Aug 17, 2008 3:47 PM

Hi Dave,
Thanks for the prompt response!
We are able to create PR but we want to tie the PR to doc type 'ECPR'. That is why added wa_item-be_doc_type='ECPR'
If we take out this code it works fine and system creates a PR with doc type 'ECPO'. We do not want this. We want doc type 'ECPR'
Where is obj_to_gen in the BADI? I do not see that. Is this ina any structure?
Thanks again.
Jagadish

Similar Messages

  • BBP_BD 002 An exception has occurred

    Hi,
    For few of the Shopping carts, R/3 Purchase Requisitions could not be created because it throws error , For example "Shopping cart 1000014562 (PReq. 2000001428): BBP_BD 002 An exception has occurred".
    Does someone throw light on this, there are atleast 10-12 Carts going into this error daily.
    Any help is highly appreciated.
    Thanks & Regards,
    Venkat

    Hi Venkat
    Note 968110 - Transfer canceled, account assignment acc. to
    value/quantity
    Symptom
    You transfer a shopping basket item with an account assignment in
    accordance with value or quantity, with only one account assignment line.
    The transfer terminates with the following error: Shopping cart XXX (PReq.
    YYY): BBP_BD 002 An exception occurred.
    check the above note .Is it applicable to you?
    regards
    Muthu

  • Lightroom 5, can't open..an error occurred when changing modules

    I got Lightroom 4 with a new camera.  couldn't install on my Mac so purchased  (full price) lightroom 5.   Retrieved my key and downloaded and installed on the Mac.  Lightroom is there, but when I try to open in says "an error occurred when changing modules".  I have uninstalled and reinstalled several times.  Went online and tried some suggestions but nothing works.  I have had no problems running or using LR5 on my PC.  I really like the program...I don't know what to do next. Running OS X 10.9.2.

    Moving this discussion to the Photoshop Lightroom forum.

  • XSLT Mapping, Transformer configuration exception occurred when loading

    Hi,
    My source message is an IDOC HRMD, I need my target message to include exactly
    <EPERSON xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ContextPersonMessage">
    I have therefore suggested to use XSLT mapping.
    Here is the test_mapping.xsl that I Imported as Zip in Imported Archives.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://polyright.com/xi/HR">
         <xsl:template match="/">
              <EPERSON xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ContextPersonMessage">
                          <xsl:for-each select="HRMD_A07/IDOC/E1PLOGI">
                <CONTEXTPERSON personid="" id="">
                      <PERSON action="add">
                               <TITLE></TITLE>
                               <FIRSTNAME><xsl:value-of select="E1PITYP/E1P0002/VORNA"/></FIRSTNAME>
                               <SECONDNAME></SECONDNAME>
                               <NAME><xsl:value-of select="E1PITYP/E1P0002/NACHN"/></NAME>
                               <ADDRESS1></ADDRESS1>
                               <ADDRESS2></ADDRESS2>
                               <POSTALCODE></POSTALCODE>
                               <CITY></CITY>
                               <COUNTRY></COUNTRY>
                               <COUNTRYID></COUNTRYID>
                               <PROFESSION></PROFESSION>
                               <LANGUAGE></LANGUAGE>
                               <LANGUAGEID></LANGUAGEID>
                               <PERSONTYPEID></PERSONTYPEID>
                               <CREATIONDATE></CREATIONDATE>
                               <BIRTHDATE></BIRTHDATE>
                               <CATEGORY></CATEGORY>
                             </PERSON>
                      </xsl:for-each>
              </EPERSON>
         </xsl:template>
    </xsl:stylesheet>
    When I test the Interface mapping, I get the following error:
    Transformer configuration exception occurred when loading XSLT test_mapping.xsl (http://polyright.com/xi/HR, 783938d1-4463-11dd-b136-e03ac0a80c15, -1)
    Searching through the forum, it is probably an namespace issue, but I have no idea of what needs to be changed. Any suggestions ?

    Try running end-to-end scenario and check if you could get detailed error message.
    Also check if the problem arises from the "ns0" usage.
    Regards,
    Prateek

  • Transformer exception occurred when executing XSLT

    Hi Friends,
    Currently I am working on standard contents(XI) on IS-Retail.
    I want to change standard XSLT mapping.
    I done few changes but on testing of Interface mapping I got this error "Transformer exception occurred when executing XSLT"
    1.
    </xsl:template>
         <!-- Comment start  for Tender ( Financial Movement )-->
         <!--     <xsl:template name="POSLog">
            <ns0:POSLog xmlns:ns0="http://sap.com/xi/StoreConnectivity">
                <xsl:call-template name="POSLogTransaction"/>
            </ns0:POSLog>          
              </xsl:template> -->
         <xsl:template name="POSLog">
              <ns0:Z_POSLog xmlns:ns0="http://sap.com/xi/StoreConnectivity">
                   <xsl:call-template name="POSLogTransaction"/>
              </ns0:Z_POSLog>
              </xsl:template>
              <!-- Comment end for Tender ( Financial Movement )-->
    2.
                   <!-- Changes start for Tender ( Financial Movement )  -->
                        <xsl:for-each select="GMTLogTransactionLine[TransactionType='B2']">
                             <xsl:call-template name="CaptureTenderID"/>
                        </xsl:for-each>
                   <!-- Changes end for Tender ( Financial Movement ) -->
    3.
         <!-- Customization for handling Tender ( Financial Transaction  ) Begin Here-->
         <xsl:template name="CaptureTenderID">
              <xsl:if test="following-sibling::GMTLogTransactionLine[1][TransactionType='B2']">
                   <Tender>
                        <TenderID>
                             <xsl:value-of select="following-sibling::GMTLogTransactionLine[TransactionType='B2'][1]/TenderID"/>
                        </TenderID>
                   </Tender>
              </xsl:if>
         </xsl:template>
         <!-- Customization for handling Tender ( Financial Transaction  ) End Here-->

    Hello flok,
    just have a look into this thread may be you can find the solution
    XSLT Mapping, Transformer configuration exception occurred when loading
    http://xml.apache.org/xalan-j/apidocs/javax/xml/transform/TransformerException.html
    Regards,
    Ravi.

  • Visual Studio Just-In-Time Debugger error "An unhandled win32 exception occurred in AcroRd32.exe [31

    I installed Reader X and when I tried opening it, I received a Visual Studio Just-in-time Debugger error "An unhandled win32 exception occurred in AcroRd32.exe [3116].  I uninstalled, rebooted and tried reinstalling and received the same error.
    I tried disabling the just in time debugger mentioned in http://www.programmerfish.com/disable-visual-studio-just-in-time-debugger/ and received the error "An unhandled win32 exception occurred in AcroRd32.exe [4080].  Just-in-time debugging this exception failed with the following error:  No installed debugger has just-in-time debugging enabled.  In Visual Studio, Just-in-time debugging can be enabled.....
    I do have Microsoft Visual Studio 2005 installed.
    Any ideas?

    We discovered that Reader X users that had an older version of PGP installed received this error. We implemented a registry change on these devices which resolved the issued. PGP recognized it was an incompatibility issue on their end, and supposedly, with the newer version of PGP it will be resolved.  In order to resolve this, try using Adobe Readers whitelisting feature.  Below are the steps to follow: 
      i.   Add a registry entry enabling the use of whitelisting:
           [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Acrobat Reader\10.0\FeatureLockDown]
           "bUseWhitelistConfigFile"=dword:00000001
      ii.  Create a whitelist file called "ProtectedModeWhitelistConfig.txt" and place it
           in the Adobe Reader executable path i.e. C:\Program Files\Adobe\Reader 10.0\Reader
      iii. The ProtectedModeWhitelistConfig.txt file will need to contain the string
           SECTION_ALLOW_ANY = *PGPhk*

  • Orchestration exception:Exception occurred when persisting state to the database because of special character ' ' in HL7 message.

    In some scenarios HL7 message is coming with special character ‘’ and HL7 dis-assembler escaping this character with “&#x10;&#x1;”. But while sending out (pass thru pipeline but orchestration trying to persist here at last sendshape.) from orchestration
    this message failing with the error “Exception occurred when persisting state to the database.”
    As per the analysis , Orchestration is unable to convert to xml document from a
    XLANGMessage because of this special character. We have tried to call custom .net class with following code and its failing here as well (I think orchestration also trying to do same way and failing with the message and failing with same error.).
    public void ProcessRequest(XLANGMessage reqMessage)
    XmlDocument xmlDocument = (XmlDocument)reqMessage[0].RetrieveAs(typeof(XmlDocument)); It is failing here with the error
    “ ', hexadecimal value 0x10, is an invalid character. Line 1, position 1865. “
    Note : Please find the special character in the attachment circled in red color. 

    Hi ,
    Please find the xml and the screenshot.
    <OBX_ObservationResult>
      <OBX_1_SetIdObx>3</OBX_1_SetIdObx>
      <OBX_2_ValueType>TX</OBX_2_ValueType>
      <OBX_3_ObservationIdentifier>
        <CE_0_Identifier>P.112</CE_0_Identifier>
        <CE_1_Text>Where pt. will be transported to \T\ where &#x10;&#x1;famly can wait:</CE_1_Text>
      </OBX_3_ObservationIdentifier>
      <OBX_4_ObservationSubId />
      <OBX_5_ObservationValue>Y</OBX_5_ObservationValue>
      <OBX_6_Units>
        <CE_0_Identifier />
      </OBX_6_Units>
      <OBX_7_ReferencesRange />
      <OBX_8_AbnormalFlags />
      <OBX_9_Probability />
      <OBX_10_NatureOfAbnormalTest />
      <OBX_11_ObservationResultStatus>N</OBX_11_ObservationResultStatus>
    </OBX_ObservationResult>

  • Cfobject - An exception occurred when instantiating a COM object

    I'm getting the following error:
    An exception occurred when instantiating a COM object.
    The cause of this exception was that: java.lang.RuntimeException: Can not use native code: Initialisation failed.
    1 :
    2 : <cfscript>
    3 :     oLoader = CreateObject("com", "easyPDF.Loader.6");
    4 : </cfscript>
    This is on a dedicated server with 64bit Windows Server 8 and 64bit ColdFusion 9.  easyPDF is a program that will convert files into PDF on the server, it is also the 64 bit version.
    I'm not even trying to do anything but load the object and am getting the error.  I took a peek inside the registry and searched for "easyPDF.Loader" and it was found.
    Any ideas what could be going wrong? Is there something I need to do with the CF setup or IIS to get this working?  It gives the same error with the following line of code as well.
    <cftry>
        <cfobject type="com" action="connect" class="Word.application" name="this.wordCom" context="local">
        <cfcatch>
            <cfobject type="com" action="create" class="Word.application" name="this.wordCom" context="local">
        </cfcatch>
    </cftry>
    Any help or guidance would be great.  Is there a basic <cfobject type="com"> that should work on ANY computer without installing something that I could use to test?
    Thanks!

    Just to give everyone some closure in this matter:
    I've opened a case with Adobe Support. Their reply was:
    COM interoperability with CF9 is not supported on 64 bit Windows OS. This is due to the limitations imposed by JIntergra. You can find a reference for this in the following tech-note:http://helpx.adobe.com/coldfusion/kb/coldfusion-limitations-running-coldfusion-64.html
    It seems that J-Integra (http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30963) won't update their code libraries for 64-bit support due to lack of customer demand for this functionality. Mind you this is the newest technot I could find on the matter but it was last update in 2010. I've also emailed j-Integra sales (http://j-integra.intrinsyc.com/contact.asp) to inquire about any progress in porting over their libraries to 64-bit. Who knows, if they get enough requests...
    I will now try to access my COM libraries from a .NET dll and call it using cfexecute.

  • An Exception Occured when refershing the query

    Hello All,
    Below exception occured for the following two scenarios.
    It occured when i tried to refresh the query.
    Other Case, exception occured when i enter the user prompts , it was about to refresh and got the same error messageNeed to know, when this type of error message occurs generally " An exception occured in one of the data source " and " Nested Exception".Need your inputs.
    Thanks in advance.
    John

    We are using AO 1.4 SP5..
    I have don't have the hotfix whether hotfix has been installed or not.
    Regards,
    John

  • Exception occurs when get Members

    All,
    Please help. Im getting error "Exception occurs when get Members" when opening Dimension.
    How to resolve this?
    Thanks in advance

    Hello Agus,
    Kindly go to Tcode SE38 and Run program UJA_REFRESH_DIM_CACHE, then select your dimension and execute it.
    Hope this helps
    Regards
    Bhagyesh Ravange

  • An exception occurred when instantiating a COM object

    I have installed ColdFusion 9.1 on a 64-bit server running Windows 2008 R2.  I am using IIS 7.5.
    When I try to access the following URL http://localhost/myhousing/security/login_admin.cfm I get the following error.  Is there a patch available for CF 9 to resolve this error?
    The web site you are accessing has experienced an unexpected error.
    Please contact the website administrator.
    The following information is meant for the website developer for debugging purposes. 
    Error Occurred While Processing Request 
    An exception occurred when instantiating a COM object. 
    The cause of this exception was that: java.lang.RuntimeException: Can not use native code: Initialisation failed. 
    The error occurred in C:/inetpub/wwwroot/MyHousing/Application.cfm: line 22
    20 : <CFINCLUDE template="lib/housing_functions.cfm">
    21 : <CFSET Application.obj_name = "UserInfo325DLL.UserClass">
    22 : <CFOBJECT name="obj" action="create" type="com" class="#Application.obj_name#">
    23 : <!------------------------------------------------------------------->
    24 : <!--- END OF CONFIGURATION FILE --->
    Resources:
    Check the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser   Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
    Remote Address   ::1
    Referrer   
    Date/Time   08-May-13 01:49 PM
    Stack Trace (click to expand) 
    at cfApplication2ecfm293894775.runPage(C:/inetpub/wwwroot/MyHousing/Application.cfm:22) at cfApplication2ecfm293894775.runPage(C:/inetpub/wwwroot/MyHousing/Application.cfm:22)
    java.lang.RuntimeException: Can not use native code: Initialisation failed
    at com.linar.jintegra.NativeObjRef.<init>(Unknown Source)
    at com.linar.jintegra.Dispatch.createDispatch(Unknown Source)
    at com.linar.jintegra.Dispatch.<init>(Unknown Source)
    at com.intrinsyc.typeInfo.IMacroViewerProxy.<init>(IMacroViewerProxy.java:32)
    at com.intrinsyc.typeInfo.MacroViewer.<init>(MacroViewer.java:90)
    at com.intrinsyc.typeInfo.MacroViewer.<init>(MacroViewer.java:69)
    at com.intrinsyc.typeInfo.InterfaceInfoFactory.getInfoGivenPROGID(InterfaceInfoFactory.java: 50)
    at coldfusion.runtime.com.ComProxy.<init>(ComProxy.java:114)
    at coldfusion.runtime.com.ComProxyFactory.getProxy(ComProxyFactory.java:41)
    at coldfusion.runtime.ProxyFactory.getProxy(ProxyFactory.java:65)
    at coldfusion.runtime.CFPage.createObjectProxy(CFPage.java:4947)
    at coldfusion.tagext.lang.ObjectTag.doStartTag(ObjectTag.java:427)
    at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
    at cfApplication2ecfm293894775.runPage(C:\inetpub\wwwroot\MyHousing\Application.cfm:22)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
    at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
    at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33)
    at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
    at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
    at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:94)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
    at coldfusion.CfmServlet.service(CfmServlet.java:200)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    Let's narrow down the problem by substituting the variable with the value directly on the cfobject tag.
    <CFOBJECT name="obj" action="create" type="com" class="UserInfo325DLL.UserClass">
    ... and see if that works.
    Another thing you might want to check if this is correct, UserInfo325DLL.UserClass.

  • IC WC: Exception occured when combine with Custom Controller

    Hi All,
    I was trying to combine a context node in my application to the context node "CurrentContext" of custom contrroler CuCoBDC.do however the following exception occured when I tried to display the page: "BSP exception: The object CuCoBDC.do in the URL /sap(bD1lbiZjPTAwMQ==)/bc/bsp/sap/crm_ic_preview/root.do is not valid."
    Can anyone please give me some hints?
    Thank you
    Heather

    Hi heather,
    can you please check the BOL entity used for both custom controller and view contex nodes are the same!.
    also do check the binding code in the method create_context_node( ) in _CTXT class of the view!.
    Regards,
    sudeep.

  • Keep getting DataSource.Error: SapBusinessObjects: Request failed (BadRequest): An exception occurred. when trying to use BOBJ universe as source

    I have been able to successfully connect to our BOE environment and to one of our universes.  I keep getting the following error.  When editing the query, as I expand and collapse various dimensions / measures, I will see data at one point and
    then as I expand/collapse various combinations of data I get this error.  I can't figure out the underlying issue that causes this error to appear and disappear.  Help!
    DataSource.Error: SapBusinessObjects: Request failed (BadRequest): An exception occurred.
    Details:
        http://michgbo41d:6405/biprws/sl/v1/queries/6677718407783479088/...

    Hi,
    The generic error message you received was sent back from the service. We'll need more information about your specific query to investigate the problem. Would you be able to report the issue through Power Query's "Send Feedback > Send a Frown" button?
    If so, please make sure to also include the information you have here along with the email.
    Thanks!
    Tristan

  • Fatal Exception occurred when trying to execute a JAR file

    Hi,
    I have compiled my project in a jar file with the purpose of having an 'almost' executable file that would run with a simple double click.
    When running this file from the netbeans directory, it works fine, but if I move this jar file to, say, my desktop, then I get an error:
    Fatal Exception occurred. Program will exit.
    Is this normal?
    basically, I would like to create a stand-alon file that I can send to other people who can run it on their machines
    Am I doing the right thing, or missing something?
    P.S I should add that my application needs to read contente from some txt files which are stored in my PC, but that is clearly speficied in the code
    thanks

    I found that if I copy the whole of the dist directory and subdirectories, it works fine. I guess that's what could not be found.
    just for my learning, is that the correct solution: basically send over the whole dist+subdirectories and have the program run from there?
    thanks

  • Error:  APP-JA-460651: Exception Occured in Post Query of detail

    Hi All,
    I am getting the below error when I am trying to go to PO localized form from PO std form.
    APP-JA-460651: Exception Occured in Post Query of detail ORA-20120: Currency Conversion Rate Not Defined In The System.
    ORA-06512: at "APPS.JA_CURR_CONV", line 76
    Need help plz.

    Please also see if these docs help.
    India Receiving Transaction Processor Completes In Error "ORA-20120: Currency Conversion Rate Not Defined In The System" [ID 973447.1]
    R12:Interface Trip Stop Erroring out with Message " ORA-20001: ORA-20120: Currency Conversion Rate Not Defined In The System" [ID 1105698.1]
    India Receiving Transaction Processor Showing Following Message "ORA-20120: Currency Conversion Rate Not Defined In The System" [ID 987418.1]
    India Localization Purchase Order Screen Errors With ORA-6512 [ID 465081.1]
    WSHINTERFACES: ORA-20120 Currency Conversion Rate Not Defined In The System [ID 580260.1]
    Thanks,
    Hussein

Maybe you are looking for

  • Error Message on Startup

    I have installed a mSATA drive that is the C drive and used the original 500MB HD as a data drive. When the computer is booted I get the following message. So far I have not been able to see what this service is and how to resolve the issue. Any idea

  • Lot of Noise on my Mac Pro 3,1

    Hello, I've a big problem with my Mac Pro and I want to know if it's normal or... It's doing lot of noise from de Fan even I restart the SMC. When I'm starting it it's ok. But about 5 minutes the fan do lot of noise. Here is the fans mesure : Exhaust

  • I can't select my phone number for iMessage (-sigh- Yeah, this problem again)

    Let me explain the whole scenario: My iMessage and FaceTime worked perfectly fine this morning. I turned off my iMessage to check if I would be able to get messages from other iPhones. My observation is that when an iPhone has their iMessage turned o

  • App Store wants me to sign in as someone else?

         I'm using a pre-owned computer, but with no identity problems until now: I restarted my computer and when I opened App Store later and tried to update a couple apps, it required me to sign in with the Apple ID of the previous owner. Strangely, I

  • Tried to download the file "How to Adjust Perspective" and the file will not download.

    I get various error messages when I try to download the file; including but not only.. File is truncated, cannot download.  JPEG marker segment is too short.  Not the proper program. I don't know what to make of the various error messages.  Help, any