Process flow config 11gr2
Hi all!
Should we configure the process flow in OWB 11GR2 as how we do in OWB 11G R1. If so could any body suggest some links or explation pls.
Thanks in advance.....
It is configured in the same way. When you are editing the process flow, the View->Structure option will show the 'object details' panel that was in 11gR1. This will let you see the activity parameters etc. If you right click and 'Configure' the process flow in the tree, this will give the object's configuration properties just like 11gR1.
Some 11gR2 process flow postings are here;
http://blogs.oracle.com/warehousebuilder/2010/05/how_to_use_user_defined_activity_in_owb_process_flow.html
Cheers
David
Similar Messages
-
Error while creating Process flows in OWB 11gR2
Hi
I have never faced this before and thats why it baffles me. I am trying to create a new process flow module which has already been configured to the OWF_LOCATION(Oracle workflow location).
I get Java exception error window with long list of details which are rocket science to me.
I will paste few lines of the details as its a big trace
Internal Error: Load Error. Please contact Oracle Support with the stack trace and details on how to reproduce it.
Internal Error: Load Error. Please contact Oracle Support with the stack trace and details on how to reproduce it.
Persistent Layer Error:SQL Exception..
Class Name: ProxyFactory.
Method Name: loadInstance.
Persistent Layer Error Message: Exhausted Resultset.
at oracle.wh.repos.impl.ProxyFactoryGen.loadInstance(ProxyFactoryGen.java:9704)
at oracle.wh.repos.pdl.foundation.CacheMediator.query(CacheMediator.java:4372)
at oracle.wh.repos.pdl.foundation.CacheMediator.queryById(CacheMediator.java:4221)
AND
Trying to access invalid Object.
Element ID: 124688
Status: 15
Name: PFM_BUS_ROUTE
Logical Name: PFM_BUS_ROUTE
Class Name: CMPProcessInstalledModule
Owning FCO: 124688
parent:0
Trying to access invalid Object.
Element ID: 124688
Status: 15
Name: PFM_BUS_ROUTE
Logical Name: PFM_BUS_ROUTE
Class Name: CMPProcessInstalledModule
Owning FCO: 124688
parent:0
at oracle.wh.repos.pdl.foundation.WBProxy.checkStatus(WBProxy.java:587)
at oracle.wh.repos.pdl.foundation.WBProxy.getSubject(WBProxy.java:67)
at oracle.wh.repos.pdl.foundation.WBProxy.getContext(WBProxy.java:132)
at oracle.wh.ui.owbcommon.OWBWizardDefinition.produceRefresh(OWBWizardDefinition.java:934)
at oracle.wh.ui.owbcommon.OWBWizard.wizardFinished(OWBWizard.java:1036)
This is really strange.Has anyone encountered this before?
BirdyHi David
I tried registering the location again before de-registering it. OWB comes up with an RTC error
RTC-5229: Location <Location Name> could not be unregistered.
Any hints?
Version details are below. I am not sure whether Critical patch refers to this
About
Oracle Warehouse Builder 11.2.0.2
OWB Tahoe Development Version 11.2.0.2
Build OWB_TAHOER2_LINUX_100907.2019.2.0.3
Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.
IDE Version: 11.1.1.0.30.51.07
Product ID: oracle.owb
Product Version: 11.2
Version
Component Version
========= =======
Java(TM) Platform 1.5.0_24-rev
Oracle IDE 11.2.0.2.0
Properties
Name Value
==== =====
apple.laf.useScreenMenuBar true
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
com.apple.macos.smallTabs true
com.apple.mrj.application.apple.menu.about.name "OWB"
com.apple.mrj.application.growbox.intrudes false
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled false
ide.bootstrap.start 2245311504606534
ide.build OWB_TAHOER2_LINUX_100907.2019.2.0.3
ide.conf C:\product\11.2.0\dbhome_2\owb\bin\owb.conf
ide.config_pathname C:\product\11.2.0\dbhome_2\owb\bin\owb.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path owb/extensions:ide/extensions
ide.firstrun false
ide.java.minversion 1.5.0
ide.launcherProcessId 4792
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir owb/lib/patches
ide.pref.dir C:\Documents and Settings\bharadwajvenkatraman\Application Data\OWB
ide.pref.dir.base C:\Documents and Settings\bharadwajvenkatraman\Application Data
ide.product oracle.owb
ide.shell.enableFileTypeAssociation C:\product\11.2.0\dbhome_2\owb\bin\owb.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\product\11.2.0\dbhome_2\owb\bin\owb.exe
ide.startingcwd C:\product\11.2.0\dbhome_2\owb\bin
ide.user.dir C:\Documents and Settings\bharadwajvenkatraman\Application Data\OWB
ide.user.dir.var IDE_USER_DIR
ide.work.dir U:\Data\OWB
ide.work.dir.base U:\Data
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\lib\int\accelerators.jar;..\..\ide\lib\ide-boot.jar
java.class.version 49.0
java.endorsed.dirs C:\product\11.2.0\dbhome_2\jdk\jre\lib\endorsed
java.ext.dirs C:\product\11.2.0\dbhome_2\jdk\jre\lib\ext
java.home C:\product\11.2.0\dbhome_2\jdk\jre
java.io.tmpdir C:\DOCUME~1\BHARAD~1\LOCALS~1\Temp\
java.library.path C:\product\11.2.0\dbhome_2\owb\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\product\11.2.0\dbhome_2\OPatch;C:\product\11.2.0\dbhome_2\bin;C:\OraHome_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Windows Imaging\;C:\Program Files\Open Text\Livelink Explorer\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Microsoft Application Virtualization Client
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.runtime.name Java(TM) Platform, Standard Edition for Business
java.runtime.version 1.5.0_24-rev-b08
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.5
java.util.logging.config.file logging.conf
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.5.0_24-rev
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 1.5.0_24-rev-b08
line.separator \r\n
native.canonicalization false
oracle.home C:\product\11.2.0\dbhome_2
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.net.tns_admin ../../network/admin
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
os.arch x86
os.name Windows XP
os.version 5.1
path.separator ;
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sun.arch.data.model 32
sun.boot.class.path C:\product\11.2.0\dbhome_2\jdk\jre\lib\rt.jar;C:\product\11.2.0\dbhome_2\jdk\jre\lib\i18n.jar;C:\product\11.2.0\dbhome_2\jdk\jre\lib\sunrsasign.jar;C:\product\11.2.0\dbhome_2\jdk\jre\lib\jsse.jar;C:\product\11.2.0\dbhome_2\jdk\jre\lib\jce.jar;C:\product\11.2.0\dbhome_2\jdk\jre\lib\charsets.jar;C:\product\11.2.0\dbhome_2\jdk\jre\classes
sun.boot.library.path C:\product\11.2.0\dbhome_2\jdk\jre\bin
sun.cpu.endian little
sun.cpu.isalist
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.ddoffscreen false
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level Service Pack 3
user.country GB
user.dir C:\product\11.2.0\dbhome_2\owb\bin
user.home U:
user.language en
user.name bharadwajvenkatraman
user.timezone Europe/London
user.variant
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.0.30.51.07 Loaded
Code Editor oracle.ide.ceditor 11.1.1.0.30.51.07 Loaded
Component Palette oracle.ide.palette1 11.1.1.0.30.51.07 Loaded
Help System oracle.ide.help 11.1.1.0.30.51.07 Loaded
Log Window oracle.ide.log 11.1.1.0.30.51.07 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.0.30.51.07 Loaded
Navigator oracle.ide.navigator 11.1.1.0.30.51.07 Loaded
OWB oracle.owb 11.2 Loaded
Object Gallery oracle.ide.gallery 11.1.1.0.30.51.07 Loaded
Oracle IDE oracle.ide 11.1.1.0.30.51.07 Loaded
Peek oracle.ide.peek 11.1.1.0.30.51.07 Loaded
Property Inspector oracle.ide.inspector 11.1.1.0.30.51.07 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.0.30.51.07 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.0.30.51.07 Loaded
palette2 oracle.ide.palette2 11.1.1.0.30.51.07 Loaded
Birdy
Edited by: birdy on 18-Apr-2011 08:56 -
Internal Order process config details and process flow
Hi All,
Please help me,
I need process flow and configuration for assets to buy from vendors and store it and sell to our stores.
how to config Internal order configuration step by step and post to Asset management. (Instead of normal sales for revenue account).
Thanks and regardsDear Ravi,
1. first create an internal order through KO01. That internal order type should be for investment purpose.
2. Give the relevant detials and go to investment tab and give investment profile.
3 Then in toolbar go to extras and select "asset under construction". An asset under construction would be created and give the details of this asset.
4. Then release the internal order in KO02.
5. Then go to GB60 and post a invoice with this internal order as account assignment object.
6. GO to KO02 and in extras see the order balance. that amount would be reflected in the order.
7. now go to KO88 and execute the internal order through which your internal order will be credited and AUC which you created would be debited.
8. Now go to KO02 and see the order balance it would show 0 as it is moved to AUC.
9. Now to go to settement rule and give the asset to which u want to transfer this amount and take the category as FXA and give the detials.
9. now go to KO02 and change the status of internal order to "TECO complete".
10 Now go to KO88 and execute the order and now the AUC is credited and your asset is debited.
This is the exhaustive steps which i think wil solve your purpose.
But make sure the configuration about the order type and investment profile are properly maintained.
Thanks
sap firdo -
How to run an OWB 11gR2 process flow using OEMS Jobs?
How to run an OWB 11gR2 process flow using OEMS 11g Jobs?
In other words iam trying to create an Oracle Enterprise manager job for scheduling and running an OWB Process flow.
Can any one of you please route me to a documentation for the same,or enlist the steps involved?Hi,
look at OWB API Reference (it is of 11gR1 OWB release but you can apply this procedure to OWB11gR2 as well)
http://download.oracle.com/docs/cd/B28359_01/owb.111/b31279/api_4sqlforjobs.htm#BABEBGHA
Regards,
oleg -
Hello.
I am in a bit of a pickle right now after upgrading OWB from 10.2.0.4 to 11.2.0.3, and I'm here requesting a sanity check. Due to the need of a database upgrade, OWB also has to be upgraded and the data warehouse that has been functional and stable for a long time on 10g needs to be migrated to 11g. So this is main deal:
I just want to migrate all mappings and workflows and run them as before. I do not want to redeploy as that will force an enormous effort to regression test everything.
So the OWB upgrade went seemingly well. Everything runs as before. The problem started when I tested deployment of a mapping and subsequently
1. Deployment of a mapping goes well.
2. Deployment of the process flow goes well.
3. Deployment of a mapping that is run in a process flow however causes problems when the process flow is executed.
The deployment goes well. However the mapping fails when I run the process flow with the following error:
RPE-01003: An infrastructure condition prevented the request from completing: no rows found for select into statement.
I subsequently sync the mapping in the process flow redeploy the process flow. Now ALL the other mappings in the process flow that have not been redeployed since the upgrade fails with the same error. However the one that failed before is executed correctly. If I redeploy all the other mappings (which can be dozens) it works, but now I'm faced with a serious regression testing period.
Personally I have a couple of theories that I hope you can debunk or possibly verify.
1. It might be location oriented. I say that because my locations are a bit... iffy. When I redeploy some mappings in some locations it always insists on redeploying the connector (regardless if I deploy it stand-alone right before), and my location passwords are never "remembered" between sessions.
2. I do not have specific knowledge about how workflows are generated in the repository, but if it's run by ID, maybe a new ID is generated for the mapping when it is redeployed, and subsequently the process flow gets a new ID when it gets redeployed?
I hope someone has seen this before and can get me on the right track. Thanks very much.Here is a log that also illustrates the problem.
First workflow which does not have a redeployed workflow goes okay. That is WF_BOOKED_PRODUCT_020:MAP_BOOKED_PRODUCT_020.
The second workflow, WF_BOOKED_PRODUCT_030:MAP_BOOKED_PRODUCT_030, that is the one that has the redeployed mapping fails.
2013/05/10-09:23:09-CEST [7F097F09][OWB_REPOWNER.OWB_REPOWNER] Initializing execution for auditId= 4358142 parentAuditId= 4358137 topLevelAuditId=4358137 taskName=MAPPER_T_MAIN:WF_BOOKED_PRODUCT_020
2013/05/10-09:23:09-CEST [7F097F09][OWB_REPOWNER.OWB_REPOWNER] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
2013/05/10-09:23:09-CEST [7F097F09][OWB_REPOWNER.OWB_REPOWNER] Attempting to create native operator 'class.RuntimePlatform.0.NativeExecution.ProcessFlow'
2013/05/10-09:23:10-CEST [7F097F09][OWB_REPOWNER.OWB_REPOWNER] Thin driver connection time - 75 millisecond(s)
2013/05/10-09:23:10-CEST [7F097F09][OWB_REPOWNER.OWB_REPOWNER] Workflow equivalent DB Java Encoding = ISO-8859-1
2013/05/10-09:23:10-CEST [41D041D][] Explicit garbage collection - requested
2013/05/10-09:23:10-CEST [41D041D][] AuditId=4358147: Processing execute request
2013/05/10-09:23:10-CEST [41D041D][] Free Memory(bytes)=5547904 Total Memory(bytes)=12557312 Used Memory(bytes)=7009408 Used Memory(percent)=56%
2013/05/10-09:23:10-CEST [15261526][] Thin driver connection time - 75 millisecond(s)
2013/05/10-09:23:10-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] Initializing execution for auditId= 4358147 parentAuditId= 4358142 topLevelAuditId=4358137 taskName=WF_BOOKED_PRODUCT_020:MAP_BOOKED_PRODUCT_020
2013/05/10-09:23:10-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
2013/05/10-09:23:11-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] Attempting to create native operator 'class.RuntimePlatform.0.NativeExecution.PLSQL'
2013/05/10-09:23:11-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] OCI driver connection time - 236 millisecond(s)
2013/05/10-09:23:11-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] PLSQL callspec: declare "$MAP_ENV$" owbsys.wb_rt_mapaudit.wb_rt_name_values;begin "$MAP_ENV$"(1).param_name := 'OBJECT_ID';"$MAP_ENV$"(1).param_value := 206448;"$MAP_ENV$"(2).param_name := 'AUDIT_ID';"$MAP_ENV$"(2).param_value := 4358147;"$MAP_ENV$"(3).param_name := 'OPERATING_MODE';"$MAP_ENV$"(3).param_value := '0';"$MAP_ENV$"(4).param_name := 'PURGE_GROUP';"$MAP_ENV$"(4).param_value := 'WB';"$MAP_ENV$"(5).param_name := 'MAX_NO_OF_ERRORS';"$MAP_ENV$"(5).param_value := '50';"$MAP_ENV$"(6).param_name := 'COMMIT_FREQUENCY';"$MAP_ENV$"(6).param_value := '1000';"$MAP_ENV$"(7).param_name := 'AUDIT_LEVEL';"$MAP_ENV$"(7).param_value := '2';"$MAP_ENV$"(8).param_name := 'BULK_SIZE';"$MAP_ENV$"(8).param_value := '1000';"$MAP_ENV$"(9).param_name := 'CHUNK_PARALLEL_LEVEL';"$MAP_ENV$"(9).param_value := '0';"$MAP_ENV$"(10).param_name := 'CHUNK_EXECUTE_RESUME_TASK';"$MAP_ENV$"(10).param_value := 'false';"$MAP_ENV$"(11).param_name := 'CHUNK_FORCE_RESUME';"$MAP_ENV$"(11).param_value := 'false';"$MAP_ENV$"(12).param_name := 'CHUNKNUM_TIMES_TO_RETRY';"$MAP_ENV$"(12).param_value := '2'; ? := "STG_MAPPER"."MAP_BOOKED_PRODUCT_020"."MAIN"(p_env=>"$MAP_ENV$");end;
2013/05/10-09:23:12-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] PLSQL Mapping completed auditId=4358147
2013/05/10-09:23:12-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] Started Get Execution Results auditId=4358147
2013/05/10-09:23:12-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] Return Result=0 auditId=4358147
2013/05/10-09:23:12-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] Has Custom Parameters=false auditId=4358147
2013/05/10-09:23:12-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] Completed Get Execution Results auditId=4358147
2013/05/10-09:23:12-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] Started Report Execution Results auditId=4358147
2013/05/10-09:23:12-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] report_execution_result auditId=4358147
2013/05/10-09:23:12-CEST [15261526][OWB_REPOWNER.OWB_REPOWNER] Completed Report Execution Results auditId=4358147
2013/05/10-09:23:12-CEST [41D041D][] Free Memory(bytes)=2954368 Total Memory(bytes)=12557312 Used Memory(bytes)=9602944 Used Memory(percent)=77%
2013/05/10-09:23:12-CEST [41D041D][] AuditId=4358147: Request completed
2013/05/10-09:23:12-CEST [7F097F09][OWB_REPOWNER.OWB_REPOWNER] report_execution_result auditId=4358142
2013/05/10-09:23:12-CEST [41D041D][] Free Memory(bytes)=2225600 Total Memory(bytes)=12557312 Used Memory(bytes)=10331712 Used Memory(percent)=83%
2013/05/10-09:23:12-CEST [41D041D][] AuditId=4358142: Request completed
2013/05/10-09:23:13-CEST [41D041D][] Explicit garbage collection - requested
2013/05/10-09:23:13-CEST [41D041D][] AuditId=4358159: Processing execute request
2013/05/10-09:23:13-CEST [41D041D][] Free Memory(bytes)=6296536 Total Memory(bytes)=12557312 Used Memory(bytes)=6260776 Used Memory(percent)=50%
2013/05/10-09:23:13-CEST [88E088E][] Thin driver connection time - 81 millisecond(s)
2013/05/10-09:23:13-CEST [88E088E][OWB_REPOWNER.OWB_REPOWNER] Initializing execution for auditId= 4358159 parentAuditId= 4358137 topLevelAuditId=4358137 taskName=MAPPER_T_MAIN:WF_BOOKED_PRODUCT_030
2013/05/10-09:23:13-CEST [88E088E][OWB_REPOWNER.OWB_REPOWNER] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
2013/05/10-09:23:13-CEST [88E088E][OWB_REPOWNER.OWB_REPOWNER] Attempting to create native operator 'class.RuntimePlatform.0.NativeExecution.ProcessFlow'
2013/05/10-09:23:13-CEST [88E088E][OWB_REPOWNER.OWB_REPOWNER] Thin driver connection time - 74 millisecond(s)
2013/05/10-09:23:13-CEST [88E088E][OWB_REPOWNER.OWB_REPOWNER] Workflow equivalent DB Java Encoding = ISO-8859-1
2013/05/10-09:23:14-CEST [41D041D][] Explicit garbage collection - requested
2013/05/10-09:23:14-CEST [41D041D][] AuditId=4358164: Processing execute request
2013/05/10-09:23:14-CEST [41D041D][] Free Memory(bytes)=5425128 Total Memory(bytes)=12557312 Used Memory(bytes)=7132184 Used Memory(percent)=57%
2013/05/10-09:23:14-CEST [6F866F86][] Thin driver connection time - 79 millisecond(s)
2013/05/10-09:23:14-CEST [6F866F86][OWB_REPOWNER.OWB_REPOWNER] Initializing execution for auditId= 4358164 parentAuditId= 4358159 topLevelAuditId=4358137 taskName=WF_BOOKED_PRODUCT_030:MAP_BOOKED_PRODUCT_030
2013/05/10-09:23:14-CEST [6F866F86][OWB_REPOWNER.OWB_REPOWNER] oracle.wh.runtime.platform.adapter.InfrastructureException: RPE-01003: An infrastructure condition prevented the request from completing.
- no rows found for select into statement
at oracle.wh.runtime.platform.service.controller.WarehouseObjectImpl.<init>(WarehouseObjectImpl.java:476)
at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.initialize(ExecutionContextImpl.java:1391)
at oracle.wh.runtime.platform.service.controller.ExecutionController.initialize(ExecutionController.java:32)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:50)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
at java.lang.Thread.run(Thread.java:811)
Caused by: java.sql.SQLException: no rows found for select into statement
at sqlj.runtime.error.Errors.raiseError(Errors.java:118)
at sqlj.runtime.error.Errors.raiseError(Errors.java:60)
at sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO(RuntimeRefErrors.java:62)
at oracle.wh.runtime.platform.service.controller.WarehouseObjectImpl.<init>(WarehouseObjectImpl.java:436)
... 6 more
java.sql.SQLException: no rows found for select into statement
at sqlj.runtime.error.Errors.raiseError(Errors.java:118)
at sqlj.runtime.error.Errors.raiseError(Errors.java:60)
at sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO(RuntimeRefErrors.java:62)
at oracle.wh.runtime.platform.service.controller.WarehouseObjectImpl.<init>(WarehouseObjectImpl.java:436)
at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.initialize(ExecutionContextImpl.java:1391)
at oracle.wh.runtime.platform.service.controller.ExecutionController.initialize(ExecutionController.java:32)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:50)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
at java.lang.Thread.run(Thread.java:811)
2013/05/10-09:23:14-CEST [6F866F86][OWB_REPOWNER.OWB_REPOWNER] oracle.wh.runtime.platform.adapter.InfrastructureException: RPE-01003: An infrastructure condition prevented the request from completing.
- no rows found for select into statement
at oracle.wh.runtime.platform.service.controller.WarehouseObjectImpl.<init>(WarehouseObjectImpl.java:476)
at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.initialize(ExecutionContextImpl.java:1391)
at oracle.wh.runtime.platform.service.controller.ExecutionController.initialize(ExecutionController.java:32)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:50)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
at java.lang.Thread.run(Thread.java:811)
Caused by: java.sql.SQLException: no rows found for select into statement
at sqlj.runtime.error.Errors.raiseError(Errors.java:118)
at sqlj.runtime.error.Errors.raiseError(Errors.java:60)
at sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO(RuntimeRefErrors.java:62)
at oracle.wh.runtime.platform.service.controller.WarehouseObjectImpl.<init>(WarehouseObjectImpl.java:436)
... 6 more
java.sql.SQLException: no rows found for select into statement
at sqlj.runtime.error.Errors.raiseError(Errors.java:118)
at sqlj.runtime.error.Errors.raiseError(Errors.java:60)
at sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO(RuntimeRefErrors.java:62)
at oracle.wh.runtime.platform.service.controller.WarehouseObjectImpl.<init>(WarehouseObjectImpl.java:436)
at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.initialize(ExecutionContextImpl.java:1391)
at oracle.wh.runtime.platform.service.controller.ExecutionController.initialize(ExecutionController.java:32)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:50)
at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
at java.lang.Thread.run(Thread.java:811)
2013/05/10-09:23:14-CEST [41D041D][] Free Memory(bytes)=3686600 Total Memory(bytes)=12557312 Used Memory(bytes)=8870712 Used Memory(percent)=71%
2013/05/10-09:23:14-CEST [41D041D][] AuditId=4358164: Request completed
2013/05/10-09:23:14-CEST [6F866F86][OWB_REPOWNER.OWB_REPOWNER] Thread terminating due to fatal exception of type oracle.wh.runtime.platform.adapter.InfrastructureException
2013/05/10-09:23:14-CEST [6F866F86][OWB_REPOWNER.OWB_REPOWNER] oracle.wh.runtime.platform.adapter.InfrastructureException: RPE-01003: An infrastructure condition prevented the request from completing.
- no rows found for select into statement -
Error validating process flow VLD-10010 after upgrade from 9i to 11gR2
Upgraded OWB from 9i to 11g, and after upgrade all the process flows where throwing the below error while validating
VLD-10010: DIM_COUNTRY_UI's bound object DIM_COUNTRY_UI of type PLSQL Map has been deleted.
After synchronizing the mapping to itself, this error goes off, but synchroinzing in GUI for more than 300 mapping is huge task.
Anyway to sychronizing in bulk in OMBPlus?
Thank for help
Regrds
Samuel.Hi
Plz, check /etc/hosts
is IP and computer name valid? -
Error time of running process flow.
Hi All,
I am new to datawarehousing . I have installed 11gR2 on linux machine without any error .
Now i have imported all object of ocdm_sys and ocdm_sample_sys .Now when i am trying to start the process flow .
Its throwing me error RTC-5190 There is no location associate with current module operation abandon .
Can u please tell also the steps to running the ETL process . I am trying using ocdm_sample_sys user with all sample data.
Please tell me the steps i need to do after installation to run ETL process also like any changes need to be done.?
At the time of workflow creation i got this error is that above error related to this ..
WorkflowCA: Workflow component container deployed in OC4J: /u01/app/oracle/product/11.2.0/dbhome_1/jdk/bin/java -Doc4j.autoUnpackLockCount=-1 -Doracle.security.jazn.config=/u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_Workflow_Component_Container/config/jazn.xml -Djava.security.properties=/u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/home/config/jazn.security.props -jar /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/home/oc4j.jar -userThreads -config /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_Workflow_Component_Container/config/server.xml
WorkflowCA: Executing :/u01/app/oracle/product/11.2.0/dbhome_1/jdk/bin/java -jar /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/home/admin.jar ormi://v-agilent29:6041 oc4jadmin welcome -application WFALSNRSVCApp -testDataSource -location jdbc/WorkflowDS -username OWF_MGR
WorkflowCA: :nullError: Could not connect to the remote server. Please check if the server is down or the client is using invalid host, ORMI port or password to connect: Connection refused for app:WFALSNRSVCApp
WorkflowCA: Executing: /u01/app/oracle/product/11.2.0/dbhome_1/jdk/bin/java -jar /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/home/admin.jar ormi://v-agilent29:6041 oc4jadmin welcome -application WFALSNRSVCApp -installDataSource -url jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=v-agilent29)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ocdm))) -username OWF_MGR -password ->pwForOwfMgr -className com.evermind.sql.DriverManagerDataSource -location jdbc/WorkflowDS -xaLocation jdbc/xa/WorkflowDS -ejbLocation jdbc/WorkflowDS -connectionDriver oracle.jdbc.driver.OracleDriver
WFCA OUT: Error: Could not connect to the remote server. Please check if the server is down or the client is using invalid host, ORMI port or password to connect: Connection refused
WorkflowCA: Exit Val: 2
WorkflowCA: Created a redirected data source with application WFALSNRSVCApp :
WorkflowCA: Executing :/u01/app/oracle/product/11.2.0/dbhome_1/jdk/bin/java -jar /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/home/admin.jar ormi://v-agilent29:6041 oc4jadmin welcome -application WFMLRSVCApp -testDataSource -location jdbc/WorkflowDS -username OWF_MGR
WorkflowCA: :nullError: Could not connect to the remote server. Please check if the server is down or the client is using invalid host, ORMI port or password to connect: Connection refused for app:WFMLRSVCApp
WorkflowCA: Executing: /u01/app/oracle/product/11.2.0/dbhome_1/jdk/bin/java -jar /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/home/admin.jar ormi://v-agilent29:6041 oc4jadmin welcome -application WFMLRSVCApp -installDataSource -url jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=v-agilent29)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ocdm))) -username OWF_MGR -password ->pwForOwfMgr -className com.evermind.sql.DriverManagerDataSource -location jdbc/WorkflowDS -xaLocation jdbc/xa/WorkflowDS -ejbLocation jdbc/WorkflowDS -connectionDriver oracle.jdbc.driver.OracleDriver
WFCA OUT: Error: Could not connect to the remote server. Please check if the server is down or the client is using invalid host, ORMI port or password to connect: Connection refused
WorkflowCA: Exit Val: 2
WorkflowCA: Created a redirected data source with application WFMLRSVCApp :
WorkflowCA: Executing: /u01/app/oracle/product/11.2.0/dbhome_1/jdk/bin/java -Djava.security.properties=/u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/home/config/jazn.security.props -Doracle.security.jazn.config=/u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_Workflow_Component_Container/config/jazn.xml -jar /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/home/jazn.jar -user oc4jadmin -password welcome -adduser jazn.com pwForOwfMgr <WFCA WF PASSWORD>
The specified user already exists in the system.
WorkflowCA: Created obfusticated password for redirect datasource:
WorkflowCA: Executing: /u01/app/oracle/product/11.2.0/dbhome_1/jdk/bin/java -jar /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/home/admin.jar ormi://v-agilent29:6041 oc4jadmin welcome -shutdown
WFCA OUT: Error: Could not connect to the remote server. Please check if the server is down or the client is using invalid host, ORMI port or password to connect: Connection refused
WorkflowCA: Exit Val: 2
WorkflowCA: Executed OC4J Admin script to shut down the OC4J instance :
WorkflowCA: Mon Jun 21 18:03:30 IST 2010
WorkflowCA: Workflow Configuration has completed with error.
WorkflowCA: Terminating...
I drop the owf_mgr schema 3 4 times and tried it but still i am getting the error.Hi
If you check out the post here you will see the script sqlplus_exec_template.sql mentioned, this can be used to execute mappings and process flows from the command like;
http://blogs.oracle.com/warehousebuilder/2008/11/using_3rd_party_schedulers_with_owb_1.html
Cheers
David -
Cannot deploy process flow package specification from file
Hi,
we are using owb 11gr2 on linux. We successfully managed to deploy mappings and tables into a specification file, and then deploy from that file into the target database (RAC). But when we try to deploy a process flow package we run into an error:
A process flow package can be deployed to a specification file. But a deployment from that specification file fails with the error: " OMB05623: Cannot deploy specification from file. Exception follows. nulll"
### SETUP
set CONN_DESIGN "xxx"
set CONN_TARGET_DESIGN "yyy"
set CONN_TARGET_RT "xxx'"
set DIR "D:\\tmp"
set RELEASE "V0_2"
set file "$DIR\\$RELEASE"
set plan "FILE_DEPLOY_$RELEASE"
### Deployment via control center: works!
OMBCONNECT $CONN_DESIGN
OMBCONNECT CONTROL_CENTER $CONN_TARGET_RT
OMBCC '/KLINGEL_DWH'
OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN '$plan'
OMBALTER DEPLOYMENT_ACTION_PLAN '$plan' ADD ACTION 'PF_TEST' SET PROPERTIES (OPERATION) VALUES ('REPLACE') SET REFERENCE PROCESS_FLOW_PACKAGE '/KLINGEL_DWH/WF_DWH/PF_TEST'
OMBDEPLOY DEPLOYMENT_ACTION_PLAN '$plan'
OMBDISCONNECT CONTROL_CENTER
OMBCOMMIT
OMBDISCONNECT
### Deployment via specificatin file: fails!
OMBCONNECT $CONN_DESIGN
OMBCONNECT CONTROL_CENTER $CONN_DESIGN
OMBCC '/KLINGEL_DWH'
OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN '$plan'
OMBALTER DEPLOYMENT_ACTION_PLAN '$plan' ADD ACTION 'PF_TEST' SET PROPERTIES (OPERATION) VALUES ('REPLACE') SET REFERENCE PROCESS_FLOW_PACKAGE '/KLINGEL_DWH/WF_DWH/PF_TEST'
OMBDEPLOY DEPLOYMENT_ACTION_PLAN '$plan' AS SPECIFICATION TO '$file.xml'
OMBDROP DEPLOYMENT_ACTION_PLAN '$plan'
OMBDISCONNECT CONTROL_CENTER
OMBCOMMIT
OMBDISCONNECT
OMBCONNECT CONTROL_CENTER $CONN_TARGET_RT
OMBDEPLOY SPECIFICATION FROM '$file.xml'
### OMB05623: Deployment von Spezifikation aus Datei nicht möglich. Exception folgt. null
###OMB05623: Cannot deploy specification from file. Exception follows. nullIf we use the operation DROP it works. But REPLACE and CREATE do not work.
We get the error regardless whether the code is executed as an expert or on the command line at a windows client.
Does anyone knows a workaround?
Deployment via a specification file is a must due to license and architecture requirements.
Thanks,
Carsten.Its woked fine for me for OWB 10.2.0.4 .... some steps are missing from code like
when you are connecting again it should be
OMBDISCONNECT
OMBCONNECT CONTROL_CENTER $CONN_TARGET_RT
OMBDISCONNECT
OMBCC '/KLINGEL_DWH'
OMBCONNECT CONTROL_CENTER $CONN_TARGET_RTI think you can try the same on different system .
Cheers
Nawneet -
Error While Importing Process Flow in OWB Repository.
Hi All,
OWB Config Details is as follows:
Oracle 9i Warehouse Builder Client: 9.2.0.2.8
Oracle 9i Warehouse Builder Repository: 9.2.0.2.0
Following Error Message is displayed when i tried to import process flow from one OWB Repositoty to another OWB Repository.
Warning at line 23: MDL1312: Referenced logical location with name <PF_STG_INC_LOC> and UOID <F3940F1D5EB84985E0340003BA0AF737> not found for PROCESSMODULE <SALES_INC>. Logical location not set for this module.
Warning at line 28: MDL1320: PROCESS PF_C_C_CALLS_INC in STG_INC.SALES_INC.SAL_INC cannot be imported because referenced STANDALONEPROCEDURE
FLSTG.PROC_GET_ETL_DATA_DATE does not exist.
Warning at line 28: MDL1320: PROCESS PF_STG_CALL_CENTER_CALLS_INC in FLSTG_INC.SALES_INC.SAL_INC cannot be imported because referenced STANDALONEPROCEDURE
FL_TRG_FLSTG.PROC_UPDATE_RECO_CTL does not exist.
Informational: MDL1134: COMMIT issued at end of import data file.Hello, all the errors you've been given are related to missing objects.
You should re-create/import the location for you process flows before importing the process flows themselves.
Also verify that you have imported the procedures FLSTG.PROC_GET_ETL_DATA_DATE and FL_TRG_FLSTG.PROC_UPDATE_RECO_CTL because you use them in your process flows so you need them: OWB refuses to import a process flows if some objects are missing because it would break some links.
In general process flows should be imported where you have all the other objects in the repository because they are the final step and they reference many other objects.
Hope this helps - Antonio -
Error While Improting Process Flow in OWB Repository.
Hi All,
OWB Config Details is as follows:
Oracle 9i Warehouse Builder Client: 9.2.0.2.8
Oracle 9i Warehouse Builder Repository: 9.2.0.2.0
Following Error Message is displayed when i tried to import process flow from one OWB Repositoty to another OWB Repository.
Warning at line 23: MDL1312: Referenced logical location with name <PF_STG_INC_LOC> and UOID <F3940F1D5EB84985E0340003BA0AF737> not found for PROCESSMODULE <SALES_INC>. Logical location not set for this module.
Warning at line 28: MDL1320: PROCESS PF_C_C_CALLS_INC in STG_INC.SALES_INC.SAL_INC cannot be imported because referenced STANDALONEPROCEDURE
FLSTG.PROC_GET_ETL_DATA_DATE does not exist.
Warning at line 28: MDL1320: PROCESS PF_STG_CALL_CENTER_CALLS_INC in FLSTG_INC.SALES_INC.SAL_INC cannot be imported because referenced STANDALONEPROCEDURE
FL_TRG_FLSTG.PROC_UPDATE_RECO_CTL does not exist.
Informational: MDL1134: COMMIT issued at end of import data file.Hello, all the errors you've been given are related to missing objects.
You should re-create/import the location for you process flows before importing the process flows themselves.
Also verify that you have imported the procedures FLSTG.PROC_GET_ETL_DATA_DATE and FL_TRG_FLSTG.PROC_UPDATE_RECO_CTL because you use them in your process flows so you need them: OWB refuses to import a process flows if some objects are missing because it would break some links.
In general process flows should be imported where you have all the other objects in the repository because they are the final step and they reference many other objects.
Hope this helps - Antonio -
Process flow - Active Directory integration with Enterprise Portal
Hi
I have seen number of documents/forum discussions on integrating Microsoft Active Directory (LDAP) with Enterprise Portal, but unable to find out the process flow for achieving the same.
I have installed Enterprise Portal 6 (SP13) running on Web AS 640 (J2EE Standalone). The UME is currently configured to use Java database. (i.e datasourceconfiguration_database_only.xml)
I intend to proceed as below for integrating with Active Directory and integrate with Windows authentication:
1) Configure UME to use an LDAP Server as Data Source using Config Tool
http://help.sap.com/saphelp_erp2004/helpdata/en/cc/cdd93f130f9115e10000000a155106/frameset.htm
2) Configure Enterprise Portal UME i.e http://<host name>:50000/irj - System Administration - System Configuration - UM Configuration
<b>Should I configure Data Sources & LDAP Server here as I have already configured these using J2EE Config tool (point no.1).</b>
3) Integrate Windows authentication with EP using IISProxy module.
I hope the above will enable me to logon to Portal without supplying username and password once you are logged on to the PC using your Windows user name and password.
Also, any schema updates required to Activie Directory i.e What additional data is stored in A.D.
I would appreciate your guidance on this.
Thanks in advance,
ChanduHi Chandau,
you wanted that some users are not taken into account by the User Management Engine (UME).
This behavior can be established by specifying the
ume.ldap.negative_user_filter property for the LDAP data sources in the data source configuration file. Using this property one can define that all users and accounts that
match the defined conditions are filtered out by the UME API.
A detailed documentation can be found in the SAP Online Help:
http://help.sap.com/saphelp_nw04/helpdata/en/9a/f43541b9cc4c0de10000000a1550b0/
content.htm
In the following example of a data source configuration file for Microsoft Active Directory
Server the attribute userPrincipalName is used as Logon ID of a portal user id (j_user).
Here the user accounts that have one of the following Logon IDs (index_service,
notificator_service and cmadmin_service ) are filtered out.
<dataSources>
</dataSource>
<dataSource id="CORP_LDAP">
<privateSection>
<ume.ldap.negative_user_filter>
userPrincipalName=[index_service,notificator_service,cmadmin_service]
</ume.ldap.negative_user_filter>
</privateSection>
</dataSource>
</dataSources> -
Process Flow Validation Warning.
Hi All,
OWB Config Details is as follows:
Oracle 9i Warehouse Builder Client: 9.2.0.2.8
Oracle 9i Warehouse Builder Repository: 9.2.0.2.0
1> Following Warning is displayed when Process Flow is validated in Process Editor in OWB.
VLD-10005: The following path in the process flow is a loop and may cause the process to loop infinitely,
START->EXT_SHELL_SCRIPT->M_STG_GRADE_OF_SERVICE->EMAIL_ERROR->UPDATE_MAP_PROCESS_ERROR->
2> A mapping is developed in OWB with some default configuration parameters e.g. In a mapping involves Source Text File as Source and Staging Table as Target.
Readsize and Bindsize config parameters are set to 5000 respectively. I included the same mapping in process flow as mapping. The above mentioned Config Parameters are modified to 5242880. I committed the changes & synchornized in the process flow editor. I was expecting the modified config parameter will be displayed in the process flow editor. However I found that it still displays old config parameters and not modified config parameters. Is this expected or Did i miss some steps ?
Can someone please let me know more on these issues?
Regards,
VidyanandPlease go the OWB forum for these questions:
Warehouse Builder
Thanks, Mark -
Process Flow Warning in OWB.
Hi All,
OWB Config Details is as follows:
Oracle 9i Warehouse Builder Client: 9.2.0.2.8
Oracle 9i Warehouse Builder Repository: 9.2.0.2.0
1> Following Warning is displayed when Process Flow is validated in Process Editor in OWB.
VLD-10005: The following path in the process flow is a loop and may cause the process to loop infinitely,
START->EXT_SHELL_SCRIPT->M_STG_GRADE_OF_SERVICE->EMAIL_ERROR->UPDATE_MAP_PROCESS_ERROR->
2> A mapping is developed in OWB with some default configuration parameters e.g. In a mapping involves Source Text File as Source and Staging Table as Target.
Readsize and Bindsize config parameters are set to 5000 respectively. I included the same mapping in process flow as mapping. The above mentioned Config Parameters are modified to 5242880. I committed the changes & synchornized in the process flow editor. I was expecting the modified config parameter will be displayed in the process flow editor. However I found that it still displays old config parameters and not modified config parameters. Is this expected or Did i miss some steps ?
Can someone please let me know more on these issues?
Regards,
VidyanandRe your first question, you are probably hitting a bug (3035080) that makes OWB generate false warnings. Please ignore the warnings and try to deploy and run the process flow.
As for your second question - I cannot reproduce this on 9.2.0.2.8. The configuration properties are updated corectly in the SQLLOADER map and I get the same values in the process flow. By the way, why are you not using external tables instead of the SQLLoader maps?
Regards:
Igor -
Process flow with configuration for online payment of vendors
Dear friends,
I need the process flow with configuration for online payment to vendors through rtgs or neft.
Please help me in this regard. One of my client wants to implement online payment process instead of cheque payment.
thanks and regards
satya1) Payments are initiated at the corporate SAP System using APP and converted into IDOC
Could you please tell me the steps in converting the app into idoc.
There are standard Idoc used for the same , for APP it would be PAYEXT, You need to use this Idoc type.
You define the EDI payment method and assign the program in FBZP (RFFOEDI1)which would created payment medium.
i believe in the app we will create the proposal and run the payment run, after payment proposal created what are the config steps involved in createing the payment run. for example for checque payment we will maintian variant for cheque printing.
The payment run config is done in FBZP, which would include definf check PM and assigning house bank sub gl etc.
2) PI at Client End receives the input through IDOC for the payments
Pl means? and how the client will recieve this idoc what is the set up has to be made?
PI(Process Integration) middleware which will send bank files from sap to bank and vice versa.
3) Bank PI receives the payment and converts the same RTGS/NEFT format
4) Payment Data is received at the Bank RTGS/ NEFT server for further processing
how the payment data will be recieved by bank what is the process?
This is again via PI or any thoird party tool which will send bank files to sap as Idoc, The idoc message type is FINSTA.
or this in SAP you will have to configure the following:
*House bank with partner profile
*Outbound parameters what is meant by outbound paramenters and how to create and where to maintian
*Inbound parameters what is meant by inbound paramenters and how to create and where to maintian
The outbound and Inbounmd idoc's are the one which we send(PAYEXT) and rec from bank(FINSTA). you create partner profile in WE20 and create partner profile once you create you assign outbound and inbound message types in there.
*EDI Compatible payment methods how to know about the compaitable payment methods
Please goto house bank FI12 and you will see this in there, assign the PM used.
*APP config i know the app config for cheque payment, for this scenairo any additional settings?
It would be pretty much same, you will have to define the PM used and Payment medium and remaining configuration in FBZP.
*Bank details in Vendor :
You will have to maintain the bank details of the vendor in vendor master. -
Getting an process-flow audit id in the process flow itself
Hi,
I am using OWB 11gR2 and want to capture the audit_id of the process flow itself at the process-flow level.
I want to use this to pass it tru to the mappings in the process flow.
I know how to get audit_id when you're in the mapping (get_audit_id), but i want the audit_id of the process flow when i am "inside" the process flow.
When i have this i can let all of my mappings in the flow receive the same id.
When i setup a parameter at the process flow and specify get_audit_id there it errors on me.
Does anybody what to specify here ?ok,
i figured it out myself and answered myself in another thread.
Basically it goes like this:
In the master flow you have sub-processflow objects which you want to pass along the audit_id of the master flow.
So that you can pass along the same audit-id to every mapping in all of the flows.
But it would be nice to be able to run sub flows independently from the master flows (for testing etc.)but still feed the same id(whatever that is) to the mappings in that process flow.
And on the lowest level this applies to mappings as well: be able to run a mapping and get a id to store in a field.
The same applies to feeding a process date to all the mappings in your flows(used for dwh purposes)
How does this work on the mappings ?
Create a mapping input parameter, put 2 params in it.
One date, one number. The date part is easy: just put SYSDATE in it.
The number part would ideally hold get_audit_id as default value. Unfortunately this generates an error.
So put default value of 1 here. Create a constant on the mapping with value get_audit_id in it.
Create expression that tests if input_param has something else than 1 as the value ; if so then there was no audit_id fed into the mapping by a process flow. Make the expression use the constant then. Use the output of the expression in your mapping.
How does this work in process flows ?
You'll have two different parts here:
-feeding from flow to a sub-flow
-feeding from flow to mapping
Flow to subflow:
You can not bind a flowparameter to subprocess paramter so you'll need to create 2 variables.(process date / audit id)
Create two parameters, one date with sysdate as default, one number with 1 as default.
Use assign operator to bind audit_id parameter to the audit id variable.
Use another one to bind to the same variable, but specify parent_audit_id as value instead of binding it to the paramter.
Use conditonal routing on these two assign operators to have one of these be executed.
This will ensure that the variabel either gets parent_audit or the value of the input parameter of the flow.
Use another assign op. to bind the date input to the date variabel.
Bind the parameters of the sub flows to the variables.
Flow to mapping:
Use the same procedure as descibed above. Only difference here is that you can bind a mapping parameter to a parameter.
This means that you'll don't need the assign stuff for the date parameter since you can bind the date parameter of the mapping to the input parameter of the flow.
Hope this helps someone ...
Maybe you are looking for
-
Open script cannot get connection from the brower helper after 15 seconds.
Error: === Open script cannot get connection from the brower helper after 15 seconds. Do you want to continue waiting for the browser to load? Please Note: ======== 1. I have tried this only on IE 2. I am running OATS on a Remote desktop Situation: =
-
Function Type Calculate Inventory in BPS SEM 6.0
Hi, Do anybody have idea about function type Calculate Inventory . We are in SEM 6.0 sp SAPKGS6006. I'm not getting any documentation on this particulat function type. Please revert if you have any knowledge on this. Thanks Pratyush
-
Event structure doesn't register local vars
I have a gif of a basic FPGA topology that I want to show some loopbacks in. As the user clicks on the booleans, vertical lines should appear, then disappear as they click them again, showing the current loopback topology. To conserve resources, I o
-
Hi experts I want to create invoice for the vendor catg professional services rendered - General The Gross Amount is 50000. We are mainiaining the Service Tax Codes also. I want to know the TDS and Service Tax updations for that amountwise entries
-
Which version of GarageBand for OS 10.2?
I'm trying to help a friend who wants to install GarageBand on an old computer running OS 10.2. Which edition of iLife do we need to be looking for? I can't remember which one ran on 10.2.