Mvc: process flow control

Hi
I am working on a BSP application using MVC.
My application has three controller ..Main controller has two sub controller .
During the event handling i am facing some problem
can any one please tell me the process flow control in multiple controller ....in which flow all the events in all controllers are called .?
thanx

Hi Monica,
you can find an overview about the process flow in the online docu:
http://help.sap.com/saphelp_erp2004/helpdata/en/22/d59045f4d1174099260b71d5317908/frameset.htm
Regards,
Rainer

Similar Messages

  • Debugging -  Process flow control

    Hi All,
    I am doing initial load for one condition object(R3AS), and when I check SMW01 I am getting BDoc validation Error.
    I want to debug the BDoc flow context i.e MI0(validation function module) where Bdoc posting is failing.
    I followed OSS note- 432661- Debugging and process support of flow control: Enhancement
    Here is the Note:
    Symptom
    Error analysis requires debugging flow control services.
    Other terms
    SMW01, Flow Control, BDOC, BDoc, BDoc Message, Flow Service, Update task, qRFC step, asynchronous step
    Reason and Prerequisites
    Error analysis requires debugging flow control services.
    Solution
    This feature is available with CRM 3.0 starting SP04 and higher releases.
    Usage:
    •     The flow header structure SMW3_FHD is extended to hold a flag indicating debug mode. To debug, set this flag before calling CL_SMW_MFLOW=> PROCESS_OUTBOUND (Parameter IN_HEADER, Field DBGMODE), PROCESS_NOTIFICATION (Parameter HEADER, Field DBGMODE) or PROCESS_NOTIFICATION_MULT (Parameter HEADER, Field DBGMODE). If update task and/or asynchronous tRFC/qRFC step is done, the message is not written into a qRFC queue or tRFC. Instead the message get's a new state 'D01': To be processed (Debug).
    The message processing can then be continued from transaction SMW01.
    •     Select messages in state D01 possibly with bdoc type, send date, creation time, and user.
    •     In the list display check the message check box that you want to debug.
    •     Choose function Retry to process.
    The message will be processed by flow service function modules in the order shown in transaction SMO8FD. Processing occurs directly. Therefore all active breakpoints can be used to stop processing for further analysis.
    I set HEADER-DBGMODE = ‘X’, and passed this structure to CL_SMW_MFLOW=> PROCESS_OUTBOUND
    But none of the message is set to ‘D01’. Anyone have idea where I am missing?
    I basically want to debug this validation function module while Bdoc comes in CRM, Any other way other than this OSS note..?
    Thanks,
    Vijay Raheja

    what the description of the error?
    Give details. Just by saying bdoc validation error does not nelp.
    Click on the error details icon and see wat it says.
    let us know then only can we help
    Julius

  • 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

  • Process Flow ignores name and location for Control- and Log-Files

    Hi!
    Our OWB Version is 10.1.0.3.0 - DB Version 9.2.0.7.0 - OWF Version 2.6.2
    Clients and server are running on Windows. Database contains target schemas as well as OWB Design and Runtime, plus OWF repositories. The source files to load reside on the same server as the database.
    I have for example a SQL*Loader Mapping MAP_TEXT which loads one flat file "text.dat" into a table stg_text.
    The mapping MAP_TEXT is well configured and runs perfect. i.e. Control file "text.ctl" is generated to location LOC_CTL, flat file "text.dat" read from another location LOC_DATA, bad file "text.bad" is written to LOC_BAD and the log file "text.log" is placed into LOC_LOG. All locations are registered in runtime repository.
    When I integrate this mapping into a WorkFlow Process PF_TEXT, then only LOC_DATA and LOC_BAD are used. After deploying PF_TEXT, I execute it and found out, that Control and Log file are placed into the directory <OWB_HOME>\owb\temp and got generic names <Mapping Name>.ctl and <Mapping Name>.log (in this case MAP_TEXT.ctl and MAP_TEXT.log).
    How can I influence OWB to execute the Process Flow using the locations configured for the mapping placed inside?
    Has anyone any helpfull idea?
    Thx,
    Johann.

    I didn't expect to be the only one to encounter this misbehaviour of OWB.
    Meanwhile I found out what the problem is and had to recognize that it is like it is!
    There is no solution for it till Paris Release.
    Bug Nr. 3099551 at Oracle MetaLink adresses this issue.
    Regards,
    Johann Lodina.

  • Confirmation Control Process Flow

    My Dear Gurus,
    I want to know the actual confirmation control process in material manangement. Becoz of one of my client having the following scenerios.
    PO is created only by PR reference with confirmation tab enabling in po. Once he created the PO again he come back to change mode in PO and enable the confimation control (0001) and the confirmation category as AB.
    Once the vendor is received the PO and the delivery date is accepted by vendor and he manually over phone tell the final delivery date.
    So our client wants to update the final delivery date given by vendor.
    My question is either he need to do *the inbound delivery through VL31N* then only do the MIGO (GR) or directly without doing VL31N do the MIGO transaction.
    Kindly xplain process flow for the above case.
    Regards,
    Vimal

    You can define and do the required confirmation control key under
    SPRO -- > Materials Management --> Purchasing --> Confirmation .
    Confirmation control Key "AB"  is  refers to Order Acknowledgement.
    Based on configuration under " Set up Confirmation Control " system decides whether only Order Acknowledgement is required or subsequent operation is required prior to GR.
    Suppose " Inbound Delivery is required" then one need to do Inbound delivery under VL31N.
    Then GR. You can remove the inbound delivery steps by making blank key  under Confirmation tab.

  • Oracle 10G Database Control and Scheduling OWB Process Flow

    Does anyone know how to go about scheduling an OWB Process Flow from
    Oracle 10G Data Base Control. I knew how to do this with Oracle Enterprise Manager 9.2 but we recently upgraded to Oracle Db 10G and the interface has changed significantly.
    Now the interface seems to require a PL/SQL stored procedure to be executed.
    Is there a template procedure that is installed with 10G Data Base Control as there was for 9.2 i.e. oem_exec_template.sql?
    Thanks! Deadline approaching fast...
    Marion

    I've used the oem_exec_template.sql successfully with OWB 10.1 and Oracle 10G Database Control, with a little trial and error at first.
    I'm assuming that your job execution environment is set up correctly, ie. that you can properly execute jobs via the host agent.
    1. Log on to Database Control as SYSTEM, select Jobs from the links at the bottom of the page
    2. In the Results section, Create Job, select "SQL Script" and press Go
    3. In the General section, enter Job Name, and as SQL Script enter e.g.:
    @/u01/app/oracle/owb_oracle_home/owb/rtp/sql/oem_exec_template.sql owb_runtime WF_LOC PROCESS MY_PROCESS , ,
    4. In the Databases section, add your target database
    5. In the Credentials section, I select "Override Preferred Credentials" and use the agent account (oracle on my Linux system) and db user owb_access (OWB Runtime Access user)
    6. Review Schedule tab and submit
    Comments on step 3:
    - the oem_exec_template.sql script must be installed according to the path specified in step 3, on the database host where the OWB Runtime Repository is located
    - owb_runtime is the owner of my OWB Runtime Repository
    - WF_LOC is the name of my Workflow Location as seen in OWB Deployment Manager
    - MY_PROCESS is the name of a deployed Workflow Process
    - the commas indicate that I don't supply any system or custom parameters.
    - step 3 is actually a shell command line that is interpreted by eg. /bin/sh on Unix or cmd on Windows, and must obey proper quoting rules. On windows, I had to specify the empty commas as "\," (including dblquotes)
    Regards, Hans Henrik

  • Scheduling Process flows in scheduling tool Control M

    Hi,
    We need to schedule 3 to 4 process flows through the general scheduling tool "Control M". So how do we do this? I mean where should we login to run the OWB jobs (Process Flows) through Control M.
    Any help will be appreciated.
    Thanks,
    Harsha

    Create a shell script that will take in the required parameters you need (i.e.connection User/pwd@SID and OWB mapping inputs if required), which call sqlplus with a procedure that will run your workflow.
    My current client migrates all OWB incl Worflows created through OWB by the means of export. This is why the prefix of the workflow activity will differ from an environment from another.
    Here is a procedure that will launch the OWF and wait for the workflow to be completed before it exits and return control to CONTROL-M.
    CREATE OR REPLACE PROCEDURE XX_OWF_Daily_Load (
    ATTR01 IN VARCHAR2(10),
    ATTR02 IN VARCHAR2(10),
    ATTR03 IN VARCHAR2(10),
    ATTR04 IN VARCHAR2(10),
    ATTR05 IN VARCHAR2)
    IS
    v_ITEM_KEY VARCHAR2(40);
    v_PREFIX VARCHAR2(4);
    v_ITEM_TYPE VARCHAR2(8):= 'MY_ITEM';
    v_PROCESS VARCHAR2(32):='MY_ITEM_KEY';
    /*Mapping Inputs for OWB */
    v_ATTRIBUTETXT01 VARCHAR2(1):='ATTR01';
    v_ATTRIBUTETXT02 VARCHAR2(1):='ATTR02';
    v_ATTRIBUTETXT03 VARCHAR2(1):='ATTR03';
    v_ATTRIBUTETXT04 VARCHAR2(1):='ATTR04';
    v_ATTRIBUTETXT05 VARCHAR2(1):='ATTR01';
    v_STATUS VARCHAR2(30):='RUNNING';
    BEGIN
    /* Generate a unique key */
    SELECT 'DAILY_PROCESS'||TO_CHAR(SYSDATE,'YYYYMMDD:HH24MI') INTO v_ITEM_KEY FROM DUAL;
    SELECT TRIM(TEXT_DEFAULT)||'_' INTO v_PREFIX
    FROM WF_ACTIVITY_ATTRIBUTES_VL
    WHERE
    ACTIVITY_ITEM_TYPE = 'MY_ITEM'
    AND ACTIVITY_NAME = 'MY_ITEM_KEY'
    AND NAME = 'SYS:TLA';
    /* Creating the Workflow Process */
    Wf_Engine.createprocess(ItemType => v_ITEM_TYPE,
    ItemKey => v_ITEM_KEY,
    process => v_PROCESS);
    /* Setting all required attributes for the Workflow Process */
    Wf_Engine.SETITEMATTRTEXT(ItemType => v_ITEM_TYPE,
    ItemKey => v_ITEM_KEY,
    AName => v_PREFIX || 'LOAD_WORKAREA_POLICY',
                                  AValue => v_ATTRIBUTETXT01);
    Wf_Engine.SETITEMATTRTEXT(ItemType => v_ITEM_TYPE,
    ItemKey => v_ITEM_KEY,
    AName => v_PREFIX || 'LOAD_WORKAREA_TR_POLICY',
                                  AValue => v_ATTRIBUTETXT02);
    Wf_Engine.SETITEMATTRTEXT(ItemType => v_ITEM_TYPE,
    ItemKey => v_ITEM_KEY,
    AName => v_PREFIX || 'LOAD_USER_DIM',
                                  AValue => v_LOAD_USER_DIM);
    Wf_Engine.SETITEMATTRTEXT(ItemType => v_ITEM_TYPE,
    ItemKey => v_ITEM_KEY,
    AName => v_PREFIX || 'LOAD_VEHICLE_DIM',
                                  AValue => v_ATTRIBUTETXT05);
    Wf_Engine.setitemowner(ItemType => v_ITEM_TYPE,
    ItemKey => v_ITEM_KEY,
    Owner => 'OWF_MGR');
    /* Starting the Workflow Process */
    Wf_Engine.startprocess (itemtype => v_ITEM_TYPE,
    itemkey => v_ITEM_KEY);
    WHILE (v_status <> 'COMPLETED')
    LOOP                              
    SELECT ACTIVITY_STATUS INTO v_status
         FROM WF_ITEM_ACTIVITY_STATUSES
    WHERE ITEM_TYPE='MY_ITEM' AND ITEM_KEY=v_ITEM_KEY;
    SYS.DBMS_LOCK.SLEEP(600);
    END LOOP;
    END;
    /

  • Process flow - Mannual - How to interevene thru Control Center

    I have Mannual process in my process flow. I know how to intervene thru Repository Browser. I go to repository browser and do expedite execution and process continues.
    In the user guide they tell this can be done thru control center also. Can anyone explain me how to intervene and continue the process thru control center.

    From the top of my head, if you are in the control center, go to the job when running (the bottom panel) and right mouse click on the job. You can stop a job... I do not have a current example, but I would expect it to be in there...
    JP

  • Control process flow from Business Rules

    hi
    i would wish to control the process flow in BPEL by using Business Rules(based on conditions) rather than using Switch. how can i accomplish this? please do help me in this.

    what do you mean with control the process flow? Do you mean to destine which partner link is called? Or just make some decissions through the business rules and use a switch afterwards....
    If you are talking about controlling the partner link to be called, then you should have a look at the chapter three of the cookbook
    http://www.oracle.com/technology/pub/articles/bpel_cookbook/carey.html
    You could use the outcome of the business rule to make a decission which endpoint reference to use. Perhapes even return the endpoint reference from the business rule...
    Greets Jens

  • Can't see process flow locations in control center

    Hi there
    We have process flows which pointing to process flow locations. Can see these locations in Design Center but when try delopy the process flows can't since the process flow locations are not visible.
    How do you make these locations visible in the Control Center.
    Many Thanks

    Hi there
    found out how to do this - double-click the control center and see the various locations it can see on the right hand side - the process flow ones were on the left - simply added them to right and can now see in control center and deploy.
    Many Thanks

  • How to implement autotuning pid in labview in flow control process????

    I tried the same way as Example available in LabVIEW..... that is general auto PID simulator... But that didn't worked out for me.....

    The 'General Auto PID Simulator.vi' example uses the technique "PID Relay" feedback where it tries to calculate the PID values based on the relay feedback, but using the PID also in the loop:
    (http://zone.ni.com/reference/en-XX/help/370401H-01/lvpidmain/pidrelay_alg/)
    This technique works, but it requires initial PID parameters that will make the relay setpoint stable and it is able to obtain the results you are expecting.
    Now, for flow control, you can try the most classic techniques. Please use other shipping examples that start with "autotuning" and in special this:
    C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\control\PID\Autotuning PID Online.vi
    In this VI, you can choose other techniques like open-loop step response, closed-loop step response and the original 'relay feedback' where it doesn't have a PID inside the estimation loop.
    Anyway, here you have more information about those techniques http://zone.ni.com/reference/en-XX/help/370401H-01/TOC4.htm.
    One more thing: keep in mind that depending on the plant parameters, a PID could not be suited for your application and a more complex controller need to be developed.
    Hope this can help you...
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • HFM Process Control and Process Flow History

    Hi,
    When I review the Process Flow History for top parent members of the consolidation, the POV shows <Scenario> <Year> <Period> <Entity> <Entity Currency>. For all other applications and entities, the <Entity Currency> member shows but I've built a new application and the <Entity Currency> shows as "EUR Total" (EUR is one of the currencies) except that EUR is not the default currency of application or the entity's value. Could anyone explain to me why it would show that way or where it could be coming from?
    I'm using HFM v11.1.1.3.
    Thanks in advance.

    did you add new metadata?

  • Standard flow control

    JSTL support for standard flow control.
    what that means ?
    I am aware of that JSTL can help in SQL processing , XML processing through Tag libraries.
    But however, how the JSTL supports standard flow control ? is it the JSTL iterator we are talking about ?

    Although you can apparently access a database on the JSP page using JSTL tags, it doesn't mean its a good idea. I suggest you use the MVC design. You separate the layers and not put database functionality in the presentation layer (JSP).
    Hers is one MVC approach in which a single servlet acts as the control. There are other ways of doing it via Spring, Structs, etc. However, I suggest you master this approach before moving onto those.
    presentation layer:
    JSP, CSS, Javascript, and JSTL.
    The JSP page and its supporting languages is responsible for displaying data and submitting user input back the controller. The Javascript is typically responsible for basic client side validation of user input. JSP gets its data that it is to display from request scope (and perhaps some from session scope). JSTL assists JSP in displaying data by doing such tasks as looping though a Java collection from the request scope and displaying it. The JSP page should not contain any logic from the other layers (below). The page will get complicated enough over time just displaying data without making it even more difficult to read by inserting business logic into it.
    control layer:
    A single servlet. This servlet takes in all url request and page submits coming from JSP pages. Avoid JSP to JSP page naviigation (there are exceptions to this rule). Go through the control layer. This servlet calls business logic to get data that the page requests. It puts it in request and/or session scope, and dispatches to the appropriate JSP page. Because all url request go through this servlet, the servlet can do centralized authentication (log in) and authorization (user assigned to a role). Dont generate presentation data (html) from this layer.
    business layer:
    Java classes that carry out requests from the control layer. It calls the database layer for raw data from the database and performs business logic on the data (if any) before sending it to the control layer.
    database layer:
    Takes in requests from the business layer. Queries the database via SQL. Is the only layer that has sql in it. Reads the resultSet from the database and puts the data in some kind of Java collection before returning it to the business layer. Never return the resultSet (a database concept) to the business layer.

  • Cannot deploy process flow package specification from file

    Hi,
    we are using owb 11gr2 on linux. We successfully managed to deploy mappings and tables into a specification file, and then deploy from that file into the target database (RAC). But when we try to deploy a process flow package we run into an error:
    A process flow package can be deployed to a specification file. But a deployment from that specification file fails with the error: " OMB05623: Cannot deploy specification from file. Exception follows. nulll"
    ### SETUP
    set CONN_DESIGN "xxx"
    set CONN_TARGET_DESIGN "yyy"
    set CONN_TARGET_RT "xxx'"
    set DIR "D:\\tmp"
    set RELEASE "V0_2"
    set file "$DIR\\$RELEASE"
    set plan "FILE_DEPLOY_$RELEASE"
    ### Deployment via control center: works!
    OMBCONNECT $CONN_DESIGN
    OMBCONNECT CONTROL_CENTER $CONN_TARGET_RT
    OMBCC '/KLINGEL_DWH'
    OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN '$plan'
    OMBALTER DEPLOYMENT_ACTION_PLAN '$plan' ADD ACTION 'PF_TEST' SET PROPERTIES (OPERATION) VALUES ('REPLACE') SET REFERENCE PROCESS_FLOW_PACKAGE '/KLINGEL_DWH/WF_DWH/PF_TEST'
    OMBDEPLOY DEPLOYMENT_ACTION_PLAN '$plan'
    OMBDISCONNECT CONTROL_CENTER
    OMBCOMMIT
    OMBDISCONNECT
    ### Deployment via specificatin file: fails!
    OMBCONNECT $CONN_DESIGN
    OMBCONNECT CONTROL_CENTER $CONN_DESIGN
    OMBCC '/KLINGEL_DWH'
    OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN '$plan'
    OMBALTER DEPLOYMENT_ACTION_PLAN '$plan' ADD ACTION 'PF_TEST' SET PROPERTIES (OPERATION) VALUES ('REPLACE') SET REFERENCE PROCESS_FLOW_PACKAGE '/KLINGEL_DWH/WF_DWH/PF_TEST'
    OMBDEPLOY DEPLOYMENT_ACTION_PLAN '$plan' AS SPECIFICATION TO '$file.xml'
    OMBDROP DEPLOYMENT_ACTION_PLAN '$plan'
    OMBDISCONNECT CONTROL_CENTER
    OMBCOMMIT
    OMBDISCONNECT
    OMBCONNECT CONTROL_CENTER $CONN_TARGET_RT
    OMBDEPLOY SPECIFICATION FROM '$file.xml'
    ### OMB05623: Deployment von Spezifikation aus Datei nicht möglich. Exception folgt. null
    ###OMB05623: Cannot deploy specification from file. Exception follows. nullIf we use the operation DROP it works. But REPLACE and CREATE do not work.
    We get the error regardless whether the code is executed as an expert or on the command line at a windows client.
    Does anyone knows a workaround?
    Deployment via a specification file is a must due to license and architecture requirements.
    Thanks,
    Carsten.

    Its woked fine for me for OWB 10.2.0.4 .... some steps are missing from code like
    when you are connecting again it should be
    OMBDISCONNECT
    OMBCONNECT CONTROL_CENTER $CONN_TARGET_RT
    OMBDISCONNECT
    OMBCC '/KLINGEL_DWH'
    OMBCONNECT CONTROL_CENTER $CONN_TARGET_RTI think you can try the same on different system .
    Cheers
    Nawneet

  • When a process flow activity takes a long time to run.

    Hello,
    I have a process flow activity that sometimes takes a long time to run so that the process flow never ends. Is it possible that I can set the activity so that during a certain time that this has not been executed automatically flow process to continue?
    I'm Using Oracle Warehouse Builder 11g on Windows Server 2003 R1.
    Greetings and thanks.

    What I've done in the past is just use a small polling procedure (PL/SQL) and a conditional transition in the process flow, depending on what the proc returns (Continue or Fail) then the flow of control in the Process is changed.
    I think the key also is to not have too much paralellism going on too, that way it's easy to streamline the PF and remove slow moving processes to a more linear path (stopping bottle necks on your logical AND).
    Edited by: NSNO on Apr 29, 2010 2:31 PM

Maybe you are looking for

  • Projector stuck on first frame on iMac

    Hi, I'm having a really weird problem. My projector version 11.5 and 12 gets stuck on an iMac with osx 10.8.2 on the first frame. Only way to make it progress is to disable the "run on background" and repeatedly deactivate and activate the projector

  • How to set a checkbox parameter in sap crystal Report

    Hi Experts                          SAP B1 crystal Report How to acheive the check box  as a parameter.here i attached the screen shots.     Regards Vinoth

  • Sharing License (Private Use)

    I just subscribed to Creative Cloud as an individual. After contacting Adobe support via chat yesterday, I got the news that I am indeed allowed to install the CC software on two different computers at the same time and – most interestingly – that my

  • 24" iMac Can't Boot OS X Install Discs

    I have a 24" iMac (A1225). I can boot to non-Apple discs (utilities, Windows) and I can even install Windows without any problems. I can't boot to any OS X Install disc however. I have the original 10.5 discs, they don't boot. I have a 10.7 disc that

  • How do I keep browser from re-sizing (zooming) flash video?

    Hi, Some browsers (Opera, Explorer, Firefox 3) can zoom entire pages, including text, images, and video. My flash videos have text that degrades (pixelates) badly under these circumstances. How can I embed a flash video in DW CS3 to keep the video di