Parameter process flow user defined process

Hello
i try to start Oracle Import imp.exe on a user-defined process. If I type in the parameters as a literal value, i.e. ?USERID=.../... PARFILE=d:/import/import.par?
it works well, also if i replace this value by a bind variable. But when I add the userid setting to the value of the parameter, it can't be read properly as I get the error "invalid userid/password".
Any ideas?

I mistyped sth, now it works

Similar Messages

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

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

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

  • Process flow of bpel process deployment in production server

    Hi,
    Can anyone please explain me the process flow of bpel process deployment in prodcution server . I mean the procedure that we follow for deployment in productions server , what are the steps that we follow , approval from any teams? .....
    Thanks,
    Beginner.

    A quick answer is:
    1. make sure you defined the Application/Integration Server in your developer (user/pass you have - if not oc4jadmin then one the IT gave you).
    2. Deploy your project to that server.
    3. Choose the correct domain in the Console when deploying.
    Is this what you wanted to know???

  • How can I pass parameters from one process flow to another process flow?

    How can I pass parameters from one process flow to another process flow (sub process) in warehouse builder? let me know the steps I have to do in warehouse builder.
    Thanks in advance,
    Kishan

    Hi Kishan,
    Please post this question to the Warehouse Builder forum:
    Warehouse Builder
    Thanks, Mark

  • Unable to process the user defined  Dimensions

    Dear Experts,
    When i am Create User defined Dimension and i fill the Dimension Members after this i am Processing the Dimension at that time i am getting the following errors.
    Exception error has occured;check the log id=122 for more details
    Call was rejected by callee.(Exception from hresult:0x80010001(rpc_e_call_rejected))
    Could you please help me how to Solve this issue.
    Thanks in Advance,
    Regards,
    Srinivasan.

    Hi Srini,
    Please check your log table in Appserver database.
    Please check your log file in the Server with the ID.
    The log file will have clear details of the errors faced.
    Hope this helps.
    Karthik AJ

  • Driving processing with user defined rules

    Hi,
    I am looking for some examples of user defined rules for file processing.
    So I have a file loaded in to the application in a staging table, user will want to define rules to process the data and then an output will be created.
    Very vague question I know but has anyone got any examples where they did something similar which might help?
    Thanks.

    Roger,
    Here's one that I found that may not look very simple but it actually is if you just break it down piece by piece.
    create or replace FUNCTION              "SQL_IP_SUBNET" (
    p_octet1 in varchar2,
    p_octet2 in varchar2,
    p_octet3 in varchar2,
    p_octet4 in varchar2,
    p_slash in varchar2,
    p_status in varchar2)
    return varchar2
    as
    l_select varchar2(1000);
    l_octet1 varchar2(200);
    l_octet2 varchar2(200);
    l_octet3 varchar2(200);
    l_octet4 varchar2(200);
    l_slash varchar2(200);
    l_status varchar2(200);
    l_cidr varchar2(50);
    l_where varchar2(1000);
    l_order_by varchar2(100);
    l_sql varchar2(32767);
    begin
    l_select := q'!select id, get_ip_addr(octet1, octet2, octet3, octet4) ip_addr, slash, description, !';
    l_select := l_select || q'! octet1, octet2, octet3, octet4 from poc_subnets where 1=1!';
    if (p_octet1 is not null) then
    l_octet1 := q'! and octet1=!' || p_octet1;
    end if;
    if (p_octet2 is not null) then
    l_octet2 := q'! and octet2=!' || p_octet2;
    end if;
    if (p_octet3 is not null) then
    l_octet3 := q'! and octet3=!' || p_octet3;
    end if;
    if (p_octet4 is not null) then
    l_octet4 := q'! and octet4=!' || p_octet4;
    end if;
    if (p_slash is not null) then
    if substr(p_slash,1,1) != '/' and length(p_slash) = 2 then
      l_cidr := '/'||p_slash;
    else
      l_cidr := p_slash;
    end if;
    l_slash := q'! and slash='!' || l_cidr || q'!'!';
    end if;
    if length(l_octet1) > 0 then
    l_where := l_octet1;
    end if;
    if length(l_octet2) > 0 then
    l_where := l_where || l_octet2;
    end if;
    if length(l_octet3) > 0 then
    l_where := l_where || l_octet3;
    end if;
    if length(l_octet4) > 0 then
    l_where := l_where || l_octet4;
    end if;
    if length(l_slash) > 0 then
    l_where := l_where || l_slash;
    end if;
    if length(p_status) > 0 then
    case
      when p_status = 'YES' then
       l_status := q'! and assigned = 'YES'!';
      when p_status = 'NO' then
       l_status := q'! and assigned = 'NO'!';
      else
       l_status := null;
    end case;
    end if;
    if length(l_status) > 0 then
    l_where := l_where || l_status;
    end if;
    -- do the order by clause
    l_order_by := q'! order by octet1, octet2, octet3, octet4!';
    if length(l_where) > 0 then
    l_sql := l_select||l_where||l_order_by;
    else
    l_sql := l_select||l_order_by;
    end if;
    return l_sql;
    end;
    Just so you know, this is not necessarily the best way to do what you're asking. It does get the job done however.
    If you inspect the code it's basically just a bunch of string concatenation operations based on the presence or absence of each of the input parameters. Pretty much what you were asking about.
    Earl

  • Error while processing a user defined screen

    Dear Experts,
    We have developed an add on for our client in which we have a user defined screen before adding the GRPO. While adding that we are getting the error to generate this document first define the numbering series in the administration module.
    this is happening only after we upgraded to the 2007 B PL 10 version. till that there was no problem. We are unable to remove and replace the UDO and UDT as we have data in it.
    due to this we are unable to proceed with the GRPO.
    Please help us.
    thanks and regards,
    Yeshwanth Prakash

    Hi,
    Please search the forum before posting a new message.
    There are endless posts about that error.
    Regards,
    Vítor Vieira

  • BPC 7.0 - how to design business process flow type Planning process?

    Hi All
    BPC 5.1 system has Business Process Flow, to design synchronized activity plans for a set of user.
    Like we designed user planning in two step BPF -Step1 and Step2, where Step2 was activated only after user completed Step1.
    How to design such requirements in BPC NW 7.0 version?
    Thanks in advance.
    Regrads
    Abhishek
    Edited by: ABHISHEK JAIN on Mar 21, 2009 8:05 AM

    Indeed, if by chance you have not seen the related How-to-Guide, there is an [Article|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f085dd92-a40c-2c10-dcb1-a7c24476b23a] on How to Create a Custom Menu in BPC NW here on the BPX community.
    There is also a lot of explanation on using EVMNU on the SAP Service Marketplace in the [Documentation Addendum|https://service.sap.com/~sapidb/012003146900000031772009E/7NW_SP02_Doc_Addend.pdf] to BPC 7.0 SP02 NW Central Note 1306898
    Best regards,
    [Jeffrey Holdeman|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/jeffrey+holdeman]
    Enterprise Performance Management
    Regional Implementation Group
    Edited by: Jeffrey Holdeman on May 28, 2009 8:40 PM

  • Calling a stored proc that has a parameter of a user-defined (array) type

    Hi,
    Hope someone can help me on this, because I am really struggling...
    From a c-program, I am calling stored procedures using the OCI Interface. Everything is OK, when using the standard types (integer, string, date), but I am encountering problems when one of the parameters is of a type that is defined in the database as an array. My application calls multiple array-type parameters in one call, but for the sake of simplicity, I created a test application to only use one.
    The following call is working (but it needs to be called using the OCI functions):
    BEGIN
    p_test_table_num (pin_num1 => T_ARRAY_EH_DEP(1,2,3));
    END;
    My first step was to have the following combination:
    statement: begin p_test_table_num(:pin_num1);end;
    parameter: pin_num1
    value: t_array_eh_dep(1,2,3)
    That lead to the error (when executing the statement): wrong number or types of arguments
    Second idea (after a lot of browsing):
    statement: begin p_test_table_num(t_array_eh_dep(:pin_num1));end;
    parameter: pin_num1
    value: 1,2,3
    This leads to the error: numeric or value error: number precision too large.
    My bind function call looks like:
    if (res = OCIBindByName(stmthp, &bndArray[parCount], errhp, (text *) curPar,
    -1, (dvoid *) curVal, (sb4) sizeof(curVal), SQLT_NUM, (dvoid *) 0,
    (ub2 *) 0, (ub2) 0, (ub4) 0, (ub4 *) 0, OCI_DEFAULT) != OCI_SUCCESS){
    checkerr(errhp, "OCIBindByName", res);
    OCIHandleFree(stmthp, OCI_HTYPE_STMT);
    return -1;
    (in this function curPar is the name of the parameter and curVal contains the value)
    I also investigated the BindArrayOfStruct, but I concluded that this is to execute a stored procedure multiple times using different values for the parameters, and that is not what I want.
    I really hope someone can give me a direction to look in. I also need to call string and date arrays in the same way...
    Thanks
    Margit

    For those who are interested, I found the solution myself...
    To use any user-defined type, you need to perform the following steps:
    1. OCIBindByPos or OCIBindByName as you would bind a normal parameter
    2. OCITypeByName to get a reference to the type definition in Oracle
    3. OCIObjectNew to create a reference to the array (OCI_TYPECODE_VARRAY)
    4. Assign a value to the column, for instance use OCIStringAssignText, OCINumberFromInt, OCIDateFromText
    5. OCICollAppend ( to add the value from step 4 to collection)
    6. OCIBindObject
    7. OCIStmtExecute
    8. OCITransCommit
    Example:
    if (res = OCIBindByName(stmthp, &bndArray[parCount], errhp, (text *) curPar,
    -1, (dvoid *) curVal, (sb4) sizeof(curVal), SQLT_NTY, (dvoid *) 0,
    (ub2 *) 0, (ub2) 0, (ub4) 0, (ub4 *) 0, OCI_DEFAULT) != OCI_SUCCESS){
    checkerr(errhp, "OCIBindByName", res);
    OCIHandleFree(stmthp, OCI_HTYPE_STMT);
    return -1;
    if (res = OCITypeByName(envhp, errhp, svchp,
    (CONST text *) currentUserName, (ub4) strlen((CONST char *) currentUserName), /*schema*/
    (CONST text *) "T_ARRAY_EH_DEP", (ub4) strlen((CONST char *) "T_ARRAY_EH_DEP"), /* type */
    (CONST text *) 0, (ub4) 0, OCI_DURATION_SESSION, OCI_TYPEGET_HEADER,
    &type_array_eh_dep) != OCI_SUCCESS){
    checkerr(errhp, "OCITypeByName", res);
    OCIHandleFree(stmthp, OCI_HTYPE_STMT);
    return -1;
    OCIArray* eh_dep_array = (OCIArray*)0;
    OCINumber eh_dep_num;
    OCIObjectNew(envhp, errhp, svchp, OCI_TYPECODE_VARRAY, type_array_eh_dep,
    (dvoid*) 0, OCI_DURATION_DEFAULT, TRUE, (dvoid**)&eh_dep_array);
    /* get the values from the incoming array */
    curArrayItem = SOM_AtrValGetStrList(arrayValuesListMem,
    arrayValuesListAtr, arrayValueCount);
    do {
    if (STR_Eq(curArrayItem, "NULL")){
    OCICollAppend(envhp, errhp, (CONST dvoid *)0, &null_ind,
    (OCIArray*) eh_dep_array);
    else{
    tmpInt = atoi(curArrayItem);
    OCINumberFromInt(errhp, &tmpInt, sizeof(int), OCI_NUMBER_SIGNED,
    &eh_dep_num);
    OCICollAppend(envhp, errhp, (CONST dvoid *)&eh_dep_num, (CONST dvoid *) 0,
    (OCIArray*) eh_dep_array);
    arrayValueCount = arrayValueCount + 1;
    curArrayItem = SOM_AtrValGetStrList(arrayValuesListMem,
    arrayValuesListAtr, arrayValueCount);
    printf( "curArrayItem = %s\n", curArrayItem );
    } while (STR_Eq(curArrayItem, "%%%") == falseCN);
    arrayValueCount = arrayValueCount + 1; /* skip the %%% */
    if (res = OCIBindObject(bndArray[parCount], errhp,
    (OCIType *)type_array_eh_dep, (dvoid **) &eh_dep_array,
    (ub4 *) 0, (dvoid **) 0, (ub4 *) 0) != OCI_SUCCESS){
    checkerr(errhp, "OCIBindObject", res);
    OCIHandleFree(stmthp, OCI_HTYPE_STMT);
    return -1;
    }

  • Import process flow in the Process Composer

    Hello BPX'ers
    I've got a question about the Process Composer, is it possible to import work flows that where created in tools like for example Bizagi, this is a lite bpm tool (takes about 5 minutes to install) and you do not need any heavy pc requirements.
    It would be nice to export Process Flows from such a lite tool, and import them with Netweaver.
    Or are there future plans to develop a lite version of the Process Composer.
    Because if i want to model a process with a customer the first step is to validate the process, not to deploy or build it (yet) ,but just to draw it sow that I get a nice overview, then I don't want the whole Netweaver CE environment to be installed on my laptop.
    But it would be nice if these modeled processes could be imported in Netweaver CE..
    Are there future plans for this...
    Thanks,

    As far as I know, the support of import/export interfaces depends on the adoption of BPMN 2.0, as this version of the standard will introduce a serialization format. BPMN 2.0 is to be finalized in 2009 by the OMG group, and for this reason can be adopted by SAP NetWeaver BPM only beyond the release in 2009.
    Unfortunately, I didnu2019t find any externally available additional information.
    Regards, Preslav

  • Process Flow - External process - Return status

    Did any one know how to capture or get the return value when executing a shell script thru Process flow - User defined - External process?
    This is the scenario.
    OWB Server on UNIX. Version-10.2, Database-9i
    I am executing a simple "whoami" command thru the user-defined process.
    How do I capture the return value?
    One of my shell script returns a value. Based on this return value I have to send a page or schedule a dependency job on successful completion.
    Thanks.

    To add a parameter to the process flow, you will have to add a parameter to the start activity in the activity view (lower left corner of the process flow editor), by clicking the Add button.
    You can then pass this parameter to the other activity by using the parameter binding - click on the BINDING column of the activity parameter you want to pass it to and select the parameter added to the start activity in the previous step from the drop down list.
    When the PF is run, the user will be prompted for a parameter, then it will be passed to the next activity.
    Regards:
    Igor

  • Parametized USER_DEFINED process flow activity

    Can someone help? I am attempting to use USER_DEFINED process flow activity to copy a file to another location under a new name.
    The names for the source and destination file will be generated at execution time by a mapping that will create the file.
    The challenge is how do I pass these file names a parameters; a, b to a file copy script I have written.
    You help will be appreciated.

    This should be possible as we have done a similar thing.
    How are the source and destination files generated in the mapping ?
    As our file information was stored in an Oracle table we created a Transformations/Function that queried out the required information (filenames) and formatted it into the required statement for execution.
    This was stored in a variable and could then be passed to the user defined process in the Process Flow.
    HTH
    Paul

  • OWB-OWF - Process Flow Deployment - Database Link

    Hello there,
    This post is basically related to my problem with Process Flow deployment.
    Could someone please shed some light on the following:
    When we create a Process Flow, during this process OWF creates a Database Link. For some reason, this link is not functional unless I remove the part after "." in that defines the "HOST" in the DB Link definition. How do I know it is not functional - I know because following query does not work:
    select * from [email protected]@WB_LK_WF_PKG
    Here is the link definition:
    ORIGINAL:
    create database link OWB92TRG.US.ORACLE.COM@WB_LK_WF_PKG
    connect to RR
    identified by "<pwd>"
    using '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=CENTENNI-2077E4.CENTENNIALCOLLEGE.CA)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=OWB92TRG)))'
    MODIFIED (it works - above query runs OK):
    create database link OWB92TRG.US.ORACLE.COM@WB_LK_WF_PKG
    connect to RR
    identified by "<pwd>"
    using '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=CENTENNI-2077E4)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=OWB92TRG)))'
    My second question is "using what userid/pwd should this link should have been created? Should it use "Runtime Repository Owner" or "OWB Repository Owner" or "Runtime Access User" or "OWF_MGR"?
    No matter what userid I use, it works when I run the query but I always get following error when I try to deploy the "Process Flows" in OWB:
    RPE-02085: Failed to test wb_rti_workflow_util.initialize through deployed Workflow Database Link OWB92TRG.US.ORACLE.COM@WB_LK_WF_PKG2. Please check that "EXECUTE ANY PROCEDURE" privilege is set and that the OWB Runtime is available.
    - ORA-04052: error occurred when looking up remote object [email protected]@WB_LK_WF_PKG2
    ORA-12545: Connect failed because target host or object does not exist
    I have already granted the "EXECUTE ANY PROCEDURE" to OWF_MGR. I am not sure, though, what is meant by the "and that the OWB Runtime is available" part of the error message above.
    I have also tried to fix this by running the "catrpc.sql" script but it did not help either.
    I am stuck on this step for past few days. I would highly appreciate help in fixing this problem. Here is the configuration I am using:
    o Source database : Oracle 9i (9.2) on my local PC
    o Target database : Oracle 9i (9.2) on my local PC
    o OWB 9i
    o OWF 2.6.2
    o OWB and OWF repositories are on the TARGET database
    I am able to successfully deploy and run my MAPPINGs.
    TIA,
    Amer

    Hello Oracle support,
    Should I open a TAR to get this problem resolved?
    Regards,
    Amer

  • Process Flow - Email

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

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

  • Running sqlplus from an OWB process flow

    I have two SQLplus scripts that I need to run as part of a process flow. The flow calls the scripts at different moments, using Unix commands that look like
    sqlplus userid/passwd@sname @startReadseq.sql
    sqlplus userid/passwd@sname @idenTransac.sql
    Script startReadseq.sql drops and then re-creates a sequence that I need to begin at 1 every time. Script idenTransac.sql runs a PL/SQL program on a table. Both scripts have been tested many times from the SQL prompt and they always run satisfactorily there, under the same userid employed by the process flow at runtime.
    However the two calls to SQLplus are ignored by the flow. The sequence is not reset, and the PL/SQL routine doesn't even write its log file. I looked up our forum but apparently there's no article on this topic yet.
    What am I missing or doing wrong? ... thank you for any help.
    Santiago Gomez

    Santiago, Would you help me?
    I have problems in starting sqlplus activity from a process flow. The process flow is very simple ( START - sqlplus activity - END).
    I wanted to start sqlplus and execute some commands in it.
    I set PARAMETER_LIST as @absolute_path_to_script_that_starts_sqlplus@
    and left the other three parameters(RESULT_CODE, SCRIPT, SUCCESS_THRESHOLD) blank.
    Inside the script that starts sqlplus is:
    sqlplus user/password@sid @absolute_path_to_script_that_contains_commands_to_run_in_sqlplus
    The Validation, generation and deployment passed successfully, but the following message is logged during execution:
    SQL*Plus: Release 10.2.0.1.0 - Production on Thursday Sep.27 17:26:25 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    password: ERROR:
    ORA-12560: TNS: protocol adapter error
    please enter user name:
    I've tried using "sqlplus /nolog" and "sqlplus" to avoid verifying user name and password, but I still got the message above.
    I also specified the absolute path to OWB's sqlplus executable and still failed.
    If I execute "sqlplus user/password@sid @absolute_path_to_script_that_contains_commands_to_run_in_sqlplus" in dos command line, it just works fine.
    I'm used to start just the listener and OracleService<sid>, and I also started OracleDBConsole<sid> to wish it works, but it doesn't help.
    It's really gnawing :-(
    Thanks in advance.
    My environment is Windows XP, Oracle 10.2.0.1.0, workflow server 2.6.4, OWB repository 10.2.0.1.0 design center 10.2.0.1.31

Maybe you are looking for

  • Error in HR_KR_STRING_TO_XSTRING

    Hi All, I need to convert the string to xstring and using the function module HR_KR_STRING_TO_XSTRING , but I am getting the exception error while converting which says INVALID_STRING , but if I am passing the paramter CODEPAGE_TO  and passing the va

  • A bug auto-select mode + filtered by type layers

    In addition to this: http://forums.adobe.com/message/4302940#4302940 When selecting multiple layers: 1. click > 2. "draw" a rectangle on the canvas to select desired layers > 3. release to submit selection The bug happens on step 2: the selection rec

  • Missing /dev/log stream?

    Hi All, I just installed Solaris 10 onto a Sun Ultra 2 Enterprise box and I'm trying to get jailkit 1.3 to work. Upon starting jk_socketd, it's complaining that /dev/log doesn't exist and it wants that socket stream. How do I create the socket stream

  • Adjusting audio output based on an audio input!

    Kay so I live in an older apartment where my AC bombards my eardrums every ten minutes.  My stereo master slider on my mixer is my best friend for overcoming this inaudible catastrophe!  Men, I need you to help me link my microphone to my audio outpu

  • Photoshop problems: stopped working and/or GPU

    On Thursday, I was experiencing problems with Photoshop CS5 Extended (64-bit). When I went on it that day, my computer told me that it stopped working and close the program. I turned off the computer because for a while it worked, but on Friday, it s