Business parameter and project variables

I want to know if Business parameter can be used in place of a prpject variable. My understanding is project variables require an alter command on the DB script during deployment and it is limited to 150 for 1 engine. Hence we dont want to use them. Also wanted to know where are business variables stored in the DB schema. Is there any place where we can get the Engine DB and Directory DB model with relationships and attribute details so that I can understand the system better

I should have been clearer. A business parameter is not used to store information about a specific instance flowing through the life of a process. They are used as "constants" (quotes around this are explained in my thread above) that can be changed by business owners. They are different than project and instance variables in that:
1) Business Parameters are global - this means that their value is the same for all processes running on the Engine (e.g. if MIN_CREDIT_SCORE is set to 650 by a business owner, then all instances in all processes that use this know it's value is 650). Both project and instance variable values are unique to each individual work item instance running on a specific process on an Engine.
2) Business Parameters are infrequently changed and if a business owner changes them to another value, all instances running on the Engine will see the new value.
3) The global value of business parameters are stored in the Directory Service database. Project and instance variables are stored in the Engine's database.
4) Business Parameters are not something that you would want to run a BAM report on since their values are global and not specific to a particular work item instance. Again, it's better to think of them as constants. They're not going to help you with BAM reporting.
Hope this helps,
Dan

Similar Messages

  • How to call PL/SQL function and pass parameter to ODI variable?

    Can I call PL/SQL function and assign a return value to an ODI variable? Also can I assign ODI variable to IN paramter and assign OUT parameter to ODI variable? What ODI doc has that information?
    Thanks

    Hi,
    Refer this http://odiexperts.com/how-to-use-plsql-procedures-and-functions-in-odi
    Thanks,
    Sutirtha

  • Bind variable and normal variable/parameter

    Hi all
    In many references it is common suggestion to use bind variable in SQL query for better performance. In oracle forms if we write query we use bind variable usually like as below:
    select emp_name
    from hr_employee
    where emp_no = :emp_no;
    But if we use backend function, we send the employee number through parameter and in backend function the query is as below
    select emp_name
    from hr_employee
    where emp_no = pEmpNo; --- IN Parameter
    Does this query get facility as bind variable??
    Thanks in advance.
    Mokarem.

    You may check Bind Variables for reference.
    String literals are usually not automatically converted to binds, unless (and only in certain circumstances)cursor_sharing is enabled.

  • Clear definition+examples- type variable, type parameter and type argument

    I am trying to fully understand the terms like type variable, type parameter and type argument as they apply to generics. Can anyone please give the exact definition and example of each of these terms. Also how these terms relate to the classes/interfaces in language model APIs of Java 6.

    http://java.sun.com/docs/books/jls/third_edition/html/j3TOC.html

  • I'm trying to print an Avery Saved project-(business card) and can't.  I'm told that my Adobe is not

    I'm trying to print an Avery saved project (business card) and can't I was told my Adobe Reader is not configured correctly. My OS is Windows 7.  What do I need to do?
    Chef Roberto

    I have Adobe X and the latest Flash. When I hit the “print” button on my Avery project, a message comes up that a PDF file is being created followed by a Click to Open message.  When I click to open the screen goes grey and stays grey.
    Bob

  • In Which scenario do we use Input parameter and Variable in HANA?

    Hi Every one,
    Can any one let me know in which scenario do we use the Input parameter and Variables in HANA.??
    Do variables does the same functionality as like Input paramater.
    Is there any major differences between these??
    Thanks and regards
    Sanjay

    Hi
    Have a look on this:
    Input Parameters and Variables in SAP HANA Modeling
    Regards,
    Krishna Tangudu

  • Problem in Mapping RefCursors(in/out parameter) and Collections(in/out)

    Hi,
    Can anyone help to solve the proble listed below as it is affecting the business process
    The API for A is listed below. It takes Oracle Object types as input/output.
    PROCEDURE A(
    p_serviceOrder IN ServiceOrder,
    p_serviceID IN OUT p_sm_type.ServiceID,
    p_serviceOrderID OUT p_sm_type.ServiceOrderID,
    returnStatus OUT CallStatus);
    The ServiceOrder and CallStatus are Oracle Object types.
    The wrapper procedure for this api would be something like the example with pseudo-code below.
    PROCEDURE B(
    p_serviceOrder IN REF CURSOR,
    p_serviceID IN OUT p_sm_type.ServiceID,
    p_serviceOrderID OUT p_sm_type.ServiceOrderID,
    returnStatus OUT REF CURSOR) {
    Map from REF CURSOR p_serviceOrder To Oracle Object for ServiceOrder;
    Map from other data types to local variables;
    Call A(pass the parameters here and get output…);
    Map output CallStatus to its equivalent REF CURSOR variable;
    Return CallStatus (and other OUT parameters if any) as REF CURSORs;
    It will be highly needful for the solution as it is affecting the business flow requirement.
    Regards
    Saugata

    Hi,
    i think you must set the value for this parameter and additional you must
    register this parameter as out parameter.
    I hope it works.

  • NOt able to update business parameter value in albpm6.0.5

    My code snippet is :
    String now = (String) Time.now();
    processCorrelationArg = now;
    BusinessParameter.updateValue(name : "CEO_PROCESS_SERVICE_LAST_RUN", value : now);
    if I try to access this business param in other activity it won't receive updated value.
    Please Help.

    I'm not sure about your use case, but you might want to consider not using a business parameter for this. I'm a big fan of business parameters, but if I'm trying to expose a variable globally that all processes can read or update (guessing this is what you are doing) you might instead consider using a ServerSession value. It's done like this:
    // this gets the value currently stored that could have been updated by any process
    whenItWasLastRun as String
    whenItWasLastRun = ServerSession.retrieveValueFrom(name : "ceoProcessLastRun")To set the value, do this:
    myDate as Time
    myDate = 'now'
    myTimeString as String
    myTimeString = myDate.format("dd MMM yyyy")
    // set the value so it can be read by any process
    putValueIn ServerSession
            using name = "ceoProcessLastRun",
                  value = myTimeString In answer to your question though, here's logic that updates a business parameter. The input and display statements below are just in there so you can see something interactively happening when you are testing. Don't use the display or input statements in production.
    object as Object
    object = BusinessParameter.getValue(name : "CREDIT_SCORE")
    newVal as String
    newVal = String(object)
    input "Credit score is: " : newVal
    object = Object(newVal)
    updateValue BusinessParameter
        using name = "CREDIT_SCORE",
              value = object
    object = BusinessParameter.getValue(name : "CREDIT_SCORE")
    display "Credit score is: " + String(object)Dan

  • Link Between Business Object and Transaction

    <b>How is Business Object linked to transactions?</b>
    For example, how is business object BUS2032 (Sales order) linked to transaction VA01 (Create sales order)?

    Hi Ben,
    I'm not sure that you link a business object and a transaction code explicitly. Normally in the business objects methods you have coded what transaction code should be called. Therefore if you use the methods of the business objects it then knows what transaction to call.
    Conversely on the workflow side you will find that down in the depths of the coding for VA01 (as an example) it calls workflow function modules and raises events. When doing so it provides the business object id and key to the business object (i.e. the sales order number). Indirectly I guess the change documents that are raised for most things in SAP like sales documents are uniquely identified and therefore can also be translated to the business object key (e.g. sales documents will have their own change document type).
    A brief example in my 4.6c system can be found in include LIEDPF4C in the form finsta_kontoauszug_buchen with a call to function SAP_WAPI_CREATE_EVENT. You see the the parameter "object_type" has a variable passed to it "objtype_finsta". If you drill back on objtype_finsta you see that is hardcoded to the value BUS4499.
    I guess you could say the developer of the business object knows what transaction codes the business object should use and the developer of the code in the transaction code knows what business objects he should be raising events for if necessary.
    Hope this helps.
    Regards,
    Michael

  • Missing Parameter - Global Date Variable

    I am trying to use a global variable for a date in my interface. I have the variable declared on the schema of my staging area and when I refresh it it works fine. I put the variable as refresh followed by the interface in a package. When I run the package the interface errors on the insert flow into $I table. The error message it is giving me is as follows:
    com.sunopsis.sql.SnpsMissingParametersException: Missing parameter
         at com.sunopsis.sql.SnpsQuery.completeHostVariable(SnpsQuery.java)
         at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Thread.java:619)
    If I put a TO_DATE clause around the variable in the target assignment it makes no difference. Also, In the same project we are working on we have alphanumeric and numeric variables working fine. Is there something different about global variables that are dates that's not mentioned in the documentation?
    Any help is greatly appreciated as this is really strange that they work for 2 types but not the third.

    This is unlikely to have anything to do with Global or Local variables.
    The error you are experiencing is usually due to a rouge ':' in the code.
    I suspect in this case your date value includes a level of detail that returns some format like DD-MM-YYYY HH24:MI and ODI is choking on the ':'
    In this case, the workaround is to enclose your date value in double quotes.
    Hope this helps.

  • Visio and Project 2013 silent install returns immediately (before install is finished)

    Hi,
    I am building a task sequence that will include Office 2010 ProPlus (volume license), a bunch of other products (like SQL Server and Visual Studio) and also Visio 2013 and Project 2013.
    For Visio 2013 and Project 2013, I have to use the retail media (this is for use in academic computer labs and we have a single retail key through DreamSpark Premium that allows unlimited activations - I don't know why DreamSpark doesn't just give a volume
    license key).
    I managed to get Visio 2013 and Project 2013 to install silently by modifying the config.xml file and using the /config parameter. However, when running my install script (the usual VBScript wrapper) or just from the command line, the command returns before
    setup finishes (literally within less than a second). Setup continues to run and finishes successfully, but as you can imagine, MDT considers that application install finished and tries to move on to the next application which fails because another installation
    is still in progress.
    I've included below the relevant portion of the VBScript wrapper. Any help in figuring out how to get the wrapper to wait for the installer to finish is appreciated.
    sSetupFile = oUtility.ScriptDir & "\Source\setup.exe"
    sArguments = "/config vispror.ww\config.xml"
    oLogging.CreateEntry oUtility.ScriptName & ": Starting installation", LogTypeInfo
    // Check for existence of setup file omitted
    iRetVal = oUtility.RunWithHeartbeat("""" & sSetupFile & """ " & sArguments)
    Coincidentally, iRetVal = 0 indicating success.
    Thanks,
    SA

    Hi SA,
    Obviously you use the VBS wrapper for some reason. To my understanding this behaviour needs to be captured and translated to "script is till busy, when installation completes script is finished, proceed to next step".
    I can only advise you to either try the command line directly in MDT, instead of using the VBS wrapper, and/or try to create an MSP and try this in your VBS wrapper, command line directly in MDT.
    MSP files are easily created by going into command prompt to the sources folder of Visio / Project and execute the following command: setup.exe /admin this will start the Office Customization Tool which enables you to create an MSP file.
    When you are ready, execute the following command to install the application with the settings in the MSP: setup.exe /adminfile custom.msp
    Again I can imagine the purpose of the VBS just as I can imagine the purpose of using the config.xml above a custom.msp. But for starters this should get you going to try to find an resolve where the issue lies. In the VBS or somewhere else.
    Cheers!
    If this post is helpful please click "Mark for answer", thanks! Kind regards

  • Can a project variable be initialized

    Hi all,
    I am very new to ALBPM. I was going through an old tutorial of ALBPM ( it is a FEUGO BPM tutorial ). There in one place we have to make a business variable and initilize it.
    Now I know that the business variables are same as Project variables in case of AL BPM v 6.0. But I can not see any way of initializing the same ( there is a provision for specifying the range but no provision for giving a default value ).
    Is there any way I can give a default value to a project variable ( much like constants in programming languages ).
    - Thanks ,
    Anindya

    Hi all,
    You can please ignore this. Actually I was trying to figuree out something like static constants in Java for ALBPM. I think I have figured it out I have to define a business variable with a default value.
    Cheers, Anindya

  • Archive Viewer not showing project variables in filter conditions

    Hi !
    This is a strange issue. We have a full archive database. The viewer displays all the process we have deployed. We can see the contents of the archive without problems. We have also defined like 15 project variables. If we take a look at the filter conditions combo box, we only see predefined conditions for filtering. The first option of this condition is empty. If we look at the html source of this jsp page thru the browser (look for the "updateAddFAT" javascript function), we see that there is indeed java code mentioning one of our project variables in the combo box, and it its the one with no label (or blank one). So, if we choose this blank condition and complete the right value in the value text box, then the filter returns all the instances that apply to that condition using the project variables.
    The problem is: we don't get all the project variables in the filter combo box. This makes the archive viewer very useless, because business users need to search archived instances filtering by project/business variables.
    Anyone experienced this? Anyone is seeing correctly the project/business variables in the condition combo of the archive viewer? if you do, please share the version and patch you are using.
    Thank you !
    Regards,
    Matias.

    What I verified somehow, that if I add let's say 3 or 4 variables, it keeps showing always the same. If I remove the one that is currently loading into the combo box, then the next one in the list is displayed, but I don't understand which filter or sort criteria is using. I went deeper in the code (jsp and jar files), but still cannot indentify the root cause, because the SQL query the jar is sending to the archive database seems to be ok (it appears in the log), at least it returns all project variables in the archive database (table VARIABLE), but somehow, some internal array or list is not filled correctly.
    Let's wait and if not, I will create a service request.
    Thanks.
    Regards,
    Matias.

  • What is the diffrence between business Activity and task?

    Hi plz explain business activity and  task
    Madhavi

    Hi Venkat Mallela,
    Sorry to say this, but you must stop rewarding your own threads. A user registered today (10/25//2007) and posted many threads and always rewarded you as thread completed. I dodn't think it is a coincidence.
    If every SDN member starts playing this dirty trick, then there is no meaning to use SDN. SDN is for the people who share their good project experiences by helping other members by answering the issue.
    As I mentioned before, I should take up this issue with SAP officials if this happens again.
    Not only you, some other members were also recently started practicing the same trick, which is not a good thing.
    Hope you understood the voice of other forum members like me.
    Thanks,
    Paul Kondaveeti

  • Inventory Report for actuals  and  projected?

    Hi,
    currently i am doing APO-BI Project. I have a requirement to extract the Opening stock from ECC and Projected(Forecasted) Opening stock from APO.
    both are 2 different key figures 1 is from ECC and another one is from APO. I need to display in Bex report in
    say for example, if we have 53 weeks in a year. if i run the report in week 25, in the bex report it has to display the Opening stock values from ECC up to week 25 and remaining weeks till 53 weeks it has to display Projected Opening stock values in the same line.
    plz provide me the logic to achieve this report.
    regards
    venuscm

    Hi,
    Create Two Cubes one is for APO and another is 0IC_C03 for Inventory. then build a MP on both and create reports.
    Use 2LIS_03_BX, 2LIS_03_BF, 2LIS_03_UM to 0IC_C03 Cube and design the report.
    Use :See the steps how to load the data to 0IC_C03.
    Treatment of historical full loads with Inventory cube
    Setting up material movement/inventory with limit locking time
    If it is BI 7 then for BX in in DTP in Extraction Tab you need to select Extacrion mode = NON-Cumulative option.
    0VALSTCKVAL      " For Value
    0VALSTCKQTY      " For Qty
    0CALMONTH        " For Month
    Use the above combinations in New Selections in columns and go it.
    For Qty Opening:
    New Selection, drag and drop following InfoObjects
    0VALSTCKQTY     " For Qty
    0CALMONTH       " For Month and restrict with less then or equalto option variable (single value, user input)  and set the offeset
                    " value = -1 bcoz if user will give 12.2009 , so it will display 11.2009 closing stock, this is opening for 12.2009.
    For Qty Closing:
    New Selection, drag and drop following InfoObjects
    0VALSTCKQTY    " For Qty
    0CALMONTH      " For Month and restrict with less then or equalto option variable (single value, user input) .
    In the same way build for Value and other Keyfigures on 0IC_C03.
    And
    Drag & drop
    0MATERAIL
    0PLANT  " Give some Input Variable.
    Thanks
    Reddy

Maybe you are looking for