Replacement variable path

Hi,
Please some one guide me.
what is replacement path? and how to do create it.
Thanks,

HI,
Variable Customer Exit is used to check the authorizations to for login into BEx Report and to fill the selections Dynamically.
check below link.
Link: [http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a56f5e09411d2acb90000e829fbfe/content.htm]
Regards
Daya Sagar

Similar Messages

  • How do I make a variable path in AppleScript?

    I'm mass distributing an application, and for the next update I want to add customization. My application currently make a folder in the "Documents" folder. The folder is called "MCL_CONFIG". What I need to do is make a unicode text file in "MCL_CONFIG". Since it's going to be used on many different computers the path to where I'm making the new file has to change depending on the user. How can I make a variable path to a non-directory? Here's the section of my code with the problem:
    tell application "Finder"
        if folder MCLConfig exists then
        else
            display dialog "Welcome to Mc Launcher! You will only recieve this message once, unless you delete the MCL_CONFIG folder." buttons {"Ok"} default button 1
            make new folder at New_User with properties {name:"MCL_CONFIG"}
        end if
    end tell
    It's not shown but I set the variable MCLCONFIG to (path to documents folder from user domain) & "MCL_CONFIG" as text.
    As a side note how do I make the code look like it does in applescript, here?

    You can do something like:
    set supportFolder to ((path to application support from user domain) as text)
    set appName to "My Spiffy App"
    set subFolder to "MCL_CONFIG"
    tell application "Finder" -- add application support folders if needed
      if not (exists folder (supportFolder & appName)) then
        make new folder at folder supportFolder with properties {name:appName}
        make new folder at result with properties {name:subFolder}
      end if
    end tell
    Edit: it is recommended that the folder in Application Support be named with your application's bundle identifier, but most just use the application name.

  • Dynamic ORACLE_HOME in env variable PATH  not working

    Hi,
    We have an issue whereby we want the PATH to be dyanmic with respect to the ORACLE_HOME.
    Have implemented the solution in 'ORA-12557: TNS:Protocol Adapter Not Loadable' While Running OUI [ID 735400.1 but not working.
    We have Windows 2008 R2 server with Oracle 11.2.0.3 client installed.
    First when did set to check environment varibales, fouND no env. variable for ORACLE_HOME even though in registry so have set ORACLE_HOME as user env variable.
    Have changed system env variable PATH to have  %ORACLE_HOME%\bin; at very start
    when do PATH to check value shows
    literally as %ORACLE_HOME%\bin at start rather than translating to the real physical location as it does with other logical variables.
    How can we ensure translates the ORACLE_HOME correctly so PATH is O.K.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    user5716448 wrote:
    Hi,
    We have an issue whereby we want the PATH to be dyanmic with respect to the ORACLE_HOME.
    Have implemented the solution in 'ORA-12557: TNS:Protocol Adapter Not Loadable' While Running OUI [ID 735400.1 but not working.
    We have Windows 2008 R2 server with Oracle 11.2.0.3 client installed.
    First when did set to check environment varibales, fouND no env. variable for ORACLE_HOME even though in registry so have set ORACLE_HOME as user env variable.
    Have changed system env variable PATH to have  %ORACLE_HOME%\bin; at very start
    when do PATH to check value shows
    literally as %ORACLE_HOME%\bin at start rather than translating to the real physical location as it does with other logical variables.
    How can we ensure translates the ORACLE_HOME correctly so PATH is O.K.
    open Command Window & issue command belowecho %ORACLE_HOME%COPY  the results, then PASTE all back here                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Using Replacement Variables Without Filtering in a Query

    I want to use a replacement variable for the posting period and for current fiscal week, but I do not want my query results to be filtered by these values.  Instead, I just want to show a column with the fiscal period as a number and the current week as a number.  Does anyone know how to do this? 
    My query shows JAN-DEC values for all key figures but when I use the replacement variable to display NOV as a number, JAN-OCT is blank b/c the query is filtering by NOV.  I just want to see a column of "11s". 
    Any ideas?

    Hi Tracey,
    I was not able to reply you yesterday. After you gave the details, I had this solution in mind but it was a Friday evening and I had to leave.
    My understanding :
    When user enters the month in selection screen eg: 11 (Nov)
    The key figure which is getting displayed in the report till month of Nov should be KF1 else it should be KF2.
    So report should be like this
    Jan  - KF1
    Feb  - KF1
    Mar  - KF1
    Apr  - KF1
    May  - KF1
    Jun  - KF1
    Jul  - KF1
    Aug  - KF1
    Sep  - KF1
    Oct  - KF1
    Nov  - KF1
    Dec  - KF2
    Solution:
    Make a Restricted KF - RKF1
    This will have KF1 with a restriction on the month column "<= " month enetered by user in selection screen (use the same variable)
    Make one more Restricted KF - RKF2
    This will have KF2 with a restriction on the month column "> " month enetered by user in selection screen (use the same variable)
    Now make a Calulated KF
    CKF = RKF1 + RKF2
    Use this in your report.
    I think this is what you are trying to get.
    Please do award points if you found this useful.
    Regards, Mey

  • How to create replacement variable

    Hi,
    Any one has idea how to create replacement variable in bps.
    I need to pass one variable value to another.\
    Because both the fields are fields to be change. But user does not want to do double entry.
    So need to pass one value from another. Is there any way. I can fix this issue.
    Thanks
    Naman Shah

    So far not found any answer so closing

  • This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.

    when i am going to Install 11gR2 then thsi error shows how to solve it plz give me guidance
    This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.
    Expected Value:     1023
    Actual Value:          0

    HELLO iSHAN SHAH
    JUST EXPLAIN US YOUR PROBLEM IN DEPTH.
    TELL US YOUR HARDWARE AND SOFTWARE CONFIGURATION.
    ALSO TELL US IN WHICH STEP OF INSTALLATION , THIS ERROR RAISED.
    THANKS
    HARSH SHAH

  • Environment variable path failed in oracle 11g installation

    hi all,
    i am reinstalling oracel 11g in my window 7 64 bit machine after i uninstalled it. however, i got an issue that is environment variable path failed in the installation process. this didn't happen when i firstly successfully installed oracle. how can i fix the issue? thanks in advance.
    regards,
    hong

    user571093 wrote:
    hi,
    the problem is i uninstalled oracle 11g in my windows 7 64 bit machine and then try to install it on my machine. during the prerequisite check stage, an error message popped up like this:
    environment variable: "PATH" failed
    This test checks whether the length of the environment variable "PATH" does not exceed the recommended length. (more details)
    Expected Value
     : 1023
    Actual Value
     : 1433
    so, what is the reason caused this problem and how to fix it. thanks in advance.
    hongI believe the error message is self-explanatory - assuming you you using a supported database and OS combination (which are unknown)
    environment variable: "PATH" failed+
    This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.+
    Expected Value+
    *: 1023*
    Actual Value+
    *: 1433*
    Your PATH variable exceeds the limit of 1023 characters
    HTH
    Srini

  • Shorten environment variable path

    I am installing Oracle database 10G on Windows XP. I am getting an error message saying 'The value of the environment variable path is more than 1023 characters.' How do I shorten this path, where do I go? thanks

    My Computer ( right click) -> property -> Advance -> Environment Variable
    Select patch and edit it , remove all not required paths
    Virag

  • Domain template with custom replacement variables

    Hi everyone,
    the following document explains how to use "replacement variables" to prepare runtime scripts (bash) when a domain is created from a template:
    http://docs.oracle.com/cd/E23943_01/web.1111/e14139/tempbuild.htm#i1100973
    Other than the listed variables, is it possible to create our own variables? If yes, how can we assign values to those custom variables when creating the domain from a WLST script?
    Thank you,
    Gabriel Lavoie

    Have you taken a look at this hotfix?
    http://support.microsoft.com/kb/2907591
    We had to apply it in order for our variables to be seen.
    joeblow

  • Replacement variable

    I'm trying to use a replacement variable in the following script.
    Someone can help me to find the error?
    Thanks in advance
    Paolo
    SYS@orcl1 SQL> !uname -a
    Linux localhost.localdomain 2.6.18-274.17.1.el5 #1 SMP Tue Jan 10 17:26:03 EST 2012 i686 i686 i386 GNU/Linux
    SYS@orcl1 SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SYS@orcl1 SQL> !cat query1.sql
    declare
    TYPE QueryCurType is REF CURSOR;
    query1 QueryCurType ;
    cursor c1 is select owner,table_name from dba_tables where owner not in ('SYS','SYSTEM') and table_name not like '%$%';
    cursor c2(t1 varchar2) is select column_name from dba_tab_columns where table_name=t1 and DATA_TYPE in ('NVARCHAR2','VARCHAR2','CHAR');
    temp_var varchar2(3000);
    query varchar2(3000);
    begin
    for tab1 in c1 loop
    for col in c2(tab1.table_name) loop
    query:='select '||col.column_name||' from '||tab1.owner||'.'||tab1.table_name||' where '||col.column_name||' like ' ||*'&&1'*;
    dbms_output.put_line('executing..'||query);
    open query1 for query;
    loop
    fetch query1 into temp_var;
    if concat('a',temp_var) != 'a' then
    dbms_output.put_line('Found String: "'||temp_var||'"# Column:'||col.column_name||'# Table:'||tab1.table_name);
    end if;
    exit when query1%NOTFOUND;
    end loop;
    end loop;
    end loop;
    end;
    SYS@orcl1 SQL> @query1 '%TAB%';
    old 11: query:='select '||col.column_name||' from '||tab1.owner||'.'||tab1.table_name||' where '||col.column_name||' like ' ||'&&1';
    new 11: query:='select '||col.column_name||' from '||tab1.owner||'.'||tab1.table_name||' where '||col.column_name||' like ' ||'%TAB%';
    declare
    ERROR at line 1:
    ORA-00911: invalid character
    ORA-06512: at line 13
    SYS@orcl1 SQL> @query1 %TAB%
    old 11: query:='select '||col.column_name||' from '||tab1.owner||'.'||tab1.table_name||' where '||col.column_name||' like ' ||'&&1';
    new 11: query:='select '||col.column_name||' from '||tab1.owner||'.'||tab1.table_name||' where '||col.column_name||' like ' ||'%TAB%';
    declare
    ERROR at line 1:
    ORA-00911: invalid character
    ORA-06512: at line 13

    Hello,
    DECLARE
        TYPE QueryCurType IS REF CURSOR;
        query1 QueryCurType ;
        CURSOR c1 IS
            SELECT  owner
                   ,table_name
            FROM    dba_tables
            WHERE   owner NOT IN ('SYS','SYSTEM')
            AND     table_name NOT LIKE '%$%';
        CURSOR c2(t1 VARCHAR2) IS
            SELECT  column_name
            FROM    dba_tab_columns
            WHERE   table_name   =t1
            AND     data_type IN ('NVARCHAR2','VARCHAR2','CHAR');
        temp_var VARCHAR2(3000);
        query    VARCHAR2(3000);
    BEGIN
        FOR tab1 IN c1 LOOP
            FOR col IN c2(tab1.table_name) LOOP
                query := 'select ' ||col.column_name||
                         ' from '||tab1.owner||'.'||tab1.table_name||
                         ' where '|| col.column_name ||
                         ' like ' ||'&&1';
                dbms_output.put_line('executing..'||query);
                OPEN query1 FOR query;
                LOOP
                    FETCH   query1
                    INTO    temp_var;
                    IF CONCAT('a',temp_var) != 'a' THEN
                        dbms_output.put_line(
                            'Found String: "'||temp_var||'"# '||
                            'Column:'||col.column_name||'# '||
                            'Table:'||tab1.table_name);
                    END IF;
                    EXIT WHEN query1%NOTFOUND;
                END LOOP;
            END LOOP;
        END LOOP;
    END;
    /From your posting I cannot see where line 13 is. But my first attempt would be not to use Oracle keywords like QUERY as variable names.
    Can you execute the block, when you manually replace the variable?
    Regards
    Marcus
    P.S.: Please use tags around your code to preserve formatting.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Environnement variable PATH

    Hi all,
    I am installing 11g database in order to play with it. My OS is windows 7 premium edition, personnal PC and I am having that message:
    Environment variable: "PATH" - This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.
    Valeur attendue
     : 1023
    Valeur réelle
     : 1558
     Liste des erreurs :
    PRVF-3929 : Adding the Oracle binary location to the PATH environment variable will exceed the OS length limit of [ "1023" ] for the variable on the node "DATAEBULLITION"  - Cause:  The installer needs to update the PATH environment variable to include the value "%ORACLE_HOME%/bin;". However, doing so will cause PATH to exceed the maximum allowable length that this operating system allows.  - Action:  Ensure that the sum of the lengths of your current PATH environment variable and that of "%ORACLE_HOME%/bin;" does not exceed the operating system limit. Restart the installer after correcting the setting for environment variable
    Is anyone could help me as I don't understand what is PATH and how to reinstall it ?
    THank you

    I found the answer by reading other user question.

  • Replacement variable issue

    Hi Gurus,
    I need to create a replacement variable to use it in a formula in the structure. As I know to create a replacement variable I need to drag and drop characteristic in rows. Without draging the characteristic to rows/free characteristic how to create replacement variable. If drag it will change my aggregation level. I don't need that. Please advice is there any alternative way I could fix this problem.
    Thanks
    Liza

    You can try defining this new key figure production/no of days in cube itself. Since production is characteristic, calculate no of days and use update routines for Production/no of days.
    Assign points if helpful
    Regards!
    Manasa.

  • Replacement variables SQL Plus x PLSQL x APEX

    How Can I use replacement variables SQL Plus, integrating with APEX ,PLSQL?

    This isn't going very well is it?
    Perhaps it has something to do with a lack of knowledge of the english language, that you don't explain your case more, but I'll try to rephrase your question:
    You would like to call a query in SQL*PLUS from an Apex application?
    Then my answer would be simple: you can't.
    But my return question would be: why would you want that?
    You can also run your query in your Apex application and show the result on a page. Why is there a need to run it in SQL*PLUS?

  • Automatically Replacing Absolute Paths with Paths Relative to the TestStand Search Directories

    Hi,
           I'm trying to replace file paths on a few projects with relative paths. I've found this  http://www.ni.com/example/25087/en/ which suggests the sequence there should do it. However I get a lot of error when I try to run this sequence. 
          Anyone else encountered this issue. (I'm using teststand 2010)
          Thanks!

    Hi ds_1,
    Apologies that this reply isn't massively helpful but it seems like some of the parameters are missing for certain steps in the sequence. This has likely occured due to the sequence being written in an older version of TestStand.
    I would recommend posting feedback on the actual example itself requesting an updated version. The person who originally uploaded the sequence will be notified and can make the changes.
    Best Regards,
    Chris
    National Instruments - Tech Support

  • How to find and replacing the path (url) given for data binding from type 'datasocket'

    Hi everyone,
    I'm sorry to pose this question as my own knowledge is still very limited.
    I have an assignment (bachelor level). We were asked to adjust a plc program in step7 so that multiple of an existing sequence could be run indepently.
    The settings for that sequence are controlled by labview. Sensor data is also viewed in labview.
    There is an existing labview VI that was made by someone else before us. It uses 'Datasocket' type for data binding. Because we would like to adjust this VI to be used with the other sequences, we would like to change the original path or URL quickly, as in a 'Find&Replace' solution. Yet the find and replace only works for objects or text, not entries in the properties.
    Can someone please tell me if there is a way to do is, without having to use shared variables, as we are not at all known with this type.
    Many thanks,
    Niels

    Dear Niels,
    Please find the attached example. I placed 5 controls on the front panel, all with a data socket URL (control 1 = URL1, control 2 = URL2 etc). Through property nodes I did the following;
    - I got a reference to the front panel
    - with this reference we can get an array of references to the controls on this front panel
    - one by one we will read the references and check the data socket URL from the control, we compare this with the URL we are searching
    - if found, stop we will use the reference to write a new URL to the control.
    Please notice the default values of the controls; it is set to search for URL3 and replace this with URL10, run the VI once and you will see that happening. I also included a sting indicator which will show you the label of the control which we find. Also a Boolean indicator in case we were not able to find the URL.
    I downsaved the VI to 8.6, I'm not sure in which version you are working, if you have 8.6 or higher you are able to open it. Hope this brings you further,
    Best regards,
    Martijn S
    Applications Engineer
    NI Netherlands
    Attachments:
    findURLexample.vi ‏12 KB

Maybe you are looking for

  • How to use data in a ResultSet when only one record in set?

    Hi. Using a prepared statement which invokes a SELECT * from <table> where <primary key> = <unique value>. This is executed and the results sent to a resultSet. The only problem is that only one entry is in the resultSet. I want to parse the results

  • Can I update directly from iPhoto 8.1.2 to 9.3.2 without problems?

    I'm not sure whether to  update  from my iPhoto 8.1.2 straight to the update of iPhoto 9.3.2 or should I go update to update? The updates I found after my 8.1.2 are 9.1,  9.1.1 9.1.3 9.1.5 9.2.1 9.2.2 9.2.3 9.3 9.3.1 9.3.2

  • Safari not downloading PDF's correctly

    I find that Safari since updating to Maverick but any pdf download will not open, Adobe claiming the file to be damaged. Chrome will do the downloads correctly. In addition I am finding that opening any application is much slower than from Mountain L

  • Turning it on, turning it off, locking it

    my previous ipod (5g) allowed you to hold down a button (the one at the 6 o'clock position) and power it down. then, you could slide the lock over so that it didn't turn on accidentally while in my pocket. what's the similiar functionality on the tou

  • Is "subdirs 20" usefull? Does changing or deleting this parameter influences performance and if so, how?

    Let's say I delete the parameter on a functioning mailserver and I do "imsimta refresh". What happens to the directories and their content? Do they get processed? Do the 20 subdirectories get deleted automatically? Problem is I don't have a testmails