Substitution varibles in plaing application

How To Create Substitution varibles in planning application,can u explain in brief....
thanks in advance...cheers

Hi
Did you change the substitution variable value?
FR is a bit flaky on subvars where you have to put them in "", I had this issue building a report where the variable value was '52 Wk TY' so needed to be quotes for it to work in calc scripts / business rules but then wouldn't appear in FR.
Hope this helps
Stuart

Similar Messages

  • Dynamic File Name - Suppress the Substitue varible

    Hi All,
    I am doing the scenarios like File name at the recevier end would be dynamic for that i take an extra field NAME mapped with UDF which return the file name dynamically. It is working fine and doing good. But the problem here is , this field is the first field in my target structure so i am getting an empty line in the target file.
    So My structure as follows:
    <b>MT_BNK01           1..1
      NAME                1..1
      RECORD             0..Unbound
          --Record_data  0..Unbound</b>
    So in the recever side i written as follows
    Recordset Structure:: RECORD
    <b>RECORD.fieldSeparator = 'nl'
    RECORD.endSeparator = 'nl'</b>
    But according to this weblog i can suppress the empty line but it is not working
    /people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12
    means, NAME is also in the same level of RECORD in the Structure. So How can i pass the structure as ??
    I tried to pass the RecordSet Structure: NAME,RECORD
    and following parameters, it is not working
    <b>NAME.fieldFixedLength =0
    NAME.fieldLengthTooShortHandling = Cut</b>
    Can you please  suggest me what could be the reason. Tell me what information i need to pass the RecordSet Structure and attrubute information also.
    One more thing like, My sender side it is not picking the empty lines. What could be the reason. I given fieldSeparator and endSeparator as 'nl'. So to catch the empty line what i need to do???
    Thanks in Advance,
    Best Regards,
    Vijay

    Hi Vijaya,
    This can be solved. Actually i had the same scenario where i was getting blank line for the header. Suppose Header was carrying the file name after i cut the value i would get a blank line in file.
    So i added in content conversion parameter the following line
    Header.endSeparator - '0'
    then the first line was not blank.
    Try this, i think your issue will be solved
    Regards,
    Ramesh P
    Message was edited by:
            Ramesh Parashivamurthy

  • Using default application date format substitution string

    I'd like to reference something like ":app_default_date_format" to set date formats in sql statements.
    Does a substitution string exist that returns the default application date format?
    Thanks,
    -Ken

    Hello Ken,
    >> I'd like to reference something like ":app_default_date_format" to set date formats in sql statements.
    Isn’t the whole point of defining an application date format to avoid the need to specifically reference date formats?
    >> Does a substitution string exist that returns the default application date format?
    I’m not familiar with an official substitution string for the application date format but you can use wwv_flow.g_date_format .
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Subtitution of application substitution string only in uppercase?

    Dear Apex users,
    I am working on a specific template for a company. I would like to use a substitution string for the application name, so that the template need not be adapted for each application.
    It works when I create a substitution parameter APP_TITLE and I reference it in the body using &APP_TITLE. The only problem is that I entered a mixed case string and on the page I see an only uppercase string.
    Is there a way to use mixed case substitution strings?
    Greetings,
    Dik

    No, lower case is reserved for HTML expressions and the like.
    Scott

  • Report template substitution strings?  (APEX 2.2.0)

    Hi all,
    I am trying to customize a report template. I would like to know if there is a way to get the sort link that goes into the column headers. The next page and previous page links have the #LINK# substitution string. #COLUMN_HEADER# doesn't give me enough flexibility.
    Would I have to use a named column template for this? (I don't have much idea what that is. I read about it on Scott Spendolini's blog entry on "Click in a Row".)
    Cheers!

    Hello,
    >> I could using JavaScript rewrite the column header to be what I want after the page renders, but I'd rather it show up the way I want in the first place
    Can you be more specific about what is it that you want? The report engine allows you to use custom headings. Can’t that feature help you achieve what you want?
    >> Is there a list of the substitutions strings that are available to the column header?
    The substitution strings you see on the templates populated by the APEX engine with snippets of code you can’t control. You can define your own substitution strings, in the application definition page (under shared components), set them with the code you need, and use them throughout the application, including in templates. The way to use them is a bit different – instead of the “#STRING# syntax, you need to use the “&STRING.” Syntax.
    Regards,
    Arie.

  • Getting a substitution variable value with VB API

    Hi,I'm trying to get the value of a specific substitution variable on an application with EsbGetVariable().I get a nice message that says "you do not have sufficient access to get this subsitution variable." and then i get the return code of EsbGetVariable() that is 1051085 (i couldn't find it in any documentation).The funniest thing is that i can get the value of the substitution variable, using Application Manager, with the same Essbase user that tries to get the value in the API.Any help would be welcome...PS : here is the code of the macro i execute (hope it will be readable)...Public Sub ESB_GetVariable()Dim i As IntegerDim nCount As IntegerDim sts As LongDim oVariable As ESB_VARIABLE_TDim hCtx As LongDim AppName As String * ESB_APPNAMELENDim DbName As String * ESB_DBNAMELENDim szApp As IntegerDim szDb As IntegerDim pAccess As IntegerDim X As VariantX = EssVConnect("Feuil1", "xxx", "xxx", "xxx", "Gmo_RvIt", "It_Repr")If X = 0 Then hCtx = EssVGetHctxFromSheet("Feuil1") If hCtx <> 0 Then sts = EsbGetActive(hCtx, AppName, szApp, DbName, szDb, pAccess) oVariable.AppName = AppName oVariable.VarName = "Divers_VR" sts = EsbGetVariable(hCtx, oVariable) MsgBox "status is " & sts MsgBox "Divers_VR value is " & oVariable.VarValue Else MsgBox "EssVGetHctxFromSheet failed with status " & hCtxEnd IfElse MsgBox "EssVConnect failed with status " & XEnd IfEnd Sub

    testing formatting ...
    0.03965 0.00026 ds ... <save> auth user=nobodyEdited by: gpoz on Apr 18, 2013 12:14 PM

  • Substitution variable in ADF

    substitution varible in ADF arise error (ora-10008) when create view object read only object
    the statment SQL:
    select * from Name table where id=&name;
    iwant make array of binding varible 1,2,3,4,.................................

    You can't do this the way you planed.
    The SQL needs to be different:
    select * from x where id in (:1, :2, :3, :4)for four numbers. If you don't know the number of parameters you have to build the query on the fly (i.e. using add whereClause()).
    Timo

  • Substitution strings not working in URLs for web service references (bug?)

    We have an environment where the url for our BPEL server is read from a variable. I've created an application item and a corresponding application-level computation. I'm using the ampersand-followed-by-dot (&BPEL_SERVER.) syntax as well as the hashmark syntax (#BPEL_SERVER#) and am unable to get this working.
    Is there a way for me to debug web service reference calls other than whether a call was successful? Is this a bug?
    edit:
    Here is the error message I get when I try to use a substitution:
    ORA-20001: The webservice was unreachable because either the URL you supplied was invalid, your environment requires a valid proxy server address for HTTP requests, or a wallet needs to be configured for HTTPS requests.

    No problem - let me try to lay this out a little differently, perhaps I'm just missing something.
    problem:
    * we have separate development, test, and production servers for our database and bpel servers.
    * The hostnames for these servers are stored in a table of key/value pairs
    * This means that (by policy) the hostnames in URLs calling BPEL web services should be the value corresponding to BPEL_SERVER so that the appropriate bpel server is used to call the web service
    attempted solution:
    1) I created an application item named BPEL_SERVER
    2) I have a before-header computation that sets BPEL_SERVER to 'http://bpeldev' using a static value assignment
    3) I have a web service reference whose URL is either &BPEL_SERVER./orabpel/default/callNotification/1.0 or #BPEL_SERVER#/orabpel/default/callNotification/1.0
    4) The web service reference is called in an after-submit process.
    5) An invalid URL exception is thrown for this process.when submitting on the page containing this process
    observations:
    * for (3) - I can set the URL to http://bpeldev/orabpel/default/callNotification/1.0 and everything occurs successfully
    * for (3) - If I use http://bpeldev/&BPEL_SERVER. then when I execute (4), I see a request for the exact string http://bpeldev/&BPEL_SERVER. in bpeldev's access logs
    * for (3) - If I use http://bpeldev/#BPEL_SERVER# then when I execute (4), I see a request for the exact string http://bpeldev/#BPEL_SERVER# in bpeldev's access logs
    * for (2) I've also used a function call RETURN get_const_value('BPEL_SERVER'); - same results for (5)
    * the item value has ben verified before (5)
    * for (1) and (2) I've tried defining substitution strings in the application definition instead - same results for (5)

  • Using substitution variables in a BS rule

    Hi there
    Im trying to use a substitution variable when selecting the current month. Se example below.
    I loading af YTD number on a member "YTD" and I would like to break the numbers down, so that I also can see the values as pr. month.
    I would like to use the substitution varible "currmth" to do this, so that it only calculates the current month. I know I could use a UDA for this, but shouldn't this work?
    ELSEIF (@ISMBR (&CurrMth) == "Aug")
    ("YTD" - ("jan" + "feb" + "mar" + "apr" + "may" + "jun" + "jul"));
    ELSEIF (@ISMBR (&CurrMth) == "Sep")
    ("YTD" - ("jan" + "feb" + "mar" + "apr" + "may" + "jun" + "jul" + "aug"));
    ELSEIF (@ISMBR ("Oct"))
    If you look at "sep" that is how I would like it to function, but I cant. It simple doesent calculate anything for the member. But if I use "Oct" and not the substitution variable "currmth" I get my member calculated.
    Is there something here im missing, or doesn't it work like this? Any help would be appreciated!
    Jacob

    Jacob,
    You don't need the @IsMbr when comparing the value of the substitution variable.
    ELSEIF (&CurrMth == "Aug")
    ("YTD" - ("jan" + "feb" + "mar" + "apr" + "may" + "jun" + "jul"));
    ELSEIF (&CurrMth == "Sep")
    ("YTD" - ("jan" + "feb" + "mar" + "apr" + "may" + "jun" + "jul" + "aug"));
    ELSEIF (@ISMBR ("Oct"))
    Robert
    Edited by: RobertR3 on Dec 4, 2009 9:45 AM

  • Manipulating Substitution String

    Hi,
    Is there any way to assign or change value, of the substitution string?
    And also how can i accomplish theme switching on the fly?
    Please Help.
    With Regards,
    Krishna Vashistha | Eon Technologies
    Sr. Programmer

    Hi Krishna
    A Substitution String in APEX is a constant. Try replacing the Substitution String with an Application Item (this is found in the "Shared Components - Logic" area).
    I'm not sure about switching themes on the fly. Anyone else know about this?
    Cheers,
    Patrick

  • How/where are substitution strings defined in 4.1?

    There used to be a way to define substitution strings in Apex, but since upgrading to 4.1, I am unable to find. I have two different paths for generating reports depending on the environment (test or prod) that I am using and want a simple way of substituting those path names. thanks!

    KarenH wrote:\
    There used to be a way to define substitution strings in ApexThe static Substitutions section in the Application Definition?
    but since upgrading to 4.1, I am unable to find.Home > Application Builder > Application > Edit Application Definition
    i.e. click the Edit Application Properties button on the application home page.

  • Is there an application title variable ?

    Hi All,
    I've struggled to find a variable that contains the title of my application for use in the headers : something like #APP_VERSION# but for the title. Does such a thing exist ?
    TIA
    Steve

    Steve,
    (Sorry, was working on reply whilst Steve Hall replied already).
    There is no built-in substitution string for the application name, only the application alias (APP_ALIAS), which you could use
    Alternatively if your fixed on using the application name (I presume that's what you mean by title), then you could tweek the workaround suggested here:
    Re: Substitution string apex version
    Just change the SQL specified in step 2 to the following:
    select application_name
      from apex_applications
    where application_id = :APP_IDHope it helps,
    Anthony
    http://anthonyrayner.blogspot.com
    Edited by: Anthony Rayner on Sep 23, 2008 9:47 AM

  • Number format mask of text item is not applied

    Hello all,
    I want to format a number like 999G999G999G999G990D00
    Is specify the format mask under source of the item. But it is not applied and I don't understand why.
    See http://apex.oracle.com/pls/otn/f?p=53873:2 for example
    Btw. is it possible to set the format for all numbers in the application at once? I want to have a thousand separator in most cases.
    Message was edited by:
    Jacob_B

    Hello Jacob,
    Btw. is it possible to set the format for all numbers
    in the application at once? I want to have a thousand
    separator in most cases.I am using substitution strings for things like that. You can define some "global" substitution strings on page application definition.
    So you just have to put in the format (999G999G999G999G990D00 ) in there once and give it a name. Let's say NUMBER_THOUSAND.
    Afterwards you can reference it wherever you need the format e.g. this way:
    to_char(10000,'&NUMBER_THOUSAND.').
    This way you just have one place where to change the format model.
    Regards,
    Tine

  • Doubt om Dynamic Configuration of receiver file

    Hello ,
      for Acheiving the Dynamic configuration of receiver file name ,adapter specific message attribute is used...But how to suppress the name of file in the content of the Received file...
    Is my question correct..do we get the file name in content of the receiver file,while using the Adapter specifc message attribute.
    And another question ,in the Variable substitution ...do we get the above problem,then how to tackle the situation to suprress the file name in the payload of receiver file.

    HI,
    You can handle the dynamic file name via Dynamic configuration or with the help of Variable Substitution.
    Please refer
    have a look
    Dynamic File Name using XI 3.0 SP12 Part - I --> Dynamic File Name using XI 3.0 SP12 Part u2013 I
    Dynamic file name(XSLT Mapping with Java Enhancement) using XI 3.0 SP12 Part -II --> Dynamic file name(XSLT Mapping with Java Enhancement) using XI 3.0 SP12 Part -II
    With Variable Substituion, you may need to supress the filename
    Dynamic File Name - Suppress the Substitue varible
    Let me know if you need anymore info.
    Thanks
    Swarup

  • F110 file name configuration

    Hi experts,
    I would like to know how to find the configuration of generated file name in F110? Path is taken from DME variant, but filename in AL11 has following format: posting date_ runId_BUKRS_payment method_00. I would like to change it, thank you in advance.
    Best regards
    Paul Smuda

    HI,
    Use substring function in the mapping and give the the values as 5 and 8.
    Map to the any field in the Target Structure.
    Use the variable substitution in the Receiver File adapter.
    Go throgh the following blogs.
    Dynamic File Name using XI 3.0 SP12 Part - I
    Dynamic file name(XSLT Mapping with Java Enhancement) using XI 3.0 SP12 Part -II
    Dynamic File Name depending on the Source File name
    Dynamic File Name - Suppress the Substitue varible
    Solution to the problem encountered using Variable Substitution with XI-SP12
    Regards
    Goli Sridhar

Maybe you are looking for

  • Config Manager 2012 R2 Update Failed - Now What?

    Starting Environment: Windows Server 2012 VM Configuration Manager 2012 CU1 SQL Server 2012 Enterprise SP1 installed on a separate 2 node cluster  We have been running this setup for Config Manager 2012 CU1 for about a year now with no issues at all.

  • Can I publish keyframed parameters in an FCP generator?

    Hi I'm making an FCP generator in Motion and have a layer which moves from (0,0) to (x,y) and then goes back to (0,0). What I would like to do is publish the (x,y) position so that I can change this in FCP. I have currently keyframed the animation wi

  • Ipad 2 as a present.

    My mom has mentioned she wants an ipad 2, so I decided I ll buy her one but Im not sure what size to get her. She says she would want to watch movies and tv shows, have some music ( Im not sure how much. On her last ipod nano she didnt have much.). S

  • Watch tv show today now!

    http://www.rf-dimension.com/forum/entry.php?98482-2x6-Are-You-the-One-Season-2-Episode-6-Online-amp-Full-Episode http://www.rf-dimension.com/forum/entry.php?98557-8x5-Made-in-Chelsea-Season-8-Episode-5-Online-amp-Full-Episode http://www.rf-dimension.

  • SOAP senario

    Hi Experts, My scenario is SAP R/3 is triggering an FM and receiver is SOAP adapeter(Sync interface) and my target url is http://xxx and scenario is working fine and my new requirement is to change target url from  http to https  in this case what I