Execute mapping thro sqlplus - parameters

Dear all,
I am new to owb
I have a mapping with two input parameters(MAPPING_NAME & MODULE_NAME), if i execute from control center it is executing
i want to execute it from sqlplus
the command i am using to execute from unix prompt is
sqlplus username/password@connectstring @/opt/oracle/product/10.2.0.1-OWB
/owb/rtp/sql/sqlplus_exec_template.sql repouser mapping_location PLSQL mappingname , MAPPING_NAME=mappingname,MODULE_NAME=HRMS
Log file after execution
Stage 3: Overriding Parameters
| MAPPING_NAME%CUSTOM='mappingname'
| MODULE_NAME%CUSTOM='HRMS'
Stage 4: Executing Task
| l_audit_result=3 (FAILURE)
Stage 5: Closing Task
Stage 6: Processing Result
| exit=3
how to give the mapping parameters
Thanks in advance
S. Sathish Kumar

For string parameters In 10.2, you need to use four apostrophes on both sides.
sqlplus username/password@connectstring @/opt/oracle/product/10.2.0.1-OWB
/owb/rtp/sql/sqlplus_exec_template.sql repouser mapping_location PLSQL
mappingname MAPPING_NAME=''''mappingname'''',MODULE_NAME=''''HRMS''''

Similar Messages

  • Executing a mapping from sqlplus in OWB 904

    I have used the below syntax to execute OWB 902 mappings as below:
    sqlplus / <<*sql*
    Execute MAP_SOMETHING.MAIN();
    sql
    I deployed the same mapping with new version of OWB 904.. it did not work. What is new syntax to execute the mapping from sqlplus?

    From OWB 9.0.4 on, you must use the execution template to execute your mappings from sql. The template file, that has a brief doc section in its heading is:
    <OWB installation directory>/owb/rtp/sql/sqlplus_exec_template.sql
    Regards:
    Igor

  • ADF how can i execute a query with parameters when the page renders

    hi
    i am using ADF web 11g
    i need to execute a query with parameters when the page renders
    thanks

    hello,
    I'm a fan of Java code, I really am.
    But when you use ADF, you decided to move to a more declarative environment.
    So why not do it declarative, the adf way?
    In your pagedef insert a action binding.
    This can be anything, a call to the application module, a call on the iterator(Like executeWithparams, etc.)
    Create an invokeAction in your pagedef and set the condition.
    This example refreshes(Action 2 is execute query) the data.
    First the method binding:
        <action IterBinding="PersoonIterator" id="Execute" InstanceName="LSAppModuleDataControl.Persoon"
                DataControl="LSAppModuleDataControl" RequiresUpdateModel="true" Action="2"/>And the invoke action
        <invokeAction Binds="Execute" id="refreshData"/>This always refreshes the data on page entry, but anything is possible, you can set condictions for the invokeAction.
    -Anton
    PS Yes I know that pagedefs become backing beans in the end and yes that is Java code, but if you wanna play the ADF way, the goal is the reduction of Java code and the increased performance of declarative programming.

  • I have a scenario,  ECC-PI-Message broker. ECC sending IDOC to  PI, PI execute mapping and  sending data to Message borker.(with almost one to one mapping)., IDOC(AAE)-PI-JMS. Now my requirement is., from PI  after mapping we need to save file in SAP fold

    I have a scenario,  ECC-PI-Message broker. ECC sending IDOC to  PI, PI execute mapping and  sends data to Message borker(thru JMS channel).(with almost one to one mapping)., IDOC(AAE)-PI-JMS. Now my requirement is., from PI  after mapping we need to create file with same data what ever send to Message broker and put the file in SAP folder without touching mapping. Is it possible? Please advise with the steps. We are using the ICO for this senario. Quick response is appriciated.

    Hi Pratik,
         http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?quicklink=index&overridelayout=true
    This link might help.
    regards
    Anupam

  • Executing Procedure with default parameters !!

    hi want a small help ...
    I have a
    procedure p1(p1 in number default 2, p2 in number default 3)
    begin
    end;
    When the procedure will be called without passing parameters it will execute with default parameters.
    That time I want to dispay message saying
    " AS paramters are not passed, procedure is being executed with foll. default parameters:
    Param 1 = 2
    Param 2 = 3 "
    Now issue is how do I capture this condition that , the parameters are being passed and it is using default parameters ?
    Thanks

    The IF NOT NULL check for the parameters cannot be inside the same procedure becuase when you reach that statement, even though the parameter are not passed to this procedure, at that stage, the parameters will acquire the dfault values already assigned to them. So you never reach the else part of it.
    That;s why i said, use third parameter and assign the value to this third parameter from the calling environment.
    here is the short test case that might help you to understand better.
    SQL> create or replace procedure myproc
      2  (p1               number default 1
      3  ,p2               number default 2
      4  ,parameter_passed char default 'Y') is
      5  begin
      6    if parameter_passed = 'Y' then
      7      dbms_output.put_line('Input values are :'||p1||'='||p2);
      8    else
      9      dbms_output.put_line('Default values are :'||p1||'='||p2);
    10    end if;
    11  end;
    12  /
    Procedure created.
    SQL> PROMPT Test for Case one with input parameter values
    Test for Case one with input parameter values
    SQL>
    SQL> declare
      2   param1 number := 5;
      3   param2 number := 6;
      4  begin
      5   if param1 is not null and param2 is not null then
      6     myproc(param1,param2);
      7   else
      8     myproc(parameter_passed=>'N');
      9   end if;
    10  end;
    11  /
    Input values are :5=6                                                          
    PL/SQL procedure successfully completed.
    SQL>
    SQL> PROMPT Test for Case two with no parameter values
    Test for Case two with no parameter values
    SQL>
    SQL> declare
      2   param1 number := null;
      3   param2 number := null;
      4  begin
      5   if param1 is not null and param2 is not null then
      6     myproc(param1,param2);
      7   else
      8     myproc(parameter_passed=>'N');
      9   end if;
    10  end;
    11  /
    Default values are :1=2                                                        
    PL/SQL procedure successfully completed.
    SQL>

  • I'm trying to execute the file sqlplus /nolog @statistics.txt sapuser as per the sap note 0001020260 ihow can i find the sapuser

    i'm trying to execute the file sqlplus /nolog @statistics.txt <sapuser> as per the sap note 0001020260 ihow can i find the sapuser

    KANNAN VENKATACHALAM wrote:
    brconnect -u / -c -f stats -t all -- what it will do exactly ?
    Would you mind to read the BR*Tools documentation?
    it is located on the oracle community (same place as this forum) it is quite a big document.
    AFTER you have read it, if you have any problem understanding what that command does exactly you are welcome to ask again

  • Executing an OWB mapping from sqlplus

    Hi
    I am trying to run an OWB mapping using the OWB provided script sqlplus_exec_template.sql. Here is the syntax I use:
    @Script\sql\sqlplus_exec_template.sql OWB_RUN_OWNER CODE_LOC PLSQL MAPPING_TI "," ","
    I am able to successfully execute my task when I use the above script. However, when the account pertaining to 'CODE_LOC' is locked, the script fails and gives me an error message that the account is locked.
    Our security standards expect the CODE_LOC account to be locked. Is there a way around it ? When the mapping is executed, does the Runtime repository owner lookup the task from the Code location or attempts to connect to the account ?
    Can someone advise me on whether I can successfully execute a mapping that is deployed to a locked account ?
    Thanks

    Hi
    The only way I can think of is when the account X is locked, to have granted execute on the packages for the map to schema Y which is unlocked and execute the package MAIN procedure/function from schema Y.
    Cheers
    David

  • Unable to execute Map from Database link

    Hi
    Been trying to research this issue but have had no luck in finding an answer. Here is the situation:
    We have an apex application that resides on database "A"
    Our OWB Design Repository (11.1.0.7) and Runtime Environment both exist on database "B"
    Maps exists and execute under normal procedures as the "ETL" user on database "B", However we would like to allow the "APEX" user to execute a map from database "A" across a database link to a user that can execute the map without any issue.
    When we try to execute the map across the database link from toad or sqlplus we get no error returned, the procedure runs and kicks off a map execution (as seen in ALL_RT_AUDIT_EXECUTIONS) or from the control center executions. However the Map execution immediately fails with no explanation as to why??
    what makes even less sense is that the user on database "B" that the database link connects to.. can execute the same procedure all day long if logged directly into database "B".. but the moment you try to call it across the database link.. it errors with no message as to why.
    We are calling the "WB_WORKSPACE_MANAGEMENT.SET_WORKSPACE".. so that is not the issue.. I am assuming this is either a bug.. or we are missing an additional call/privilege. The user for the database link is a registered user in the workspace, obviously this works since the database link user can run the procedure if logged in locally to database "B"
    Any thoughts???

    Figured out our problem..
    Found RETURN_CODE column in ALL_RT_AUDIT_EXECUTIONS table.. point to -2064 which is an ora-2064
    NOTE 1026597.6 - CALLING REMOTE PACKAGE RECEIVES ORA-2064 explains that a commit is issued in a coordinated session from an RPC procedure call with OUT parameters or function call. Action: simplify remote update statement.
    The problem here is that "Commit Control" was set to Automatic for the mappings we were calling. Oracle does not like when a transaction is initiated on database "A" and has a commit issued on database "B" from the map.
    Makes sense.. we switched the commit control to "Manual" and are able to process correctly by issuing a commit from the session on database "A"
    Hope this helps anyone that runs into this issue themselves..

  • Mapping constant block parameters in simulink to a Veristand control block

    Hello,
    I am trying to take a simple model of a RL circuit in simulink (built a dll file) and add control of constant blocks in Veristand to dynamically change the value of R and L constant thru the Veristand Slider or Numerical indicator. I can see the ouput of the model executing, based on the initial values I have loaded, but I am not able to mapping these Parameters to the any numeric control. 
    Any thoughts of how to accomplish this!
    Solved!
    Go to Solution.

    Trever,
    When you add the model in the system explorer, do you have inports on the  R and L on your model in the system explorer?  If you can see them there and the connect inside the model properly, you should be able to attach these to controls in your workspace.
    Here is some information on setting up your model. http://zone.ni.com/reference/en-XX/help/372846A-01/veristand/convert_model_to_dll/
    -Marshall R
    National Instruments
    Applications Engineer
    One stop for all your NI-VISA Support
    GPIB Support has a new homepage

  • Execute mapping shows error message.

    Hi I am trying a File2File scenario and while executing a mapping I get an error. Here is the error log.
    #6 04:01:39 [AWT-EventQueue-0] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwable Thrown: MESSAGE ID: com.sap.aii.ib.server.cmpl.CompilerException com.sap.aii.ib.core.mapping.exec.ExecuteException: Cannot CreateProcess: javac @C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map8b23308093f611dd9b370019d136ec56/O1223332299687.txt @C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map8b23308093f611dd9b370019d136ec56/S1223332299796.txt error=2 at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:195) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:291) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37) at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162) Serialized server exceptions: MESSAGE ID: com.sap.aii.ib.server.cmpl.CompilerException (serialized) com.sap.aii.ib.core.mapping.exec.ExecuteException: Cannot CreateProcess: javac @C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map8b23308093f611dd9b370019d136ec56/O1223332299687.txt @C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map8b23308093f611dd9b370019d136ec56/S1223332299796.txt error=2 at com.sap.aii.ib.server.mapping.exec.ServiceUtil.compileSourceCode(ServiceUtil.java:200) at com.sap.aii.ib.server.mapping.exec.ServiceUtil.compile(ServiceUtil.java:149) at com.sap.aii.ibrep.server.mapping.ServerMapService.compileSourceCode(ServerMapService.java:360) at com.sap.aii.ibrep.server.mapping.ServerMapService.compileSourceCodeWithoutAndWithArchives(ServerMapService.java:300) at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:154) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:291) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37) at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162) MESSAGE ID: com.sap.aii.ib.server.cmpl.CompilerException (serialized) com.sap.aii.ib.server.cmpl.CompilerException: Cannot CreateProcess: javac @C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map8b23308093f611dd9b370019d136ec56/O1223332299687.txt @C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map8b23308093f611dd9b370019d136ec56/S1223332299796.txt error=2 at com.sap.aii.ib.server.cmpl.Compiler.compile(Compiler.java:205) at com.sap.aii.ib.server.mapping.exec.ServiceUtil.compileSourceCode(ServiceUtil.java:196) at com.sap.aii.ib.server.mapping.exec.ServiceUtil.compile(ServiceUtil.java:149) at com.sap.aii.ibrep.server.mapping.ServerMapService.compileSourceCode(ServerMapService.java:360) at com.sap.aii.ibrep.server.mapping.ServerMapService.compileSourceCodeWithoutAndWithArchives(ServerMapService.java:300) at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:154) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:291) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37) at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162) MESSAGE ID: com.sap.engine.compilation.CompilerProcessFailureException (serialized) com.sap.engine.compilation.CompilerProcessFailureException: Cannot CreateProcess: javac @C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map8b23308093f611dd9b370019d136ec56/O1223332299687.txt @C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map8b23308093f611dd9b370019d136ec56/S1223332299796.txt error=2 at com.sap.engine.compilation.ExternalCompiler.compile(ExternalCompiler.java:77) at com.sap.aii.ib.server.cmpl.Compiler.compile(Compiler.java:188) at com.sap.aii.ib.server.mapping.exec.ServiceUtil.compileSourceCode(ServiceUtil.java:196) at com.sap.aii.ib.server.mapping.exec.ServiceUtil.compile(ServiceUtil.java:149) at com.sap.aii.ibrep.server.mapping.ServerMapService.compileSourceCode(ServerMapService.java:360) at com.sap.aii.ibrep.server.mapping.ServerMapService.compileSourceCodeWithoutAndWithArchives(ServerMapService.java:300) at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:154) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:291) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37) at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162) #5 03:50:54 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.utilxi.swing.framework.PersistenceException: com.sap.aii.utilxi.swing.framework.PersistenceException: Object Data Type | not found (no context) at com.sap.aii.ib.gui.editor.XiDocument.load(XiDocument.java:320) at com.sap.aii.utilxi.swing.framework.cmd.OpenCommand.execute(OpenCommand.java:208) at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196) at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134) at com.sap.aii.ib.gui.link.XlcOpenAction.actionPerformed(XlcOpenAction.java:83) at com.sap.aii.ib.gui.link.XlcMouseHandler.mouseClicked(XlcMouseHandler.java:52) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) #4 03:50:54 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.utilxi.swing.framework.PersistenceException: Object Data Type | not found (no context) #3 03:42:22 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.utilxi.swing.framework.SilentCancellationException: com.sap.aii.utilxi.swing.framework.SilentCancellationException: at com.sap.aii.utilxi.swing.framework.cmd.CloseCommand.execute(CloseCommand.java:77) at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196) at com.sap.aii.utilxi.swing.framework.cmd.CloseContainerCommand.execute(CloseContainerCommand.java:35) at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196) at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134) at com.sap.aii.utilxi.swing.framework.FrameDCWrapper$FrameDCWrapperListener.uniFrameCloseTriggered(FrameDCWrapper.java:113) at com.sap.aii.utilxi.swing.toolkit.uniframe.UniFrame.fireUniFrameEvent(UniFrame.java:156) at com.sap.aii.utilxi.swing.toolkit.uniframe.UniFrame.close(UniFrame.java:64) at com.sap.aii.utilxi.swing.toolkit.uniframe.FrameAdapter$1.windowClosing(FrameAdapter.java:31) at java.awt.Window.processWindowEvent(Unknown Source) at javax.swing.JFrame.processWindowEvent(Unknown Source) at java.awt.Window.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) #2 03:42:22 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.utilxi.swing.framework.SilentCancellationException: #1 03:33:56 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "versConflList" is not registered in the service class Type Service - Type Information at com.sap.aii.ib.core.service.ServiceBase.getServiceImpl(ServiceBase.java:71) at com.sap.aii.ib.bom.gen.TypeServiceImpl.getTypeInformation(TypeServiceImpl.java:82) at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.getTypeInfo(InternalXiItemService.java:23) at com.sap.aii.ib.gui.xiitem.services.InternalXiItemServiceBase.(InternalXiItemServiceBase.java:44) at com.sap.aii.ib.gui.xiitem.CommonInternalXiItemService$ForVersionConflictList.(CommonInternalXiItemService.java:323) at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.guiStartup(StartupCodeEntry.java:141) at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:104) at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33) at com.sap.aii.ibrep.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:68) at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33) at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116) at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:374) at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:201) at com.sap.aii.ib.gui.login.SplashLoginFrame$6.run(SplashLoginFrame.java:429) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) #0 03:33:56 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "versConflList" is not registered in the service class Type Service - Type Information
    I am a beginner to XI. Could someone help me out in this issue.
    cheers,
    Chandra.

    both the sender and receiver message types have the same element types and no udf/standard functions are used for mapping.
    source message type contains:
    empid - integer
    empname -string
    empsal- float
    emploc- string
    target
    eid - integer
    ename -string
    esal - float
    eloc -string.
    n all the fields are mapped in the same order.

  • Execute javascript with input parameters of a taskflow

    Using JDev 11g PS4
    I have a taskflow that uses some javascript. When the taskflow has been loaded, I need to execute a javascript function that uses 2 input parameters of my taskflow.
    I don't really know how I can execute the javascript with my input parameters.
    As a test, I have added a commandButton in my taskflow that will do the job:
    <af:commandButton id="btnRefresh" text="Open">
                <af:clientAttribute name="long" value="#{pageFlowScope.pLong}"/>
                <af:clientAttribute name="lat" value="#{pageFlowScope.pLat}"/>
                <af:clientListener method="doNavigate" type="click"/>
            </af:commandButton>How do I do the same when the taskflow loads instead of needing to push the button.

    Please find attached sample based on your use-case:
    http://adfsampleapplications.googlecode.com/svn/trunk/JavascriptOnLoadSample.rar
    It invokes a javascript function on pagefragment load by passing the input parameters from the taskflow.
    Thanks,
    Navaneeth

  • Tablix Data mapping based on parameters selected.

    I ahve a report that is for variable based on the parameters selected. Parameter 1 is TableName, it lets the user select the table from the database that they would like to see the clolumns for. From there the second parameter is the Column names from the
    table that was selected. I can get the headers to show based on the selection but not the actual data.
    I've got this query that i created in SQL that works if input the parameters but i cannot figure out how to tie in the data to the report tablix.
    DECLARE @Column_Name VARCHAR(500)
    DECLARE @Table_Name VARCHAR(100)
    DECLARE @sql_str VARCHAR(500)
    SET @Column_Name = 'Id,Sort,Brand'
    SET @Table_Name = 'Item'
    SET @sql_str = 'Select ' + @Column_Name + ' FROM ' + @Table_Name
    --SELECT @sql_str
    EXECUTE (@sql_str)

    but i cannot figure out how to tie in the data to the report tablix.
    You can not dynamically assign the column to a text box (tablix). The best way is to modify your SQL to return the result with a fix column alias, then you can assign ths column to the Report control =>
    SET @sql_str = 'Select ' + @Column_Name + ' AS [ReportColumn] FROM ' + @Table_Name
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Executing procedures with OUT parameters using Named notation

    I have a procedure with two out parameters (p_errortext and p_returncode) and i want to execute this proc in SQL*plus using named notation(using association operator ' => '). For position based execution i usually declare variables to hold the OUT parameter's value. But how can i do this while executing using named notation (using => )
    begin
         packagename.generate_ref_record(p_userid  => 'THELMA',
                                      p_ref_code       => '9A',
                                      p_item_id    => '9990000011163',
                                      p_shipno     => '0PH',
                                      p_errortext  =>  ??
                                      p_returncode =>  ??);
    end;

    SQL>variable x varchar2(30);
    SQL>variable y varchar2(30);
    SQL>exec packagename.generate_ref_record(p_userid  => 'THELMA',     
                                          p_ref_code       => '9A',       
                                          p_item_id    => '9990000011163',     
                                          p_shipno     => '0PH',     
                                          p_errortext  =>  :x        
                                          p_returncode =>  :y);

  • Unable to execute map in SQL

    Hi,
    I have a map which conditionally inserts data tables. The map works fine if I execute using from OWB UI. It inserts data as expected.
    The same map if executed from PL/SQL it doesn't execute.
    Status from PL/SQL...
    declare
    v varchar2(1000);
    begin
    map_abc.main(v,123);
    end;
    Audit run id = 270625
    Return result = OK
    Execution status = COMPLETE
    No. task errors = 0
    No. task warnings = 0
    No. errors = 0
    No. selected = 0
    No. inserted = 0
    No. updated = 0
    No. deleted = 0
    No. discarded= 0
    No. merged = 0
    No. corrected= 0
    select mr.execution_audit_id,
    mr.map_name "Map Name"
    , to_char(r.start_time,'DD-MON hh24:mi') "Exec Date"
    , to_char(trunc(r.elapse_time/60))
    || 'm '
    || to_char(r.elapse_time - 60 * trunc(r.elapse_time/60))
    || 's' "Exec Time"
    , nvl(r.number_records_merged,0)+nvl(r.number_records_inserted,0)+nvl(r.number_records_updated,0) "No Records"
    from all_rt_audit_map_runs mr
    , all_rt_audit_step_runs r
    , all_rt_audit_step_run_targets t
    where execution_audit_id = 270625
    and mr.map_run_id = r.map_run_id
    and mr.map_run_id = t.map_run_id
    and r.step_id = t.step_id
    and r.run_status = 'COMPLETE'
    order by r.start_time DESC;
    No Rows found
    ---- Status from OWB
    Returns Audit id 270634.
    Audit ID MapName Exec Date Time Rows
    270634     "MAP_ABC"     16-JUL 13:53     0m 0s     1
    270634     "MAP_ABC"     16-JUL 13:53     0m 0s     0
    270634     "MAP_ABC"     16-JUL 13:53     0m 0s     0
    270634     "MAP_ABC"     16-JUL 13:53     0m 0s     2
    Any Ideas/thoughts
    -DvvB
    Edited by: user512679 on Jul 17, 2009 9:56 AM

    It only happens when any previous execution of the map in SQL fails then all the subsequent map executions completes 'OK' without processing any rows and without logging any audit information.
    Execute the map in New SQL session to have successful execution.
    -DvvB

  • OWB execute mapping error

    I am getting the following error in OWB when I try to execute the mapping.
    “RTC-5006: an error occurred during execution. The exception was oracle.wh.service.sdk.runtime.queryException: null
    <Map_Name> has not been deployed.”
    I have deployed the mappings and process flow and the deploy status is "success"
    This was working fine until I purged the deployment data through repository browser yesterday
    We are using OWB repository 10.2.0.1.0 and OWB client 10.2.0.1.31. The Oracle version is 10 G (10.2.0.3.0). OWB is installed on Redhat Linux.

    Somehow my 'REP_OWNER' got completely corrupted. I used following steps to resolve the issue.
    1. Create a new repository called REP_OWNER2.
    2. Delete an old repository (REP_OWNER) using ‘Repository_Assistant’ which also deletes the related roles pointing to REP_OWNER from each target schema (ex: STAGE, EDW, DM).
    3. Manually delete all synonyms and WB_RT_VERSION_FLAG table from each target schema pointing to REP_OWNER.
    4. Register all the target users from the Design Center.
    5. First, import all the locations into the new repository (REP_OWNER2) from a backup .MDL file and register all of them. Then import rest of the stuff like database modules, file modules, process flows, pluggable mappings.
    6. Configure all the database and process flow modules to their proper locations.
    7. Deploy and execute.
    Thanks
    Bo

Maybe you are looking for