Aggregating variables and hiding/filtering values

Hi Everyone
I have a pivot table and chart (chart screenshot below) that has monthly intervals along the x-axis. The chart presents a cumulative percent based on aggregating records along the variable on the x axis.
The problem is that I want to give people the ability to hide certain month intervals at will (specifically the initial .5 -> 5 months ones). However, when someone hides any of the initial intervals, the cumulative number starts with the month value displayed
(as filtered by the user) and not from the beginning.
Is there a way to modify the below functions to override the user filter for this and cumulate along all the intervals?
=(CALCULATE(countrows(s1Perm1),FILTER(ALL(s1Perm1[ExitMonthCategory]),s1Perm1[ExitMonthCategory] <= MAX(s1Perm1[ExitMonthCategory]))))/(CALCULATE(COUNTROWS(s1Perm1),ALL(s1Perm1[Exit],s1Perm1[ExitMonthCategory])))
Paul

Hi Paul,
I guess I am misunderstand something but if I try that on the copy of that worksheet from your previous posting, the result looks to me right according to your description - the Pivot table would show the following values with a slicer set to start with
6 - 27,4% is the same value that the pivot table would show for month 6 if the previous months were selected too:
StartYear
Values
2008
ExitMonthCategory
Den
Num
CumPercent
6
10.580
2901
27,4 %
12
10.580
4276
40,4 %
18
10.580
5308
50,2 %
24
10.580
5935
56,1 %
30
10.580
6392
60,4 %
36
10.580
6729
63,6 %
42
10.580
6912
65,3 %
48
10.580
7035
66,5 %
Julian Wissel | BI for NAV @ http://en.navbi.com | Blog @ blog.navida.eu

Similar Messages

  • Pass variable and set default value based on user's group

    Hello
    I'm using SharePoint 2010 and SQL 2012. I need to send a variable to the page and based on its value, set default value for a drop down list and send it to other web part to filter the data. Is it possible for certain users to send that value as a default
    and limit user to see only this value in the text field or drop down list; for others - to allow to see the drop down list, but also set the default value for that list?
    The main page was designed in SharePoint designer, using web parts (aspx page). I had setup a connection to Active Directory and already have the code to get user's groups and based on their group, I have that variable pulled into the web page for further
    use. But I don't know how to pass that value as a default value to the web part (currently using SharePoint Filter web part). When I tried to set a default value for the web part - it automatically puts the quotation marks around the name of the variable
    and shows it as a text instead of showing the value of the field.
    Thank you!
    P.s. I have limited knowledge of SharePoint and need guidance (links, examples, recommendations)!
    Alla Sanders

    Thank you for your response. I'll try to give you more details. On PageA I check user's groups and based on the group, assign the value and pass it to the next page (no input from the user, all done behind the scene and user is redirected to PageB).
    On the next page I read that value and would like to send it to the SharePoint List Filter Web as a default value, as well as send it to another web part that displays the list from SQL, filtered using that default value. Ideally, if the user is from Group
    A, I'd like for them to have only one value in that drop down list; if user is from Group B - give him drop down list with 40 items to choose from. Below there is a part of the code and variable fnum has the value from PageA (if I print the value on the screen
    - I do see that it has correct value, so the code that gets groups from Active directory works correctly). If I assign fnum as a default value of the list, it shows "fnum" instead of the value of variable fnum. I connect to SQL database, using external
    content - so the other list that I'm filtering based on the value in that drop down list - is XSLT Data View Web part. I also have 2 more filters on that page, that user will have full access to and based on their input, it is also sent to the XSLT web part
    to filter out more data. Since one of the filters is the date and I am filtering data starting from the date that user chooses - XSLT is the only web part that I was able to make it work with.
    I looked at the link you provided (thank you). It is using Content Query Web part. Will it work with external content, as well as accepting multiple filtering, including custom starting date? I appreciate your help!
    <%
    string fnum = Request.QueryString["field1"];
    %><table cellpadding="4" cellspacing="0" border="0" style="height: 1000px">
    <tr>
    <td id="_invisibleIfEmpty" name="_invisibleIfEmpty" colspan="2" valign="top" style="height: 101px">
    <WebPartPages:WebPartZone runat="server" Title="loc:Header" ID="Header" FrameType="TitleBarOnly"><ZoneTemplate>
    <WpNs0:SpListFilterWebPart runat="server" FilterMainControlWidthPixels="0" RequireSelection="False" ExportMode="All" PartImageLarge="/_layouts/images/wp_Filter.gif" AllowHide="False" ShowEmptyValue="True" MissingAssembly="Cannot import this Web Part." AllowClose="False" ID="g_1ccc4bca_3ba1_480b_b726_adfdb1e9e02d" IsIncludedFilter="" DetailLink="" AllowRemove="False" HelpMode="Modeless" AllowEdit="True" ValueFieldGuid="fa564e0f-0c70-4ab9-b863-0177e6ddd247" IsIncluded="True" Description="Filter the contents of web parts by using a list of values from a Office SharePoint Server list." FrameState="Normal" Dir="Default" AllowZoneChange="True" AllowMinimize="False" DefaultValue="fnum" Title="Facilities List Filter" PartOrder="2" ViewGuid="2da5d8db-6b55-4403-80a8-111e42049f8b" FrameType="None" CatalogIconImageUrl="/_layouts/images/wp_Filter.gif" FilterName="Facilities List Filter" HelpLink="" PartImageSmall="/_layouts/images/wp_Filter.gif" AllowConnect="True" DescriptionFieldGuid="2d97730a-cd0d-4cb9-8b55-424951201081" ConnectionID="00000000-0000-0000-0000-000000000000" ExportControlledProperties="True" TitleIconImageUrl="/_layouts/images/wp_Filter.gif" ChromeType="None" SuppressWebPartChrome="False" IsVisible="True" ListUrl="/Lists/FacilitiesList" AllowMultipleSelections="False" ZoneID="Header" __MarkupType="vsattributemarkup" __WebPartId="{768E2035-0461-4A09-8DDD-CA7020C2B23D}" WebPart="true" Height="" Width="615px"></WpNs0:SpListFilterWebPart>
    Alla Sanders

  • Assigning a hex value to a variable and getting binary value of a variable.

    I try to develop java programs and I need to do a conversion unicode to EBCDIC and vice versa.
    How can I assign hex values to variables to build UTF-EBCDIC and EBCDIC-UTF table and get hex or binary value of data to compare it to value of in the table?
    I did a conversion like this with PL/1 before. I do not know how can I do it with Java. Because I am new to Java.
    Thank you in advance.

    I will run java code in mainframe and java uses
    unicode for data in default and mainframe environment
    is EBCDIC. So I have to translate the data from
    unicode to ebcdic.I said I think String supports EBCDIC encoding...
    String ebcdic = new String(ebcdicBytes, "Cp500");
    http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html

  • How to parser a HTML page to get its variable and values?

    Hi, everyone, here is my situation:
    I need to parser a HTML page to get the variables and their associated values between <form>...</form> tag. for example, if you have a piece of HTML as below
    <form>
    <input type = "hidden" name = "para1" value = "value1">
    <select name = "para2">
    <option>value2</option>
    </form>
    the actual page is much complex than this. I want retrive pare1 = value1 and para2 = value2, I tried Jtidy but it doesn't reconginze select, could you recomend some good package this purpose? better with sample code.
    Thanks a lot
    Kevin

    See for example Request taglib from Coldtags suite:
    http://www.servletsuite.com/jsp.htm

  • Bind Variables and Shared Component Report Query

    I have a query in a region report which I have replicated to a shared component report query.
    Both queries reference page items as bind variables in the where clause.
    The report region on screen shows the correct results but the report query shows "no data". This is the case when running "Test Query" and "Download XML data" from the shared component report query definition. If I hardcode the variable names I get rows returned, If I use bind variables - and specify the values for these variables I get no data. THe XML file contains the tags for each bind variable I have specified but has no data between the tags. I have Ticked the box to include application and session state but it appears that the bind variables are not being used.
    When I use my report query in the application (URL tied to a button) I get the same problem, the binds are not being passed to the report query.
    Can someone please clarify if this is a bug or not? And if not, how can I get it to work.
    I am using Apex 4.0.2
    Thanks
    Kathryn

    Hi
    To confirm, yes I selected the bind variables. I used these in the report layout, but the xml file has them as empty i.e.
    <P0_START_DATE><P0_START_DATE/> with nothing in between.
    IN the Test Query section, if I put real values in the boxes for the bind variables, I get no data found. If I hardcode the values into the query, I get the data.
    I've repeated the create report query many times and have created a report layout in RTF. I can use the layout with my region - in the print attributes and the layout works with the query but I need to create a PDF using 2 queries - ROWSET1 and ROWSET2. I can generate the XML but the values in the rows are all empty. When I use the layout with a report query instead of the region, I get no data even though I have used the same sql and have selected the bind variables. I was using variables from page items on page zero but have also tried using page items on the current page, the result is the same.
    I need to use a report query and a report layout as I need data from 2 queries in the PDF.
    I looked at your demo - what happens if you add a second sql query to the report query - is there any chance I can look at the back end (developer access?)
    Thanks for your input
    Kathryn

  • BEx variable screen to exclude values from selection

    Hi,
    I have a requirement in the BEx report variable screen here my user want to select values for the variable and
    from the values in selection on right hand user wants to exclude few values.I want the red color exclude button to appear in the screen.can anyone tell me whether there are any commands in WAD for variable personalization.
    Thanks,
    Harsha

    Hi,
    Try this.
    TABLES : ztable.
    SELECTION-SCREEN:BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    PARAMETER : p_field1 TYPE field1_in_ztable,
                            p_field2 TYPE field2_in_ztable.
                            p_field3 TYPE field3_in_ztable.
                            p_field4 TYPE field4_in_ztable.
                            p_field5 TYPE field5_in_ztable.
    SELECTION-SCREEN:END OF BLOCK b1.
    DATA : itab TYPE TABLE ztable,
                 wa_itab TYPE ztable.
    AT SELECTION-SCREEN.
          MOVE p_field1 TO wa_itab-field1.
          MOVE p_field2 TO wa_itab-field2.
          MOVE p_field3 TO wa_itab-field3.
          MOVE p_field4 TO wa_itab-field4.
          MOVE p_field5 TO wa_itab-field5.
    INSERT ztable FROM wa_itab.
    IF sy-subrc = 0.
    MESSAGE 'Successfully saved' TYPE 'I'.
    ENDIF.
    Thanks,
    Sri.
    Edited by: Sri on Jul 28, 2009 4:15 PM

  • How can I create a function using TestStand variables and call it from a step's Pre-Expression?

    In one sequence I have dozens of Pre-Expressions which are almost the same thing, like this...
    Locals.tagID = (Parameters.singlePhaseEnabled ? "L" : "D") & Str(Locals.phase) & "006"
    ...and the only thing different is that three digit string at the end ("006" will vary). How can I write a function that I can call from a step's Pre-Expression so it would look something like this? ...
    Locals.tagID = MyNewFunction("006")

    You cannot write custom commands for expressions.
    That being said, there are a couple of options:
    Create a subsequence with a single step. Use a parameter of the sequence as "function parameter".
    Create a custom step type including a substep module which implements the function. Add an edit substep to enable the user of the steptype to gracefully change the parameter.
    Store the variable parameter in a local/file global variable and modify the value in each step. This will, at least, keep the "function" the same for every step.
    Norbert

  • Question about session variables and binding

    Hi All,
    I'm a newbie with Application Express. I've gone through several tutorials and a book, and now I'm actually getting started with apex. My first adventure is a tiny little form, where all you do is fill it out and it sends an email. Pretty simple.
    And, i have it working just fine - but I have a question about something I don't quite understand. Basically, I am generating the email text in a page process. And some of the form fields work fine if i reference them as *:ACCT_NAME*, but some give me the dreaded "not all variables bound" error. For the ones that give me the error, I can reference them like V('ACCT_NAME').
    So, as a newbie, I'm a little confused. When is it appropriate to use the V function, and when it is appropriate to use binding? Why would one of the fields work with binding but not another from the same form?
    Thanks for any clarification you can offer,
    Lisa

    Lisa,
    A bind variable is a place holder variable available in an environment.It is used quite frequently(outside Apex Context) in SQL and PLSQL scripts and especially in Dynamic SQL statements.Many times using a bind variable gives better performance. In the Apex environment,page items and many other variables related to the session are available as bind variables and hence their value can be referred in SQL,PLSQL contexts as :VARIABLE_NAME.
    Now V() function is an apex specific function which returns the value of an apex session variable outside the apex environment. So as Machaan pointed out, it is used in
    procedures and triggers that gets called from within an apex session. This is required since the bind variables themselves are not directly available in the SQL environment but their values from the corresponding session can be accessed by this apex built-in function.
    The length of any Bind variable name is limited to 30 characters, this is a limitation inherited from Oracle SQL itself and hence session variables(page or application items) whose name has a length which exceeds 30 characters cannot be used as the :ITEM_NAME format. In such cases you would have to use the v() method again. This might be happening in your case.

  • Double click and get and store the value in variable.

    Hi,
    My intention is when i double click a particular record on a tabular, i want to capture or store the particular value of record into a variable and call that variable in print/preview button PLSQL code.
    Below i show the screenshot which contain a tabular and print preview button. After populating the data. the user will double click on the agent code LC354 and click the print/preview button it should display report for only the
    agent code of LC354(this is what i want). But normally when i click the print preview button it wil show the report of agent code of LC354 and LC325(this what i dont want).
    http://imageshack.us/photo/my-images/811/printpb.png/
    My problem is how to capture the value((*LC354*)) of particular record after double click the agent code(*LC354*)?
    i tried to store agent code in variable AG_CNT in mouse double click trigger with following plsql code. but it dosent work.
    declare
    AG_CNT varchar2(10);
    begin
    *AG_CNT* :=GET_ITEM_PROPERTY('RFQ_AGENT_DETAILS.AGENT_CODE',CURRENT_RECORD);
    end;after that pass that AG_CNT value in *:AG_CODE*. below code is in print/preview button.
         cursor c1 is select nvl(count(ENQUIRY_NO),0) from scott.EXP_QUOTE_STATUS
         where ltrim(rtrim(upper(job_status))) like 'APPROVED%' and ENQUIRY_NO = :REQ_FOR_QUOT.ENQUIRY_NO
    AND AGENT_CODE=*:AG_CODE* ;how to do this?
    skud.

    Hi skud
    i juast want to store the agent code to variable.if i did get ur point...
    Why don't u just use a simple assign statment for example...
    DECLARE
    V_VALUE  NUMBER;
    BEGIN
    V_VALUE := LC354 ; -- IF it was a value as LC354 static i mean
    -- or u could use any value
    V_VALUE := :ur_form_item_name; --- if it was dynamic
    END;That's it .
    Hope this helps...
    Regards,
    Ammatu Allah.

  • Wrong ASCII values for control characters in Variables and Stack Call in CVI2013?

    Hi,
    I think there is an error in  "Variables and Call Stack" window if you want to look for your variables in ASCII format.
    The control characters (0 -  31) are not shown correct. They are shifted 2.
    For example:
    Character in Decimal format is 10 (LF) but when you are chancing to ASCII format it is showing \012.
    The same with 13 (CR). This character is \015 in ASCII format.
    I think that was no problem in CVI2012.
    Best regards
    Gunther
    Solved!
    Go to Solution.

    I'm not using CVI2013 yes so I cannot respond regarding this specific product, but the code you are showing are the octal equivalent of the decimal value you specified: it could be that control characters (or generally speacking non-printable ones) are replaced with their octal equivalent in string view.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Bind Variable in SELECT statement and get the value  in PL/SQL block

    Hi All,
    I would like  pass bind variable in SELECT statement and get the value of the column in Dynamic SQL
    Please seee below
    I want to get the below value
    Expected result:
    select  distinct empno ,pr.dept   from emp pr, dept ps where   ps.dept like '%IT'  and pr.empno =100
    100, HR
    select  distinct ename ,pr.dept   from emp pr, dept ps where   ps.dept like '%IT'  and pr.empno =100
    TEST, HR
    select  distinct loc ,pr.dept   from emp pr, dept ps where   ps.dept like '%IT'  and pr.empno =100
    NYC, HR
    Using the below block I am getting column names only not the value of the column. I need to pass that value(TEST,NYC..) into l_col_val variable
    Please suggest
    ----- TABLE LIST
    CREATE TABLE EMP(
    EMPNO NUMBER,
    ENAME VARCHAR2(255),
    DEPT VARCHAR2(255),
    LOC    VARCHAR2(255)
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (100,'TEST','HR','NYC');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (200,'TEST1','IT','NYC');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (300,'TEST2','MR','NYC');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (400,'TEST3','HR','DTR');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (500,'TEST4','HR','DAL');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (600,'TEST5','IT','ATL');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (700,'TEST6','IT','BOS');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (800,'TEST7','HR','NYC');
    COMMIT;
    CREATE TABLE COLUMNAMES(
    COLUMNAME VARCHAR2(255)
    INSERT INTO COLUMNAMES(COLUMNAME) VALUES ('EMPNO');
    INSERT INTO COLUMNAMES(COLUMNAME) VALUES ('ENAME');
    INSERT INTO COLUMNAMES(COLUMNAME) VALUES ('DEPT');
    INSERT INTO COLUMNAMES(COLUMNAME) VALUES ('LOC');
    COMMIT;
    CREATE TABLE DEPT(
    DEPT VARCHAR2(255),
    DNAME VARCHAR2(255)
    INSERT INTO DEPT(DEPT,DNAME) VALUES ('IT','INFORMATION TECH');
    INSERT INTO DEPT(DEPT,DNAME) VALUES ('HR','HUMAN RESOURCE');
    INSERT INTO DEPT(DEPT,DNAME) VALUES ('MR','MARKETING');
    INSERT INTO DEPT(DEPT,DNAME) VALUES ('IT','INFORMATION TECH');
    COMMIT;
    PL/SQL BLOCK
    DECLARE
      TYPE EMPCurTyp  IS REF CURSOR;
      v_EMP_cursor    EMPCurTyp;
      l_col_val           EMP.ENAME%type;
      l_ENAME_val       EMP.ENAME%type;
    l_col_ddl varchar2(4000);
    l_col_name varchar2(60);
    l_tab_name varchar2(60);
    l_empno number ;
    b_l_col_name VARCHAR2(255);
    b_l_empno NUMBER;
    begin
    for rec00 in (
    select EMPNO aa from  EMP
    loop
    l_empno := rec00.aa;
    for rec in (select COLUMNAME as column_name  from  columnames
    loop
    l_col_name := rec.column_name;
    begin
      l_col_val :=null;
       l_col_ddl := 'select  distinct :b_l_col_name ,pr.dept ' ||'  from emp pr, dept ps where   ps.dept like ''%IT'' '||' and pr.empno =:b_l_empno';
       dbms_output.put_line('DDL ...'||l_col_ddl);
       OPEN v_EMP_cursor FOR l_col_ddl USING l_col_name, l_empno;
    LOOP
        l_col_val :=null;
        FETCH v_EMP_cursor INTO l_col_val,l_ename_val;
        EXIT WHEN v_EMP_cursor%NOTFOUND;
          dbms_output.put_line('l_col_name='||l_col_name ||'  empno ='||l_empno);
       END LOOP;
    CLOSE v_EMP_cursor;
    END;
    END LOOP;
    END LOOP;
    END;

    user1758353 wrote:
    Thanks Billy, Would you be able to suggest any other faster method to load the data into table. Thanks,
    As Mark responded - it all depends on the actual data to load, structure and source/origin. On my busiest database, I am loading on average 30,000 rows every second from data in external files.
    However, the data structures are just that - structured. Logical.
    Having a data structure with 100's of fields (columns in a SQL table), raise all kinds of questions about how sane that structure is, and what impact it will have on a physical data model implementation.
    There is a gross misunderstanding by many when it comes to performance and scalability. The prime factor that determines performance is not how well you code, what tools/language you use, the h/w your c ode runs on, or anything like that. The prime factor that determines perform is the design of the data model - as it determines the complexity/ease to use the data model, and the amount of I/O (the slowest of all db operations) needed to effectively use the data model.

  • How to store the value into variable and access it in RMAN script

    I want to create a variable and dynamically assign a numeric value to it (may get the value may be from SQL )and access the value in RMAN script.
    Thanks...Raj

    Raj,
    We have been getting this type of request and it is not possible via RMAN to do that.
    BUT--You could write a sql/plus script to query your variable and produce the RMAN script with the new value.
    Just a suggestion.
    Tammy

  • How to find colums in CLOB variable and get this colums value to update col

    Question
    How to find colums in CLOB variable and get this colums value to update colum of oracle database table
    How my work will go
    Step-1 - I am creating XML FIle which is based on code that we discused before-
    Its developing xml file with data in <...inputelement> as u can see in my xml but in <..output> Element of xml its just have all column for exampe <itemoutput>
    <FLD NM = "ABC"> 0 </FLD>
    <FLD NM = "XYZ:> </FLD> --- for varchar2
    </itemoutput>
    In 1st stage i am just generating <..INPUT> with its colums and real value from database and <..output> elements will go zero value but with colums name.
    Note. I create temp table will all COLUMN which u can see in both in <..ITEMINPUT> and <..ITEMOUTPUT>
    Step2.. After Generaing my xml i want to convert my xml data into CLOB not in a file. so clob will go to the VENDOR
    STEP3.
    I will Recieved again xml data in CLOB from the vendo in <.OUTPUT> ELEMents
    for example
    I send this format
    <itemoutput>
    <FLD NM = "ABC"> 0 </FLD>
    <FLD NM = "XYZ:> </FLD> --- for varchar2
    </itemoutput>
    And i will receive it
    <itemoutput>
    <FLD NM = "ABC VALUE"> 2 </FLD>
    <FLD NM = "XYZ TYPE:> SUV</FLD> --- for varchar2
    </itemoutput>
    So will take this output valu from xml clob and will update my staging table .
    Which have the same colum name as its look in xml clob.
    Step- 4. I will take this value from staging table and update my original oracle database table. which i send you before.
    But u leave this step becaue you dont know the staging table colum maping with original table.
    I think now you understand
    Please feed back
    monriz

    here is my xml..
    I want to extract <..output> elements which enclosed with " " and its values from this xml file. please any body have any idea. please tell me
    Thanks
    <?xml version="1.0" ?>
    - <RATABASECALC COPYRIGHT="COPYRIGHT 2001>
    - <RATEREQUEST USEREFID="YES">
    - <ANCHOR>
    <DATABASENAME />
    <DATABASEPW />
    <DATABASESOURCE />
    <DATABASEPRVDR />
    <USERNAME />
    <SEVERITYDES />
    <CALLDES />
    <INITACCDES />
    <INITACCV />
    <ITEMSEQDES />
    <ITEMMATCHDES />
    <CENTURYDES />
    <DATEDES />
    <FORMULADES />
    <STRINGDES />
    <VALIDATIONDES />
    <STEPSDES />
    <RETINFONUM />
    <ADDLRETINFONUM />
    <ANCHORNOMATCH />
    <NOMATCHMSG />
    <TRANUUID />
    <LOGOPTION />
    <MSGOPTION />
    <USERLOGFN />
    <NOITEMERROR />
    <LOGFORMAT />
    <LOGFN />
    <STEPSFN />
    <NUMNOMATCH>0</NUMNOMATCH>
    <NUMERRORS>0</NUMERRORS>
    </ANCHOR>
    - <POLICIES>
    - <POLICY>
    <BUSINESSDES>N</BUSINESSDES>
    <LEGALENTITYOWNER>CGI TRAINING AND DEMONSTRATION</LEGALENTITYOWNER>
    <LEGALENTITYNAME>CGI TRAINING AND DEMONSTRATION</LEGALENTITYNAME>
    <COMPEFFDATE>02/01/2000</COMPEFFDATE>
    <RETRIEVALDATE>02/01/2000</RETRIEVALDATE>
    <POLINPUTS />
    - <POLOUTPUTS>
    <FLD NM="POLICY CALCS DONE IND">Y</FLD>
    <FLD NM="TOTAL DISCOUNTED POLICY PREM">2167.52</FLD>
    <FLD NM="TOTAL POLICY PREMIUM">3180.0</FLD>
    </POLOUTPUTS>
    - <LOBS>
    - <LOB>
    <LEGALENTITYPRODGROUP>PERSONAL AUTOMOBILE</LEGALENTITYPRODGROUP>
    - <LOBINPUTS>
    <FLD NM="MULTI-CAR FACTOR">0</FLD>
    <FLD NM="MULTI-CAR IND">Y</FLD>
    </LOBINPUTS>
    <LOBOUTPUTS />
    - <REGIONS>
    - <REGION>
    <LEGALENTITYREGION>MAINE</LEGALENTITYREGION>
    - <REGIONINPUTS>
    <FLD NM="STATE PREMIUM AMOUNT">0</FLD>
    </REGIONINPUTS>
    - <REGIONOUTPUTS>
    <FLD NM="TOTAL STATE PREMIUM">2356.0</FLD>
    <FLD NM="TOTAL DISCOUNTED STATE PREM">2167.52</FLD>
    <FLD NM="TOTAL STATE DISCOUNT AMOUNT">188.48</FLD>
    </REGIONOUTPUTS>
    - <REGIONERRORS>
    <NUMLOGENTRIES>3</NUMLOGENTRIES>
    <NUMRETURNLOGENTRIES>0</NUMRETURNLOGENTRIES>
    </REGIONERRORS>
    - <COVERAGES>
    - <COVERAGE RBID="COVP1L1R1C1">
    <COVFORMULAINDEX FORMREF="FMLAP1L1R1F1" />
    <COVINPUTS />
    - <COVOUTPUTS>
    <FLD NM="DEDUCTIBLE BUYBACK">145.0</FLD>
    </COVOUTPUTS>
    <COVCONTROL />
    </COVERAGE>
    - <COVERAGE RBID="COVP1L1R1C2">
    <COVFORMULAINDEX FORMREF="FMLAP1L1R1F2" />
    <COVINPUTS />
    - <COVOUTPUTS>
    <FLD NM="DEDUCTIBLE BUYBACK">209.0</FLD>
    </COVOUTPUTS>
    <COVCONTROL />
    </COVERAGE>
    - <COVERAGE RBID="COVP1L1R1C3">
    <COVFORMULAINDEX FORMREF="FMLAP1L1R1F3" />
    <COVINPUTS />
    <COVOUTPUTS />
    <COVCONTROL />
    </COVERAGE>
    </COVERAGES>
    - <ITEMS>
    - <ITEM>
    - <ITEMINPUTS>
    <FLD NM="COLLISION DEDUCTIBLE">100</FLD>
    <FLD NM="COMP DEDUCTIBLE">FULL</FLD>
    <FLD NM="INEXPERIENCED OPERATOR IND">N</FLD>
    <FLD NM="LIABILITY LIMIT">100</FLD>
    <FLD NM="SYMBOL">15</FLD>
    <FLD NM="TOWING INDICATOR">Y</FLD>
    <FLD NM="INEXPERIENCED OPER FACTOR">0</FLD>
    <FLD NM="VEHICLE SYMBOL">0</FLD>
    <FLD NM="MODEL YEAR">1997</FLD>
    <FLD NM="COST NEW">0</FLD>
    <FLD NM="DRIVER TRAINING INDICATOR">N</FLD>
    <FLD NM="GOOD STUDENT IND">N</FLD>
    <FLD NM="CLASS CODE">11</FLD>
    <FLD NM="COLL RATE">0</FLD>
    <FLD NM="TERRITORY">001</FLD>
    <FLD NM="COMP RATE">0</FLD>
    <FLD NM="PROTECTIVE DEVICE CODE">B</FLD>
    <FLD NM="ANTI LOCK BRAKE IND">Y</FLD>
    <FLD NM="MED RATE">0</FLD>
    <FLD NM="MEDICAL PAYMENTS LIMIT">1000</FLD>
    <FLD NM="PASSIVE RESTRAINT CODE">A</FLD>
    <FLD NM="UNINSURED MOTORISTS LIMIT">100</FLD>
    </ITEMINPUTS>
    - <ITEMOUTPUTS>
    <FLD NM="CLASS FACTOR">0.84</FLD>
    <FLD NM="TOTAL VEHICLE PREMIUM">1166.0</FLD>
    <FLD NM="TOTAL COLLISION PREMIUM">438</FLD>
    <FLD NM="TOTAL COMP PREMIUM">218</FLD>
    <FLD NM="TOTAL LIABILITY PREMIUM">475</FLD>
    <FLD NM="TOTAL MEDICAL PREMIUM">4</FLD>
    <FLD NM="TOTAL TOWING PREMIUM">4</FLD>
    <FLD NM="TOTAL UM PREMIUM">27</FLD>
    </ITEMOUTPUTS>
    - <ITEMNOMATCHES>
    <ITEMNUMNOMATCH>2</ITEMNUMNOMATCH>
    <ITEMRETURNNOMATCH>0</ITEMRETURNNOMATCH>
    </ITEMNOMATCHES>
    - <ITEMCOVINDEXES>
    <ITEMCOVINDEX COVREF="COVP1L1R1C1" />
    </ITEMCOVINDEXES>
    <ITEMCONTROL />
    </ITEM>
    - <ITEM>
    - <ITEMINPUTS>
    <FLD NM="COLLISION DEDUCTIBLE">50</FLD>
    <FLD NM="COMP DEDUCTIBLE">FULL</FLD>
    <FLD NM="INEXPERIENCED OPERATOR IND">N</FLD>
    <FLD NM="LIABILITY LIMIT">100</FLD>
    <FLD NM="SYMBOL">12</FLD>
    <FLD NM="TOWING INDICATOR">N</FLD>
    <FLD NM="INEXPERIENCED OPER FACTOR">0</FLD>
    <FLD NM="VEHICLE SYMBOL">0</FLD>
    <FLD NM="MODEL YEAR">1997</FLD>
    <FLD NM="COST NEW">0</FLD>
    <FLD NM="DRIVER TRAINING INDICATOR">N</FLD>
    <FLD NM="GOOD STUDENT IND">N</FLD>
    <FLD NM="CLASS CODE">12</FLD>
    <FLD NM="COLL RATE">0</FLD>
    <FLD NM="TERRITORY">001</FLD>
    <FLD NM="COMP RATE">0</FLD>
    <FLD NM="PROTECTIVE DEVICE CODE">0</FLD>
    <FLD NM="ANTI LOCK BRAKE IND">Y</FLD>
    <FLD NM="MED RATE">0</FLD>
    <FLD NM="MEDICAL PAYMENTS LIMIT">1000</FLD>
    <FLD NM="PASSIVE RESTRAINT CODE">0</FLD>
    <FLD NM="UNINSURED MOTORISTS LIMIT">100</FLD>
    </ITEMINPUTS>
    - <ITEMOUTPUTS>
    <FLD NM="CLASS FACTOR">0.88</FLD>
    <FLD NM="TOTAL VEHICLE PREMIUM">1190.0</FLD>
    <FLD NM="TOTAL COLLISION PREMIUM">468</FLD>
    <FLD NM="TOTAL COMP PREMIUM">194</FLD>
    <FLD NM="TOTAL LIABILITY PREMIUM">497</FLD>
    <FLD NM="TOTAL MEDICAL PREMIUM">4</FLD>
    <FLD NM="TOTAL TOWING PREMIUM">0</FLD>
    <FLD NM="TOTAL UM PREMIUM">27</FLD>
    </ITEMOUTPUTS>
    - <ITEMNOMATCHES>
    <ITEMNUMNOMATCH>2</ITEMNUMNOMATCH>
    <ITEMRETURNNOMATCH>0</ITEMRETURNNOMATCH>
    </ITEMNOMATCHES>
    - <ITEMCOVINDEXES>
    <ITEMCOVINDEX COVREF="COVP1L1R1C2" />
    </ITEMCOVINDEXES>
    <ITEMCONTROL />
    </ITEM>
    - <ITEM>
    <ITEMINPUTS />
    <ITEMOUTPUTS />
    - <ITEMNOMATCHES>
    <ITEMNUMNOMATCH>2</ITEMNUMNOMATCH>
    <ITEMRETURNNOMATCH>0</ITEMRETURNNOMATCH>
    </ITEMNOMATCHES>
    - <ITEMCOVINDEXES>
    <ITEMCOVINDEX COVREF="COVP1L1R1C3" />
    </ITEMCOVINDEXES>
    <ITEMCONTROL />
    </ITEM>
    </ITEMS>
    - <FORMULAS>
    - <FORMULA RBID="FMLAP1L1R1F1">
    <FORMULANAME>RATING MASTER</FORMULANAME>
    <FORMULARETRIEVALDATE>02/01/2000</FORMULARETRIEVALDATE>
    <FORMULACOMPEFFDATE>02/01/2000</FORMULACOMPEFFDATE>
    <FORMULANEWRENDES>N</FORMULANEWRENDES>
    <FORMULAUSERATEDATE>Y</FORMULAUSERATEDATE>
    <FORMULARATERETRIEVALDATE>02/01/2000</FORMULARATERETRIEVALDATE>
    <FORMULARATECOMPEFFDATE>02/01/2000</FORMULARATECOMPEFFDATE>
    </FORMULA>
    - <FORMULA RBID="FMLAP1L1R1F2">
    <FORMULANAME>RATING MASTER</FORMULANAME>
    <FORMULARETRIEVALDATE>02/01/2000</FORMULARETRIEVALDATE>
    <FORMULACOMPEFFDATE>02/01/2000</FORMULACOMPEFFDATE>
    <FORMULANEWRENDES>N</FORMULANEWRENDES>
    <FORMULAUSERATEDATE>Y</FORMULAUSERATEDATE>
    <FORMULARATERETRIEVALDATE>02/01/2000</FORMULARATERETRIEVALDATE>
    <FORMULARATECOMPEFFDATE>02/01/2000</FORMULARATECOMPEFFDATE>
    </FORMULA>
    - <FORMULA RBID="FMLAP1L1R1F3">
    <FORMULANAME>PREMIUM DISCOUNT</FORMULANAME>
    <FORMULARETRIEVALDATE>02/01/2000</FORMULARETRIEVALDATE>
    <FORMULACOMPEFFDATE>02/01/2000</FORMULACOMPEFFDATE>
    <FORMULANEWRENDES>N</FORMULANEWRENDES>
    <FORMULAUSERATEDATE>Y</FORMULAUSERATEDATE>
    <FORMULARATERETRIEVALDATE>02/01/2000</FORMULARATERETRIEVALDATE>
    <FORMULARATECOMPEFFDATE>02/01/2000</FORMULARATECOMPEFFDATE>
    </FORMULA>
    </FORMULAS>
    <REGIONCONTROL />
    </REGION>
    - <REGION>
    <LEGALENTITYREGION>NEW HAMPSHIRE</LEGALENTITYREGION>
    - <REGIONINPUTS>
    <FLD NM="STATE PREMIUM AMOUNT">0</FLD>
    </REGIONINPUTS>
    - <REGIONOUTPUTS>
    <FLD NM="TOTAL STATE PREMIUM">824.0</FLD>
    <FLD NM="TOTAL DISCOUNTED STATE PREM">0</FLD>
    <FLD NM="TOTAL STATE DISCOUNT AMOUNT">0</FLD>
    </REGIONOUTPUTS>
    - <REGIONERRORS>
    <NUMLOGENTRIES>2</NUMLOGENTRIES>
    <NUMRETURNLOGENTRIES>0</NUMRETURNLOGENTRIES>
    </REGIONERRORS>
    - <COVERAGES>
    - <COVERAGE RBID="COVP1L1R2C1">
    <COVFORMULAINDEX FORMREF="FMLAP1L1R1F4" />
    <COVINPUTS />
    - <COVOUTPUTS>
    <FLD NM="DEDUCTIBLE BUYBACK">0.0</FLD>
    </COVOUTPUTS>
    <COVCONTROL />
    </COVERAGE>
    </COVERAGES>
    - <ITEMS>
    - <ITEM>
    - <ITEMINPUTS>
    <FLD NM="COLLISION DEDUCTIBLE">500</FLD>
    <FLD NM="COMP DEDUCTIBLE">250</FLD>
    <FLD NM="INEXPERIENCED OPERATOR IND">Y</FLD>
    <FLD NM="LIABILITY LIMIT">100</FLD>
    <FLD NM="SYMBOL">11</FLD>
    <FLD NM="INEXPERIENCED OPER FACTOR">0</FLD>
    <FLD NM="VEHICLE SYMBOL">0</FLD>
    <FLD NM="MODEL YEAR">1996</FLD>
    <FLD NM="COST NEW">0</FLD>
    <FLD NM="DRIVER TRAINING INDICATOR">Y</FLD>
    <FLD NM="GOOD STUDENT IND">Y</FLD>
    <FLD NM="CLASS CODE">36</FLD>
    <FLD NM="COLL RATE">0</FLD>
    <FLD NM="TERRITORY">001</FLD>
    <FLD NM="COMP RATE">0</FLD>
    <FLD NM="PROTECTIVE DEVICE CODE">0</FLD>
    <FLD NM="ANTI LOCK BRAKE IND">0</FLD>
    <FLD NM="MED RATE">0</FLD>
    <FLD NM="MEDICAL PAYMENTS LIMIT">1000</FLD>
    <FLD NM="PASSIVE RESTRAINT CODE">0</FLD>
    <FLD NM="UNINSURED MOTORISTS LIMIT">100</FLD>
    </ITEMINPUTS>
    - <ITEMOUTPUTS>
    <FLD NM="CLASS FACTOR">1.11</FLD>
    <FLD NM="TOTAL VEHICLE PREMIUM">824.0</FLD>
    <FLD NM="TOTAL COLLISION PREMIUM">332</FLD>
    <FLD NM="TOTAL COMP PREMIUM">123</FLD>
    <FLD NM="TOTAL LIABILITY PREMIUM">334</FLD>
    <FLD NM="TOTAL MEDICAL PREMIUM">8</FLD>
    <FLD NM="TOTAL UM PREMIUM">27</FLD>
    </ITEMOUTPUTS>
    - <ITEMNOMATCHES>
    <ITEMNUMNOMATCH>2</ITEMNUMNOMATCH>
    <ITEMRETURNNOMATCH>0</ITEMRETURNNOMATCH>
    </ITEMNOMATCHES>
    - <ITEMCOVINDEXES>
    <ITEMCOVINDEX COVREF="COVP1L1R2C1" />
    </ITEMCOVINDEXES>
    <ITEMCONTROL />
    </ITEM>
    </ITEMS>
    - <FORMULAS>
    - <FORMULA RBID="FMLAP1L1R1F4">
    <FORMULANAME>RATING MASTER</FORMULANAME>
    <FORMULARETRIEVALDATE>02/01/2000</FORMULARETRIEVALDATE>
    <FORMULACOMPEFFDATE>02/01/2000</FORMULACOMPEFFDATE>
    <FORMULANEWRENDES>N</FORMULANEWRENDES>
    <FORMULAUSERATEDATE>Y</FORMULAUSERATEDATE>
    <FORMULARATERETRIEVALDATE>02/01/2000</FORMULARATERETRIEVALDATE>
    <FORMULARATECOMPEFFDATE>02/01/2000</FORMULARATECOMPEFFDATE>
    </FORMULA>
    </FORMULAS>
    <REGIONCONTROL />
    </REGION>
    </REGIONS>
    </LOB>
    </LOBS>
    - <RETINFOS>
    <TOTALRI>0</TOTALRI>
    </RETINFOS>
    </POLICY>
    </POLICIES>
    </RATEREQUEST>
    </RATABASECALC>
    Above xml data - some <...OUTPUT> elements has some FLD elements. and i want to take those outputelemt's FLD Elements data and update my oracle tables.
    Note: FLD = "Attribie" are the colums name of the tables
    back to top

  • How to derive value from another variable and use it to read master data?

    Hi,
    I have following case:
    First I need to read the value from Cost Center -variable (ZIPCC) and then I need to use that value to determine the home currency of that cost center from the cost center master data table (field: OBJ_CURR).
    I know to basic idea on how to do this, but don't seem to get the syntax correct. Could someone point me in the right direction?
    So the objects in play are:
    ZIPCC = Cost center selection variable (mandatory, single value)
    ZIPCUR = Cost Center Currency variable (customer exit, single value)
    0COSTCENTER
    0OBJ_CURR = Field in cost center master data
    Help will be greatly appreciated!
    -m

    Hi,
    Thank you very much for your example I can see that this logic works! However I'm experiencing trouble in selecting the 0OBJ_CURR
    This kind of declaration isn't working: "D1 Like /BIC/0OBJ_CURR."
    And the same goes for the Selection:
    "Select single OBJ_CURR into D1 from /BI0/PCOSTCENTER where COSTCENTER = i_t_var_range-low."
    This is where my syntax also went wrong.
    0OBJ_CURR is a unit, is there a special way to declare it and use it in the code?
    (and 0CURRENCY is a reference unit for 0OBJ_CURR).
    Do you have adivce on this?
    -miikka

  • How to update and use the values of variables of another class

    I can we update or use the values of the variables of another class. For example, if we have class A
    public class A //(situated in package view)
    public s0,s1;
    public void runFunction()
    ...some coding and proceedings
    s0="Hi";s1"Hello";
    ......some coding
    RequestDispatcher dispatcher = request.getRequestDispatcher("/MainUser.jsp?alert=F");
    dispatcher.forward(request, response);
    ARunner.jsp
    <jsp:useBean id="a" class="view.A" scope="session"/>
    <%
    a.runFunction();
    %>
    MainUser.jsp
    <jsp:useBean id="a" class="view.A" scope="session"/>
    <%
    System.out.println("S0:"+a.s0+" S1:"+a.s1); //should print S0:Hi S1:Hello, but printing S0:null S1:null
    %>
    A.class has some procedures and String variables which can be updated and later can be used in JSP pages. The project starts with ARunner.jsp which uses the A.class and updates the values of string variables s0 and s1of A to hi and hello respectively.And then redirects the page to MainUser.jsp.
    Now what I want is ,when I call those string variables(s0 & s1 of A.class) in any another jsp likeMainUser.jsp it should give me the value of hi and hello respectively not null as it is giving right now. Could you refine the coding for this one?

    public class A //(situated in package view)
    public String s0,s1;
    public void runFunction()
    ...some coding and proceedings
    s0="Hi";s1"Hello";
    ......some coding
    RequestDispatcher dispatcher = request.getRequestDispatcher("/MainUser.jsp");
    dispatcher.forward(request, response);
    ARunner.jsp
    <jsp:useBean id="a" class="view.A" scope="session"/>
    <%
    a.runFunction();
    %>
    MainUser.jsp
    <jsp:useBean id="a" class="view.A" scope="session"/>
    <%
    System.out.println("S0:"+a.s0+" S1:"+a.s1); //should print S0:Hi S1:Hello, but printing S0:null S1:null
    %>
    giving code again to remove the typing errors. Please guide.

Maybe you are looking for

  • Lumia 920 Sennheiser CX 680i mic and volume proble...

    Hi all I just got a pair of Sennheiser CX 680i. They are iPhone compatible but I didn't know that they only partially work with my Lumia 920. The play/pause, skip forward and backward are working fine. But the mic and volume don't. I read that it's b

  • Layout problem Try to help me

    Hi friends, In my layout i have two repeating frames. RF1 and RF2 RF1 has group by frame. with in RF1 i have RF2. In RF1 i have only one field i.e)Table name : [ source field ](Group by field). In RF2 i have 3 fields Column Name : [column source ] va

  • GRC 5.3 help location

    How do I change the help link (located in header of web pages) that now points to http://help.sap.com to point to a local file system?  I have loaded the plain HTML help on a local directory and need to use that location since the internet is not acc

  • Exception while opening Bea Repository

     

  • Get Table A018 in a Query

    Hello, is their any way to get the Tabel A018 in a SAP Query. When i try to insert this table in a Query i get the following message. Table A018 cannot be used in a join Message no. AQ501 Diagnosis 1. You cannot read the selected table with SELECT st