BDC Error:- Runs OK in foreground but NOT in background.

Hi All,
I am trying to do a BDC for stock putaway using LT01.
When I run this BDC in foreground
it runs successfully and transfers the stock OK with the following message:-
Field RL03T-ANFME. input value is longer than screen field (this is not an error message)
but when
I try to run it in background it gives me the following errors :-
Field RL03T-ANFME. input value is longer than screen field (this is not an error message in foreground)
Transaction error.
I know that a potential solution would be to write the LT01 using a BAPI or direct input etc but I would rather not go down this route.
Amny ideas?
I am using ECC5.0
Thanks,
N.

Hi Niall,
I have seen BDC behaving the way you have mentioned. This is because in Foreground the error is taken as soft error/warning(Green light flashes) and it allows you to continue. Even though the data upload is sucessful, you will have problems when you go into the actual transaction. An error pops up saying 'Please enter all the required fields' etc.
But at the same time when it runs in background, the same error is taken as hard error(red status light) and it will not allow further process.
Try to debug this BDC program in foreground and when it comes to this stage make the system field SY-BATCH = 'X'. Then you will understand what exactly happens.
The background process should be taken as the way to go and you need to correct the data.
I think this is helpful.
Kannan

Similar Messages

  • Report running fine in foreground but not in background

    Dear Friends-
    I have created few varaients to run my report in background and foreground .
    and inside report am using OOPS ALV and call screen  .
    issue is  when i  run prog  using varaient in  foreground  it work fine and show me the correct one record
    but when i  run the report with same varaient in background  it  shows  me   huge records which are not relevant with given input also ...............How to solve this   pls guide me
    Regards
    Meeta

    Hi
    In my report  am passing the input via varaients  and submit another report inside the prog  and in that second report it call screen  with ALV  stuff.
    Is that is the reason ?
    user command  am not sure because at end of the job  it not give any error  job looks finish and  shows so many records.
    Regards
    Meeta

  • BPEL SCA: XML-20129: (Error) Namespace prefix 'ui' used but not declared.

    SOASuite 11g
    Oracle Weblogic Server 10.3.3
    Oracle Solaris on SPARC (64-bit) 10
    Database: Oracle Server - Enterprise Edition 10.2.0.5
    When I start the SOA domain server, I find the following in the log file:
    <Feb 25, 2011 10:41:23 AM CET> <Error> <org.apache.commons.digester.Digester> <BEA-000000> <Parse Error at line 9 column 79: <Line 9,
    Column 79>: XML-20129: (Error) Namespace prefix 'ui' used but not declared.
    org.xml.sax.SAXParseException: <Line 9, Column 79>: XML-20129: (Error) Namespace prefix 'ui' used but not declared.
    at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
    at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:342)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
    at org.apache.commons.digester.Digester.parse(Digester.java:1785)
    at oracle.fabric.composite.Parser.parseComposite(Parser.java:132)
    at oracle.integration.platform.kernel.WLSFabricKernelInitializer.deployComposite(WLSFabricKernelInitializer.java:493)
    at oracle.integration.platform.kernel.WLSFabricKernelInitializer.prepareCompositeDeployments(WLSFabricKernelInitializer.java:
    239)
    at oracle.integration.platform.kernel.WLSFabricKernelInitializer.init(WLSFabricKernelInitializer.java:127)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1976)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1950)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1869)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    My composite.xml is:
    <composite name="JIPSYHandleRTOTaskEBF" revision="1.0" mode="active" state="on"
    xmlns="http://xmlns.oracle.com/sca/1.0"
    xmlns:ui="http://xmlns.oracle.com/soa/designer/"^M
    xmlns:xs="http://www.w3.org/2001/XMLSchema">^M
    <import location="GetTimeoutPeriod.wsdl" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/GetTimeoutPeriod/"/>
    <service ui:wsdlLocation="JIPSYHandleRTOTaskEBF.wsdl" name="client">
    </composite>
    But when it has been deployed, I see that this has been changed into:
    <composite name="JIPSYHandleRTOTaskEBF" revision="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <import location="GetTimeoutPeriod.wsdl" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/GetTimeoutPeriod/"/>
    <service ui:wsdlLocation="JIPSYHandleRTOTaskEBF.wsdl" name="client">
    </composite>
    (I exported this from MDS).
    Apparently, some namespaces are stripped.
    This appears to happen during the deploy (using ant), because the version in the generated jar file is already missing the namespaces.
    The BPEL processes appear to work fine though.
    Why is this happening and how can I prevent these errors?

    I've fiddled around with the file composite.xml and found the following workaround:
    If I change the start of the file to:
    <?xml version="1.0" encoding="UTF-8"?>
    <composite name="JIPSYUpdateWorkflowReqABCSImpl"
    xmlns="http://xmlns.oracle.com/sca/1.0"
    xmlns:ui="http://xmlns.oracle.com/soa/designer/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    revision="1.0"
    mode="active"
    state="on">
    it remains unchanged and the errors during deployment are gone.

  • Named Query (JOIN query) runs in Toplink JPA but not in EclipseLink

    I have a namedquery in JPA entities like (Entities do not include JOIN colums specifically.. no many-to-many or one-to-many relation in entities)
    select a from table1 a, table2 b where a.id=b.id
    This named query runs on Toplink Essentials without any problem.
    When I run this query using EclipseLink
    EclipseLink generates the query below and gives an error.
    select table1.id, table1.name, table1.surname from table1 t0, table2 t1 where t0.id=t1.id
    There are error _"*table1.surname*"_ is invalid identifier. Because; table1 is not define as an alias, must be "t0.surname".
    How can I solce this problem.
    The code runs on Toplink Essential but not in EclipseLink

    I have a namedquery in JPA entities like (Entities do not include JOIN colums specifically.. no many-to-many or one-to-many relation in entities)
    select a from table1 a, table2 b where a.id=b.id
    This named query runs on Toplink Essentials without any problem.
    When I run this query using EclipseLink
    EclipseLink generates the query below and gives an error.
    select table1.id, table1.name, table1.surname from table1 t0, table2 t1 where t0.id=t1.id
    There are error _"*table1.surname*"_ is invalid identifier. Because; table1 is not define as an alias, must be "t0.surname".
    How can I solce this problem.
    The code runs on Toplink Essential but not in EclipseLink

  • I am having trouble running videos through Safari but not Google Chrome.  All I get is a black screen.  I have the latest adobe flash update and have enabled plug ins.  any suggestions?

    I am having trouble running videos through Safari but not Google Chrome.  All I get is a black screen.  I have the latest adobe flash update and have enabled plug ins.  any suggestions?

    Open System Preferences > Flash Player then select the Advanced tab.
    Click Delete All under Browsing Data and Settings
    Not empty the Safari cache.
    From your Safari menu bar click Safari > Preferences then select the Advanced tab.
    Select:  Show Develop menu in menu bar
    Now click Develop from the menu bar. From the drop down menu click Empty Caches.
    Now try a video.

  • A javaScript code that runs fine in IE but not in other plz help

    Hello friends,
    plese help me in getting the code for Opera and Mozilla browsers. The following code runs fine in IE but not in other browsers. it show titlebar in other browsers. What to do disable titlebar in other browsers? plz help
    <html>
    <head>
    <script>
    //Frameless Banner Popup
    // Set the url of the banner popup window page
    //var theURL = "index.htm";
    var theURL = "/cgi-bin/login";
    // Set the title of the popup window
    var title = "Login"
    // Set the size of the popup window
    var windowWidth = 350; // cannot be less than 100
    var windowHeight = 350; // cannot be less than 100
    //var windowWidth = window.screen.width; // cannot be less than 100
    //var windowHeight = window.screen.height; // cannot be less than 100
    // Set the position of the popup window
    var windowX = ((window.screen.width/2) - 175);
    var windowY = ((window.screen.height/2) - 175);
    // Set true to auto-center (positions will be ignored)
    var autocenter = false;
    // Set true for popup to close when launch page does
    var autoclose = false;
    var s="width="+windowWidth+",height="+windowHeight;
    var beIE=document.all?true:false;
    var done=new Object("no");
    if(autocenter){
    windowX = (window.screen.width-windowWidth)/2;
    windowY = (window.screen.height-windowHeight)/2;
    function doAgilePopup(){
    if (beIE){
    agilePopper = window.open("","popAgile","fullscreen,"+s);
    agilePopper.blur();
    window.focus();
    agilePopper.resizeTo(windowWidth,windowHeight);
    agilePopper.moveTo(windowX,windowY);
    var frameString=""+
    "<html>"+
    "<head>"+
    "<title>"+title+"</title>"+
    "</head>"+
    "<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
    "<frame name='top' src='"+theURL+"' scrolling=no>"+
    "<frame name='bottom' src='about:blank' scrolling='no'>"+
    "</frameset>"+
    "</html>"
    agilePopper.document.open();
    agilePopper.document.write(frameString);
    agilePopper.document.close();
    }else{
    agilePopper=window.open(theURL,"popAgile","scrollbars=no,"+s);
    agilePopper.blur();
    window.focus();
    agilePopper.resizeTo(windowWidth,windowHeight);
    agilePopper.moveTo(windowX,windowY);
    agilePopper.blur();
    if (autoclose){
    window.onunload = function(){agilePopper.close();}
    done="okay";
    </script>
    </head>
    <BODY onLoad="doAgilePopup(),top.window.close()">
    </body>
    </html>

    missing semicolon in end of the variable frameString ,
    better write the string in single line thats easy to find the bugs like this.
    var frameString=""+
    "<html>"+
    "<head>"+
    "<title>"+title+"</title>"+
    "</head>"+
    "<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
    "<frame name='top' src='"+theURL+"' scrolling=no>"+
    "<frame name='bottom' src='about:blank' scrolling='no'>"+
    "</frameset>"+
    "</html>"

  • Website page displays and javascript runs correctly in IE8 but not in Firefox 3.6.10

    website page displays and javascript runs correctly in IE8 but not in Firefox 3.6.10

    Can you post a link?
    Then we can take a look.

  • I want to increase the ringer volume but not the background volume (ie texts, emails, etc)

    I want to increase the ringer volume but not the background volume (ie texts, emails, etc)

    nigelb999 wrote:
    Can anyone shed some light as to why it's not possible to adjust the ringer volume at the lock screen? Even though it's possible to adjust the volume during music playback and responses from Siri, etc.
    Cannot answer that question. That is a decision made by Apple.
    nigelb999 wrote:
    If there was a profile app available in the app store that allowed me to automatically set different volume levels at different times of the day it would be great - particularly if the app didn't require me to jailbreak the phone.
    There would not be an app like that, as they would not have access to the API. You can provide feedback to Apple if you would like to see this enhancement at http://www.apple.com/feedback and click on the appropriate link.

  • VI server application runs under debug mode but not other wise

    I have an application which uses VI server to call vi's on my targets hard drive. When I run this using the highlight execution( or debug ) this works OK, however when I run without this I get error 66, connection closed by peer. When I look at my target using a direct monitor connection I get various messages relating to memory errors. I have run virtually the same code calling a simpler application and this seems to work fine, however when I simply target the RT engine with the same code ( using the RT comms wizard construction) I don't get a problem. This should, I think, be using the same amount of memory. What is the best was of assessing the memory available against the memory required? Do anyone have a
    ny ideas as to why the VI should run with execution highlighted and not without. I have tried adding delays so simulate this but it doesn't seem to work.

    Check out this KnowledgeBase article. It describes how to enable a memory monitoring tool that might help solve your problem.

  • EBS Forms functional script runs fine in OpenScript but not from OTM

    Hi,
    I have an EBS forms functional test script which runs fine in OpenScript, but when scheduled from OTM, the web part runs fine but when it comes to forms, the script fails with the following error:
    Forms Object Not Found! XPath: //forms:window[(@name='NAVIGATOR')], Type: oracle.oats.scripting.modules.formsFT.helper.test.FormWindow, Cause: No Matches <Less>
    I have performed all the steps below already:
    1) Stopping the OATS Agent service and changing it to manual.
    2) Starting the command prompt and running the AgentManagerService command as mentioned in your forum.
    3) The console displays
    C:\>C:\OracleATS\agentmanager\bin\AgentManagerService.exe -c AgentManagerService
    .conf
    wrapper  | --> Wrapper Started as Console
    wrapper  | Launching a JVM...
    jvm 1    | Wrapper (Version 3.0.3)
    jvm 1    |
    4) I have added the test in the OTM with the following command line settings:
    -browser.type InternetExplorer -formsft.startup_timeout 30 -formsft.action_timeout 20 -formsft.response_timeout 10 -delayPercentage -1 -delayMin 0 -delayMax 5 -FormsAutomationEnabler.bat -enableForms true
    But each time the script fails, please note that my script has assets and they are placed within the script folder.
    Please help me on this at earliest.
    Thanks,
    Aarti

    Hello Aarti!
    I had the same problem and this steps help to solve the problem:
    You need to enable Forms Automation under agent. Please follow by below steps.
    1.open command prompt
    2.cd C:\OracleATS\agent
    3.FormsAutomationEnabler.bat -enableForms true
    4. Run script from OTM
    Attila

  • RFC working in foreground but not working thru webdynpro abap

    Dear all,
    I am passing certain parameters to an RFC it works thru foreground but when I pass the same parameters at the click of a submit button the RFC doesn't work. although the RFC importing parameters are getting passed successfully.
    Can anyone tell me the reason for this kind of behaviour or what needs to be done to make it work more specifically?
    Thanks and regards,
    Sonal

    I am not sure about the exact reason behind your problem, but you can try following things. I hope it will help.
    1) Set break point after RFC call, and try following things:
         i) Check if correct parameters are passed to the RFC i.e. parameters you are passing in test mode, same are also passed
            while running in WDA application
         ii) Compare the return parameters of RFC in test mode and WDA after setting break point if any
    2) use 'COMMIT WORK' after RFC call
    Regards,
    Saket.

  • Jar runs from Dos prompt, but not when double clicked.

    Hello everyone,
    My executable jar file will run fine when called from the Dos prompt like so: java -jar myJarFile.jar
    But not when I double click it. I've associated *.jar files with java.exe as suggested here on the forums but all that happens when I double click the jar file is that I get an instance of the Dos prompt that flashes up on the screen and closes immediately. Any help or suggestions would be appreciated, thank you.
    This short tutorial I found earlier may be of help to somebody.
    http://www.cs.princeton.edu/introcs/85application/jar/jar.html

    Yes Carmello, I had associated jar files via folder options in windows explorer with java.exe, now when I have the jars associated with javaw.exe as in the following:
    ACTION:
    javaw.exe -jar "%1"
    APPLICATION USED TO PERFORM ACTION:
    javaw.exe "%1"
    I get an error dialog with the title string "Java Virtual Machine Launcher" and the error message itself is "Could not find the main class. Program will exit." when I double click on the jar file. As I said in my first post the application [GUI based with around ten different forms] runs fine when called from the Dos prompt. Any idea as to what is wrong? Thanks for replying by the way.

  • MQ Series JCA Connector run in Standalone OC4J but not in OAS on Linux

    Hi all,
    My problem is my application run in a Standalone OC4J in Windows and Linux and
    in a Oracle Application Server 10.1.3 in Windows but not run in a Oracle
    Application Server 10.1.3 on Linux why ?
    When i try deploy my application in Oracle Application Server on linux the
    error is throw:MQJMS2005: failed to create MQQueueManager for
    'ms009.queue.manager'
    In Standalone container in linux and windows and in a Oracle Application Server on Windows the deploy is fine.
    I use the same configurations in all containers and only in a OAS 10.1.3 on
    linux my app not run.
    I thank any suggestions!
    Message was edited by:
    Carlos Lacerda

    The JCA Connector to MQ Series run in Oracle Application Server on Linux ??
    Standalone is OK i test but in OAS this run ??
    The only difference entire OC4J configuration used in Standalone and OAS is in opmn.xml, that it is its necessary add a <enviroment> to found the MQ Libraries. Have another difference ??
    tanks

  • Error #1503 with AIR3.4 but not AIR3.2

    I'm working on an Android/iOS app using Adobe AIR. The app appears to work normally both inside Flash Pro and real devices except for the following test:
    Do Publish Preview inside Flash Pro.
    Close the preview window.
    The error appears in the Output panel:
    Error: Error #1503: A script failed to exit after 30 seconds and was terminated.
         at [*code location is a for loop inside writeExternal() of a class saved to a Shared Object*]
    Test Movie terminated.
    This happens with AIR3.4, but not AIR3.2. It doesn't matter how soon I close the preview window. I did a lot of code checking, tracing, etc. but still can't figure out what's wrong. Any suggestions?

    Most obvious suggestion is an infinite loop due to a null variable. Check the condition for the loop to continue and that will give you an idea what is causing it.
    Though, why that would be an issue between SDKs is beyond me without seeing the code. (And possibly even then...)
    G

  • Internet running slow on mac but not PC

    The internet on my MacBook is running painfully slow both through a wired connection and through my wireless network. The problem happens when utilizing Firefox, Safari, updates and iTunes. It makes it impossible to view Youtube videos and download large software upgrades.
    I have tried speedtest.net and the download rate is reasonable, however it does not match the download rate my computer experiences. The download as shown in the dialogue box (when I try to download software updates, photos, etc.) is in the range of 3 - 6 KB/sec but speedtest shows a download speed of 10Mbps.
    Any ideas on how I should proceed?
    Thank you.

    bumping because I've been having the same issue ever since I came home from college. basically the situation is that websites load extremely slowly on my mac pro, but not on any other computer (all windows pcs) connected to the same network. I even disconnected my mac pro and plugged in my windows laptop and the connectivity was fine - which makes me think it has something to do with the settings on the mac.
    I disabled IPV6 and reboot my mac, router, and modem but to no avail. what's wrong?! has anyone found a definitive solution for this problem? it's very aggravating.

Maybe you are looking for

  • [SOLVED] xorg 1.9 Update Issue During Install

    I am in the process of installing arch and have gotten to the point where I need to install the video drivers. I decided to use the proprietary ATI catalyst drivers. I downloaded the catalyst-utils tarball and it said my xorg was outdated. Went to re

  • Error when trying to log into iTunes account.

    When I go into iTunes from my laptop to update apps that I have, it prompts me to put in my password. When I put in my password, it tells me there's an unknown error and to put it in again. When I did, it tells me that my password has be put in to ma

  • Connect to weblogic using C++

    Dear experts, How do i connect my c++ apps to the weblogic and what version do i use? The version that support JMS C API is 9.0 so isit I need to install WL v9.0 and above? THank you. :)

  • The home is not mounted using NIS on Solaris 10

    Hi, In a system with Solaris 10 - Sparc , when I do : " su - nomeuser" the home is not mounted an I obtain the message: "su: Unknown id: nomeuser" but if I do "ypcat passwd | grep nomeuser" I obtain the information about "nomeuser" . Anyone have any

  • Viewing Photo Meta Data on the IPhone

    Is there an app in the app store that will allow me to view the meta data tags for my photos? I tried to find one, but the ability to find apps based on functionality in the app store is pretty limited.