Use of Column "Subtotal"

Dear Experts,
Can you please tell me the use of Column Subtotal in 16 column of Pricing Procedure. I know that it is used to store the value of condition type. e.g. Carry over value to KOMP-KZWI1,  Carry over value to KOMP-KZWI4.
My doubt is, as we store value of condition type in these various fields; then when, where and how we use the same stored value.
Sagar

Hi,
Actually in our pricing procedure, few values are maintained in subtotal column.
For one condition type JMOD, value is D - Copy value to XWORKD
And at one point Basic price + Trans charges = Base price. And this price is stored as 1     - Carry over value to KOMP-KZWI1.
Now, my que. is why these values are stored in subtotal column. And how I can check whether these values are used further in the procedure.
Sagar

Similar Messages

  • Calculate Column Subtotal in  Attribute View

    Hi,
    Is it possible to calculate the Column subtotal in Caluclation View itself likethe way we do in ALV.
    I want to do this calculation in the Calculation View itself.
    I thought of doing that through  Calculated Column but the SQL Function SUM() doesn't work there.
    Below is how my Calculation View looks like:
    I want the output to be like this (Highlighted in Green):
    I am getting the field Allocation from my Attrbute View ZAT_VBRK_VBRP(Join of table VBRK and VBRP) and ZVBAK is just an attribute view for VBRK.
    Thanks,
    Gaurav

    Hi Shankar,
    Sub_totals can be achieved through the SQL query using the Grouping_sets which is something like this,
    select col_1, col_2, col_3, sum(col_4)
    from <Table_name>
    group by grouping sets LIMIT 2 WITH SUBTOTAL
    ((col_1, col_2),(col_3));
    Usually this can be done in the front end reporting tool but,If you want to continue with the calculation_view where you want the sub total to be appended as a "New Tuple" then you will have to go with the CE_Functions using the sql_query.
    This is something new that i can learn today, lets see how the experts will guide us with the approach.
    Regards,
    Krishna.

  • Can we use WHO columns in Business Logic implementation

    Hi,
    Can we use WHO columns for business logic implementation..?
    From one table I need to pick up the latest record. I have a ActionDate column in the table which stores the date of the action.
    But on the same day there can be multiple action records. ie Multiple records have same ActionDate.
    Select * from action_table where action_date=(maximum action_date)
    The above query will return more than 1 record.
    Now can I use the Creation_Date which is a WHO column to identify the latest record..?
    Will it introduce any issues if I use creation_date WHO column?
    Usage of WHO column in application logic, Is it against the Standards ?
    Thanks a lot.

    I guess you are talking about populating the value using the history column creation_dt from EO.
    If so, you can use then. We are using them in all our applications to populate WHO columns of our table.
    Infact as far as I know, even Oracle application uses them.
    They generally populate the timestamp, so you may need to format them when doing date comparisons.
    Hope that helps.
    Amit

  • Can we use formula column in lexical parameter in sql query ...

    hi
    can we use formula column in lexical parameter in sql query ...
    as example
    i want to give
    select * from & c_table
    forumula
    function c_table
    if :p_sort = 1 then
    return 'dept'
    else
    return 'emp'
    end;
    c_table formula column
    is this possible ...
    i have such example in oracle apps reports
    if i try in ordinary report usinf emp table it show error ..
    how we can give formula column...
    please help me in this regard...
    Edited by: 797525 on Feb 20, 2012 9:31 PM

    thanks sir,
    iam not exactly saying select * from &c_table but some thing that like columns in select stmt also will be populated in user_parameters ,there are lot of table select.......from     mtl_demand md,     mtl_system_items msi,     mtl_txn_source_types     mtst,     mtl_item_locations loc     &C_source_from &C_from_cat
    &c_source_from and &c_from_cat formula column and there are defined at report level only ......
    pl/sql code &c_source_from is
    function C_source_fromFormula return VARCHAR2 is
    begin
    if :P_source_type_id = 2 then return(',MTL_SALES_ORDERS mkts');
    else if :P_source_type_id = 3 then return(',GL_CODE_COMBINATIONS gl');
    else if :P_source_type_id = 6 then return(',MTL_GENERIC_DISPOSITIONS mdsp');
    else if :P_source_type_id = 5 then
         if :C_source_where is null then
              return NULL;
         else
              return(',WIP_ENTITIES wip');
         end if;
    else if :P_source_type_id = 8 then return(',MTL_SALES_ORDERS mkts');
    else if :P_source_type_id is null then
    return(',MTL_SALES_ORDERS      mkts,
    MTL_GENERIC_DISPOSITIONS mdsp,
    GL_CODE_COMBINATIONS gl ');
    else null;
    end if; end if; end if; end if; end if; end if;
    RETURN NULL; end;
    this is forumula column i hope that you understand what iam saying
    please help me in this regard....
    thanking you...

  • To get list of materialized views/views using a column of a table

    Hi,
        I am removing sal column from table tab_emp;
    i want to check whether any materialized view or view using this column by  querying using data dictionary :-
    if i use like condition against query column of all_mviews it is throwing error sicne it is long data type.
    is there a way to search it without creating any function and use it in a query
    Thanks,
    Ajoy

    start with select * from dictionary where table_name like '%VIEW%'
    to identify appropriate dictionary views.
    Then read: Ask Tom &amp;quot;Converting Longs to LOBS&amp;quot; and Ask Tom &amp;quot;Long to Varchar2 conversion.... &amp;quot;
    to be able to search LONG descriptions for column names.
    For example:
    create table check_table as
    select owner,view_name,text_length,to_lob(text) text_lob from all_views
    Column Name
    Data Type
    Nullable
    Default
    Primary Key
    OWNER
    VARCHAR2(30)
    No
    VIEW_NAME
    VARCHAR2(30)
    No
    TEXT_LENGTH
    NUMBER
    Yes
    TEXT_LOB
    CLOB
    Yes
    select * from check_table where instr(upper(text_lob),'SAL') > 0
    OWNER
    VIEW_NAME
    TEXT_LENGTH
    TEXT_LOB
    SYS
    USER_ENCRYPTED_COLUMNS
    147
    select TABLE_NAME, COLUMN_NAME, ENCRYPTION_ALG,SALT, INTEGRITY_ALG from DBA_ENCRYPTED_COLUMNS where OWNER = SYS_CONTEXT('USERENV','CURRENT_USER')
    Regards
    Etbin

  • Concatenation error - when i use text column value in where condition.

    Hi,
    i am creating Materialized view using few columns from two tables and as per requirement i need to prepare select statement with where condition in another column.(new column)
    i tried like below....
    create materialized view MAIN
    refresh force on demand
    as
    select
    a.table_name,
    a.column_name,
    b.trial_name,
    'select * from '||a.table_name||' where '||a.column_name|| ' = '|| b.trial_name||';' "QUERY"
    from
    exp_csv_tB a,
    exp_csv_tr b;
    a.table name value is : monitoring_table
    a.column_name value is : study
    b.trial_name = fty777
    Materialized view created with extra column but it is not added '' (codes) to text value in where condition.
    output which i got is :
    select * from monitoring_table where study = fty777;
    but
    i need output like
    select * from monitoring_table where study = 'fty777';
    fty777 value should be in codes like 'fty777'. i read some articles but didnt get this example.
    please help.

    Try this:
    CREATE MATERIALIZED VIEW main
    REFRESH FORCE ON DEMAND
    AS
    SELECT
    a.table_name,
    a.column_name,
    b.trial_name,
    'select * from '||a.table_name||' where '||a.column_name|| ' = '''|| b.trial_name||'';'' "QUERY"
    FROM
    exp_csv_tb a,
    exp_csv_tr b;
    You have to give double single codes for semi-colons ..
    Regards..

  • How to use single column in a group by clause

    hi frs
    i hve used sum function in a sql how to use a single column in a query.
    for ex
    select sum(sal),ename,job,deptno,empno from emp
    group by deptnowhether its possible to use single column in a group by class.
    i want like this because in my custom report i need it. Report query has more than 30 column so its not possible to use 30 columns in a group by.
    pls help.
    Thanks
    Rajesh

    Maybe something like this -
    Select ename, job, deptno, empno, sal, col1, col2, col3, col4 ......, coln
    From
    Select SUM(sal) sal, deptno deptno_i
    From Emp
    Group By deptno
    ,Emp
    Where deptno = deptno_i
    Shailender Mehta

  • How to use the Columns Hidden | space in the bottom of af:panelCollection?

    Hi,experts,
    In jdev 11.1.2.3,
    I can see a row of Columns Hidden | Columns Frozen in the bottom of component af:panelCollection - pc1 which have an af:table - t1 component inside in designer view,
    and can see there is a blank row space only with "|" inside when the page is running.
    Now I want to use this blank row space such as to display row numbers for the table, so I set the property for the panelColletion as following source code:
    ==========================
    <af:panelCollection id="pc1" inlineStyle="width:1250px; height:500px;">
    <f:facet name="menus"/>
    <f:facet name="toolbar"/>
    <f:facet name="statusbar">
    <af:group id="g4"/>
    </f:facet>
    <af:table value="#{bindings.TView1.collectionModel}" var="row"
    rows="#{bindings.TView1.rangeSize}"
    emptyText="#{bindings.TView1.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.TView1.rangeSize}" rowBandingInterval="1"
    filterModel="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
    queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}" filterVisible="false"
    varStatus="vs"
    selectedRowKeys="#{bindings.TView1.collectionModel.selectedRow}"
    selectionListener="#{bindings.TView1.collectionModel.makeCurrent}"
    rowSelection="single" id="t1" inlineStyle="font-size:xx-large; font-weight:bolder;">
    <af:column sortProperty="#{bindings.TView1.hints.GoodsStatus3.name}" filterable="true"
    sortable="true"
    headerText="#{bindings.TView1.hints.GoodsStatus3.label}"
    id="c42">
    <af:outputText value="#{row.GoodsStatus3}" id="ot33"/>
    </af:column>
    <f:facet name="footer">
    <af:group id="g3">
    *<af:outputText value="RowsNumber:" id="ot44"/>*
    *<af:outputText value="#{bindings.TView1Iterator.estimatedRowCount}"*
    id="ot43" partialTriggers="::pc1:t1"/>
    </af:group>
    </f:facet><f:facet name="detailStamp"/>
    </af:table>
    </af:panelCollection>
    =====================
    but when run the page there is no display for the row number, instead on the bottom of the table, there is only a blank row with "|" inside.
    How to use the Columns Hidden | Columns Frozen space in the bottom of component af:panelCollection ?
    Thanks!

    Hi, Arun
    It works.
    As in my use case, can draw an af:toolbar component into statusbar of Panel Collection facets in Structure view.
    There is still a small issue:
    cannot see the Columns Hidden|Columns Frozen component in the Structure view,
    and if drop more than one af:toolbar into statusbar, the sencond one will fall/wrap into second row, even though there is enough space on the first row (to occupy a second row in statusbar will be a waste of space), and cannot see how to adjust.
    Thank you very much!
    bao

  • Why can't I use the Column Browser for my iPod when connected to the computer?

    In iTunes 11, I can use the Column Browser while viewing my music library on the computer.  But it's inexplicably not available for viewing the music on my iPod when it's connected to the computer to sync.
    The Column Browser is the simplest, easiest, most elegant way for me to review what's on my iPod, and create Playlists from my music and CD books.  It was available in 10.7 and is available on the computer, why not the iPod????!!!???
    Why mess around changing something that isn't broken - after all these years why can't that option still be available?  It doesn't have to be the default, just be available. Will I have to downgrade to 10.7 yet again????
    And you don't even have a relevant category for me to choose from below!!  It makes sense to me that you provide a general "Using iTunes" category.

    Thanks for your reply, but I've already done that and the Column Browser options are completely grayed out.  I've taken a screen shot and hope I can paste it in here.  You'll see I have the sidebar open.  That's the way I prefer to deal with iTunes.
    This happened after I updated to iTunes 11.0.4.  Perhaps that changed the setting options. I think I had the Column Browser option prior to that, but I just got a new iPod and I was busy loading stuff, so not completely sure if it worked before the update.  But I think I would have noticed, because it bugs me so much not to have the option.

  • ORA-12032: cannot use rowid column

    Hi,
    on 8.1.7 I have the following error :
    ORA-12032: cannot use rowid column from materialized view log on "string"."string"
    The solution is :
    Action: A complete refresh is required before the next fast refresh. Add ROWID columns to the materialized view log, if required.
    How can I do a complete refresh before the next fast refresh or Add ROWID columns ? How to know if Add ROWID columns is required ?
    Thank you.
    PS :
    my script is :
    START WITH TO_DATE('06-jul-2010 17:57:48','dd-mon-yyyy hh24:mi:ss')
    NEXT SYSDATE+1/24

    user522961 wrote:
    Hi,
    on 8.1.7 I have the following error :
    ORA-12032: cannot use rowid column from materialized view log on "string"."string"
    The solution is :
    Action: A complete refresh is required before the next fast refresh. Add ROWID columns to the materialized view log, if required.
    How can I do a complete refresh before the next fast refresh or Add ROWID columns ? How to know if Add ROWID columns is required ?
    Thank you.run above
    EXECUTE DBMS_MVIEW.REFRESH('MV_NAME','C');

  • Assertion failure error while using hierarchy column in 11.1.1.7.1

    Hi all,
    I have done In-place upgrade of OBIEE from 11.1.1.5 to 11.1.1.7. Afterthat installed 11.1.1.7.1 patchset also.
    Dashboard prompts were created by using hierarchy column. While applying hierarchy prompt i am getting below error
    Assertion failure: levels.size() > start_pos at line 843 of project/weblayoutbuilder/viewlayoutbuilderutil.cpp
      Error Details
    Error Codes: ACIOA5LN
    Some times presentation services will restarted automatically.
    Kindly give a solution regarding this.
    Thanks in advance

    This is occuring due to Bug 17334677 in 11.1.1.7.0. It has been fixed in future versions and backported to SOA BPM 11.1.1.7.0 Apply Patch 17334677

  • How to use numeric column in BI Publisher 11g Data Model?

    Hi Gurus
    I was able to create a link(join) in Data model when I used VARCHAR column.
    However if I used numeric column I got an error
    Any ideas?
    Thanks
    Laszlo

    Can you please post the error message?
    Regards,
    Kalyan Chukkapalli
    http://123obi.com

  • The column browser is no longer available when trying to view music in iTunes. I'm only able to use the column browser only when viewing playlists. Why?

    I noticed that after one of the recent updates to iTunes, I am unable to view my music using the column browser type view. Only when I select one of my playlists is the music displayed with the column browser. When I select Music to view the contents of my library, only the album covers are displayed on the right side. The old column browser type display is not available any more - it is grayed out. I do have "show list views for all media" checked in my Preferences / General tab.
    Did Apple screw up or is it me?

    You're welcome.
    tt2

  • How do you use a column title Ina formula in numbers

    How do you use a column title in a formula in numbers ie. "cost" vs. F-1?

    Have you tried here?   This isn't specifically a "Using iPad" question.

  • Use of Column Stripper with Fixed Query

    Hi all,
    I would like to create a PDF document. The document contains a PDF table which is filled with the XML-output of a fixed query.
    When I use the column stripper to reduce te number of columns in the XML file created by a normal query it works fine.
    But when I use the column stripper with a XML file created by a Fixed Query, I can't select the columns.
    Do you know how to solve this?
    Thanks in advance.
    kind regards,
    Johan Knopper
    myBrand

    Hi Christian,
    thanks for your answer. I filled the parameters in the query and created the sample XML again. Now it works fine.
    Do you know if it is also possible to do so with the XML output of a transaction?
    For example: I create a simple transaction with the same query as mentioned above and totalize some colums.
    Creating the sample XML data of a transaction is not possible. So how can I now use the column stripper?
    Kind regards,
    Johan Knopper

Maybe you are looking for

  • Ihave created a script, i need to email in pdf format.

    Hi Experts, There are 2 criterias... 1. criteria I have created a script, i need to mail it. Please give me a step by step guide to perform it .. . Please give the comments in all the functional module to be used. Do we have to write a separate progr

  • Oldskool chase sync with FCP and audio timecode

    hello all I am using FCP to edit video (wow, cutting edge!) and am starting out using Logic Pro 7 for scoring but I really want to put together a system that lets me bounce back and forth between the two with out much trouble (import export of xml) B

  • Obnoxious finder/screen/window behavior -- oh, and crashes

    I'm getting increasingly angry at this Beta release Apple sold us all. Am I the only one experiencing random finder crashes? Literally in the MIDDLE of just typing a sentence on a forum I was on this morning, everything stopped. No more typing. I cou

  • Switch Profile view in MIB

    Hello Experts, On a Nexus 5000 in VPC domain, I look for the result of commited switch profile. Where can I find this kind of information (in bold), in which MIB ? Do you have the OID ? SW11B2D01# show switch-profile YOP status switch-profile  : YOP

  • IMac G5 bootup with fan noise but no display

    Hi all the experts out there, I'm new to iMac and need help to resolve the following issues: 1) My iMac went on sleep mode and follow by a big fan noise. 2) Able to power down but when I press the power button follow by the Command, Option, P and R k