Process Flow: variable checking/email parameters

I'm new to using process flows and it seems to me that I want to something very simple.
I've created a boolean variable VAR1 (default is FALSE) which I want to assign depending on warning/failure of 2 mappings (not sure if using a variable is the correct way to go).
So in my process flow, I call MAPPING1. On success, it calls MAPPING2.
To bring more into it, if MAPPING1 produces a warning or error, then through an 'assign' activity (I think it should be an assign activity), VAR1 is set to TRUE.
It returns back to process MAPPING2 (this same error handling occurs for MAPPING2).
At the end, a CHECK on VAR1 needs to be performed.
If VAR1=FALSE then end (success!).
If VAR1=TRUE then call a function to grab the audit records for the error, and send an email, then end.
My problems are
(1)what activity in the pallete should I use for CHECK (which checks whether VAR1 is true/false)?
(2)how do I read the VAR1 variable... I've been experimenting a whole load but nothing!
(3)if VAR1 is TRUE and calls the function, how does the email activity receive the output from the function? (I've managed to get email working ..hurrrahh!)
Thanks for any help... much appreciated
Ansel

Hi,
Have you tried using conditions on your transitions?
You can have in total three different endings to your process flow, end_success(in the process flow by default), end_warning and end_error. If you also include to 'or' operators in your processflow you can use these to collect the warning transitions,and between the or operator and the end operator you can put your email activities without having to use a if statement.
Ragnar

Similar Messages

  • Using Process Flow variable on sqlplus activity

    Hellow all,
    I´m trying to use a OWB 10gR2 variable (called LAST_RUN) as an input to a Sqlplus activity.
    I tried using PARAMETERS_LIST and binding the variable; created a new parameters; but i was not succesful.
    The script of the SQLPLUS activity is something like:
    SELECT COUNT(1) from T_ACTIVITIES WHERE LAST_UPDATE >= :LAST_RUN;
    EXIT;
    Where LAST_RUN is my process flow variable.
    How do i call a process flow variable inside the sqlplus script?
    thanks,

    Hi,
    I too had faced this problem earlier, it remember we passed a inut parameter to the script like @scriptname input_param1,input_param_2,input_param3 etc.
    however we later had faced few other problems while implementing sql plus acctivity. so we chose to write a stored procedure having all the logic of sql activity and called it from process flow.

  • Process flow variable question

    I have created a variable in process flow and want that variable to have a variable of
    TO_CHAR(SYSDATE,'YYYYMMDD')
    I put the above line in the value but it does not work. If I put the hard code value in the variable as 20090724 it works. I am using this variable in a while loop condition.
    Any ideas.
    Thanks

    For the variable, do you have the Literal property set to false when you define the initial value?
    Also is the OWF schema you are deploying the process flow to a target OWB user? It has to be in order for the variable expression to be evaluated correctly.
    Cheers
    David

  • OMB Script - Run a process flow (OMBSTART) with input parameters.

    I have a process flow with one input parameter : PF_SCHEMA_NAME. This is a string, literal value = false.
    While running this from the OWB Control center UI, it prompts for value of parameter.
    I need to execute this process flow using OMB script.
    OMBSTART PROCESS_FLOW 'WMREPORT_INCR_DAILY_FCT_SIMP' IN '$OWFLOCATION' OVERRIDE CUSTOM_PARAMETER ('PF_SCHEMA_NAME') VALUES ('ADVIEWPROD')
    This gives following error:
    OMBSTART PROCESS_FLOW 'WMREPORT_INCR_DAILY_FCT_SIMP' IN 'OWF_LOCATION' OVERRIDE CUSTOM_PARAMETER ('PF_SCHEMA_NAME') VALUES ('ADVIEWPROD')
    Starting Execution WMREPORT_INCR_DAILY_FCT_SIMP
    RPE-01003: An infrastructure condition prevented the request from completing.
    RPE-01038: Failed to evaluate expression declare "$LOOP_DETECT$" NUMBER :
    ORA-06550: line 1, column 668:
    PLS-00201: identifier 'ADVIEWPROD' must be declared
    ORA-06550: line 1, column 626:
    PL/SQL: Statement ignored
    Completing Execution WMREPORT_INCR_DAILY_FCT_SIMP

    Thanks David for your reply.
    But your suggestion did not work. I am still getting the same error.
    OMBSTART PROCESS_FLOW 'WMREPORT_INCR_DAILY_FCT_SIMP' IN '$OWFLOCATION' OVERRIDE CUSTOM_PARAMETER ('PF_SCHEMA_NAME') VALUES ('"ADVIEWPROD"')
    Starting Execution WMREPORT_INCR_DAILY_FCT_SIMP
    RPE-01003: An infrastructure condition prevented the request from completing.
    RPE-01038: Failed to evaluate expression declare "$LOOP_DETECT$" NUMBER :
    ORA-06550: line 1, column 651:
    PLS-00201: identifier 'ADVIEWPROD' must be declared
    ORA-06550: line 1, column 608:
    PL/SQL: Statement ignored
    Completing Execution WMREPORT_INCR_DAILY_FCT_SIMP
    Can you please help?

  • Process Flow - Email

    Hi!
    I need some assistance regarding my email process flow.
    Lets say I have process flows. One process flow runs a single mapping . If it ends in error it launchas another process flow.
    This other process flow is my email process flow. Its just a process flow(killing my self writing process flow) which just sends out an email.
    So if my 1st PF is failed, I get an email.
    What Im trying to do now is use global variables. So I have a varible in my PF1 with value = Error in PF1. And I now want to bind this variable to my EMAIL variable in my EMAIL PF.
    This means, if PF1 Error = Send this varible into PF2.
    I have tried using IN/OUT parameters, trying to bind variables.. But I cannot get to to bind my EMAIL variable to my PF1 variable.
    Any sugg?
    Cheers

    If PF1 and PF2 are sub-process flows of e.g. PF3, then it should be possible to just use the variable i.e. on the START operator of PF2 you can define a Process Flow Parameter (IN), it should then be possible to bind the Variable to the parameter of PF2.
    Sounds like you're nearly there from what you've tried.
    Si

  • How to combine text with variable in process flow

    Hi,
    I have created a function that returns the environment that a process flow is running in, Production, Test or Development. I have been able to bind the output of the function into a variable in a process flow and bind the variable to the subject of an email activity. I'd like to go one step more and combine the value of the variable with some text to explain which step in the process flow generated the email. Is there a way to concatenate text to a variable or to add an OWB system variable? I've seen an example where the subject of the email is
    "Failed mapping <mapping name>"
    but I want my subject to be "PROD Failed mapping <mapping name>" where the "PROD" is from a process flow variable or function return value.
    Is this possible?
    Thanks
    Don Keyes

    Hi Don,
    you can perform this task with ASSIGN activity.
    For example, you have two variable V_ENV_TYPE (with type of environment) and V_TEXT ("Failed mapping <mapping name>"). Define additinal variable V_NEW_TEXT, bind Variable parameter of Assign activity to V_NEW_TEXT variable and define value in Assign activity as
    V_ENV_TYPE || ' ' || V_TEXTRegards,
    Oleg

  • Is It Possible To Start a Process Flow on Receipt of an Email?

    Hi
    Does anyone know if you can trigger the start of a process flow once an email has been received?
    thanks ...

    alternatively what you can done is:
    If you are using unix/linux OS then:
    create an SMTP service on unix/linux
    have the email coming into unix/linux
    write a unix shell scrpt to read he mails on a regular basis
    if the email is existing create a "touch file" referred as flag file
    use the OWB to check if the flat file exists on unix as owb can communicate with unix/linux
    and then run the process flow which has the mappings
    If you are using Windows OS then:
    have a program which will extract the mail from your local mailbox onto a server, there are few softwares available in the market
    use the option of writing it into a table or follow the flag file approach stated above.

  • Passing parameters from shell script to OWB process flow

    Hi all,
    I am running OWB process flow (using the template script provided by oracle) and i want to pass two date parameters as shown below:
    sqlplus -s $SQL_USER/$SQL_PWD@$ORACLE_SID @$HOME_DIR/src/vmc_oem_exec_script.sql OWB_OWNER VMC_POST_DW_PF_LOC_SIT PROCESS VMC_NM1_PORT_MAIN "," "P_DATE_FROM=$DATE_FROM,P_DATE_TO=$DATE_TO"
    How do i catch those values in process flow and pass those to mappings in Process flow?
    Do i need to create PF variables with same names or any name will do?
    Thanks in advance

    This document is explaining how to pass data between activities in process flow.
    I am passing parameters from a shell script.
    Any ideas,how to pass parameters from shell script and then initialize the process flow variables based on those values and then pass them further to mappings.
    Thanks

  • Passing parameters from mapping to mapping with in process flows

    I am new to OWB and i would appreciate if any one can suggest me on how to solve the issue i have.
    I am trying to pass a parameter from one mapping to another mapping.
    ex: key need to be passed
    start ----->A--->B--->C----->END
    B needs to pass the key to mapping C
    In B i have mapping Out put parameter and in C i have a mapping input parameter.
    In process flow palatte i could see Key as OUT and in C properties i could bind it to Key .
    but i try to deploy this mapping i am getting error below
    PF_PKG Create Error
    RPE-02040: Internal error: KEY cannot be converted to a constant value. Please correct the value. If the problem persists then please contact Oracle Support with the stack trace and details on how to reproduce it.
    TEST_PFCreate INFORMATIONAL
    RPE-02071: Deployment has been aborted due to a previously reported critial error.
    please suggest me how to pass parameters between mappings with in a process flow.

    Hi
    You have to use process flow variables. So the output of map A, say parameter P would bind to variable V and then the input of map B, say Q would bind to variable V. In this way you can push parameters from one activity to the other. Although the UI lets you bind B.Q to A.P, it should not, I think there is a bug reported on this.
    Cheers
    David

  • How to set FROM ADDRESS for EMAIL activity in Process Flow

    Hi all,
    Can any one tell how to set(which address) FROM ADDRESS for EMAIL activity in Process Flow?
    Thanks,
    Suvvi

    Did you set what OWB guide says:
    To execute a process flow with an email activity, you may need to access different host machines and ports. New security measures implemented in Oracle Database 11g Release 1 restrict access to hosts and ports. You must explicitly grant access to hosts and ports that the email activity accesses using the DBMS_NETWORK_ACL_ADMIN package.
    For example, the user OWBSYS needs to send an email through the mail server mail.example.com using port 25. The DBA must perform the following steps:
    1. Create an Access Control List (ACL) for the user OWBSYS using the following command:
    EXECUTE DBMS_NETWORK_ACL_ADMIN.CREATE_ACL
    (’acl_for_owb_cc.xml’,’ACL for Control Center’,’OWBSYS’,’CONNECT’);
    The ACL has no access control effect unless it is assigned to network target.
    2. Assign the Access Control List (ACL) to a network host, and optionally specify a TCP port range. Use the following command:
    EXECUTE DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL (’acl_for_owb_cc.xml’,’mail.example.com’,25)
    3. Commit the changes made using the COMMIT command.

  • PPT on SD process flow

    Hi guys am in need of help from u
    am not so clear about the SD process flow
    can anyone pls send me a PPT on SD process flow
    to my email id:- (<REMOVED BY MODERATOR>).
    thanking u in advance..
    Regards
    Jino.

    Sales Organization   :
    Responsible for:
    •     Distribution of goods and services
    •     Negotiating Sales Conditions
    •     Product Liability and rights of recourse
    •     A sales organization is uniquely assigned to a company code
    •     Master data’s are separately maintained for a sales organization
    •     All items in the Sales and Distribution document belong to a sales organization
    Distribution Channel:
    Means through which products and services reach the customer 
    A distribution channel:
    •     Defines responsibilities
    •     Helps in achieve flexible pricing
    •     Differentiate Sales statistics
    Division:
    •     A division is used to group products and services.
    •     A division represents a product line.
    Sales Area:
    A Sales area is a combination of
    •     Sales organization
    •     Distribution Channel
    •     Division
    Each Sales and distribution document is assigned exactly to one sales area.
    A sales area can belong to only  one company code.
         Sales Organization
         Distribution Channel
         Division
                     Sales Area
    Plant and Storage Location:
    •     A Plant is a location where stock is maintained
    •     Plant and storage location are used by all logistic area of R/3 System
    •     A Plant is uniquely assigned to a company code
    Shipping point:
    •     Shipping point is the highest level of organizational unit in shipping
    •     Each outbound delivery is processed by one shipping point
    •     Shipping points are assigned to a plant
    •     More than one shipping point can be assigned to a plant
    Sales and Distribution is SAP begins with establishing customer relationship and ends with invoicing for the delivery of goods or service provided to the customer .
    A Standard sales transaction has the following flow:
    Inquiry
    Quotation
    Order
    Delivery
    Billing
    The customer order management cycle begins with pre-sales activities.
    A standard order in SAP contains:
    •     Customer and material info
    •     Pricing conditions
    •     Delivery dates and quantities
    •     Shipping info
    •     Billing Info
    Inventory sourcing in SAP is taken care by
    •     Availability check
    Shipping in SAP supports
    •     Outbound delivery creation
    •     Picking
    •     Packing
    •     Post Goods Issue
    Billing in SAP supports
    •     Creating invoices for products and services
    •     Creating credit and debit memo
    •     Cancel previously posted billing documents
    •     Automatically transferring billing documents to accounting
    When a billing document is created for a sales order we
    •     Credit the sales revenue account
    •     Debit the customer receivables account
    Sales Document
    A sales document is grouped into three structures
    •     Header
    •     Item
    •     Schedule Line
    Outbound delivery
    A delivery document is grouped into two structures
    •     Header
    •     Item
    Several orders can be grouped into same outbound delivery if they have same
    •     Shipping point
    •     Delivery date
    •     Ship-to- address
    Picking
    •     A transfer order is created for an outbound delivery
    •     A transfer order is created for a warehouse number
    Post Goods Issue
    When PGI is done the system
    •     Updates the quantity in inventory management and delivery requirements in materials planning
    •     Generates additional documents for accounting
    •     Adds the delivery to the billing due list
    •     Updates status in sales documents
    Billing
    We can group deliveries into single billing document if the deliveries have same
    •     Billing date
    •     Payer
    •     Destination Country
    The effects of billing are
    •     Debit on the customer receivables account and credit on sales revenue account is created
    •     Sales information system
    •     Sales statistics is updated
    Master data in SAP
    SAP SD has got the following main masters:
    •     Customer master
    •     Material master
    •     Condition master
    •     Output master
    •     Customer material information master
    Customer master
    General Data                                         Sales Area Data          Company Code data
    Tab pages                                              Tab pages                                      Tab pages
    Address     Order             Accounting
    Control data                                              Shipping               Payment
    Payment terms                                          Billing               Correspondence
    Marketing                                                   Partner functions                Insurance
    Unloading points
    Export data
    Contact persons
    The chart above shows detail on three main areas of customer master and the tab pages found under each area.
    Material Master is maintained in different views and important views of sales and distribution are
    •     Basic data 1
    •     Sales Org 1
    •     Sales Org 2
    •     Sales : Gen/Plant
    •     Foreign Trade
    •     Sales text
    Sales document in Sales and distribution mainly controls:
    •     Number range
    •     Item No increment
    •     Reference mandatory
    •     Item division
    •     Read info record
    •     Document pricing procedure
    •     Incomplete messages
    •     Alternative sales documents
    •     Delivery block
    •     Billing block
    •     Immediate delivery
    •     Delivery type
    •     Billing type
    •     Proposed delivery date
    •     Lead time for delivery
    •     Proposed pricing date
    Plant determination in Sales and distribution:
    To determine the plant in an order the system checks the master in the following order:
    a)     Customer material info. record of the sold-to –party
    b)     Customer master record of the ship-to-party
    c)     Material master record of the material
    Shipping point determination
    The following rule is used in determining shipping point in a sales order   :
    Plant + Shipping condition (Sold-to-Party) + Loading group                  Shipping point
                                                          Maintained in Material master Gen: Plant data
    Route determination
    Route determined using the following rule in Sales and Distribution (SAP)
    Departure Zone of Shipping Point
    +
    Shipping condition (Sold-to-Party)
    +
    Transportation Group (Material master)
    +
    Transportation Zone (Ship-to-Party)
    Route
    Delivery scheduling:
    As name denotes delivery scheduling is scheduling delivery for an order and it carries the following important dates:
    •     Material availability date
    •     Transportation planning date
    •     Loading date
    •     Goods Issue date
    •     Delivery date
    Availability Check in SAP:
    •     Availability check is carried out at item level for a plant
    •     Availability check is done on the material availability date
    •     If material availability date is in the past the forward scheduling is done, if not backward  scheduling is done.
    Item category determination in the order:
    Item category denotes the category to which the item belongs and the following rule is used for determination of item category. Item category controls the way in which item behaves in a sales document.
    Sales document type
    +
    Item category group (Material master)
    +
    Item usage
    +
    Item category of higher level item
    Item category of the item
    Item category in a sales document mainly controls the following
    •     Relevance for billing of an item
    •     Billing block
    •     Pricing relevance
    •     Business data relevance item
    •     Schedule line allowed
    •     Item relevant for delivery
    •     Returns
    •     Determine cost
    •     Credit active
    •     Incompletion procedure
    •     Partner determination procedure
    •     Structure scope (relevant for bill of material explosion)
    •     Value contract material
    •     Contract release control
    Schedule line category:
    Every item which has a delivery will have a schedule line and the schedule line category is determined with the following rule:
    Item category + MRP type(Material Master)         Schedule line category
    Schedule line category mainly controls:
    •     Delivery Block
    •     Movement type
    •     Item relevant for delivery
    •     Req/Assembly
    •     Availability
    •     Product Allocation
    Copy Control:
    Copy control is normally set for
    •     Header
    •     Item
    •     Schedule line  levels
    To control copying procedure we have
    •     Data transfer routines
    •     Copying requirements
    •     Switches
    Pricing Procedure determination:
    Pricing is an important component in SAP-SD. Once an order is entered taking into consideration some major factors, the pricing procedure for the particular order is determined.
    The major factors taken into consideration for pricing procedure determination is:
    Sales area
    +
    Customer Pricing procedure(Customer Master –Sales area data)
    +
    Document Pricing Procedure(Sales Document Type)
    Pricing Procedure
    What are the components of pricing procedure?
    How is  that a person should work on Pricing Procedure?
    To start with first
    Define a Condition table:
    What is a condition table?
    A table where the key fields are data combinations for which messages are triggered (and offered for processing).
    For each data combination, there is a condition record in the table. The data part contains the actual message.
    As mentioned above a condition table is a table which carries key fields for picking up the prices.
    Define Access Sequences
    The access sequence is a search strategy which the SAP System uses to search for condition records valid for a condition type.
    For example, you can define for a price that the SAP System first searches for a customer-specific price and then for a price list price.
    Recommendation
    •     If you define your own access sequences, the key should start with the letter Z since SAP reserves this letter for the standard system.
    •     Do not change access sequences contained in the standard SAP R/3 System.
    Actions
    1. Check to what extent you can use the access sequences contained in the standard SAP R/3 System.
    2. Create new access sequences by copying a similar access sequence and changing it according to your needs. Specify an alphanumeric key which may have up to 4 digits and a textual description.
    3. Maintain the accesses for the access sequence by specifying the condition tables in the desired sequence. With the sequence, you define the priority of the accesses. You can display combinations of key fields using possible entries.
    4. Generating the accesses is no longer necessary as of 3.0, as this is carried out automatically. You can generate the accesses manually, if required, by choosing "Utilities".
    Example
    In pricing, you use a customer-material discount. The condition records you create are based on customer data from the document header and material data from each document item. The discount is only valid for 2% of your customers, however. Normally, this would mean that the system would needlessly search through every available item for 98% of your customers. In this case, pre step would improve system performance.
    Define Condition Type
    A characteristic of a condition. For example, in pricing, different condition types are used to distinguish between a discount that refers to a net price and a discount that refers to a gross price.
    Price elements are represented in the SAP system by condition types. Price elements can be, for example, prices, surcharges, discounts, taxes or, freight, and are stored in the system in condition records.
    You can, for example, define whether a discount is calculated as a percentage or a fixed amount using the condition type.
    You specify an access sequence in every condition type. Thus, you define which fields the SAP system checks when searching for a valid condition record.
    Note
    •     The pricing procedure groups all condition types together which the SAP system is to automatically take into account during pricing for a business transaction (see the section "Define and assign pricing procedures").
    Remember that you can only specify manually in a document those condition types which are contained in the pricing procedure.
    •     You can change the outcome of pricing in the sales document manually. You can limit options for changing a condition type in this IMG step.
    Recommendation
    •     If you define your own condition types, the key should start with the letter Z since SAP reserves these letters for that purpose in the standard system.
    •     Do not change the condition types which are contained in the standard SAP R/3 System.
    Actions
    1. Check to what extent you can use the condition types contained in the standard SAP R/3 System.
    2. Create new condition types by copying a similar conditions type and changing it according to your requirements. One reason for creating a new condition type is you may require a calculation rule for a discount which is not available in the standard system.
    Specify an alphanumeric key which can have up to 4 digits, and a textual description.
    Specify an access sequence for the condition types. You do not need to specify an access sequence for header conditions.
    3. Maintain the detail screen of the condition type.
    You can also assign a reference condition type if the condition types you are working with are similar. Then you will only have to maintain condition records for the reference condition type.
    In addition, you can define the upper and lower limits for the value of a condition at condition type level. This way, you limit the amounts or the scale values in the corresponding condition records.
    Define Pricing Procedures
    The pricing procedure defines the conditions permitted for a document and the sequence in which the system takes these conditions into account during pricing.
    A standard pricing procedure is defined in the standard SAP system.  It contains conditions most commonly used.  These include material prices, discounts, and surcharges, such as freight, or tax.
    SAP Recommendation
    •     Define your own pricing procedures which contain only those condition types which you use. Otherwise, the system makes un neccessary accesses to conditions.
    •     Do not change the pricing procedures contained in the standard SAP R/3 System.
    Actions
    1. Create new pricing procedures by copying a similar pricing procedure.
    o     Specify a key with up to 6 characters and a description.
    o     For a procedure, specify the condition types in the sequence of their usage.
    Maintain the lines of the pricing procedure
    2. Afterwards define the customer determination procedures for determining the procedure.
    3. Define the document pricing procedures for determining the procedure.
    4. Assign the procedure to the sales document types and billing types.
    5. To determine the procedure, define the allowed combinations of:
    o     Sales area
    o     Customer pricing  procedure
    o     Document pricing procedure
    o     Pricing procedure
    Shipping:
    The basis for shipping is delivery.
    Delivery document controls the following in deliveries
    •     Number range
    •     Item no increment
    •     Storage location rule
    •     Route determination
    •     Text determination
    •     Delivery split
    •     Gen. packing material / item
    •     Order required
    Delivery item category controls:
    •     Check min delivery
    •     Availability check
    •     Relevant for picking
    •     Storage location required
    •     Determine storage location
    •     Automatic batch determination
    •     Text determination procedure
    Billing:
    Billing is the last phase in the SD process .Billing is the phase where the major integration of SD and FI Module happens.
    Billing document has got the following structure:
    •     Header
    •     Item
    Billing documents mainly control:
    •     No. range
    •     Posting block (Controls posting to accounting)
    •     Relevant for rebate
    •     Account determination procedure
    •     Account determination recon account
    •     Account determination pay.cards
    •     Output determination procedure
    Account Determination in SAP
    Account determination in SAP-SD happens with the following rule
    Sales Organization
    Chart of Accounts
    Account assignment group –Customer
    Account assignment group-Material
    Account Key
    G/L account on which the postings  has to happen.
    CHeers!!!

  • Process flow/map performance issues

    We have some issues with our OWB-based application and we're looking to find out if there are different ways we could be using the tool, or features/options we've missed.
    We are trying to maintain a near real time feed of data from a front end system into our warehouse which was built using OWB 10.2.0.3 over a 10.2.0.4 database. The bulk of the application consists of OWB maps with a few hand-written PL/SQL objects, all executed in a series of hierachical OWB process flows. Maps/transformations are executed either sequentially or in parallel where the referential integrity of the model allows.
    The problem is that we have around 150 tables in the datamart which could potentially require updating on each refresh cycle, although in practice only a few tables have any activity on a typical refresh cycle. The cycle consists of loading data into a set of staging tables, and from there the data is transformed into the main schema, often with multiple maps per target table.
    On every cycle we run hundreds of maps, the vast majority of which process zero rows. Each map runs quickly and efficiently in its own right but collectively they add up to a 5 - 10 min cycle even if there is no data to process.
    There are 2 avenues which we'd like to explore and would be grateful if anyone could provide any pointers/suggestions :-
    1) It appears that each map opens and closes its own database session when it executes. I presume this was done because a single process flow could be constructed with maps executing in different target schemas, but we know that's not the case for us. We'd like to know if there is anyway to configure the database connection at a higher level (eg. process flow) so it opens a connection once and executes each of the maps (database packages) in that one session.
    Our DBAs are experimenting with 'shared server' settings at a database level which may help to some degree but won't be the whole story.
    2) Another option is simply to run less maps eg. load the staging area as now, collate stats on which staging tables contain new data, and then apply some logic such that subsequent maps only execute if the relevant staging table(s) contain(s) some new data, otherwise bypass that map.
    We tried experimenting with the 'Pre Mapping Process' operator, but essentially that just generates another function call from the map package, so we still have the overhead of opening a database session for each map to run the package. Minimal gain.
    We thought about adding a function call in the process flow before each map and then branching to either execute/bypass the map as approriate, but the function call still requires opening/closing of a database session each time so, once again, minimal gain.
    What we really want is some way for a map or process flow to check without logging onto the database repeatedly.
    Any ideas on the above, or other potential solutions anyone could suggest, would be greatly appreciated.

    Hi,
    Please see if these documents help.
    Note: 554635.1 - Create Accounting Process Performs Poorly When 100K + Distributions are Passed for an Event
    Note: 954273.1 - Multiple Create Accounting Requests Result In Poor Performance For Online Accruals
    Note: 763500.1 - R12: Performance Issue with Create Accounting
    Note: 733637.1 - R12:Performance Issue When Running Accounting Program Xlaaccup
    Note: 781311.1 - Create Accounting Process Taking A Long Time To Complete After Appying Critical Patches
    Note: 557869.1 - EBS: R12 Oracle Financials Critical Patches
    Regards,
    Hussein

  • Problem in external process using process flow

    Hi All,
    I want to execute a batch file ( which is appending 2 text files ) using OWB process flow.
    For this i am using external process in OWB process flow and giving the parameters for external process as below:
    COMMAND --- VALUE as c:\winnt\system32\cmd.exe
    PARAMETERS_LIST --- VALUE as ?c:\\fileappend.bat
    when i execute the process flow....it is showing
    Completion Status Completed successfully
    Starting Execution BATCH_PROC
    Starting Task BATCH_PROC
    Starting Task BATCH_PROC:EXTERNALPROCESS
    Microsoft Windows 2000 [Version 5.00.2195]
    (C) Copyright 1985-2000 Microsoft Corp.
    C:\owb\owb\bin\win32&gt;
    C:\owb\owb\bin\win32&gt;
    WARNING: Log file truncated - see RAB for further information.
    Completing Task BATCH_PROC:EXTERNALPROCESS
    Completing Task BATCH_PROC
    Completing Execution BATCH_PROC
    But i couldn't see the result, means the files appended.
    It is working when i execute the batch file through MS-DOS.
    Please let me know is there any other necessary steps i need to take.
    Thanks in advance
    Malli

    Hi Malli,
    Because you are using an external process you do not need to specify the cmd command to perform the execution. You can just put the call to the batch file you have in the command string and that is it. Beware that the working directory is <owb home>\owb\bin\win32.
    Mark.

  • Using of user defined activities in process flow: issue

    Hi out there,
    there is a problem in my environment which I don't understand and which I want to share with you. Hopefully there is somebody who can help me.
    I have a user defined activity in my process flow with the following parameters (where <empty> means no value):
    COMMAND: C:\WINDOWS\system32\cmd.exe
    PARAMETER_LIST: <empty>
    RESULT_CODE: <empty>
    SCRIPT: C:\oracle\bise1\scripts\source_file.bat
    SUCCESS_THRESHOLD: 0
    The bat-file is containing the following:
    cd c:\oracle\bise1\owb\owb\bin\win32\
    ombplus.bat c:\scripts\source_files.tcl
    exit
    When I execute the bat-file in the cmd-shell manually it works perfect (the tcl-script copies and renames sourcefiles to naming conventions). But when I want to execute this from the process flow nothing happens. The process is running without reading the correct source files and therefore ends in errors.
    Is there anything wrong in the usage of the user defined activity? I prepared the runtime properly.
    Any help is appreciated. :-)
    Kind Regards,
    Jens

    Hi Detlef,
    thanks for the input. I tried it but then I get the following error message (in german) in the logfile of the process flow:
    "Der Befehl "chcp" ist entweder falsch geschrieben oder konnte nicht gefunden werden."
    My scripts don't contain letters in this combination. The scripts are working fine when I start them manually from the command shell. Is there maybe something else I need to consider? Is it possible to start omb tcl-scripts via this feature?
    Kind Regards,
    Jens

  • Process Flow - User Defined object calling Unix Shell script not working

    Hi, I have a User Defined Object in a Process Flow with the following parameters :-
    Command: /usr/bin/ksh
    Parameter List:
    Result Code:
    Script: cd /shell_scripts
    ./dwh_get_datafile.sh param1 param2 param3
    Success Threshold: 0
    The script executes but it does not correctly interpret all the Unix commands within it e.g command such as FTP, DATE, GREP etc.
    In the job details I can see :-
    ./dwh_get_datafile.sh: date: not found
    ./dwh_get_datafile.sh: ftp: not found
    ./dwh_get_datafile.sh: grep: not found
    ./dwh_get_datafile.sh: rm: not found
    ./dwh_get_datafile.sh: ls: not found
    ./dwh_get_datafile.sh: awk: not found
    Anyone know what I have done wrong ?
    The script runs fine when run as a Unix script while logged into Telnet.
    Thanks.
    Paul

    The shell script is executed by the oracle user in the unix environment so make sure that the directorie where you can find the unix commands exists in the path for the oracle user in .profile as you can se in my example below.
    PATH=$PATH:$ORACLE_HOME/bin:$OWBHOME/bin:/ASW/ora_script:/local/bstat:/usr/bin:/opt/bin:/usr/local/bin; export PATH
    /JZ

Maybe you are looking for

  • Need to get address/contact info from old computer

    Can anyone help me here?  I have a backup of my old palm directory on my new computer, and it has an address.bak, address.dat, and UiPrefs.dat.   I can open either the address.bak and address.dat file in notepad, and see the raw text (with lots of ex

  • JNDI Setup in Embedded Tomcat 5.0.19

    Hi All, I have embedded Tomcat 5.0.19 in my application, which is a simple web based database application in servlets. In Embedded Tomcat we don't have server.xml. Reference: http://www.vsj.co.uk/articles/display.asp?id=319 I am trying to create JNDI

  • After VLSP, to find the number of the master delivery

    We are using VLSP tcode for splitting a single delivery to multiple deliveries. Say that we know the number of the multiple ones but we don't know the delivry number of the master delivery. How can we find it? Is there a table that creates a record f

  • Character count in texting message

    in my apple 4s , iOS 8.0.2, character count not working  when texting messages, while in message setting its already on. i try to restart it and  change setting on /off again on and restart but still character not showing when texting message., this

  • Hiding the code

    Hi All, Can anyone tell me how to hide the code of a report from the user? I know that if I goto the program's attributes and change its STATUS to SYSTEM PROGRAM, it cannot be debugged, but I have been told that tweaking the debugger will still allow