Process Composer - Mapping from a unbounded node

Hello
I´m following the documentation Workflow Pattern Coverage in SAP NetWeaver BPM 7.11 (http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/8026f177-f32f-2c10-b7b0-9cc31d92984d) to create a Process Composer with a "While" Loop.
According to page 23, I should use 2 variables to call my tasks: the "Batch" and the "Index". According to the document, I should "extract next line item from batch and increment the index". Incrementing the index its easy, I can make a simple data mapping. The problem is that I dont know how to extract a line from batch to call my task with this line.
I have the following source structure:
Node (0...n)
   myString (string)
the target is strucutre:
inString (string)
I already tried many expressions but all are invalid:
Batch/Node[1]/myString
Batch/Node/myString
Batch/Node(1)/myString
How can I map that ?
Thanks ?

Hi Kirill
There is some basic information available at SDN:
http://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/cea1b4d8-0701-0010-1b89-b4542c524281 [original link is broken]
Hope this helps for the moment.
Best regards,
Martin

Similar Messages

  • Calling process flow / mapping from comand line on client machine?

    Looking to call a process flow / mapping from a commad line on the client machine. Online research has found some attempts at it, but nothing solid. I'd like to test this functionality so that I can eventually build these calls into a wrapper used by an enterprise scheduler.
    Thanks

    what oleg2 is writins is oke but I think
    it is easier to write you one wrap around this sql-call, because then you have to parse some parameters and do other additional stuff
    PROCEDURE "P_EXECUTE_WORKFLOW"("P_WORKSPACE" IN VARCHAR2, "P_LOCATION_NAME" IN VARCHAR2, "P_WORKFLOW_NAME" IN VARCHAR2, "P_CUSTOM_PARAMS" IN VARCHAR2 DEFAULT '","', "P_SYSTEM_PARAMS" IN VARCHAR2 DEFAULT '","') ;

  • Function to call Process-flows/mapping from SQL

    Hi All,
    Can any one of you send me the function to call process-flows/mappings (eg: I have 10 mapping/Process-flows). It is an urgent requirement pending in my final testing.
    Plz help me in this regard.
    Regards

    Hi
    All information that you need, you can find in $ORACLE_HOME/owb/rtp/sql/. BAsically all executions in owb is called through wb_rt_api_exec package.
    for example:
    declare
         variable exec_return_code number;
         procesflow varchar2(255);
    plsqlname varchar2(255);
    begin
    -- Initialize Return Code
    exec_return_code := owbrt_sys.wb_rt_api_exec.RESULT_FAILURE;
    -- Run Task
    procesflow:='WF_X1';
    plsqlname:='MP_X1'
    exec_return_code := owbrt_sys.wb_rt_api_exec.run_task('OWF_LCTN','PROCESS',procesflow, ' ' );
    if exec_return_code = 1 then
    exec_return_code := owbrt_sys.wb_rt_api_exec.run_task('STAGE_LCTN','PLSQL',plsqlname, ' ' );
    end if;
    end;
    Regards

  • Process Composer Mapping Problem

    Hi, BPM experts.
    I'm trying to make Process of Purchase Order,
    but, Error occurs at Input Mapping.
    i suppose cause is xsd type.
    target item is "timeZoneCode". xsd type is token.
    please tell me how to set value to timeZoneCode ?
    or,please tell me how to investigate the mapping error
    best regards.
    Yuki

    Hi Arafat
    Thank you for your answer.
    I want to set fixed value to timeZoneCode.
    could you tell me how to write code in [fx].
    now I have written "1".
    Built Error is below
    ==========================================
    Error: Exception during constraint check of processes. Check Your model for problems.
    Error: Constraint validation found errors
    at com.sap.tc.glx.BpemTask.constraintCheck(BpemTask.java:352)
    at com.sap.tc.glx.BpemTask.execute(BpemTask.java:135)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:114)
    at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:57)
    at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)
    at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)
    at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
    at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:403)
    at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:149)
    at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:87)
    at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)
    at com.sap.tc.devconf.internal.DCProxyMake.make(DCProxyMake.java:301)
    at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:1339)
    at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:3637)
    at com.sap.ide.dii05.lib.internal.commands.dc.BuildJob.build(BuildJob.java:376)
    at com.sap.ide.dii05.lib.internal.commands.dc.BuildJob.doInWorkerThread(BuildJob.java:190)
    at com.sap.ide.dii05.util.api.job.JdiJob$1.doInWorkerThread(JdiJob.java:77)
    at com.sap.ide.dii05.util.internal.job.InternalJdiJob$3$1.run(InternalJdiJob.java:198)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1779)
    at com.sap.ide.dii05.util.internal.job.InternalJdiJob$3.run(InternalJdiJob.java:207)
    at com.sap.ide.dii05.util.internal.job.BusyBackgroundIndicator.showWhile(BusyBackgroundIndicator.java:74)
    at com.sap.ide.dii05.util.internal.job.InternalJdiJob.internalRun(InternalJdiJob.java:188)
    at com.sap.ide.dii05.util.internal.job.InternalDiiJob.runInternal(InternalDiiJob.java:305)
    at com.sap.ide.dii05.util.internal.job.InternalDiiJob.runR(InternalDiiJob.java:203)
    at com.sap.ide.dii05.util.internal.job.InternalDiiJob.run(InternalDiiJob.java:191)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Error: C:\NWDS\NWDS7.1ehp1.jdi\LocalDevelopment\t2\D9446D8B0B8D4F408D184E617FC71282\default\logs\build.xml:125: Constraint validation found errors
    at com.sap.tc.glx.BpemTask.execute(BpemTask.java:142)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:114)
    at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:57)
    at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)
    at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)
    at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
    at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:403)
    at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:149)
    at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:87)
    at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)
    at com.sap.tc.devconf.internal.DCProxyMake.make(DCProxyMake.java:301)
    at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:1339)
    at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:3637)
    at com.sap.ide.dii05.lib.internal.commands.dc.BuildJob.build(BuildJob.java:376)
    at com.sap.ide.dii05.lib.internal.commands.dc.BuildJob.doInWorkerThread(BuildJob.java:190)
    at com.sap.ide.dii05.util.api.job.JdiJob$1.doInWorkerThread(JdiJob.java:77)
    at com.sap.ide.dii05.util.internal.job.InternalJdiJob$3$1.run(InternalJdiJob.java:198)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1779)
    at com.sap.ide.dii05.util.internal.job.InternalJdiJob$3.run(InternalJdiJob.java:207)
    at com.sap.ide.dii05.util.internal.job.BusyBackgroundIndicator.showWhile(BusyBackgroundIndicator.java:74)
    at com.sap.ide.dii05.util.internal.job.InternalJdiJob.internalRun(InternalJdiJob.java:188)
    at com.sap.ide.dii05.util.internal.job.InternalDiiJob.runInternal(InternalDiiJob.java:305)
    at com.sap.ide.dii05.util.internal.job.InternalDiiJob.runR(InternalDiiJob.java:203)
    at com.sap.ide.dii05.util.internal.job.InternalDiiJob.run(InternalDiiJob.java:191)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Caused by: Constraint validation found errors
    at com.sap.tc.glx.BpemTask.constraintCheck(BpemTask.java:352)
    at com.sap.tc.glx.BpemTask.execute(BpemTask.java:135)
    ========================================================
    Best regards,
    Yuuki
    Edited by: Yuki Fujioka on Aug 25, 2009 6:50 AM
    Edited by: Yuki Fujioka on Aug 25, 2009 6:52 AM
    Edited by: Yuki Fujioka on Aug 25, 2009 6:52 AM
    Edited by: Yuki Fujioka on Aug 25, 2009 6:53 AM

  • Process Composer - node mapping

    Hello,
    I have a table (ie ID, Name) in my first Web Dynpro application, and i want to pass it to another Web Dynpro application using Process Composer. Everything works fine, when there is only one record (row) in table, but when i add another, click submitt button, error in my log file appears, and process is not delegated to second Web Dynpro application.
    I created mapping in xsd, mapped output from 1st application to process context, and input of 2nd application to that context.
    Error in log looks like that:
    #2.0 #2009 01 28 16:41:13:015#+0100#Error#com.sap.engine.session.data.share.HashtableFactory#
    #BC-JAS-COR-SES#kernel.sda#02004C4F4F50C2B00000000000000BE0#21434350000000004#sap.com/tckmcbc.uwl.ui~wd_ui#com.sap.engine.session.data.share.HashtableFactory#userA#41575##5FF4B600ED3711DD850A02004C4F4F50#12abe7e0ed5211ddc4ad02004c4f4f50#12abe7e0ed5211ddc4ad02004c4f4f50#0#Thread[HTTP Worker [@5716384],5,Dedicated_Application_Thread]#Plain##
    There is no hashtable registered for java.lang.String class. Maybe there is a classloader problem.#
    It seems like i'm trying to map list from 1st application to string into 2nd application or data structure in process context.
    Can anyone please tell me how i'm supposed to map one node (table) from one application to another? Is there any pdf/ebook  file about advanced building a composite business process (excpecially how to create xsd file) ?
    thanks in advance,
    Lukas

    Hello,
    When I map node from context of 1st application do the node of the 2nd application and check the expression editor for certain attribute of the node there is an error message like:
    "xsd:String excepceted ... Found list of String".
    In my both web dynpro applications nodes have cardinality 0..n
    Do you think there is a problem in my xsd file ?
    I also tried to map both nodes directly from one application context to another (not using process context) but i still get this error. Can anyone please help me with this issue.
    Here is part of my xsd source file, where i'm trying to create data strucute for process context, to map my node from application (node in my application has only one attribute String):
        <complexType name="myNode">
             <sequence>
                  <element ref="tns:myAttribute" />
             </sequence>
        </complexType>
       <complexType name="InvestmentApprovalProcess">
             <sequence>
                  <element name="myNode" type="tns:myNode"/>
             </sequence>
        </complexType>
    <element name="myAttribute" type="string"/>
    Thanks,
    Lukasz

  • Invoking a mapping from another DB in a process flow

    Hi experts, have anyone try to invoke/execute an OWB mapping from another database in a process flow? Is it possible to do that?
    My process flow (in the Staging db) scenario is to execute several OWB mapping in the Staging db, then the final step is to execute an OWB mapping which is created in the warehouse db.
    Is that possible?
    Edited by: wwardana on Apr 5, 2009 9:09 PM

    Look at this thread
    [Calling WB_RT_API_EXEC.RUN_TASK over database link|http://forums.oracle.com/forums/thread.jspa?threadID=775938]
    Regards,
    Oleg

  • Mapping from context to VC

    Hi everybody, I´m working in a mapping excercise where I want to map a data object in my context that has three header fields and one table to a Visual Composer view, I have no problems with the header fields because they are typed as xsd:string, the problem comes with the complex field (table) called Positions, for sure the 'Positions' type is not the same for the VC model and it never be, so my question is how do you make an input mapping from a complex field in the context to a VC,...
    As you can see here is my mapping :
    If I delete the 'Positions' mapping the build is ok, but when I map the 'Positions' field the build failed with the following message :
    Ant build finished with ERRORS
    com.sap.glx.paradigmInterface.bpmn.compiler.BPMNCompilerException: Mapping compilation failed!
    [ERROR] Incompatible expression type.
    Expected:Form.WS_Data_Object.Positions
    Found:PositionType
    Build stopped due to an error: com.sap.glx.paradigmInterface.bpmn.compiler.BPMNCompilerException: Mapping compilation failed!
    [ERROR] Incompatible expression type.
    Expected:Form.WS_Data_Object.Positions
    Found:PositionType
    MOIN forced shutdown initiated.
    It says clairly that expect a Form.WS_DATA_Object.Positions (VC) and found a 'PositionType' from my context.
    Do I need to cast every mapping !? How do you achieve that both types are the same !?
    Any help will be appreciated.

    I already change my WSDL (start message) to the Visual Composer start node type, and with that change I´m able to map:
    start message -> process context -> VC,
    all these objects have the VC types, so the question is....
    do I really need to create the VC data and then set my wsdl and process context DO with those types !?
    I was thinking in create a wsdl in my trigger then store the input values to a DO object of the same type and then mapping only the required displayed fields to the VC... but If I can´t modify the VC types to meet the context types all this is pointless and I need to recreate all my context into the VC isn´t !?
    Any comment will be appreciated. !
    thanks !

  • BizTalk Mapper - Looping multiple nodes to map to a single node in a single row (flat file)

    Hi everybody,
    I'm still new in developing BizTalk app and require some help in this one problem. Appreciate your time and input to help me on this.
    Basically I have an XML document as input and a flat file as output. Example for input is as per below. The "Contact" node's maxOccurs here is set to unbounded and could be multiple. (phone, fax, website, telex ...)
    <root>
    <CustomerName>Company A</CustomerName>
    <Contact>
    <Type>Phone</Type>
    <Locator>03566789</Locator>
    <Type>Phone</Type>
    <Locator>03566790</Locator>
    <Type>Fax</Type>
    <Locator>03566795</Locator>
    <Type>Telex</Type>
    <Locator>03566798</Locator>
    <Type>Website</Type>
    <Locator>www.companyA.com</Locator>
    </Contact>
    </root>
    The expected output in XML would look like below. The final outcome would be a csv file. Strictly Phone 1, phone 2, fax and telex, the rest would be ignored.
    <root>
    <CustomerName>Company A</CustomerName>
    <Phone1>03566789</Phone1>
    <Phone2>03566790</Phone2>
    <Fax>03566795</Fax>
    <Telex>03566798</Telex>
    </root>
    Example of expected output result (csv file): CompanyName;Phone1;Phone2;Fax;Telex;
    In our case here: Company A;03566789;03566790;03566795;03566798;
    Another example could be: Company B;036778911;;036778912;; if only 1 phone number and 1 fax number provided.
    I've used Table Looping and Table Extractor and nearly got the desired result except that it is represented in multiple rows instead of one: Example:
    Company A;03566789;;;
    Company A;;03566790;;;
    Company A;;;03566795;;
    Company A;;;;03566798;
    Any idea how to do the mapping? I'm kind of stuck here and it sounds like an easy problem but i could not find any example to the solution that I need here. Table looping and table extractor is ok to map from single node flat file to multiple nodes but not
    the reverse like in this example.
    rgds,
    sportivo

    Hi,
    Please refer to below links where similar issue has been answered.
    http://social.msdn.microsoft.com/Forums/en-US/biztalkgeneral/thread/ecdff241-6795-4a95-bad7-48fca4410dfb
    http://www.epinaki.com/2011/05/other-options-to-using-biztalk-table-looping-functoid-par-i/
    I hope this helps you.
    Thanks With Regards,
    Shailesh Kawade
    MCTS BizTalk Server
    Please Mark This As Answer If This Helps You.
    http://shaileshbiztalk.blogspot.com/

  • Mapping question - concat two nodes

    hi all,
    i need to map a node with many occurrencies to a node with only one ocurrency, and i need to concat all the values from the source node into the target node.
    example:
    <delivery> 1..unbounded      -->       <data> 0..1
    <delivery> "this is "
    <delivery> "an example"
    result
    <data> "this is an example"
    does anybody know how can i solve this qestion?
    thanks in advanced.
    regards, Fabian

    Hi,
    Go for UDF...
    pass the source data as queue input to the UDF(i.e array)..in that udf loop over the source input and do concat inside the loop and pass the final result to the target element...
    string target = "";
    for(int i =0 ;i<input.length;i++)
    target = target + input<i>;
    if there are multiple contexts in this then need to handle the same
    HTH
    Rajesh

  • Process composer application does not runing activities

    Hello all,
    I have installed SAP NW CE with EHP1 on Windows server java stack.
    I have made a project using process composer in SAP Developer Studio. Once I built it and deploy it, still it does not show me activities in the SAP portal UWL even it is configured and shows connection to backend system successful. I think there is a problem in my BPM  application which I tried to bebug after making break points. But in debug environment process does have further activities to follow, it has disabled options of
    - step into
    - step over
    - step return
    - resume
    I guess process is runing but not activities are available in this process on run time.
    Does any one has an idea what to do??
    Secondly, I also check the deployed process and tasks from NWA environment. It has no in run time.
    Regards,
    Naeem

    An error occurred while executing transition START_TASKFLOW_Enter_Request(Token_0_Purchase_Request_Process_ba0d53a87f86bc9df82b137aab2b3d8e(Instance_0_Purchase_Request_Process_ba0d53a87f86bc9df82b137aab2b3d8e(null,null,null,false),2), Instance_0_Purchase_Request_Process_ba0d53a87f86bc9df82b137aab2b3d8e(null,null,null,false), View_2_Requester_ExcludedOwners_ba0d53a87f86bc9df82b137aab2b3d8e(Instance_0_Purchase_Request_Process_ba0d53a87f86bc9df82b137aab2b3d8e(null,null,null,false),Scope_5_Purchae_Request_Approval_ba0d53a87f86bc9df82b137aab2b3d8e(Instance_0_Purchase_Request_Process_ba0d53a87f86bc9df82b137aab2b3d8e(null,null,null,false)),0,false)): com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:538)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:174)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)
    at com.sap.glx.core.kernel.execution.LeaderWorkerPool$Follower.run(LeaderWorkerPool.java:120)
    at com.sap.glx.core.resource.impl.common.WorkWrapper.run(WorkWrapper.java:58)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator$1.run(ServiceUserManager.java:116)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:337)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator.run(ServiceUserManager.java:114)
    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:169)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:266)
    Caused by: com.sap.glx.core.kernel.api.KernelException: javax.ejb.EJBTransactionRolledbackException: (Failed in component: sap.com/tcbpemtmear, BC-BMT-BPM-DSK) Exception raised from invocation of public com.sap.bpem.tm.ITaskInstance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean.createTaskInstance(com.sap.bpem.tm.adapter.TaskInstanceTO) method on bean instance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean@15995c6 for bean sap.com/tcbpemtmearannotation|bpemtmejb.jarannotation|GalaxyTaskProviderBean in application sap.com/tcbpemtmear.; nested exception is: java.lang.IllegalArgumentException: language is not specified; nested exception is: javax.ejb.EJBException: (Failed in component: sap.com/tcbpemtmear, BC-BMT-BPM-DSK) Exception raised from invocation of public com.sap.bpem.tm.ITaskInstance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean.createTaskInstance(com.sap.bpem.tm.adapter.TaskInstanceTO) method on bean instance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean@15995c6 for bean sap.com/tcbpemtmear*annotation|bpemtmejb.jar*annotation|GalaxyTaskProviderBean in application sap.com/tcbpemtmear.; nested exception is: java.lang.IllegalArgumentException: language is not specified
    at com.sap.glx.core.kernel.mmtx.PrimaryTransaction.inPrepare(PrimaryTransaction.java:150)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:172)
    ... 11 more
    Caused by: javax.ejb.EJBTransactionRolledbackException: (Failed in component: sap.com/tcbpemtmear, BC-BMT-BPM-DSK) Exception raised from invocation of public com.sap.bpem.tm.ITaskInstance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean.createTaskInstance(com.sap.bpem.tm.adapter.TaskInstanceTO) method on bean instance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean@15995c6 for bean sap.com/tcbpemtmearannotation|bpemtmejb.jarannotation|GalaxyTaskProviderBean in application sap.com/tcbpemtmear.; nested exception is: java.lang.IllegalArgumentException: language is not specified; nested exception is: javax.ejb.EJBException: (Failed in component: sap.com/tcbpemtmear, BC-BMT-BPM-DSK) Exception raised from invocation of public com.sap.bpem.tm.ITaskInstance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean.createTaskInstance(com.sap.bpem.tm.adapter.TaskInstanceTO) method on bean instance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean@15995c6 for bean sap.com/tcbpemtmear*annotation|bpemtmejb.jar*annotation|GalaxyTaskProviderBean in application sap.com/tcbpemtmear.; nested exception is: java.lang.IllegalArgumentException: language is not specified
    at com.sap.engine.services.ejb3.runtime.impl.TransactionAttributeHandler$Required.error(TransactionAttributeHandler.java:307)
    at com.sap.engine.services.ejb3.runtime.impl.TransactionAttributeHandler$TransactionAttributeErrorsHandler.error(TransactionAttributeHandler.java:130)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:40)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
    at $Proxy215.createTaskInstance(Unknown Source)
    at com.sap.bpem.tm.adapter.invocation.CreateTaskManagmentObject.persist(CreateTaskManagmentObject.java:144)
    at com.sap.glx.core.kernel.mmtx.PrimaryTransaction.inPrepare(PrimaryTransaction.java:145)
    ... 12 more
    Caused by: javax.ejb.EJBException: (Failed in component: sap.com/tcbpemtmear, BC-BMT-BPM-DSK) Exception raised from invocation of public com.sap.bpem.tm.ITaskInstance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean.createTaskInstance(com.sap.bpem.tm.adapter.TaskInstanceTO) method on bean instance com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean@15995c6 for bean sap.com/tcbpemtmearannotation|bpemtmejb.jarannotation|GalaxyTaskProviderBean in application sap.com/tcbpemtm~ear.; nested exception is: java.lang.IllegalArgumentException: language is not specified
    at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:83)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
    ... 26 more
    Caused by: java.lang.IllegalArgumentException: language is not specified
    at com.sap.glx.handler.text.TextManager.createLocaleFallback(TextManager.java:341)
    at com.sap.glx.handler.text.TextManager.getTexts(TextManager.java:149)
    at com.sap.glx.handler.text.TextManager.initializeTextCache(TextManager.java:299)
    at com.sap.bpem.tm.impl.TaskManagerImpl.createTaskInstance(TaskManagerImpl.java:139)
    at com.sap.bpem.tm.adapter.impl.GalaxyTaskProviderBean.createTaskInstance(GalaxyTaskProviderBean.java:40)
    at sun.reflect.GeneratedMethodAccessor302.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
    ... 32 more
    Date: 2009-07-24
    Time: 15:36:48:244
    Category: com.sap.glx.core.kernel.execution.LeaderWorkerPool
    Location: com.sap.glx.core.kernel.execution.LeaderWorkerPool.Follower.run()
    Application: 
    Thread: Galaxy 1623 / Follower Worker
    Data Source: j2ee\cluster\server0\log\defaultTrace_00.trc
    Arguments: 
    DSR Transaction: 4ac2f1f8778111de843f0023ae89a55e
    Message Code: 
    Session: 0
    Transaction: 
    User: SAP_BPM_Service
    Time Zone: +0200
    CSN Component: BC-BMT-BPM-SRV
    DC Component: com.sap.glx.core.svc
    Correlation ID: 3835450000000874
    DSR Root Context ID: 4AC2F1F8778111DE843F0023AE89A55E
    DSR Connection: 4ac2f1f8778111de843f0023ae89a55e
    DSR Counter: 0
    Log ID: 0023AE89A55E0E4A0000000100000AB4
    Host: MGSP49I
    System: CE1
    Instance: J00
    Node: server0

  • Error while Deploying Composite using Process Composer

    We are using 11g and have a BPM project which has been successfully deployed using BPM Studio. We have now published the same project to the MDS and using Process composer, we try to deploy the same composite with a different version to the BPM run time. Validation is successful but encountering deployment error.
    "Deployment Failed : Error occured during deployment of composite: <humantaskname> to service engine:implementation workflow for composite:<compositename>. ORABPEL - 30124."
    Can anyone suggest what could be wrong here.

    You may have deployed QuoteProcessLab from JDeveloper before while you had followed the instructions in the previous chapter.
    You should publish its template only for Composer.
    Log onto EM console and unploy it.
    Then, do publish on Composer and it will work.
    That's how I made it.
    Edited by: user6152942 on Dec 19, 2011 1:48 PM

  • Calling a bounded task flow from  an unbounded task flow

    How can I navigate from an unbounded task flow to a bounded task flow....
    My situation is as follows:
    In the adfc-config.xml, I have a view activity ADMhome, Wildcard as well as a task-flow-call, admTaskFlow.  A control flow goes from the wildcard to ADMhome while another control flow goes from the wildcard to task-flow-call.
    I have a bounded task-flow "adm-task-flow" with two view actitivies: AdmListView and AdmPageView with AdmListView as the default activity. A Control flow goes from the AdmListView to AdmPageView, all pointing the page fragments
    I created another page ADMregion which is a  (jsf) where I dragged the adm-task-flow onto.
    When I ran the application, the home page displayed properly but when I clicked on a command button to invoke the "adm-task-flow", the application will not responded.
    When I looked at the log message, It gave this message:
    <TaskFlowCallXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <TaskFlowCallXmlImpl> <parse> ADFc: Failed to parse element 'task-flow-reference'.
    <ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-config.xml:
    <ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['task-flow-call', ' admTaskFlow '].

    Thanks for this clarifications...
    I created a view activity in the adfc-config-xml and called the page (ADMregion) where the task flow was embedded. It worked well..
    Another clarification I want is this, when do I use a task flow call to call a task flow?  My thinking and my understanding was that when you create a task flow, you use a task flow call to invoke the task flow.
    Pls another aspect I want you to guide me is on calling a java class from jsf and jsff pages. Being new in these technologies, I have having some difficulties navigating and putting all of them together. My problem is this:
    I created a java class under the view package of Application Sources in the View Controller of my Application. The java class returns a value. I designed a jsff form with input fields and and command buttons. I want when I clicked on a command button to take a parameter from the input field and pass it to the java class, the after processing, the java class returns a value which I will place inside one of the input fields in my jsff form.

  • Advanced mapping from IDOC to SOAP with reversed 3 level context change

    Hi everyone.
    I am having a though time mapping the HRMD_A01 IDOC into a SOAP message. The reason is that the reciever expects an xml structure where the root node is cost center instead of employee which is the case in the IDOC.
    Mapping from:
    IDOC (1..1)
       E1PLOGI (1..unb)
         SEGMENT (String)
         OBJID (String)
         E1PITYP (1..unb)
           E1P0001 (1..unb)
             SEGMENT (String)
             KOSTL (String)
    To this structure:
    List (1..1)
      CostCenters (1..unb)
        KOSTL (String)   ----> Mapped against KOSTL above
        Employees (1..unb)
          OBJID (String)   ----> Mapped against OBJID above  
    I expect several occurances of E1PLOGI which states multiple employees sent in the IDOC. I also expect several occurences of E1P0001 containing cost centers.
    My conclusion is that I need an advanced mapping and I have created one which collects all KOSTL for the IDOC context, deletes duplicates, and creates the CostCenters segment. This is now working. But my problem is that I can't create the employees segment in the right place. They are only created once under the first CostCenters node.
    Here's the java-code for mapping between KOSTL and CostCenters/KOSTL:
    public void costCenters(String[] var1, ResultList result, Container container) throws StreamTransformationException{
      Set set = new HashSet(Arrays.asList(var1));
      String[] array2 = (String[])(set.toArray(new String[set.size()]));
      Arrays.sort(array2);
      for (int i = 0; i < array2.length; i++) {
        result.addValue(array2<i>);
    Any ideas on how to proceed?
    Best Regards

    Hi,
      Do the mapping like below.
      UDF should be select as context.
    List (1..1)
      CostCenters (1..unb)
        KOSTL (String)   ----> Mapped against KOSTL above
        Employees (1..unb)
          OBJID (String)   ----> Mapped against OBJID above
    Mapping:
    KOSTL(RightSelectChange the context to E1PITYP)--UDF--Removecontext--CostCenters
    KOSTL(RightSelectChange the context to E1PITYP)--UDF--SplitbyValue(Each Value)--KOSTL
    constant---Employees
    OBJID----------------------------------------------Use One As Many---SplitByValue (EachValue)----------OBJID
    KOSTL(RightSelectChange the context to E1PITYP)--UDF---
    KOSTL(RightSelectChange the context to E1PITYP)--UDF---
    Regards,
    Prakasu.M
    Edited by: prakasu on May 20, 2009 3:28 PM

  • Consuming a standard web service in process composer

    Hi,
    I want to consume a web service for ex: create purchase requisition available on es workplace from process composer. I have tried to use logical destination created from nwa->SOA Management -> Destination Template Management and provided the WSDL and ABAP system details including the login credentials for user authentication. But this is not working. Can someone help me out with this?
    Thanks,
    Pooja

    1) create a new service interface in process composer by importing the WSDL (Remote location/File System).
    2) create destination template at NWA -> SOA Management -> Technical Configuration -> Destination Template Management. Assign the destination type (WSDL), name, URL, host, system, username, password etc
    3) create an automated task, assign the created destination/service interface accordingly.
    Optionally, for step 1), you may import your web service to the service registry via the WSDL URL and create the new service interface by importing it via service registry. Then, in the step 2, use the destination type (Service Registry).
    Hope it helps.
    - julius

  • Getting error in BPM webservice created in process composer service Interfc

    Hi All,
    I am getting fooowing  error while creating iwebservice n process composer Service Interface
    "Web service returned error. Fault Code: "(http://schemas.xmlsoap.org/soap/envelope/)Server" Fault String: "
    The Result after testing webservice in WS navigator is as below:-
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <SOAP-ENV:Body>
        <SOAP-ENV:Fault>
          <faultcode>SOAP-ENV:Server</faultcode>
          <faultstring>Process start has been triggered.</faultstring>
          <detail>
            <yq1:com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException xmlns:yq1="http://sap-j2ee-engine/error">Process start has been triggered.</yq1:com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException>
          </detail>
        </SOAP-ENV:Fault>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Please let me know if i need to add something.

    Hi Arafat,
    Thanks for your reply.
    Indeed it is triggering the Process if i execute the Webservice from WS navigator.
    But if i call this webservice from Webdynpro application i am getting following exception and cannot proceed to BPM process.
    The exception is :-
    "Exception on execution of web service with WSDL URL 'http://demo:50000/bpem/demosapcom2Fprocess1012FPool2FNewPool001e0ceacfcc129528842b82507396e7f?wsdl' with operation 'NewOperation' in interface 'StartProcess'
    I am using following code in Webdynpro
          wdContext.currentRequest_NewOperationElement().modelObject().execute();
        catch(Exception e)
          wdComponentAPI.getMessageManager().reportException(e.getMessage());
    Please let me know if i miss out something in configuring the webservice in CE 7.11

Maybe you are looking for

  • Error in RTW for file content conversion

    Hi, In my scnario there are one header,0..unbounded master,0..unbounded detail,one trailer. proxy to file scnario. when the file is finally generated that is for particulam one employee. mapping is successful. what shoul i do for when 2 employee reco

  • Is it possible to pickup call on 7925 wireless handset?

    Hi Is it possible to pickup a call with 7925 handset? I checked the phone button template but couldn't see it Is it possible to pickup call with another way such as specific code ..etc. Or any other solution.. CUCM ver 9.1 Thanks for your help.

  • Restored iPod is not recognized

    I just had to restore my iPod, and now afterwards my computer won't reconize it anymore. I mean like, I plug it in and nothing happens...I don't know what to do. The iPod doesn't even turn on by itself when I try to use it. Is there anyone that knows

  • Files not deleting.

    Aperture 3. So, I have a bunch of image files on an external HD all referenced into a project in AP3. When you delete files and then empty trash, surely you would expect the files on the ext HD to disappear but they remain there. Is this a bug or is

  • Why does mail keep creating a new junk mail folder?

    Why does mail keep creating a new junk mail folder at the bottom of my folders. This is in addition to the standard junk mail folder.