Fn:escapeXMl syntax help

Hi there,
I am new to J2EE, and I need help in identifying this syntax.
code snippet
<tr>
     <td>\${header["user-agent"]}</td>
     <td>${fn:escapeXml(header["user-agent"])} </td>
     </tr>
Could you tell me what does fn:escapeXml does in this code?
I am looking forward to your suggestions
Thanks,
Nek

The escapeXML function "Escapes characters that could be interpreted as XML markup. "
ref - http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/fn/tld-summary.html
In effect it escapes characters like < and > making them into &lt; and &gt;

Similar Messages

  • Syntax help

    hi friends
    i need the syntax help for the below sentence
    F = (10 - (round(10 - j) - j)^2)
    this is giving error in editor
    pls help to resolve this
    thanks in advance
    with regards
    s.janagar

    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(UID) TYPE  OIJNOMI-ZZSCHEDID
    *"     REFERENCE(TIMESTAMP) TYPE  CHAR14
    *"  EXPORTING
    *"     REFERENCE(TOKEN) TYPE  CHAR25
    *timestamp (YYYYMMDDhhmmss)
      DATA: zyear TYPE i,
            zmon TYPE i,
            zdat TYPE i,
            zhrs TYPE i,
            zmin TYPE i,
            zsec TYPE i,
            zfrm TYPE i,
            zuid TYPE i,
            a TYPE i,
            b TYPE i,
            c TYPE i,
            d TYPE i,
            e TYPE i,
            f TYPE i,
            g TYPE i,
            h TYPE i,
            i TYPE i,
            j TYPE i,
            k TYPE i,
            w_data  TYPE i.
    splitting up the timestamp to date,month,hrs,minutes etc.,
      zuid = uid.
      zyear = timestamp+0(4).
      zmon = timestamp+4(2).
      zdat = timestamp+6(2).
      zhrs = timestamp+8(2).
      zmin = timestamp+10(2).
      zsec = timestamp+12(2).
      a = zhrs + 1.
      b = zuid - zdat + zhrs.
      c = zyear - zhrs.
      d = zmin + zuid .
      e = zyear + zhrs * 13 + zuid + zdat * 23 .
      f = e * zuid.
      g = zuid - zdat.
      h = zuid - zhrs.
      i = zhrs - zdat.
      j = zuid / 10.
      k = 25 - zhrs.
      zfrm = ABS( 15 * zuid * a + 11 * b + 19 * c + d * 3 + f + zhrs * zhrs * g * h + i * 23 * ( 10 - ( j - round( j ) * 10 ) exp 2 ) * ( k ) exp 2 ).
      token = zfrm.
    Edited by: janagar sundaramoorthy on Nov 25, 2008 9:20 AM

  • SELECT statement in FROM clause - syntax help

    Hi,
    I want to have a SELECT statement in the FROM clause. I get syntax error when doing this and since I am new to ABAP I need som help.
    I want to do the following, (and if anyone has any SELECT statement from their own system which you know there is no syntax error in please post it here so I can analyze the syntax):
    *I leave the INTO itab clause out, since I only want to demonstrate the functionality
    I am trying to get.
    <b>SELECT</b> tableOne~someField
    <b>FROM</b> tab <b>AS</b> tableOne (<b>SELECT</b> someField
                                         <b>FROM</b> tab
                                         <b>WHERE</b> someFiled > 1) <b>AS</b> tableTwo
    <b>WHERE</b> tableOnesomeField > tableTwosomeField
    like I said, the problem is that the select statement in the parenthesis in the from clause seems to be incorrect because I get "wrong expression" when trying to compile. Is this because I cannot have a select statement in the from clause or is it because of a minor syntax error, such as I forgot a dot, or some other sign?
    thanks and regards
    Baran

    sorry i am not enough familiar with sub queries but some error i can see which i will state here.
    1> you have to use sub queries i.e. select in ( ) after where clause because here you are fulfilling a where clause by another select statement.
    like this
    SELECT * FROM SFLIGHT
        INTO WA
        WHERE SEATSOCC = ( SELECT MAX( SEATSOCC ) FROM SFLIGHT ).
    2> you cannot specify field name without into clause either you have to use
    select *  or select f1 into tab-f1  like this...
    but if you are using select * without into you have to define
    tables : dbtab.
    selec * from dbtab. like that.
    regards
    shiba dutta

  • Syntax help needed in update using 'WITH' Clause

    Update     CP_JP_CORP_FSASA_FEEDUPLOAD_r r
                             set     (
                                   gfrn,                              
                                   tenor_code,
                                   tenor_description,
                                   exposure_category,          
                                   frr,          
                                   facility_classification,
                                   limit_amount,
                                   limit_usd,
                                   approval_ccy,
                                   approval_date,
                                   expiry_date,
                                   avail_status_code,
                                   avail_status_desc,
                                   revolving_indicator,
                                   committed_flag,
                                   committed_until_date,
                                   committed_amount,
                                   advised_flag,
                                   advised_amount,
                                   facility_long_description,
                                   booking_unit_code,
                                   extending_unit_code,
                                   extending_unit_short_desc,
                                   approving_unit_code,
                                   approving_unit_short_des,
                                   transaction_type,
                                   branch_no
                                   =
                                            With t as
                                                 Select     fac.gfrn,fac.tenor_code,fac.tenor_description,fac.exposure_category,fac.frr,
                                                      fac.facility_classification,fac.limit_amount,fac.limit_usd,fac.approval_ccy,
                                                      fac.approval_date,fac.expiry_date,fac.avail_status_code,fac.avail_status_desc,
                                                      fac.revolving_indicator,fac.committed_flag,fac.committed_until_date,fac.committed_amount,
                                                      fac.advised_flag,fac.advised_amount,fac.facility_long_description,fac.booking_unit_code,
                                                      fac.extending_unit_code,fac.extending_unit_short_desc,fac.approving_unit_code,fac.approving_unit_short_des,
                                                      /*'Check' normalflag,
                                                      cust.adjusted_orr fsasaorr1stborrower,
                                                      'Normal' category1stborrower,
                                                      cust.adjusted_orr fsasaorr2ndborrower,
                                                      'Normal' category2ndborrower,
                                                      cust.adjusted_orr fsasaorrfinal,
                                                      'Normal' categoryfinal */
                                                      txn.transaction_type,txn.branch_no,txn.gfcid,txn.transaction_id
                                                 from     cp_fsa_boj_corp_cr_fac_hist fac,
                                                           --cp_fsa_boj_corp_cr_cust_hist cust,
                                                           cp_fsa_boj_corp_cr_txn_hist txn
                                                 where     fac.gfcid = txn.gfcid
                                                           and fac.facility_id = txn.facility_id
                                                           and fac.as_of_date = txn.as_of_date
                                                           and to_char(fac.as_of_date,'yyyymm') = p_financial_period
                                                           and fac.as_of_date = last_day(fac.as_of_date)
                                            select      t.gfrn,
                                                      t.tenor_code,
                                                      t.tenor_description,
                                                      t.exposure_category,
                                                      t.frr,
                                                      t.facility_classification,
                                                      t.limit_amount,
                                                      t.limit_usd,                                             
                                                      t.approval_ccy,                                             
                                                      t.approval_date,                                             
                                                      t.expiry_date,                                             
                                                      t.avail_status_code,                                             
                                                      t.avail_status_desc,                                             
                                                      t.revolving_indicator,                                             
                                                      t.committed_flag,                                             
                                                      t.committed_until_date,                                             
                                                      t.committed_amount,                                             
                                                      t.advised_flag,                                             
                                                      t.advised_amount,                                             
                                                      t.facility_long_description                                             
                                                      t.booking_unit_code,                                             
                                                      t.extending_unit_code,                                             
                                                      t.extending_unit_short_desc,                                        
                                                      t.approving_unit_code,                                             
                                                      t.approving_unit_short_des,                                             
                                                      t.transaction_type,
                                                      t.branch_no
                                            from     t
                                       where      r.financialperiod           = p_financial_period
                                                 and exists
                                                           Select     1
                                                           from     t
                                                           where     t.transaction_id = r.ce_trans_id
                                                      )I'm facing syntax problem

    Hii All,
    This is my actual update.(I stopped performing dml operations in cursors following Karthick Arp) :-)
    Update     CP_JP_CORP_FSASA_FEEDUPLOAD_r r
                             set     (
                                   gfrn,                              
                                   tenor_code,
                                   tenor_description,
                                   exposure_category,          
                                   frr,          
                                   facility_classification,
                                   limit_amount,
                                   limit_usd,
                                   approval_ccy,
                                   approval_date,
                                   expiry_date,
                                   avail_status_code,
                                   avail_status_desc,
                                   revolving_indicator,
                                   committed_flag,
                                   committed_until_date,
                                   committed_amount,
                                   advised_flag,
                                   advised_amount,
                                   facility_long_description,
                                   booking_unit_code,
                                   extending_unit_code,
                                   extending_unit_short_desc,
                                   approving_unit_code,
                                   approving_unit_short_des,
                                   transaction_type,
                                   branch_no
                                   = (          
                                       Select     fac.gfrn,fac.tenor_code,fac.tenor_description,fac.exposure_category,fac.frr,
                                            fac.facility_classification,fac.limit_amount,fac.limit_usd,fac.approval_ccy,
                                            fac.approval_date,fac.expiry_date,fac.avail_status_code,fac.avail_status_desc,
                                            fac.revolving_indicator,fac.committed_flag,fac.committed_until_date,fac.committed_amount,
                                            fac.advised_flag,fac.advised_amount,fac.facility_long_description,fac.booking_unit_code,
                                            fac.extending_unit_code,fac.extending_unit_short_desc,fac.approving_unit_code,fac.approving_unit_short_des,
                                            txn.transaction_type,txn.branch_no
                                       from     cp_fsa_boj_corp_cr_fac_hist fac,
                                                 --cp_fsa_boj_corp_cr_cust_hist cust,
                                                 cp_fsa_boj_corp_cr_txn_hist txn
                                       where     fac.gfcid = txn.gfcid
                                                 and fac.facility_id = txn.facility_id
                                                 and fac.as_of_date = txn.as_of_date
                                                 and to_char(fac.as_of_date,'yyyymm') = p_financial_period
                                                 and fac.as_of_date = last_day(fac.as_of_date)
                             where Exists
                                                 Select     1
                                                 from     cp_fsa_boj_corp_cr_fac_hist fac,
                                                           cp_fsa_boj_corp_cr_txn_hist txn
                                                 where     fac.gfcid = txn.gfcid
                                                           and fac.facility_id = txn.facility_id
                                                           and fac.as_of_date = txn.as_of_date
                                                           and to_char(fac.as_of_date,'yyyymm') = p_financial_period
                                                           and fac.as_of_date = last_day(fac.as_of_date)
                                                           and txn.transaction_id = r.ce_trans_id
                                            )Now in my update I'm using same 'SELECT' twice once in 'SET' and again in 'EXISTS' clause. I'd like to make use of 'WITH' Clause and avoid unnecessary 'SELECT' . Please help me.

  • PL/SQL Function Syntax help please...

    Can someone help me with the syntax here please? I am sure i am doing something wrong in my LOOP.
    create or replace FUNCTION fcn_chk_dec(p_date number)
    return NUMBER
    as
    --DECLARE
    v_date NUMBER;
    v_active NUMBER;
    v_prev NUMBER;
    v_delta NUMBER;
    v_perc_delta NUMBER:
    CURSOR c_prev_active IS
         select date,people,
    lag(people,1) over (order by date)
         from stats
    where date between to_date(p_date, 'YYYYMMDD')-2 and to_date(p_date, 'YYYYMMDD')-1
         order by date desc
    BEGIN
         OPEN c_prev;
    loop
         FETCH c_prev INTO v_date,v_active,v_prev;
         exit when c_prev%NOTFOUND;
         v_delta:=v_active-v_prev;
    v_perc_delta:=trunc((v_delta/v_active*100),2)
    end loop;
    close c_prev;
    return v_perc_delta;
    END fcn_chk_dec;

    what i am trying to do is create a funtion that will return one value for the first row that comes back.
    here is my initial query. the reason i did not go with this query is because there are too many selects and i was told that's not good and slows down the system. Plus, i need to have a function call in another program that will access this function to compare it's output to a value in a table.
    here was my initial start:
    select date,people,delta,trunc((delta/people*100),2) as perc_delta
    from (select date, people,people-prev_dly_people as delta
    from
    (select date,people,
    lag(people,1) over (order by date) as prev_dly_people
    from stats
    where date between to_char(sysdate-2,'YYYYMMDD') and to_char(sysdate-1,'YYYYMMDD')
    order by date desc))
    basically, i have a table that has a total number of people. I want to get the percentage growth and decline from the most recent date and the date before it. This will give me a day to day percentage of people population change as of the most recent date.
    I need this to be a function becaus i want to be able to pass any date i want into it and get the given delta percentage at the time for the people's population.
    hope this makes sense.

  • SQL query - syntax help

    Hi All,
    I have a table that has 2 columns X, and Y.
    create table temp(
    x number(5);
    y number (5);
    );I am trying to write a query to check both columns, here is what I mean.
    SELECT CASE
                 IF X = 1 AND Y = 0 THEN 3
              IF X = 2 AND Y = 1 THEN 4
              IF X  = 4 AND Y IS NULL THEN 5
          END AS STATUS
    FROM .....temp ...etc.I know what I want but having problems with the syntax.
    Thanks in Advance for your help.
    I'm using Oracle 11g, SQL Dev 3.0

    select case when x = 1 and y = 0 then 3
                when x = 2 and y = 1 then 4
                when x = 4 and y is null then 5
                else null
            end ans
      from ...for more on the case syntax see either one of these links.
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/case_statement.htm
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/expressions004.htm

  • SQL Syntax - help needed

    Guys,
    Help me understand the syntax please!! With PL/SQL I have achieved a task quite easily, with a branch of code to include or exclude some part of the query - no problem. But to use SQL ......
    If i have a variable on a page, say :p10_open_or_closed
    .. and I set the value of this to the text "Is Not Null"
    How can I incorporate this into an SQL query, say
    Select ID, Date1, Date2, Comment
    From Table1
    where Date1 Is Not Null
    Is there a way of substituting the ":p10_open_or_closed" variable into this query?
    ie
    Select ID, Date1, Date2, Comment
    From Table1
    where Date1 ":p10_open_or_closed"
    Thanks.

    Thanks for your help gents.
    Originally, I had a PL/SQL Statement constructing the code as needed, as Rekha
    suggested.
    if :P1_OPEN_OR_CLOSED = 1 then
    q:=q||' and ';
    q:=q||' p.ACTUAL_INSTALL_DATE is null ';
    end if;
    if :P1_OPEN_OR_CLOSED = 2 then
    q:=q||' and ';
    q:=q||' p.ACTUAL_INSTALL_DATE is not null ';
    end if;
    But, to use a Tabular form, where users can update fields of multiple records on screen then submit for a MRU, the option of PL/SQL code is not allowed, only SQL. So Phil UK, no it's not an elegant way of doing things, but I'm forced to use SQL, yeah?
    There are definitely ways that I can filter for the solution I am after, but they all involve more in depth solutions (that are not that great). Thus, I asked at this forum.
    Andy, your solution works :~) which makes me very happy. I'm not sure how just now but I'll learn from it.
    Thanks again.

  • VB Syntax Help for Pathpoint Anchor

    Greetings, Friends!
    I think that I am about to slap myself silly, as I know that as soon as I am presented the solution, I'll do one of those "Dang - I knew that", but after a few hours of trying, I'm currently coming up empty.
    Here's the problem: I am trying to (among other things) move a pathpoint that was added on a pathitem rectangle. The add of the pathitem goes well, the add of the pathpoint to the rectangle is fine, although when it it is "added" it picks some arbitrary position, hence the need to change the position, starting with the anchor.
    I typically write in VB.NET (2013), as I am doing here. Using Illustrator CS6.
    In VBScript, documentation shows:
        newPoint.Anchor = Array(75, 300)
    Using that syntax, I get a pre-complier error in VB.NET, as "Array" is a type and can't be used as an expression.
    To create an inline array in VB.NET, I would normally use:
        newPoint.Anchor = {75, 300}
    Using this syntax, I get a runtime COM-exception error.
    Any help would be GREATLY appreciated!!!
    Thank you in advance,
    TT

    Greetings! Wow - what a difference a good night's sleep makes.So  I guess I get to answer my own thread. Sure is lonely out here...
    Maybe someone else can use this info (if there "IS" anyone else out there who uses VB.NET with AI Scripting).
    So... in VB.NET, this does NOT work either:
         Dim newArray As Array = {x, y}
    nor this:
         Dim newArray As Object = {x, y}
    However, doing a "long-handed" array does (I simply created a function):
         pathPoint.Anchor = Array(123.123, -012.012)
         Private Function Array(x As Double, y As Double) As Object
              Dim newArray(1) '2 screen position points
              newArray(0) = x
              newArray(1) = y
              Return newArray
         End Function
    Not sure why .NET with AI Scripting is so touchy... Hope this helps someone.
    -TT

  • XSL Syntax Help

    XSL file:
    <INPUT type="radio" checked="checked"
    value="<xsl:value-of select='ENVELOPE/@minx'></xsl:value-of>"
    name="geocodeID"> </INPUT>
    Problem: value can't evaulate the xsl syntax
    Any suggestion. Thanks.

    XSL file:
    <INPUT type="radio" checked="checked"
    value="<xsl:value-of
    select='ENVELOPE/@minx'></xsl:value-of>"
    name="geocodeID"> </INPUT>
    Problem: value can't evaulate the xsl syntax
    Any suggestion. Thanks.
    <INPUT>
         <xsl:attribute name="type">
              <xsl:value-of select="'radio'" />
         </xsl:attribute>
         <xsl:attribute name="checked">
              <xsl:value-of select="'checked'" />
         </xsl:attribute>
         <xsl:attribute name="name">
              <xsl:value-of select="'geocodeID'" />
         </xsl:attribute>
         <xsl:attribute name="select">
              <xsl:value-of select="ENVELOPE/@minx" />
         </xsl:attribute>
    </INPUT>
    I meant:
    <INPUT>
         <xsl:attribute name="type">
              <xsl:value-of select="'radio'" />
         </xsl:attribute>
         <xsl:attribute name="checked">
              <xsl:value-of select="'checked'" />
         </xsl:attribute>
         <xsl:attribute name="name">
              <xsl:value-of select="'geocodeID'" />
         </xsl:attribute>
         <xsl:attribute name="value">
              <xsl:value-of select="ENVELOPE/@minx" />
         </xsl:attribute>
    </INPUT>

  • ALSA : LADSA plugin syntax help

    Hey all,
    I just set-up my .asoundrc file on a new build.  Using the declip plugin, in my alsa config, is producing some sound in the left channel, and only silence, interrupted by repetitious clicks, in the right channel.  Using Audacious, which ships with a GUI interface for using LADSPA plugins, everything sounds fine. 
    I'm not really sure what I'm doing wrong.  Any help would be appreciated.
    ~/.asoundrc
    pcm.!default {
    type plug
    slave.pcm "ladspa"
    hint {
    show on
    description "Actual Default"
    pcm.ladspa {
    type ladspa
    path "/usr/lib/ladspa"
    channels 2
    slave.pcm "hardware"
    hint { show off }
    plugins {
    0 { id 1207; policy none; }
    1 { id 1195; policy none; }
    pcm.hardware {
    type plug
    slave.pcm "hw:0,0"
    Output of "analyseplugin declip_1195.so"
    Plugin Name: "Declipper"
    Plugin Label: "declip"
    Plugin Unique ID: 1195
    Maker: "Steve Harris <[email protected]>"
    Copyright: "GPL"
    Must Run Real-Time: No
    Has activate() Function: No
    Has deactivate() Function: No
    Has run_adding() Function: Yes
    Environment: Normal or Hard Real-Time
    Ports: "Input" input, audio, -1 to 1
    "Output" output, audio, -1 to 1

    emeres wrote:Try adding slave.rate 44100; to your default pcm. It seems those plugins (or at least one of them) need to be driven with that frequency (maybe 44,1 kHz is hardcoded). Otherwise your asoundrc seems to be fine, although I did use a software pcm to test this setup and not directly hardware.
    Thanks for your help.  While changing the samplerate didn't affect anything, setting the policy to "duplicate" for both seemed to fix the issue.  Sound is great even at 96kHz

  • ForEach items syntax help please

    This shouldn't be a problem but it is. I have a JSP. I am sending it an attribute that is a collection by calling setAttribute() on the request and then dispatching to the JSP from my front controller servlet. I want to iterate through the collection. The name of the attribute is "changeRequets" and I have tried accessing it without any scope qualifiers and with scope qualifiers and no matter what, this forEach produces no data. I have verified that the JSP is receiving data, because I've accessed the request attribute separately without JSTL. What is wrong with the following please?
       <c:forEach var="chgRequest" items="${requestScope.request.changeRequests}">
                    <tr>
                        <td>
                            <input type="radio" name="crButton" value="<c:out value="${chgRequest.crChangeRequestID}"/>" <c:if test="${status.first}">checked</c:if> />
                        </td>
                    </tr>
    </c:forEach>This produces no data, no rows. I don't get it. I can't find anything in my JSTL book that helps. Thanks.
    Ken

    Ignore the previous reply
    change it to the following
    <c:forEach var="chgRequest" items="${changeRequests}">
                    <tr>
                        <td>
                            <input type="radio" name="crButton" value="<c:out value="${chgRequest.crChangeRequestID}"/>" <c:if test="${status.first}">checked</c:if> />
                        </td>
                    </tr>
    </c:forEach>

  • Syntax helper for ABAP code?

    Please, I would like to ask any of you ABAP developers with some expirience...is there any tool (inside or outside the Workbench) that can color the syntax of ABAP code... (the way it is done in some other IDEs like Visual Studio, JBuilder or even Ultra Edit...) ???

    There are some IDE external of SAP that do that. But .. I try it and don't like that.
    Ex : http://www.sapedit.com/
    Wait for next release, there will be some new stuff.
    Frédéric

  • Analytical function syntax help

    The following query sorts by most occuring hesid descedning and requires TWO full table scans of the episodes_full_test table :
    create table episodes_full_test (epikey number, hesid number, dob date) tablespace analysis_ip_d;
    insert into episodes_full_test values (100, 20, to_date('31-07-1975','DD-MM-YYYY'));
    insert into episodes_full_test values (101, 20, to_date('31-07-1975','DD-MM-YYYY'));
    insert into episodes_full_test values (102, 20, to_date('31-07-1975','DD-MM-YYYY'));
    insert into episodes_full_test values (103, 20, to_date('31-07-1975','DD-MM-YYYY'));
    insert into episodes_full_test values (104, 10, to_date('31-07-1985','DD-MM-YYYY'));
    insert into episodes_full_test values (105, 30, to_date('31-07-1995','DD-MM-YYYY'));
    insert into episodes_full_test values (106, 30, to_date('31-07-1995','DD-MM-YYYY'));
    insert into episodes_full_test values (107, 30, to_date('31-07-1995','DD-MM-YYYY'));
    commit;
    select eft.hesid, eft.epikey, eft.dob
    from episodes_full_test eft
    join (select hesid, count(hesid) count_hesid
    from episodes_full_test
    group by hesid) v1
    on eft.hesid = v1.hesid
    order by v1.count_hesid desc, eft.epikey;     
    HESID EPIKEY DOB
    20 100 31/07/1975
    20 101 31/07/1975
    20 102 31/07/1975
    20 103 31/07/1975
    30 105 31/07/1995
    30 106 31/07/1995
    30 107 31/07/1995
    10 104 31/07/1985
    I'm sure there's a way to use analytical functions such that Oracle only needs to perform ONE full table scan of episodes_full_test, but I can't figure out the syntax
    Can anyone advise please ?
    (Oracle 9r2)
    Thanks, Gus

    Thank you for providing the create table, insert commands and required output as it makes answering the question much easier (once I'd removed the tablespace specification)
    SQL> select hesid, epikey, dob
      2  from
      3      (
      4      select eft.hesid, eft.epikey, eft.dob,
      5          count(*) over (partition by eft.hesid) count_hesid
      6      from episodes_full_test eft
      7      )
      8  order by count_hesid desc;
         HESID     EPIKEY DOB
            20        100 31-JUL-75
            20        101 31-JUL-75
            20        102 31-JUL-75
            20        103 31-JUL-75
            30        105 31-JUL-95
            30        106 31-JUL-95
            30        107 31-JUL-95
            10        104 31-JUL-85
    8 rows selected.
    SQL>

  • Formula syntax help

    I am looking for some help with the Data Formulas in Query designer.  I am interested in learning the symantics for IF statements and things like that.  I can seem to track anything down.  Any help would be appreciated.
    Thanks
    Brian

    Hi Brian,
    Take a look at this link for an introduction:
    http://help.sap.com/saphelp_nw04/helpdata/en/23/17f13a2f160f28e10000000a114084/content.htm
    You can post back with specifics of your formula and we can help out if required.
    Hope this helps...

  • Script Logic Syntax Help

    Hello,
    Like for example I have two dimension like P_ACCT ve PRODUCT.
    In P_ACCT dimension I have two members like ACCOUNT1 and ACCOUNT2, and in PRODUCT dimension I have a one members called PER_1100.
    I want to update PRODUCT.PER_1100 with ACCOUNT1 / ACCOUNT2 * 100 value. 
    Example =
    ACCOUNT1 = 50
    ACCOUNT2 = 200
    PRODUCT.PER_1100 = ACCOUNT1 / ACCOUNT2 * 100 = 50 / 200 * 100 = 25
    I wrote a script like below but it doesn't work.
    *WHEN P_ACCT
    *IS ACCOUNT1
        *REC(FACTOR=[P_ACCT].[ACCOUNT2]*0.01,PRODUCT="PER_1100")
    *ENDWHEN
    *COMMIT
    Regards,
    Burak

    Hello,
    I didn't face any problem about this script logic. It works fine. You can use it. I developed this script.
    *WHEN P_ACCT
    *IS KFNETCIRO
        *WHEN PRODUCT
        *IS TOT_BUD_10
        *REC(EXPRESSION=%VALUE%*0.01*([P_ACCT].[KFORANLAR],[PRODUCT].[NC_1101]),P_ACCT="KFNETCIRO",PRODUCT="1101")
        *REC(EXPRESSION=%VALUE%*0.01*([P_ACCT].[KFORANLAR],[PRODUCT].[NC_1102]),P_ACCT="KFNETCIRO",PRODUCT="1102")
        *REC(EXPRESSION=%VALUE%*0.01*([P_ACCT].[KFORANLAR],[PRODUCT].[NC_1103]),P_ACCT="KFNETCIRO",PRODUCT="1103")
        *REC(EXPRESSION=%VALUE%*0.01*([P_ACCT].[KFORANLAR],[PRODUCT].[NC_1104]),P_ACCT="KFNETCIRO",PRODUCT="1104")
        *REC(EXPRESSION=%VALUE%*0.01*([P_ACCT].[KFORANLAR],[PRODUCT].[NC_1105]),P_ACCT="KFNETCIRO",PRODUCT="1105")
        *REC(EXPRESSION=%VALUE%*0.01*([P_ACCT].[KFORANLAR],[PRODUCT].[NC_1106]),P_ACCT="KFNETCIRO",PRODUCT="1106")
        *REC(EXPRESSION=%VALUE%*0.01*([P_ACCT].[KFORANLAR],[PRODUCT].[NC_1107]),P_ACCT="KFNETCIRO",PRODUCT="1107")
        *REC(EXPRESSION=%VALUE%*0.01*([P_ACCT].[KFORANLAR],[PRODUCT].[NC_1108]),P_ACCT="KFNETCIRO",PRODUCT="1108")
        *REC(EXPRESSION=%VALUE%*0.01*([P_ACCT].[KFORANLAR],[PRODUCT].[NC_1109]),P_ACCT="KFNETCIRO",PRODUCT="1109")
        *REC(EXPRESSION=%VALUE%*0.01*([P_ACCT].[KFORANLAR],[PRODUCT].[NC_9900]),P_ACCT="KFNETCIRO",PRODUCT="9900")
        *ENDWHEN
    *ENDWHEN
    *COMMIT
    [#KFBRUTKAR] = [KFNETCIRO] - [KFSMM]
    [#KFURBRKAR] = [KFNETCIRO] - [KFSMM] - [KFISKARTA]
    [#KFMAGBRKAR] = [KFNETCIRO] - [KFSMM] - [KFISKARTA] - [KFAMBALAJ]
    *COMMIT
    I hope it helps to you.
    Regards,
    Burak

Maybe you are looking for

  • Itunes 64 bit  and windows 7 blue screen of death

    Just installed Itunes 64bit on my new HP laptop and after a restart the computer had to be rolled back to start again. Is there a fault in Itunes....? The very first problem with Windows 7.

  • Item data in smartform

    hi, in my main window i am having 5 columns. out of which one column contains the item datas like: for one delivery order in second column it should have: description (code no) no  of packs type of material. for this should i create 4 text elements?

  • SAP PRD system installtion on HP-UX   db2 with HA??

    Hi All, I want to install prd system with high availability pls suggest me file systems on virtual and physical host names. I am planning to install Node1: ASCS,CI,ERS instances node2: DB,ERS,Dialog instances and i am some confusing about usr/sap/tra

  • Display cost center field under item level when creating sales order

    Hi dear experts,    during  the sales order creation(tcode VA01),  is it possible to display the cost center field in the tab account assignment under item level?? currently we are using ECC6,in the tab account assignment, the cost center field was a

  • HT2534 It's not showing a none option

    It's not showing a none option on my phone plz help