Process Flow - mapping not inserting data

I have a process flow that executes three mappings in sequence i.e Map1 -> Map2 -> Map3.
However, sometimes the process flow will execute and no data will be inserted by MAP2, other times it runs ok. If I run the mappings directly data is always inserted.
The only workaround I've found is to add a WAIT of 10sec between Map1 and Map2 in the process flow.
Has anyone come across anything like this and how did you work around or fix it?
OWB 10.2.0.3 btw.
Cheers
Si
PS. transitions are ok.

Hi
If you have any map inputs make sure they are also declared in the processflow map - you basicly need to bind them.
You probably need to investigate from the beginning to understand your result of incoherent data.
What I would to first is.
1. Generete an intermediete code - choose your table as outgroup.
2. Review the code - are there any loading hints ?
3. Debug the map
Check your locations.
If everything seems right then the problem should lay on your workflow manager.
Remember that the workflow manager has only one namespace, so watchout for mapping name. I had strange executions on my PF because one of my maps had a "½" in the name.
Check the settings of the map - if you have enterd a set based run in your map and a row based run in the processflow.
Remember the setting in the processflow is the "superior" one
Just ideas what you can do.
Cheers

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 '","') ;

  • BDC not inserting data in mandatory fields of MM01

    Suddenly My BDC for sales maintenance View is not working as it is not inserting data in Mandatory fields.?can any one tell me the reason

    Hi Satyanarayan,
    1. Check ur code in debug to see if your internal table contains value in mandatory fields
    2. Try executing BDC program online to figure out the problem....
    3. Check ur code to see whether u r assigning values to this fields...
    Let me know if these things are ok in ur code...
    Enjoy SAP.

  • 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

  • Process flows are not running in OWB

    I have a process flow which has a main process and this main process calls 3 subprocesses and 1 externel process. This workflow was running fine and it suddenly stopped working and when I try to run it from WF monitor it is giving the following error.
    Activity CALWINDW_INC_LOAD_PF_WE
    Result Exception
    Error Name -20001
    Error Message ORA-20001: Task CALWINDW_INC_DELETE_PF does not exist. Please check that the ProcessFlow has been deployed successfully. ORA-01403: no data found
    Error Stack Wf_Engine_Util.Function_Call(WB_RT_WORKFLOW_UTIL.EXECUTE_TASK, CLWNPKG, 200509200915, 37461, RUN).
    I tried running it from OWB deployment manager but it didn't work.
    I have checked all the process flows and the mappings all are deployed and all the mappings are running sepreatly. I tried dropping and deploying the process flow again and it deployed successfully without any error. We have tried rebooting the server, creating new PF location and new process flows, but nothing worked out. Becuase of this issue we can't run the whole process. Any help will be appriciated please.

    May be your chain was in the wait at the scheduled time, as there were no adequate processes available at the app server to take up your job.
    Check with your Basis ( and also your users ); about the optimal time to schedule the job and reschedule your jobs.
    Ravi Thothadri

  • Can not insert Data

    Hi all ;
    when tryiing to call a stored procedure from java session bean ,i am getting this error message:
    [BEA][Oracle JDBC Driver][Oracle]ORA-20000: Records are not inserted into the stagging table
    ORA-06512: at "APPS3_MTNAOL.MTN_INV_MANAGER", line 2529
    ORA-06512: at line 1
    but when i am calling the same stored procedure from sql developper for test ,with the same input data, it is working fine. what can be the issue?

    ORA-20000 is a user-defined Error in the database. Please check with whoever developed the code within your organization on what that means.
    but when i am calling the same stored procedure from sql developper for test ,with the same input data, it is working fine. what can be the issue?Obviously, you are not able to recreate the error from 'sql developer'.
    Edited by: RPuttagunta on Dec 7, 2010 3:06 PM

  • Could not insert Data in to the table

    hello friends
    I have some pbm in inserting values in to sqlserver database table.I could not insert values to the
    table having varchar datatype fields.partyType is a field name of varchar type.when i try to insert
    "LCL" for that field it throws following exception.
    java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]The name 'LCL'
    is not permitted in this context. Only constants, expressions, or variables allowed here. Column
    names are not permitted.
    sometime it throws
    java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Optional feature not
    implemented
    If i give only numeric values to those fields it accepts.ie table accepts only integer values for all the fields.I use prepared statement for inserting data.I am inserting data to 4 tables at a time.I use ODBC driver.can u tell me where would be the problem??</p>
    with regards
    devi

    Hmmmm...
    ssniazi does nothing but ask for contact information or recommend Oracle products.
    Based on this I consider it likely that this person is some sort of sales representative either directly or indirectly associated with Oracle.
    I personally wouldn't provide any contact information to this person. Nor would I accept any advice until this person starts to actually provide some solutions or at least correctly reveals any financial interests that they might have.
    In addition I believe ssniazi is in violation of the conduct code of this website because ssniazi is requesting information which will be used by a business entity without telling the users that it will be used in that way. And I expect that Oracle itself would frown on such activities.
    2.3 You agree that You will not use the Website to:...(g) collect or store personal data about other users unless specifically authorized by such users.

  • Running of process flow does not show any Active session in Database

    Hi Team,
    I am running a process flow in OWB 11g ( From Design Center ) which is having around 100 maps within it. However, from Control Center I can see the Process Flow is running ( i.e. Green check is visible beside the process flow) but when I run SQL query in backend database ; I am unable to see any running object ( i.e. OWB map name as package object) there corresponding to this Process Flow
    I am running the below query to check the availability of running session :-
    SELECT A.LOGON_TIME,A.SID,B.OBJECT_NAME,A.*
    FROM gv$session A, dba_objects B
    WHERE A.PLSQL_ENTRY_OBJECT_ID = B.OBJECT_ID
    AND A.STATUS = 'ACTIVE'
    Could you please suggest if this is something wrong in the development of the Process Flow or we can`t see any running map there in backend when we execute any process flow from OWB ?
    Thanks in advance
    Nilava Sen

    Try below query
    select sid,module,program,status,sql_id from gv$session where status='ACTIVE';
    select * from gv$access;

  • 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

  • JDBC Not INSERTING Data

    Hi All,
    I'm having a real problem with the below method titled Not Working:. This method will INSERT data into a MS Access data base all day long, but it will always insert it at the same record. It never actually creates a new record, inserts the data and then saves that record. However, the second code example that I have titled Working: will create a new record, insert the data and then save the record. What is wrong with the Not Working code? I can't figure it out.
    Please help!
    Thanks,
    =================================================================
    Not Working:
         public void add(Account account)
              throws DAOException, DAOAddException
              if (account == null)
                   throw new DAOAddException("Invalid account on add.");
              Connection dbConnection = MSAccessDAOFactory.getConnection();
                Statement statement = null;
              try
                   String strSql = "INSERT INTO Accounts (" +
                        "USERID, PASSWORD, ROLE )" +
                        "VALUES (" +
                        DBUtil.createSqlField(account.getUserID()) + ", " +
                        DBUtil.createSqlField(account.getPassword()) + ", " +
                        DBUtil.createSqlField(account.getRole()) + ")";
                   statement = dbConnection.createStatement();                              
                   int nResult = statement.executeUpdate(strSql);
                   if (nResult != 1)
                         throw new DAOAddException("Account insert failed.");
                   else
                        System.out.println("Account added:");
                        account.show();
              catch (SQLException sqlEx)
                   throw new DAOException("Account insert failed: " + sqlEx);
              finally
                   if (statement != null)
                        try { statement.close(); }
                        catch (SQLException sqlEx) {}
    =================================================================
    Working:
              try
                   Connection con = DriverManager.getConnection(DB_URL);
                   System.out.println("got connection");
                   Statement s = con.createStatement();
                   String sql =
                        "INSERT INTO Accounts"
                             + " (USERID, PASSWORD, ROLE)"
                             + " VALUES"
                             + " ('"
                             + userID
                             + "',"
                             + " '"
                             + password
                             + "',"
                             + " '"
                             + role
                             + "')";
                   System.out.println("\n" + sql);
                   int i = s.executeUpdate(sql);
                   System.out.println("\n" + "executed");
                   if (i == 1)
                        message = "Successfully added one user.";
                   sql = "SELECT * FROM Accounts";
                        ResultSet rs = s.executeQuery(sql);
                   System.out.println("\n" + sql);
                   while (rs.next()){
                        System.out.println("");
                        System.out.println("ID: " + rs.getString(1));     
                        System.out.println("UserID: " + rs.getString(2));
                        System.out.println("Password: " + rs.getString(3));
                        System.out.println("Role: " + rs.getString(4));
                   rs.close();
                   s.close();
                   con.close();
              catch (SQLException e)
                   message = "Error." + e.toString();
                   error = true;
              catch (Exception e)
                   message = "Error." + e.toString();
                   error = true;
              if (message != null)
              }

    If one works and the other doesn't, then they must generate different SQL statements. My idea (blatantly obvious as it may sound) would be to actually look at those statements, rather than wasting time looking at the code that generates them.

  • Scheduled process flows are not running automaticaly-OWB database clonning

    What I did:
    1.     Cloned the entire OWB repository database from live (bidb01.bh.xyz.com) server to new (green1.bh.xyz.com) server.
    ******     Source     New
    Physical Hostname     bidb01.bh.xyz.com     green1.bh.xyz.com
    DB Logical Hostname     xyzbidb      bidb-lh
    Service Name     BIPROD     BIPROD
    Listener Port     1521     1521
    Oracle Home of RDBMS     /app/oracle/home/product/10.2.0     /orabidb/oracle/product/10.2.0
    Oracle Home of OWB     /app/oracle/home/product/10.2.0/owb /orabidb/oracle/product/10.2.0/owb
    2.     Followed the Metalink Note 434272.1 (How To Update Warehouse Builder After A Database Cloning)
    Issue:
    Before doing the step-2, every time we put the new database up the normal process flows which run every day (10 AM, 1 AM , 2 AM , 2 PM, etc.) got executed on the production environment and hung the original processes that are being run on the production environment.
    After following the note 434272, scheduled process flows in production is working fine but in the new server it is not at all working.
    Could anyone please help me to fix this?
    Edited by: Padmanaban G on May 7, 2010 5:15 PM

    The issue was resolved by renaming the workflow. What is learned here is, we should not have same workflow name for two different workspace.

  • Process flow is not working for both workspace.

    Hello, I really need help. I have prodution issue now. I am using OWB 11g version.
    I have two wokspace running on the same database.
    Workspace names are MSSTATE_OWBOWNER, IAEBT_OWBOWNER.
    The automatic job is not kicking of on both. I scheduled MSSTATE workspace at 12:10 AM, IASTATE workspace at 12:50AM.
    MSSTATE workspace starts automatically at 12:10AM. But IASTATE does not start 12:50AM. Actually job starts and gettting the below error message.
    RPE-02083: Process PF has errored Activities. Dependent objects may not have been deployed. You can use Oracle Workflow Monitor to retry the activities or abort the Process
    I redeployed the workflow on IASTATE and manually started. But when i go to MSEBT, i see the same problem and get the below error message.
    RPE-02083: Process PF has errored Activities. Dependent objects may not have been deployed. You can use Oracle Workflow Monitor to retry the activities or abort the Process
    If i fix one state, other one breaks. I could not run both state through scheduler. I think, the job is valid and enabeld. But workflow is breaking...
    One thing i noticed is, we have same process flow names on the both workspace. Is that causing a problem?
    Any help is highly appreciated....

    The issue was resolved by renaming the workflow. What is learned here is, we should not have same workflow name for two different workspace.

  • Not inserting date field-very urgent

    thanks in advance any help appreciated
    im getting all the datas in csv as an array and inserting using the insert method, the date(not datetime) field is not inserting (vb.net), and not showing any error
    im getting the datas as array string wat iv to do while inserting ive used all the conversion techniques but still not inserting

    Hi,
    You must indicate the "specified" attribute in order to inset or update any field that is not string type.
    For example, I guess that your program do something like:
    obj.date=%%date expression%%
    but you must do also:
    obj.date_specified=true
    That is for any field like number, date, boolean, etc...that is not a string.
    Hope it helps.
    Kim.

  • SQLJ with EJB. Do not insert data in the database

    Hi All!
    I4m developing an application using SQLJ and EJB (session beans,
    container managed transactions), and when I try to insert data
    in the database it doesn't work. All goes well (apparently), but
    the changes do not have effect in the DB.
    I've tried to use bean managed transactions, but when I try to
    insert data, I get the error: NOT IN A TRANSACTION. The code of
    the client in the bean managed is the following:
    public class MiEJBCLiente {
    public static void main(String[] args) {
    String namespaceURL
    = "jdbc:oracle:thin:@rabinf56:1521:prinpal";
    String ejbUrl
    = "sess_iiop://rabinf56:2481:prinpal/test/Bean";
    String username = "xxx";
    String password = "xxx";
    // Setup the environment
    Hashtable environment = new Hashtable();
    // Tell JNDI to speak sess_iiop
    environment.put
    (javax.naming.Context.URL_PKG_PREFIXES, "oracle.aurora.jndi");
    // Tell sess_iiop who the user is
    environment.put(Context.SECURITY_PRINCIPAL, username);
    // Tell sess_iiop what the password is
    environment.put(Context.SECURITY_CREDENTIALS, password);
    // Tell sess_iiop to use credential authentication
    environment.put(Context.SECURITY_AUTHENTICATION,
    ServiceCtx.NON_SSL_LOGIN);
    environment.put
    (jdbc_accessURLContextFactory.CONNECTION_URL_PROP, namespaceURL);
    UserTransaction ut = null;
    // Lookup the URL
    hello.MiBeanHome homeInterface = null;
    try {
    Context ic = new InitialContext(environment);
    DriverManager.registerDriver (new
    oracle.jdbc.driver.OracleDriver());
    ut = (UserTransaction)ic.lookup
    ("jdbc_access://test/BeanTrans");
    homeInterface = (hello.MiBeanHome) ic.lookup(ejbUrl);
    catch (SQLException e) {
    // That's it!
    try {
    System.out.println("Creating a new EJB instance");
    hello.MiBean remoteInterface = homeInterface.create();
    ut.begin ();
    remoteInterface.inserta();
    ut.commit();
    catch (Exception e) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    I4m waiting for suggests.
    Thanks in advance...

    Hi,
    Are you sure it's a front-end bug? Try to double check your back-end code.
    If you still believe the bug is in the front-end, try to debug the insertHandler function to see if you are attaching the UserVO properly into the UserEvent.
    Best regards,
    Pablo Souza

  • Can not Insert data to Microsoft Access successfully

    I am using Microsoft Access database, and trying to insert some data into a table with a "while" loop, but every time, the last row can not be inserted although the return value of the "executeUpdate()" is 1, can anyone tell what's wrong with that? thank you very much

    http://forums.java.sun.com/thread.jsp?forum=48&thread=147704
    Sounds like it may be the same "glitch"
    Jamie

Maybe you are looking for

  • Revenues are not coming in the accounting tab page in cprojects

    Hi all, I am configuring the mulitilevel controlling on account assignment in cprojects with Project system.  I have given cost/revenue rate in customization along with revenue element.  The revenue element i categorised in the cost element category

  • How do I get Menu to show at top of organizer?

    All I have is very tiny double arrow that's very hard to see.  Holding cursor on the arrows brings up "file" "edit" etc vertically ( so it can be used), but otherwise it's just dark. Tried right clicking on arrows; nothing happened.  Right clicked to

  • Report Builder Download

    I'm pretty new at this stuff, so I have a stupid question. I need Oracle Report Builder 6.0.8.10.1 to make a few changes in a already done report. I'm trying to find everywhere, and all links go to Oracle Developer Suite 10g. Is it correct ? Do I hav

  • How can I rotate a small video

    Hi I took a small 1 minute video with my phone, but I was holding it the wrong way. I have downloaded it and the extension is .3g2 How can I rotate it? I only have regular quicktime thanks J

  • Disk IO for redolog buffer- isnt it a performance issue also ?

    hi guys, i am a noob but i have a curious question to ask. hope you guys dont mind helping me out abit, as we all know, disk io is an expensive operation, so oracle would rather keep the blocks in the db buffer cache as long as possible then to write