Integrated planning: changed variable does not refresh in planning function

Hi guys,
I am facing the following problem. I have a web template with a query and a planning function. On first request I select the variable values through the variable screen, which automatically appears.
If a change my variables later by using the variable screen again, the query refreshes and shows the correct values.
But when executing the planning function it still uses the old variable values I entered before during the first request of the template.
The variable in query and planning function is the same. There are no default values. I tried making the variable mandatory, no success. The system does not use the selected value for the planning function. It keeps running on the old ones.
Thanks for any comments and advices!
Stefan

Hi Stefan,
usually the variable value of a planning function has to be refreshed when updating the query. However we had a lot of trouble with just this issue in a former project. As Gregor already proposed we used the variable binding to make sure that the proper variable value is passed to the planning sequence.
When you implement your planning sequence in WAD you can do a variable binding as follows:
<bi:param name="VARIABLE_VALUE" type="COMPOSITE" index="1">
  <bi:param name="VARIABLE" value="Z_0FISCPER_001" text="Geschäftsperiode (Customer Exit, eingabebereit)">
    </bi:param>
       <bi:param name="VARIABLE_TYPE" type="CHOICE" value="SELECTION_BINDING_TYPE">
       <bi:param name="SELECTION_BINDING_TYPE" type="CHOICE" value="VARIABLE">
       <bi:param name="VARIABLE" value="Z_0FISCPER001" text="Geschäftsperiode (Customer Exit, eingabebereit)">
    </bi:param>
  </bi:param>
</bi:param>
</bi:param>
Althoug we just did a variable binding with the same variable as source and target we did not have the problem of wrong variable values any more....
Brgds,
Marcel

Similar Messages

  • Interesting sort issue: URL changes but does not refresh

    Thanks everyone for you help on my sort problem! There is still one tiny issue remaining.
    When I hit the SORT button, nothing happens except the URL changes from http://localhost/jserv/Invoice3.jsp to http://localhost/jserv/Invoice3.jsp?valueCheckbox=3&valueCheckbox=4&order=ID&sort=DESC
    The ID's of the records and the sort order are being added to the URL, but the sort is not being performed.
    -Michael
    <%@page language="java" import="java.sql.*"%>
    <%@ include file="../Connections/connBeachwear.jsp" %>
    <%
    String rsBeachwear__varCheckbox = "1";
    if (request.getParameter ("valueCheckbox") !=null) {rsBeachwear__varCheckbox = (String)request.getParameter ("valueCheckbox")   ;}
    %>
    <%
    //SORT VARIABLES:
    String rsBeachwear__name = "ID";//default sort value
    if (request.getParameter ("order") !=null) {rsBeachwear__name = (String)request.getParameter ("order");}
    String rsBeachwear__sort = "ASC";//default sort value
    if (request.getParameter ("sort") !=null) {rsBeachwear__sort = (String)request.getParameter ("sort");}
    %>
    <%
    Driver DriverrsBeachwear = (Driver)Class.forName(MM_connBeachwear_DRIVER).newInstance();
    Connection ConnrsBeachwear = DriverManager.getConnection(MM_connBeachwear_STRING,MM_connBeachwear_USERNAME,MM_connBeachwear_PASSWORD);
    String chkValues[]=request.getParameterValues("valueCheckbox");
    StringBuffer prepStr=new StringBuffer("SELECT ID, Item, Color, Size FROM Beachwear WHERE ID=");
    for(int x = 0; x < chkValues.length; ++x) {
    prepStr.append(chkValues[x]);
    if((x+1)<chkValues.length){
    prepStr.append(" OR ID=");
    }//end if
    }//end for loop
    prepStr.append(" ORDER BY '%" + rsBeachwear__name + "%' '%" + rsBeachwear__sort + "%'"); //NEW SQL SORT CODE:
    PreparedStatement StatementrsBeachwear=ConnrsBeachwear.prepareStatement(prepStr.toString());
    ResultSet rsBeachwear = StatementrsBeachwear.executeQuery();
    Object rsBeachwear_data;
    %>
    <title>Beachwear Title</title>
    <body bgcolor="#FFFFFF">
    <p> </p>
    <p> </p>
    <p><br>
    INVOICE<br>
    </p>
    <%//FORM "GET" METHOD<%>
    <form name="form1" method="get" action="Invoice3.jsp">
    <p><br>
    </p>
    <%while(rsBeachwear.next()){   //LOOP; RELEVANT, NOT POINTLESS %>
    <table width="75%" border="1">
    <tr>
    <td width="13%">ID:</td>
    <td width="87%"><%=(((rsBeachwear_data = rsBeachwear.getObject("ID"))==null || rsBeachwear.wasNull())?"":rsBeachwear_data)%></td>
    </tr>
    <tr>
    <td width="13%">ITEM:</td>
    <td width="87%"><%=(((rsBeachwear_data = rsBeachwear.getObject("Item"))==null || rsBeachwear.wasNull())?"":rsBeachwear_data)%></td>
    </tr>
    <tr>
    <td width="13%">COLOR:</td>
    <td width="87%"><%=(((rsBeachwear_data = rsBeachwear.getObject("Color"))==null || rsBeachwear.wasNull())?"":rsBeachwear_data)%></td>
    </tr>
    <tr>
    <td width="13%">SIZE:</td>
    <td width="87%"><%=(((rsBeachwear_data = rsBeachwear.getObject("Size"))==null || rsBeachwear.wasNull())?"":rsBeachwear_data)%></td>
    </tr>
    <tr>
    <td width="13%"> </td>
    <td width="87%">
    <input type="checkbox" name="valueCheckbox" value="<%=(((rsBeachwear_data = rsBeachwear.getObject("ID"))==null || rsBeachwear.wasNull())?"":rsBeachwear_data)%>" checked> //NEW CHECKBOX ADDED WITH SAME CODE AS PREVIOUS (SEARCH) PAGE
    </td>
    </tr>
    </table>
    <%
    %>
    <p>  </p>
    <br>
    <table width="54%" border="1">
    <tr>
    <td width="29%">
    <div align="center">Parameter </div>
    </td>
    <td width="28%">
    <div align="center">1</div>
    </td>
    <td width="43%">
    <div align="center">2</div>
    </td>
    </tr>
    <%//TWO NEW PULL-DOWN MENUS FOR "ORDER BY" SQL SORT%>
    <tr>
    <td width="29%">
    <div align="center">
    <input type="submit" value="Sort Now">
    </div>
    </td>
    <td width="28%">
    <div align="center">
    <select name="order" size="1">
    <option value="ID" selected>ID</option>
    <option value="Item">Item</option>
    <option value="Color">Color</option>
    <option value="Size">Size</option>
    </select>
    </div>
    </td>
    <td width="43%">
    <div align="center">
    <select name="sort" size="1">
    <option value="ASC" selected>Ascending</option>
    <option value="DESC">Descending</option>
    </select>
    </div>
    </td>
    </tr>
    </table>
    </form>
    <%
    rsBeachwear.close();
    ConnrsBeachwear.close();
    %>

    The sort problem is solved: Mission accomplished!
    The single quotes and percentage marks in the SQL logic were causing the problem! The sort works great now. Now I just need to program memory into the list boxes so they remember their last setting, but I know how I will do that.
    Thanks again for all your help!

  • Shared Variable does not update when typedef is changed

    I have a shared variable of type custom control (typedef made up of a cluster). When I chang the typedef, e.g. the name or type of one of the fields in the cluster, and then save it, the shared variable does not update to reflect this change. That is, if I place the shared variable on my block diagram and do a "UNBUNDLE BY NAME" on the output, I see the old fields. I have to go back to the properties of the shared variable, change its data type, apply it, then go back and change it back to my custom control.
    Anyone else seen this behaviour? Anyone know how to get the shared variable to update without going through this procedure?
    Bill
    “A child of five could understand this. Send someone to fetch a child of five.”
    ― Groucho Marx

    I guess I should have included this information:
    LabVIEW 8.2.1 using Project Explorer.
    “A child of five could understand this. Send someone to fetch a child of five.”
    ― Groucho Marx

  • Advanced Table does not refresh after database level action

    Hi,
    I have a page which has an advanced table. I update the advanced table from the page do some validations, update some DB level columns(also part of advanced table) and see that the changes are saved to the DB but the advanced table does not show the updates done at the DB level.
    I tried clearing the VO Cache and re-executing the VO but still it does not refresh the Advanced table data.
    This is very critical requirement for the client, any inputs will be greatly appreciated.
    Thanks a lot in Advance.
    Here is the code snippet from my CO's processRequest:
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAAdvancedTableBean tblbean = (OAAdvancedTableBean)webBean.findChildRecursive("recasttable");
    if(tblbean!=null)
    tblbean.setRendered(true);
    OAApplicationModule tblam = (OAApplicationModule)am.findApplicationModule("RecastLineAM1");
    tblam.invokeMethod("initQuery");
    tblbean.getTableData();
    Here is my AM - initQuery() code:
    public void initQuery()
    //clearVOCaches("RecastLineEO",true);
    clearVOCaches(null,true);
    getRecastLineVO1().init();
    Here is the VO - init() code:
    public void init()
    System.out.println("****************************executing...");
    OADBTransaction tx = (OADBTransaction) getApplicationModule().getTransaction();
    if (tx.getTransientValue("RECAST_ID") !=null)
    Number recastId = (Number) tx.getTransientValue("RECAST_ID");
    System.out.println("recastId: "+ recastId);
    setWhereClause("RECAST_HDR_ID = :1");
    setWhereClauseParams(null); // Always reset
    setWhereClauseParam(0, recastId);
    executeQuery();
    }

    hi,
    This is how I am calling a DB package. the package does updates on the table. once done I am issueing a commit and requerying the data, however the vo is not getting refreshed.... Can someone point out what am I missing... why is the VO not getting refreshed....
    This is very critical...
    Thanks
    Srini
    public void validateRecast(String respKey)
    OADBTransaction tx = (OADBTransaction)getApplicationModule().getTransaction();
    Number recastId = (Number) tx.getTransientValue("RECAST_ID");
    System.out.println("*********************validateRecast().RecastId: " + recastId);
    OracleCallableStatement ocs = null;
    Connection conn = tx.getJdbcConnection();
    String strOut="", strErr="";
    Number respId = null;
    try
    respId = new Number(respKey);
    catch(Exception e)
    throw new OAException("Invalid Responsibility");
    String stmt = "BEGIN " +
    "GE_RECAST_UTILS_PKG.validate_recast(:1,:2,:3,:4); " +
    "END;";
    try
    ocs = (OracleCallableStatement)conn.prepareCall(stmt);
    ocs.setNUMBER(1,recastId);
    ocs.setNUMBER(2,respId);
    ocs.registerOutParameter(3,OracleTypes.VARCHAR);
    ocs.registerOutParameter(4,OracleTypes.VARCHAR);
    ocs.execute();
    strOut = ocs.getString(3);
    strErr = ocs.getString(4);
    ocs.close();
    System.out.println("Returned with: " + strOut);
    if(strOut.equalsIgnoreCase("ERROR"))
    //throw new OAException(strErr);
    tx.putTransientValue("ERROR",strErr);
    tx.commit();
    getApplicationModule().clearVOCaches("RecastLineEO",true);
    RecastLineVOImpl lineVo = (RecastLineVOImpl)getApplicationModule().findViewObject("RecastLineVO1");
    lineVo.init();
    System.out.println("===============RecastLnId: " +lineVo.first().getAttribute("RecastLnId"));
    System.out.println("===============Product Line: " +lineVo.first().getAttribute("ProductLine"));
    catch(SQLException e)
    tx.rollback();
    if(ocs!=null)
    try
    ocs.close();
    }catch(SQLException e1)
    throw OAException.wrapperException(e1);
    throw OAException.wrapperException(e);
    }

  • Hyperlinked JSP Page does not refresh contents

    I have a very typical problem.
    In my application whenever I call a jsp page using hyperlink without any querystring attached to it the page called does not refresh. However when I press refresh on the browser it does refresh the contents. Basically in this page I am using some session variables to fetch data. So I do not call the page by passing querystring instead set the attributes of session variables and then the page is called as a hyperlink.
    However if I call the same page using submit the values are refreshed.
    Help on this urgently will be appreciated.
    Thanks
    Manish

    Just set 'no-cache' option for the jsp page and test it. It should work. only you need to do is
    response.setDateHeader("Expires",0);
         response.setHeader("Pragma","no-cache");
         if(request.getProtocol().equals("HTTP/1.1")) {
              response.setHeader("Cache-Control","no-cache");
    have fun!!
    ---rajsekhar

  • I am getting this error message "ORA-01006: bind variable does not exist.

    My code works fine like this:
    DECLARE
    v_JOBTYPE varchar2(8);
    v_STATUS varchar2(8);
    v_FAILURE varchar2(8);
    v_CAUSE varchar2(8);
    v_ACTION varchar2(8);
    BEGIN
    SELECT EVT_STATUS, EVT_FAILURE, EVT_CAUSE, EVT_ACTION, EVT_JOBTYPE
    INTO v_STATUS, v_FAILURE, v_CAUSE, v_ACTION, v_JOBTYPE
    FROM R5EVENTS WHERE ROWID = :ROWID;
    IF NVL(v_STATUS, 'X') = 'C' AND NVL(v_JOBTYPE , 'X') IN ('BRKD','UNPLBRKD','FILTRA', 'LUB', 'FAC') AND (v_FAILURE IS NULL OR v_CAUSE IS NULL OR v_ACTION IS NULL) THEN
    RAISE_APPLICATION_ERROR( -20001, 'FAILURE, CAUSE AND ACTION FIELDS MUST BE POPULATED');
    END IF;
    END;
    But I want to change the code to include a record (ACT_TRADE) from another table(R5ACTIVITIES). I am getting this error message "ORA-01006: bind variable does not exist - POST-UPDATE 200Before Binding". Any help would be appreciated.
    DECLARE
    v_STATUS varchar2(8);
    v_FAILURE varchar2(8);
    v_CAUSE varchar2(8);
    v_ACTION varchar2(8);
    V_CODE varchar2(8);
    V_EVENT varchar2(8);
    V_TRADE varchar2(8);
    BEGIN
    SELECT R5EVENTS.EVT_STATUS, R5EVENTS.EVT_FAILURE, R5EVENTS.EVT_CAUSE, R5EVENTS.EVT_ACTION, R5EVENTS.EVT_CODE, R5ACTIVITIES.ACT_EVENT, R5ACTIVITIES.ACT_TRADE
    INTO v_STATUS, v_FAILURE, v_CAUSE, v_ACTION, V_CODE, V_EVENT, V_TRADE
    FROM R5EVENTS, R5ACTIVITIES WHERE V_CODE = :V_EVENT;
    IF NVL(v_STATUS, 'X') = 'C' AND NVL(v_TRADE , 'X') IN ('MTM','MTL','MTMGT', 'FTM', 'FTL', 'FTMGT', 'R5') AND (v_FAILURE IS NULL OR v_CAUSE IS NULL OR v_ACTION IS NULL) THEN
    RAISE_APPLICATION_ERROR( -20001, 'FAILURE, CAUSE AND ACTION FIELDS MUST BE POPULATED');
    END IF;
    END;

    Thank you for your responses. Your feedback was helpful. This is what I ended up doing for a solution:
    DECLARE
    v_JOBTYPE varchar2(8);
    v_STATUS varchar2(8);
    v_FAILURE varchar2(8);
    v_CAUSE varchar2(8);
    v_ACTION varchar2(8);
    v_GROUP varchar2(30);
    BEGIN
    SELECT EVT_STATUS, EVT_FAILURE, EVT_CAUSE, EVT_ACTION, EVT_JOBTYPE, USR_GROUP
    INTO v_STATUS, v_FAILURE, v_CAUSE, v_ACTION, v_JOBTYPE, v_GROUP
    FROM R5EVENTS, R5USERS WHERE R5EVENTS.ROWID = :ROWID
    AND USR_CODE = O7SESS.CUR_USER;
    IF NVL(v_STATUS, 'X') = 'C' AND NVL(V_GROUP,'X') IN ('MTM','MTL','MTMGT','FTL','FTMGTS','PLANNER','DISPATCH','PMCOOR','R5') AND (v_FAILURE IS NULL OR v_CAUSE IS NULL OR v_ACTION IS NULL) THEN
    RAISE_APPLICATION_ERROR( -20001, 'FAILURE, CAUSE AND ACTION FIELDS MUST BE POPULATED');
    END IF;
    END;

  • Management Studio 2008 does not refresh after table create / alter

    hello
    Management Studio 2008 does not refresh after table create / alter, why?
    f5 / refresh button does not work in "Object Explorer".... i always need the restart the whole application to see any changes, this is strange...
    regards, jan

    Hi jm,
    I’m writing to follow up with you on this post. Was the problem resolved after performing Vishal ‘s steps? If you are satisfied with our solution, I’d like to mark this issue as "Answered". Please also feel free to unmark the issue, with any new findings
    or concerns you may have.
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Demand control key PM01 does not allow capacitive planning - ERROR MRSS

    Hi Experts!
    I need help with an error that is being presented today at MRSS when I want to assign an operation to any of the resources the system is throwing the message:  DEMAND CONTROL KEY XXXXXX does not allow capacitive planning.
    have not made configuration changes is why I do not understand that may be failing....
    Regards!
    Damy

    Hi Pete & Rakesh:
    Thanks for responding, I commented that the control keys are as you indicate me in the picture despite this error still occurs.
    Deputy images:
    In the transaction /MRSS/PLBOORG the error code is /MRSS/SGE087
    What other settings can look. 
    Thanks
    Regards!
    Damy

  • Dynamic Repository Variables are not Refreshing in OBIEE 11.1.1.6

    Hi Experts,
    As of sudden the dynamic repository variables are not refreshing.
    The same rpd is working fine in Test Environment.
    If any change in the query of initialization block, it is fetching old result.
    Even after refreshing in Analytics page, still it is showing old value.
    Please help me in regarding this.
    Regards,
    Kallu.

    Make sure init block is pointing to right connection pool.
    whats the status in NQServer.log and NQQuery.log files?
    If helps pls mark

  • When the screen saver turns off my front panel does not refresh.

    when the screen saver turns off my front panel does not refresh. If I use the show desktop button sometimes I can not maximize my vi by just clicking on it from the start bar.

    I utilize both a screen saver and the show desktop feature but have never seen this problem in the past. You might play around with your screen saver settings to see if they have any affect. You might also try another computer just to make sure something larger scale isn't going on. Also, testing with other programs to make sure it isn't a general OS issue is always a good idea. Other possibilities include changing your Video Driver settings, updating your video driver, and uninstalling - reinstalling.

  • Finder window does not refresh under yosemite

    I have a weird effect on my rMBP with the latest Yosemite:
    Very often (not always) when I save a file from an application an open Finder window to the save location does not refresh. The new file is not shown! I can go in with Terminal and everything is fine, the file is there. I can edit its contents (eg. with vi or pico) and I can rename the file. However the Finder still does not show it. Not even closing and re-opening the folder help. The only way I found is to create a new folder and immediately delete it. That forces the Finder to update the window. It looks as if the Finder does not get *some* update events.
    I do have XtraFinder installed, but deinstalled it and even after a reboot nothing changed, Finder still does not refresh its display. I cannot tell exactly when this started, but incidentally I run an update some days ago and installed Server 4.0.3 and upates to the latest Pages/Keynote/Numbers (however I do not use those, I am still and will stay with iWork'09).
    I use Server on a MBP with dynamic address because I needed virtual domains for local testing, nothing really "serverish". It just provides a nice GUI for easy setting-up of virtual domains.
    Any ideas? What can I do?
    Thanks
    ---markus---

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Servlet does not refresh in browser

    Hi,
    If I change a Servlet code, re-compile it and Refresh the browser (Firefox), it does not refresh. I can only get it to refresh if I re-start Tomcat (v 5.5.4).
    Is there a workaround for this please?
    I put the lines:
    response.setHeader("Cache-Control", "no-cache");
    response.setHeader("Pragma", "no-cache");
    response.setDateHeader("max-age", 0);
    response.setDateHeader("Expires", 0);
    at the top of my doGet method and this does not work.
    Thanks,
    Hal.

    Hi,
    For classes, you can set the reloadable parameter in your application configuration file (in the $CATALINA_HOME/conf/[enginename]/[hostname]/ directory)
    Set it to true if you want Catalina to monitor classes in /WEB-INF/classes/ and /WEB-INF/lib for changes, and automatically reload the web application if a change is detected. This feature is very useful during application development, but it requires significant runtime overhead and is not recommended for use on deployed production applications. That's why the default setting for this attribute is false. You can use the Manager web application, however, to trigger reloads of deployed applications on demand.
    http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
    For JSPs, you can configure Jasper (in $CATALINA_BASE/conf/web.xml file) and use the reloading parameter.
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html

  • BO XIR3.1 CMC does not refresh automatically

    Inside CMC, there are various rights set to different groups (for e.g. the rights for "Administrators" are different from the rights of "Everyone"). When I click on one of the folders and check their user security, the other folder shows the same rights as of the first one. It doesn't change automatically to the rights of the next folder. I guess it has to do with automatic refresh.
    I have noticed that CMC does not refresh pages properly. For example, I was checking the Access Rights set on a Public Folder, it shows all rights are granted for "Administrators". But, when I switch to "Everyone", it still shows all rights are granted, which is incorrect because they should be Unassigned.
    I have to log off CMC, clear the cache/cookies in web browser and then Login again in order to see the correct settings.
    That means, every time after I view the settings for an object, I have log out, clear cache, and re-login. Otherwise I will see incorrect information for the next one. Changing and configuring User Security settings is even a bigger challenge because I am not sure whether the values displayed on the screen are correct and what will the system remember.

    if restoring the ipad to factory default don't fix it I would say it's
    an hardware issue and take it in for service

  • Discoverer 10.1.2 does not refresh new added column

    Hello,
    I need help to add a new item to EUL Business Area folder for a new added column in the database table.
    When I refresh the folder in the BA EUL, the result shows no difference between the folder and the underlying table in the database; however, when I quey the table in the database, a new column is there. The refresh of the folder in the Discoverer Admin tool cannot find the newly added column. Weird!! The first time saw this problem.
    Could someone shine some light on it? Would be really appreciate it!
    Ping

    I have a slightly different problem and can't solve it! When I refresh the EUL, the result shows the differences between the folder and the underlying tables in the database. However, it does not refresh the EUL in Discoverer Administrator 10g. Nothing happens! When I try to refresh again, the same list is shown... Does anyone know what could be happening?
    Thanks

  • About ora-01006 :bind variable does not exist

    Hi all of you,i have this dynamic sql :
    DECLARE
    v_query clob;
    cpt number;
    begin
    v_query:='
    SELECT
    count(TBA.ANT_ID)
      FROM
    WHERE TBA.ANT_FUT_ID = TFT.FUT_ID
           AND TBA.ANT_KATEGORIE_CODE_ID = TAKCL.ANT_KATEGORIE_CODE_ID(+)
           AND TBA.ANT_KFZ_REIHEN_ID = TKR.KFZ_REIHEN_ID(+)
           AND TBA.ANT_ID = F1.ANT_ANT_ID(+)
           AND TBA.ANT_ID = F2.ANT_ANT_ID(+)
           AND TBA.ANT_ID = F3.ANT_ANT_ID(+)
           AND TBA.ANT_ID = ERS.ers_bdk(+)
           AND TBA.ANT_ID = F1_2.ANT_ANT_ID(+)
           AND TBA.ANT_ID = F2_3.ANT_ANT_ID(+)
           AND TBA.ANT_ID = MFU.MFU_ANT_ID(+)
           AND MFU.MFU_NIETGEOMETRIE_ID = NG.NG_ID(+)
           AND MFU.MFU_MATRIZEN_BEICHNUNG_ID = MZB.MZB_ID(+)
        -- Suchkriterien: --
        --Ersteller
        AND  DECODE( ERS.ers_id, NULL, ''%'', ERS.ers_name ) LIKE DECODE('':1'',NULL,''%'','''')||''''|| :1 ||''''||DECODE('':1'',NULL,''%'','''')
         --Fahrzeug
        AND  DECODE( TKR.NAME, NULL, ''%'', TKR.NAME ) LIKE DECODE('':2'',NULL,''%'','''')||''''|| :2 ||''''|| DECODE('':2'',NULL,''%'','''')
         --BDK
        AND  DECODE( fuege_db.bdk_nummer( TBA.ANT_ID,''.'' ), NULL, ''%%'',
       fuege_db.bdk_nummer( TBA.ANT_ID,''.'' ) )   LIKE ''%''||:3||''%''
        --Technologie
        AND  TBA.ANT_FUT_ID LIKE DECODE('':4'',NULL,''%'','''')||''''|| :4 ||''''||DECODE('':4'',NULL,''%'','''')
         --Art
        AND ((TBA.ANT_WFP_ID is null and 1=DECODE('':5'',NULL,1,1,1) ) or (TBA.ANT_WFP_ID is not null and 2=DECODE('':5'',NULL,2,2,2)))
        --VTA
        AND TBA.ANT_VTA = decode('':6'',1,1,TBA.ANT_VTA)  ';
    execute immediate v_query
    into cpt USING
    'Dominik Hussmann',
    'AU736_Q7_SUV' ,
    'WPS Stahl',
    '0';  
    end ;
    In the execution,i have this error :ora-01006 :bind variable does not exist, after analyzing,i have found that the problem is with parameters :5 and :6 ,i don't understand they have the same syntax
    as bind variables 1,2,3 and 4.
    Than you for any suggestion.

    I hope you do realise that there are 13 bind-variables in your sql, not 6?
    Variables are bound by position. You cannot use the same bind variable twice, they will be 2 distinct bind variables.
    For example, you use :1 three times, so you need to provide three arguments, in this case three times the same value.

Maybe you are looking for

  • 2009 Macbook white slow to boot after upgrade from 10.5.8 (Leopard)to Mountain Lion   SSD

    Ok, I have a 2009 Macbook White w/ 2Gz Core 2 Duo, 2Gb RAM, 120Gb HDD and NV9400M graphics.   Mountain Lion finally tempted me to do the upgrade and I wanted to take the opportunity to upgrade to SSD as well.    Here's what I did: Originally my 120Gb

  • Video playback and processing delays

    I'm currently using a HP P6240f Desktop When playing a video, the video portion will start and stop as it pleases, however, the sound will continue to play normally.  Since the two are not in sync, I don't believe it to be a buffering issue.  I curre

  • Performance Issue while changing a characteristic using CT04 transaction

    Hi Experts, Just now we have upgraded our system from 4.6C to ECC 6.0. In the new system we have created some characteristics and later I am trying to change these characteristics using transaction CT04 . There are some characteristics which are alre

  • Flash Not Working With IE 10

    All of a sudden, Flash is not working with IE 10 on a Windows 8, 64 bit computer.  I can only hear the sound . . . no video.  It works with Firefox and Chrome.  What gives???

  • Send HttWebRequest via Proxy

    Good day, I have an MVC application that consumes rest services from a 3rd party provider. To be able to communicate with the rest service provider i need to go through an Amazon instance due to IP restrictions. So what i did was t use putty and ssh