A/c determination process flows automaticaly to the exact plant wise

Dear All,
Pls explain the process abt a/c determination for service po's (with item catelory & a/c assign) during miro.
For example. I have three plants and same tax codes used for all plants. I have defined in FS00 different G/L number for every plant as per below,
For plant #1 - ESA - 101, ESE - 102, VSE -103
For Plant #2 - ESA- 201, ESE-202, VSE-203
For Plant #3 - ESA- 301, ESE-302, VSE-303
And assume gl is assigned in OB40 (w/o tax code combination) as,
ESA-101 , ESE - 202 , VSE -303 .
While doing miro for what ever plant, it's going and set on appropriate plant g/l nbrs based on trns. key. pls tell me how a/c determination process flows automaticaly to the exact plant wise.

no answer

Similar Messages

  • A/c determination process - automaticaly flows to the exact plant wise

    HI,
    I'm posting again, on my blw query,
    Pls explain the process abt a/c determination for service po's (with item catelory & a/c assign) during miro.
    For example. I have three plants and same tax codes used for all plants and gl numbers are diff as per below. ,
    For plant #1 - ESA - 101, ESE - 102, VSE -103
    For Plant #2 - ESA- 201, ESE-202, VSE-203
    For Plant #3 - ESA- 301, ESE-302, VSE-303
    And assume gl is assigned in OB40 (w/o tax code combination) as,
    ESA-101 , ESE - 202 , VSE -303 .
    While doing miro for what ever plant, it's going and set on appropriate plant g/l nbrs based on trns. key.
    Pls tell me how a/c determination process flows automaticaly to the exact plant wise.

    Hi ,
       For the automatic account posting to different G/L account for different plant---- Group the plants with different grouping by assigning different valuation grouping code. All the automatic account posting config is to be done for each of the valuation grouping code.
      Thus the automatic account postings to different G/L accounts happen for different valuation grouping code.
    Thanks & Regards,
    Amjad

  • OWB Process Flow - How is the best  version control tool ??

    HI all,
    I just start work with OWB and I have a question to know how is the best way to do something.
    Imagine the scenario below:
    If I have 2 or more requests for example:
    Request 1: Create a Dimension City.
    Request 2: Create a Dimension Products.
    I Have ONE process flow and i need put my changes inside. This is my problem.
    In my scenario I don't know what Request goes to Prod First.
    If I put the Request 1 and Request 2 in my PROCESS FLOW, maybe I need change is someone decide change MY REQUEST PRIORITY.
    There is something in OWB to "control the version or changes" ?? For a mapping I export the MDL and commit on SVN, but I dont know haw can i do with the process flow.
    Something to agree multiples peoples work in different mappings and a SAME PROCESS FLOW ??
    What is best way to work with process flow and version control.
    What are the best practices when it comes to version control?
    Thanks.

    Amit,
    Are you really doing this in 10.1.3.x and not 11g?
    At any rate, I don't see how #2 and #3 relate whatsoever to your choice of a version control system. OK, maybe in #2 if there is some "maintenance" activity to be done against the version control server. Subversion is the open source alternative that you listed there and is pretty commonly used. If your company is already using one of the mentioned tools, why change? About the only thing I'd mention is to advise you NOT to use CVS for well documented reasons (JDev does support it) - if you would have picked CVS otherwise, choose Subversion. As far as question #1 - I've only used Subversion (well, I did use CVS for a while) with JDeveloper, so I can say it was "effective enough for me." In 10.1.3.x, I also used the external svn tools for doing lots of things like merging and so forth; in 11g, the support is much much better.
    Best,
    John

  • Creating variables in Process Flows and using thse variables in the filter

    Hi,
    I am new to OWB and in learing stage. Need to information.
    *1. as to how pass/create/use variables to OWB mapping ?*
    *2. Creating variables in Process Flows and using thse variables in the filter operator of the OWB mapping?*
    *3. Other mechanisms of how to create/use variables within OWB mapping itself ?*
    can you please provide the above details and guide me / help me in this regard.
    Thanks,
    skms.

    1. Add parameters to your mapping using the MAPPING INPUT PARAMETER from the pallette.
    2. Add parameters to the START operator in the process flow. Bind the process flow parameter to the Mapping parameter.
    3. May be appropriate to use CONSTANTS instead of parameters.
    Regards
    Si

  • (urgent)how to run the sqlldr script in owb process flow?

    dear all:
    In my oracle warehouse ,i have to load much *.dat file
    into database with sqlldr in owb process flow. In owb process flow, I use the external process to run the sqlldr file with following configuration:
    1:======external process==========
    command : /app/ftpfile/sqlldr2.sh
    parameter list:
    success_threshold:0
    script:
    ================================
    2:create a file location in FILE LOCATION node:
    =============
    ODS_LOCAL_LOC
    =============
    3: in the runtime repository i register the location
    ============
    user name: oracle (for the sqlldr should run in oracle user)
    password : oracle
    host name: localhost
    root path: /app/ftpfile/
    ============
    4:configure the process flow
    ============
    path settings
    working locations:ods_local_loc
    ============
    after deploy them success in runtime repository,
    i run it ,it show me error following:
    ==========
    SQL*Loader-704: Internal error: ulconnect: OCIServerAttach [0]
    ORA-12545: Connect failed because target host or object does not exist
    ===========
    please help me!
    with best regard!

    Hello,
    our developers were getting this error code just the other day. They are using "sqlplus_exec_template" script to initiate these things. In our case, I had to do two thing:
    1) Modify their "initiator" script (the one that connects to runtime access user, and then calls "template") - it has to use tns connectivity "user/passwd@service_name"
    2) Create TNS entry (server side) for the "service_name" above.
    Now these SQL*LOADER mappings run successfully.
    Alex.

  • 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 ...

  • OWB | Passing input to mapping in the process flow

    Hi,
    I have a process flow which calls a stored procedure which returns 2 values.
    I want to use the values returned from this procedure as an input in my mapping. My mapping has Mapping_Input_Parameters definined for these two inputs.
    These values are going to be load_date and the batch it belongs.
    I have created new params in the process flow edit under the mapping. The process flow executes successfully if I give the input params as a constant. When I do a binding with the out variable of the stored procedure I get a deployment error as "Internal error: OUT_D_LOAD_DATE 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."
    Please let me know how to resolve this and if there is way to get the load_date in the mapping without actually having to call the procedure in the mapping. The load_date will change everyday and I need to read it from a table.
    Thanks!

    Hi
    If you have resolved the error please guide me also Since I am also facing the same error. (RPE-02040: Internal error: MYRAND cannot be converted to a constant value. Please correct the value. )
    I am using 10gR2, Here my test process flow is
    Start - > MyRand -> FindOddEven->end
    Here MyRand function will return a value, the function findOddEven will just do a mod of 2 and return 1 for odd numbers and 0 for even numbers. When I bind the OUT parameter of the MyRand to the IN parameter of the FindOddEven it is throwing the same error.
    Thanks in advance

  • How to pass execution_audit_id of the process flow to an external process

    Hi,
    I'd like to execute this sql
    SELECT EXECUTION_AUDIT_ID
    FROM RUNTIME_OWNER.ALL_RT_AUDIT_EXECUTIONS
    within a process flow, and pass the returned value to an external process(within the same process flow) which is a unix script. Is this doable? How can it be accomplished?
    Thanks!

    Hi Patrick,
    Yes, I did look at those threads, but they don't help me with what I am trying to accomplish. Here is the design
    The map runtime audit id value is used to uniquely name a file created by one map. Within the process flow, which contains the map that creates this file, I need to rename the file using a suffix string provided by the user. So, if file created is med_admin_1234 (1234 is map runtime audit id), and suffix is "fac_a", then new filename is med_admin_fac_a. For this renaming functionality I am using a Unix script (file is created in a Unix server), but I need to pass the map runtime id that's part of the initial name in order to rename the file. Makes sense? Within the process flow, I need to retrieve a value (instead of an input parameter, have like an output parameter instead). Not sure this is doable, but asking just in case.
    Thanks.

  • SQLPLUS Acitivity in process flow Input parameters to the script

    I have a sqlplus Activity in the process flow. In the script section I have a update statement which has a where clause where I need to pass a date field as input paramter to this script to compare and update the records.
    Is there a way to pass Input Parameters to the script.
    update test
    set last_name = 'TEST'
    where trunc(begin_date) = :begin_date;
    Begin_date is a variable in my process flow which I need to pass to this script.
    Any ideas as to how I can accomplish this.
    Thanks in advance.

    You can Create a procedure of the Update statement with one input paramenter like
    Create Or replace procedure Update_test ( p_begin_date date )
    IS
    update test
    set last_name = 'TEST'
    where trunc(begin_date) = p_begin_date;
    End;Then call this Procedure in the Process Flow and give input parameter from PF variable.
    Cheers
    Nawneet

  • Process flow hangs in state "bussy"

    Hi,
    We are encountering what seems to be a "random" problem when runing process flows. In about 1 out of 4 runs the flow "hangs" with status "busy"
    The technical specs are as follows:
    OWB 9.2.0.2.8 on WIN2K Server SP4.
    There are two runtime repositories on two different WIN2K database servers (Oracle 9.2.0.4 EE)
    The symptoms are as follows:
    - We have more than 10 process flows containing from 15 to 60 processes. The problem is not related any single process flow, and occurs on both our target servers.
    - The process flows runs OK in approximately 3 out of four runs.
    - When the process flows "hangs", one or more of the processes in the process flow also hangs in the "busy" state. The hanging process can be a mapping or an external process
    - The processes that have status "busy" have actually finished. They have a completion time set, and in the case where the process sends mail, the mail has been received. In the case of mappings I have verified that the mapping has completed, and that the session performing mapping has terminated.
    - When the problem occurs, there is always the same "lock" pattern displaying in OEM:
    Username Session IdLockMode HelMode Requ Object Name ROWID Object OwnObject T Resource ID1 Resource ID2
    OWBRT92 17TM ROW SHARNONE WB_RT_SERVICE_QUEUE_TAB OWBRT92 TABLE 61161 0
    OWBRT92 17UL EXCLUSIVNONE 1073741824 0
    OWBRT92 48TM ROW SHARNONE WB_RT_NOTIFY_QUEUE_TAB OWBRT92 TABLE 61145 0
    OWBRT92 67TM ROW EXCLNONE WB_RT_NOTIFICATION_COMPONENTS OWBRT92 TABLE 61137 0
    OWBRT92 67TM ROW EXCLNONE WB_RT_NOTIFY_QUEUE_TAB OWBRT92 TABLE 61145 0
    OWBRT92 67TM ROW EXCLNONE WB_RT_NOTIFICATION_ACKS OWBRT92 TABLE 61141 0
    OWBRT92 67TM ROW SHARNONE WB_RT_NOTIFICATION_STREAMS OWBRT92 TABLE 61135 0
    OWBRT92 67TM ROW EXCLNONE WB_RT_AUDIT_EXECUTIONS OWBRT92 TABLE 61199 0
    OWBRT92 67TX EXCLUSIVNONE 262151 87564
    Session 17 is the runtime service, and these two locks are present under normal operation. Session 48 is the Sqlplus session runing the execution template, and session 67 is (i think) the session that is causing the problem.
    - The advanced queue WB_RT_NOTIFY_QUEUE tab shows "Number in state ready" equal to the number of processes still in the state "busy" i the process flow.
    - When the runtime service is stoped (using the stop_service.sql) The locking sessions disappears.
    - When the service is restarted, the processes change status to "bussy recovery" There is now a RPE-01008 and a RPE-01009 message in the "errors" section for the mapping.
    - After the failed recovery, everything looks normal, except that there are now twice the number of messages in state READY on the WB_RT_NOTIFICATION_QUEUE. The only way I have found to get rid of these is to delete them from the queue table.
    Is this a known problem? We are about to go live in a few weeks, and this could be a serious show stopper if we can't rely on the daily process flows to run as expected.
    I could log a TAR on this, but I suspect support would ask for a test case, and Im going to have a hard time providing it for them in this case.

    Jean-Pierre,
    Thanks for the update. I was afraid this was going to be one of those "hard to pinpoint" issues...
    When the problems occurs the Worflow Monitor always shows the task status as "Notified".
    The "Main routine" is no longer executing. The session that was executing the mapping has disconnected, and the mapping has completed successfully. (I have verified this by checking the rows in the target tables). Also, the problem is not restricted to mappings. Sometimes it happens to "mail notifications", and in these cases the mail message is received as expected.
    It looks to me like there is some kind of synchronization problem between AQ and the controlling process (the runtime access user session) that can arise under a given condition (which I unfortunately have not been able to determine what is). As far as I can tell, the process executing the mapping completes and puts the message that it has completed on the Notify_Queue (hence the messages in stat "Ready" on the queue), but for some reason the process waiting to read the message fails to do so.
    As for a test case, I have recently sent an export of our design repository to Igor Machin. Is it possible for you to have a look at that? As I mentioned in the first post, our Process Flows are fairly complex. Some of the flows are executing 50+ mappings in parallel.

  • SD Process Flow

    Hi,
    Can someone please provide a link/material for SD Process Flow, i,e. the Business Process involved in SD
    Thanks,
    Chinnu

    hi
    PO and SO
    ==========================================
    Data Flow
         Master Data
         Sales Support
         Sales
         Shipping
         Billing
         Credit Management
         Foreign Trade / Customs
         Sales Information System
    Master Data
         Business Partner / Customer
         Products
         Conditions
         Agreements / Contracts
         Terms of Payment
         Incoterms
         Routes
    Sales Support
         Sales Promotions
         Sales Activities
         Potential Analysis
    Sales
         Inquiry
         Quotation
         Order / Contract / Backorder
         Product Proposals
    Shipping and Transportation
         Outbound Delivery
         Picking
         Packing
         Loading
         Shipment
         Post Goods Issue
         Billing
    Billing
         Billing
    Credit Management
    Foreign Trade / Customs
    Sales Information System
    Activities Involved by the SAP – SD End User
         Inquiry Processing  
         Quotation Processing  
         Contract Processing 
         Sales Order Processing   
         Scheduling Agreement Processing
         Returns Processing 
         Rebate Processing  
         Sales Deal and Promotion Processing
         Display Customer and Material Information
         Billing Processing (online)
         Billing Processing (In The Background)
         Invoice List Processing
         Maintain Customer and Material Information
         Display Pricing
         Maintain Pricing 
         Release Blocked Documents for Billing
         Release Sales Orders for Delivery
         Display Sales Information
         Display Billing Documents
         Sales Analysis
         Credit Management in Sales and Distribution Documents
         Backorder Processing   
         Sales Support
         Output Processing 
    Inquiry Processing
         Create/change/display inquiries
         Generate lists for inquiries and incomplete inquiries
         Select sales documents according to object status
    Quotation Processing
         Create/change/display quotations
         Generate lists for quotations and incomplete quotations
         Select sales documents according to object status
    Contract Processing
         Create/change/display contracts
         Generate and process list of contracts
         Generate and process list of incomplete contracts
         Select sales documents according to object status
    Sales Order Processing
         Create/change/display sales orders
         Generate and process list of sales orders
         Generate and process list of incomplete sales orders
         Select and process sales documents according to object status
         Select and process sales documents in a period of time
         Select and process duplicate sales documents in a period of time
    Scheduling Agreement Processing
         Scheduling agreement processing
         Select and process incomplete scheduling agreements
         Select sales documents according to object status
    Returns Processing
         Create/change/display sales orders
         Create/change outbound delivery
    Rebate Processing
    Rebate processing:
         Maintain rebate agreements
         Extend rebate agreement
         Settlement of rebate agreements
         Generate list of rebate agreements
    Billing document:
         Display billing document
         Compare the rebate basis from billing documents and statistics
         Update billing documents referring to rebate conditions
    Sales Deal and Promotion Processing
         Create/change/display sales deals
         Generate list of sales deals
         Create/change/display promotions
         Generate list of promotions
    Display Customer and Material Information
         Display customer (Sales)
         Display material
         Display material listing/exclusion
         Select customer material info record according to customer
         Select customer material info record according to material
         Display customer hierarchy
         Display sales deals
         Display promotions
         Display rebate agreements
         Display cross selling materials
         Display assortment module for value contracts
    Billing Processing (online)
         Create/change/display billing document
         Cancel billing document
         Retroactive billing
         Process billing due list
         Set billing date
         Display billing documents from the archive
         List of billing documents
         Rebook accounting indicator
         Release sales orders for billing
         Display sales and distribution documents blocked for billing
    Billing Processing (In the Background)
         Display billing document
         Generate batch jobs for billing
         Generate log for billing document run
    Invoice List Processing
    There are two types of invoice lists in the Standard:
    1.     one for invoices and debit memos
    2.     one for credit memos
         Create/change/display invoice lists
         Process work list for invoice lists
         Generate invoice list
         Generate cancellation invoice list
         Display invoice list from the archive
    Maintain Customer and Material Information
         Maintain material listing/exclusion
         Reference material listing/exclusion
         Maintain material substitution
         Reference material substitution
         Maintain material information
         Select customer material information according to material or customer
         Maintain material
         Maintain customer (Sales)
         Maintain customer hierarchy
         Maintain materials for cross selling
         Maintain value contracts
         Maintain Incoterms
    Display Pricing
         Display condition records
         Display condition lists
         Display conditions using index
         Display free goods determination
    Maintain Pricing
         Create/change/display condition
         Condition processing using index
         Create/change/display free good
         Create/change/display condition lists
         Process net price list
         Release expected customer price
    Release Blocked Documents for Billing
         Release sales orders for billing
         Change billing document
         List of blocked billing documents
    Release Sales Orders for Delivery
         Change sales order
         Block and unblock customer from sales view
         Generate lists for incomplete sales documents and for sales documents blocked for delivery
    Display Sales Information
         Generate list for quotations, contracts, sales orders or scheduling agreements
         Generate list for incomplete quotations, contracts, sales orders or scheduling agreements
         Generate list of sales orders blocked for delivery
         Display sales activities, item proposals, material listing and material exclusion
         Sales support monitor
    Display Billing Documents
         Display billing document
         Display list of billing documents
         Display blocked billing documents
    Sales Analysis
         Contracts: Lists for overdue and completed contracts
         Quotations: Lists for overdue and completed quotations
         Backorder processing: Backlog list, selection list
         Generate list for: Inquiries, rebate agreements, scheduling agreements
         Information on the customer: Sales summary, list of top customer
         Material information: List of top materials
         Sales support monitor
         Flexible planning: Display/create/change
    Credit Management in Sales and Distribution Documents
         Process credit authorization for sales and distribution documents
         List of released sales and distribution documents
         List of blocked sales and distribution documents
         Process credit authorization according to sales and distribution document
         Process credit authorization according to delivery
         List of incomplete sales and distribution documents
         Sales and distribution documents blocked for delivery
         Delivery monitor
         List of billing documents
    Backorder Processing
         Display backlogged sales orders
         Process backorder processing using selection list according to sales documents
         Backorder processing: access using the material
         Execute rescheduling of sales documents
         Evaluate rescheduling of sales documents
    Sales Support
         Create/change/display sales activities
         Executing mailing promotions
         Display and create interested parties and contact persons
         Display sales summary
         Sales support monitor
         Display competitive products
    Output Processing
         Display/change/create output-condition records in Sales
    Integration between SD and MM :-
    1. When you create sales order in SD, all the details of the items are copied from Material master of MM.
    2. MRP and availability check related data is also taken from MM although you control this data in SD also.
    3. While you create inbound/outbound delivery with reference to a sales order,the shipping point determination takes place with the help of the loading group, plant data, shipping conditions etc. This also refers to Material Master.
    4. The material which you are entering in a sales order must be extended to the sales area of your sales order/customer otherwise you cannot transact with this material.
    Integration between SD and FI :-
    1. Whenever you create a delivery with reference to a sales order, goods movement takes place in the background. eg. In case of standard sales order, you create an outbound goods delivery to the customer. Here movement 601 takes place. This movement is configured in MM. Also, this movement hits some G/L account in FI. Every such movement of good s hits some G/L account.
    2. The accounts posting in FI is done with reference to the billing documents (invoice, debit note, credit note etc) created in SD. Thus this is a link between SD and FI
    3. Tax determination: In case of a tax determination also, there is a direct link between SD and MM
    Different areas where SD is Integrated
    Sales Order –
    •Availability Check                      -       MM
    •Credit Check                             -       FI
    •Costing                                  -       CO/ MM
    •Tax Determination                   -       FI
    •Transfer of Requirements            -       PP/ MM
    Delivery & Goods Issue –
    •Availability Check                  -       MM
    •Credit Check                             -       FI
    •Reduces stock                       -       MM
    •Reduces Inventory $                 -       FI/ CO
    •Requirement Eliminated              -       PP/ MM
    Billing -
    •Debit A/R                                -       FI/ CO
    •Credit Revenue                      -       FI/ CO
    •Updates G/ L                        -       FI/ CO
    (Tax, discounts, surcharges
    •Milestone Billing                        -       PS
    Return Delivery & Credit Memo -
    •Increases Inventory                 -       MM
    •Updates G/ L                        -       FI
    •Credit Memo                         -       FI
    •Adjustment to A/R                   -       FI
    •Reduces Revenue                     -       FI
    Reward if USeful
    Thanx .. Naren..
    Message was edited by:
            Dasari Narendra

  • How to implement wait activity in OWB process flows?

    Hi,
    I am using OWB 10G R1.
    There is no wait activity in process flows.
    My scenario is, whenver a trigger file is created, I want to proceed with the process flow. If the trigger file doesnot exist, then I want to put the process flow in a wait state, until the trigger file is created.
    Here I used File_Exists activity. But it is checking for the file only once. And it returns warning.
    After that, I want to add an wait activity for certain period of time. How can I do this? Is there is any package,procedure or function to do that?
    Any help is appreciated.
    Thank you,
    Regards,
    Gowtham Sen.

    Gowtham,
    Well the following hint is provided by oracle warehouse builder help.........
    The time-out setting for the workflow engine determines how long the File Exist activity waits for a file. If the file does not arrive before the time-out setting expires, the File Exists activity terminates with errors.
    well someone with deep workflow knowledge can answer this one...
    If you get the answer please share with us.....
    Regards,
    Suraj.

  • Manual Commit using Process Flows

    Hi,
    I have 2 mappings, each with commit control property set as 'Manual'. I created a process flow to run these mappings. Following the instructions in the OWB user guide, I added a single SQLPLUS activity in the process flow, and entered the following in the 'SCRIPT' parameter of the SQLPLUS activity :
    DECLARE
    status VARCHAR2(30);
    BEGIN
    SCHEDULER_TESTING.main(status);
    IF status!='OK' THEN
    ROLLBACK;
    ELSE
    ERROR_LOG_TESTING.main(status);
    IF status!='OK' THEN
    ROLLBACK;
    ELSE
    COMMIT;
    END IF;
    END IF;
    END;
    When I deploy and run this process flow, it shows the execution as successful (COMPLETE:OK) in the control center. But when I check the target tables, no records have been inserted.Also, when I check the execution job report in the repository browser, it shows the status as 'Complete:Failure' ,without displaying any error message.
    There is no problem with the mappings, as executing them independantly gives the desired result.
    Any idea what is going wrong?
    Thanks and Regards,
    Amit

    OK, well from the process flow perspective your script exited normally which is why it shows the sqlplus activity as having completed properly. You would need an exit variable in the script that the activity's outgoing transformation was checking to in order to have the process flow know that a failure occurred. Because whether the mappings succeed or not is not known to the process flow from this script.
    But the other problem, of course, is why the script isn't running the process flows properly, but you haven't any way to determine this without doing some logging from the script.
    Perhaps, as a quick and dirty testing idea you could create a table proc_log(msg varchar2(500) and amend your script to:
    DECLARE
    status1 VARCHAR2(30);
    status2 VARCHAR2(30);
    BEGIN
    SCHEDULER_TESTING.main(status1);
    IF status!='OK' THEN
    ROLLBACK;
    ELSE
    ERROR_LOG_TESTING.main(status2);
    IF status!='OK' THEN
    ROLLBACK;
    ELSE
    COMMIT;
    END IF;
    END IF;
    insert into yourSchema.proc_log('Status for scheduler_testing: '||status1);
    insert into yourSchema.proc_log('Status for error_log_testing: '||status2);
    commit;
    EXCEPTION
    when other then
    rollback;
    insert into yourSchema.proc_log('EXCEPTION: '||sqlerrm);
    commit;
    END;
    just to try and see what is happening in there.
    Now, to put an exit variable into your script you would need to do something like:
    variable exec_return_code number;
    DECLARE
    -- we'll use 0 for success and 1 for failure
    returncode number := 0;
    status VARCHAR2(30);
    BEGIN
    SCHEDULER_TESTING.main(status);
    IF status!='OK' THEN
    returncode := 1;
    ROLLBACK;
    ELSE
    ERROR_LOG_TESTING.main(status);
    IF status!='OK' THEN
    returncode := 1;
    ROLLBACK;
    ELSE
    COMMIT;
    END IF;
    END IF;
    :exec_return_code := returncode;
    END;
    exit :exec_return_code;
    I haven't tried this yet, but it would be the only way I could think of to have any sort of success/failure returned from a sqlplus activity to the process flow.
    Cheers,
    Mike

  • Design for process flow in OWB

    Hi Experts
    I want to design my process flow. Please send the processflow design template/Document.
    Regards
    frnd

    You define an Oracle Workflow location to specify where you want to deploy your process flows. The Oracle Workflow location points to a workflow schema that runs in the target database. Warehouse Builder process flows comply with the XML Process Definition Language (XPDL). When you generate a process flow, Warehouse Builder generates an XML file in the XPDL format. You can plug the generated XML file into any workflow engine that follows the XPDL standard.
    Process Flow Modules include Process Flow Packages that include Process Flows. The Process Flow Package is a grouping mechanism that determines which process flows you can interrelate. At run time, you can launch one process flow that launches other Process Flows that exist in the same process flow package.
    The Process Flow Module acts as a container by which you can validate, generate, and deploy a group of Process Flows.
    So, it concludes that there is no standard design for process flows, it all depends to your datawarehouse and your ETL process(extracting, transformning. loading)

  • URGENT:error while deploying a process flow

    EMP_COUNT is a mapping which i have deployed .
    when i try to deploy a process flow i get the following error:
    OMB05602: An unknown Deployment error has occured for Object Type API8028: No signature is available for mapping EMP_COUNT because the generation language is undefined. Please set the generation language property of this mapping, or generate this mapping to set the generation language property to a default value..
    thnx in advance

    OMB+> OMBALTER MAPPING 'EMP_COUNT' SET PROPERTIES (GENERATION_LANGUAGE) VALUES ('PLSQL')
    Fast enough? ;-)
    Regards,
    Detlef

Maybe you are looking for

  • How do I set up a filter to stop relayed mail?

    How do I set up a filter to stop relayed mail? Unsolicited Bulk E-mail (UBE) is electronic mail sent to large numbers of recipients without their knowledge or consent, usually advertising commercial products or services. It is the electronic equivale

  • Better support for iPhone Retina display apps

    The iPad display is higher resolution than the iPhone 4. It would be nice if when I use an iPhone app on my iPad that is built for a retina display if it was not downscaled to a non-retina resolution. This would make the apps built for the retina dis

  • Finding a GOOD Studio Mic to use with Final cut Express

    Hi, I need to get a good quality...not expensive mic to record narrations for my videos. I've been reading abut the Marshall Electronics MXL Desktop recording mics and kits are a good quality desktop recording mic that would work with my mac to do re

  • XML onLoad problem

    I'm calling an external xml file and loading it into Flash. I can only pull the varables out in the onLoad function. Here it is. var courseXML:XML = new XML(); courseXML.ignoreWhite = true; courseXML.load("presentSlidesOne.xml"); courseXML.onLoad = f

  • Schema problem. Urgent

    Hi Guys, I stumble across a problem and would like to seek your opinion and advise: I have a schema A. I created a DBMS job 'DB_job_A' in schema A. (The schema A should be the owner of the DBMS job) I then, migrated the schema A to schema B. But the