Can 0IC_C03 support dollar values of stock at more granular level?

Cube: 0IC_C03
Query: 0IC_MP04_Q0001
BW: 7.3
Hi All,
The standard query (0IC_MP04_Q0001) allows us to see stock quantities/dollar values at the following level:
Plant --> Material Type --> Material
However, when we add several more characteristics ( to get to this: Plant --> Storage Location --> Stock Type --> Material --> Batch), we can see the quantities at this level, but not the dollar values (they appear as zero at this level and as aggregated values at the undefined (#) level.
Any help on how to show dollar values at this level would be appreciated!
Thank You!

Hi,
there is a sort of standard way of doing this or maybe two actually (I think there is a paper somewhere to do things dynamically during query runtime but not sure where to find this). The one i am usually following does however take some technical skills:
1) create a dso A that holds the price on a material / plant / period level (normally filled with an APD based on stock cube in which the price is calculated by dividing total stock through total value in a fixed uom (for example convert all quantities to KG first so you would have the price per KG). Or maybe you can use the standard price from material master depending on how this is setup in SAP.
2) create a dso B that will hold the stock volume per storage location (also filled with an APD based on stock cube)
3) create a dso will hold the stock value at storage location level. This is filled from dso B and in the routines a custom keyfigure is calculated (stock value @ stloc) by multiplying price (from dso A, in a lookup) with volume from dso B (which is source of transformation).
4) create a cube C to hold this custom keyfigure
5) create a multiprovider on top of regular stocks cube and newly created cube C so you can have a query to show combination of quantity and value called stock value at storage location level.
You can add other characteristics as well to this flow. At some point however it will cost a lot of performance as the new DSO's and cube should be full loaded everyday to have up-to-date data.
Hope the above helps you,
C.

Similar Messages

  • Value of stock at storage location level

    i want to know the table in which I can found the value of quantity issued from storage location

    Dear Anisha,
    After giving the inputs in T code MB51 and executing first click on Detail List (ControlShiftF12),then you
    will be able to see the report in ALV format.Then click on Current display variant (Control+F8),In the Right
    hand side List (Column Set),you can find the field Amount in LC(Local Currency),then you can select the
    arrow key so that its getting included in the list and then press Enter,check whether are you able to see
    the Price value of all the components.
    Regards
    Mangalraj.S

  • Can esb DVM(Domain-value mapping ) support multi-language  ?

    I create a dvm , and add some rows in Chinese , but when I restart the soa service , all the DVM that I created disappeared.
    Can esb DVM(Domain-value mapping ) support multi-language ?
    Edited by: user10732687 on 2009-8-23 下午7:39

    DVM is designed to use in English only and not intended to support Multi language. It is the job of consumer application to convert from English to native language(Chinese in your case).
    Thanks,
    Vamsee.

  • SIT Value and Stock value at storage location level

    HI
    Can anyone tell me how to get the following:
    1. The value of the Stock in Transit on monthly basis
    2. The value of the stock at storage location level. The Stock value is correct at      plant level
    Thanks in advance.
    Soumen

    Hello,
    (1) please have a look into the Howto Guide:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92c0aa90-0201-0010-17b1-bf5b11c71257
    (2) Please have a look into the note:
    589024
    And consider to use the feature Constant selection.
    http://help.sap.com/saphelp_nw04s/helpdata/en/d2/02223c5f00612be10000000a11402f/content.htm
    I hope this helps, Michael

  • How can I get the value of "Warehose" column in a form

    How can I get the value of "Warehouse" column in the form below (I mean what table that contain this value):
    Production Supervisor >> Batches >> (Button) Material Details >> (Button) Line Allocations
    Well, for more clearly! My problem is I must have the Unit Cost of Items, so I've got it in the cm_cmpt_dtl (table), but if I want to, I must create a relation that require 2 filed, they're Item_ID and Whse_Code.
    There's no problem with Item_ID, but Whse_Code seem to be the Mission Impossible (hix, I hate that film!!!!)
    I wonder if It was right to post this topic here. But anyway I just post my question here, hope I could get some help.

    wow, many, many, many.... and many thanks!
    Just add a tiny modify to check out the Batch_type
    doc_id = (select batch_id from gme_batch_header where batch_no='&batch_number' and batch_type = 0)
    Because the batch_no can be duplicated as we also create Batch and Filrm Planned Order.
    Many thanks for your support!
    P/S: Sorry for my terrible English :P

  • How can we get the value of the key field in a custom data model using governance API?

    Dear Team,
    How can we get the value of the key field in a custom data model, to be used for manipulation of the change request fields using governance API?
    Any kind of help would be sincerely appreciated.
    Thanks & Regards,
    Tushar.

    Hi Michael,
    Thanks for direction. Let me give more context on this as I'm interested to get more details..One of the issue was to read cross entity field values on UI based on user action and set other entity field behaviour...It is similar to what is being posted here.
    For ex: Reading MTART from Basic Data UIBB in MM MDG UI and set the field properties in some other custom entities say ZZETEST. This cannot be done using UI BADI as it only supports single entity at a time and not cross entity. So alternatively we found a solution where we can enhance existing PLMB feederclass cl_mdg_bs_mat_feeder_form by reading the model and the entity as needed as it it proved that it supports cross entity UI field behaviours and so business requirements.
    This is a workaround for now.
    So the question is How do we achive it using governance API for cross entity field behiaviours.?or what is the right way doing this.
    Can we do that using governance API and its' methods?
    In the Governance API doc you provided below has referring to below external model as part of gevernance API.
    The active or inactive data (before or during the derivation or the check) can be read
    with the external data model interface IF_USMD_MODEL_EXT with the method READ_CHAR_VALUE and
    the corresponding READ_MODE parameter. To avoid unnecessary flushes (derivations), the NO_FLUSH
    parameter should b
    e set to ‘X’.
    Thanks
    Praveen

  • Stock value in Stock Valuation Report

    Does anyone know how you shouid use the stock cost shown by the Stock Valuation Report?
    I am looking at a database which uses standard costing, and trying to use the Stock Valuation Report to see what the stock value would be at Moving Average.
    Some of the records on the Stock Valuation Report have a zero stock quantity but a stock cost (supposedly Moving Average) and a stock value. There are also records with neagtive stock costs and values.
    I have found SAP Notes which confirm that you can get stock values where there are zero quantities. However if you ignore the zero quantity liines, is the Moving Average cost shown accurate or is it the case that this report is essentially useless if you have a continuous stock system?
    Regards,
    Douglas

    Hi Douglas,
    I found this in one the SAP Notes.
    Symptom
    In the Stock Audit Report, generated for a specific warehouse, a value is shown in the 'Cumulative Value' column even if the item does not have quantity.
    Other terms
    Inventory Audit Report, Stock Audit Report, warehouse, cumulative, value, zero, quantity, average cost, System Initialization, per company, use perpetual inventory, SAP Business One
    Reason and Prerequisites
    Consulting
    Solution
    The 'Manage Item Cost per Warehouse' setting in the Administration -> System Initialisation -> Company Details -> Basic Initialisation tab determines the information displayed in the Stock Audit Report.
    When this option is selected, each warehouse defined in SAP Business Onemaintains its own cost. This warehouse cost is calculated whenever there is a movement of the item in the specific warehouse.
    When this option is not selected, a single cost is maintained for the item per company. This cost is determined by the movement of the item within all warehouses.
    SAP Business One uses the calculated costs to reduce the inventory value when stocks are issued. If the cost is managed by warehouse, then,the item cost will be from the specific warehouse where the stocks are issued; otherwise, the item cost will be the single cost.
    With the difference between the specific warehouse's and the entire warehouses' costs, there is a possibility that costs remain in the specific warehouse even if the quantity is already zero. In this scenario, viewing the Stock Audit Report per warehouse may not provide accurate cumulative value of the stock in that warehouse since the valuation is a combination of different warehouses. The Stock Audit Report then can be used to check the quantities per warehouse. If the valuation of the stock is needed, the report must be generated for all warehouses
    Hope this helps.
    Thanks,
    Joseph

  • Multi detail VOs can't get FKs value automatically in JDev 11.1.1.2?

    Hi,
    I have one master table and four detail tables, all the master/detail cardinality are 1 to 1, and I build a big VO based those five EO, and selected "composition association" check box and "Cascade Update key Attributes" check box,
    When I create the new big VO record and enter the PKs, only the first detail VO can get the FK values automatically, other detail VO can't get FK values.
    And I want to set other FK values in action listener binding with submit button, it really set the value, but database reports insert error because FK value is null.
    So Can't ADF support multi composited EOs get FK values?
    If yes, how can I set the FK values before database insert operation?
    Thanks
    zeroxin

    Hi, Gabriel
    Strangely, when I remove composition associations for all m/d EOs, in the doDML() of the first EO Impl it can get master view and PK value, but the second EO Impl can't get master view, it returns null, don't know why.
    So I'm not override doDML() in EO Impl, but in managedBean I set the FK values when click submit button, now it is OK.
    From the result, because remove composition association, it doesn't have constrains, so in the front-end, I can set the FK values because it is only one common field.

  • ORA-01461: can bind a LONG value only for insert into a LONG column in 11.2

    Hello,
    We have been getting the following exception when we try to save an XML (>5k).
    SQL state [72000]; error code [1461]; ORA-01461: can bind a LONG value only for insert into a LONG column
    This is occurring only for Oracle 11g (11.2.0.1.0)
    Our column is CLOB type, not LONG type.
    Could anyone please suggest what could be the reason and fix?
    Thanks in advance
    --Cheers
    paruvid

    Thanks for quick response!!
    Inserting throw JDBC (Spring jdbcTemplate)
    using the ojdbc6.jar as driver
    here is the stask strace
    Caused by: org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL [INSERT INTO tabl1(c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15,c16(CLOBCOL),c17, c18, c19) SELECT c1,c2, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? FROM table2 S JOIN table1 D ON S.c1 = D.c1 WHERE S.c2 = ? AND D.c5 = ? GROUP BY S.c1];
    SQL state [72000]; error code [1461]; ORA-01461: can bind a LONG value only for insert into a LONG column
    ; nested exception is java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
    at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:602)
    at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:786)
    at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:842)
    at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:846)
    at com.smartstream.cms.message.dao.SSIMessageDao.editSSIInstance(SSIMessageDao.java:522)
    ... 52 more
    Caused by: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
    Edited by: paruvid on Aug 9, 2011 5:07 AM
    Edited by: paruvid on Aug 9, 2011 5:17 AM
    Edited by: paruvid on Aug 9, 2011 5:23 AM

  • Multiply a sum of durations and get a dollar value....

    So I'm adding 5 duations(work hours in the week), no problem there.
    I have my total hours in a cell, now I want to multiply that duration by a number(pay rate) and get a dollar amount. Can't figure it out.....?
    Any help?

    =SUM($D3,$G3,$J3,$M3,$P3)
    This is what is in the cell, if I multiply by 5(*5) I get 62h 30 minutes.
    How can I change that duration to a dollar value? ($62.50)

  • ORA-01461: can bind a LONG value only for insert into a LONG column - Issue

    We are getting an error from Oracle DB --- Cause: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
    The application was working fine with Oracle 10.2.0.4 and ojbc14 driver 10.2.0.1 Error occurs only after an upgrade to Oracle 10g 10.2.0.5. So after some googling, we found that a driver upgrade would eliminate this error. So the 10.2.0.5 version of the driver was used. But the ORA error still occurs. The readme of ojdb14.jar specified this - BUG 8847022 - ORA-01461: CAN BIND A LONG VALUE ONLY FOR INSERT INTO A LONG COLUMN
    The problem is that we are not able to reproduce this using a sample program however it is happening consistently in the client environment.
    we get the error ORA-01461, when the oracle version is upgraded to 10.2.0.5. This error occurs when we try to insert a file(BLOB) data with the file length greater than 4KB to a table.
    Exception trace
    uncategorized SQLException for SQL []; SQL state [72000]; error code [1461];
    --- The error occurred in nl/sss/gict/mcb/data/dao/config/StateQueries.xml.
    --- The error occurred while applying a parameter map.
    --- Check the setReceivedFile-InlineParameterMap.
    --- Check the statement (update failed).
    --- Cause: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
    ; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:
    --- The error occurred in nl/sss/gict/mcb/data/dao/config/StateQueries.xml.
    --- The error occurred while applying a parameter map.
    --- Check the setReceivedFile-InlineParameterMap.
    --- Check the statement (update failed).
    --- Cause: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
    Oracle version installed in acceptance:
    1 Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    2 PL/SQL Release 10.2.0.5.0 - Production
    3 CORE 10.2.0.5.0 Production
    4 TNS for Linux: Version 10.2.0.5.0 - Production
    5 NLSRTL Version 10.2.0.5.0 - Production

    Is the server running Java 1.4? If it is Java 5 or higher there is no need to keep using OJDBC14, you can upgrade to OJDBC5.
    If you cannot do that, then I ask you: why make this post? What are you expecting someone to do? Your problem is with the OJDBC driver, you are not going to get tech support for it in this Java programming forum.

  • Can bind a LONG value only for insert into a LONG column

    I got an exception when I was using sesame adapter to dump a turtle file which contains long texts as objects into oracle semantic database. The exception information is:
    org.openrdf.repository.RepositoryException: org.openrdf.sail.SailException: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
    ORA-06512: in "SF.ORACLE_ORARDF_ADDHELPER", line 1
    ORA-06512: in line 1
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:202)
         at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1005)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1307)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3449)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3530)
         at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:4735)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
         at oracle.spatial.rdf.client.sesame.OracleSailConnection.addStatement(OracleSailConnection.java:1976)
         at org.openrdf.repository.sail.SailRepositoryConnection.addWithoutCommit(SailRepositoryConnection.java:249)
         at org.openrdf.repository.base.RepositoryConnectionBase.add(RepositoryConnectionBase.java:510)
         at org.openrdf.repository.util.RDFInserter.handleStatement(RDFInserter.java:193)
         at org.openrdf.rio.turtle.TurtleParser.reportStatement(TurtleParser.java:963)
         at org.openrdf.rio.turtle.TurtleParser.parseObject(TurtleParser.java:416)
         at org.openrdf.rio.turtle.TurtleParser.parseObjectList(TurtleParser.java:339)
         at org.openrdf.rio.turtle.TurtleParser.parsePredicateObjectList(TurtleParser.java:315)
         at org.openrdf.rio.turtle.TurtleParser.parseTriples(TurtleParser.java:301)
         at org.openrdf.rio.turtle.TurtleParser.parseStatement(TurtleParser.java:208)
         at org.openrdf.rio.turtle.TurtleParser.parse(TurtleParser.java:186)
         at org.openrdf.rio.turtle.TurtleParser.parse(TurtleParser.java:131)
         at org.openrdf.repository.base.RepositoryConnectionBase.addInputStreamOrReader(RepositoryConnectionBase.java:404)
         at org.openrdf.repository.base.RepositoryConnectionBase.add(RepositoryConnectionBase.java:295)
         at org.openrdf.repository.base.RepositoryConnectionBase.add(RepositoryConnectionBase.java:226)
         at sforcl.dao.support.OracleSailDaoTemplate.addTTLFile(OracleSailDaoTemplate.java:114)
         at sforcl.test.OracleSailDaoTemplateTest.testAddTTLFile(OracleSailDaoTemplateTest.java:33)
         at sforcl.test.OracleSailDaoTemplateTest.main(OracleSailDaoTemplateTest.java:122)
    How can I solve this problem?

    Hi,
    Can you please try loading the same file following Example 5 in Section 8.10.5 of
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25609/sem_sesame.htm
    Thanks,
    Zhe

  • Error ORA-01461: can bind a LONG value only for insert into a LONG column

    Within an existing application , i need to create a new report , i created a new page in it and then tried to create classic report , during wizard when i enter the same query which i have used for previous page , it gives me following error during the creation of report.
    The following bind variable i have already used for previous page. I want to reuse the same bind variables. There is no any long dataype within column predicates.
    Error ORA-01461: can bind a LONG value only for insert into a LONG column
    OK
    Following is the query
    SELECT
       "VWSR_ALL_MERGED_DATA_MV"."SR_AREA" "SR_AREA",
       "VWSR_ALL_MERGED_DATA_MV"."SR_STATUS" "SR_STATUS",
       "VWSR_ALL_MERGED_DATA_MV"."SR_SUB_STATUS" "SR_SUB_STATUS",
       "VWSR_ALL_MERGED_DATA_MV"."SR_DATE_CREATED" "SR_DATE_CREATED",
       "VWSR_ALL_MERGED_DATA_MV"."SR_OPEN_DATE" "SR_OPEN_DATE",
       "VWSR_ALL_MERGED_DATA_MV"."SR_CLOSED_DATE" "SR_CLOSED_DATE",
       "VWSR_ALL_MERGED_DATA_MV"."SR_PRODUCT1" "SR_PRODUCT1",
       "VWSR_ALL_MERGED_DATA_MV"."SR_PRODUCT2" "SR_PRODUCT2",
       "VWSR_ALL_MERGED_DATA_MV"."SR_TIO_PRIORITY" "SR_TIO_PRIORITY",
       "VWSR_ALL_MERGED_DATA_MV"."SR_REF_NUMBER" "SR_REF_NUMBER",
       "VWSR_ALL_MERGED_DATA_MV"."SR_DATE_RECD" "SR_DATE_RECD",
       "VWSR_ALL_MERGED_DATA_MV"."SR_CIDN" "SR_CIDN",
       "VWSR_ALL_MERGED_DATA_MV"."SR_BUS_UNIT" "SR_BUS_UNIT",
       "VWSR_ALL_MERGED_DATA_MV"."SR_NUMBER" "SR_NUMBER",
       "VWSR_ALL_MERGED_DATA_MV"."SOURCE_SYSTEM" "SOURCE_SYSTEM",
       "VWSR_ALL_MERGED_DATA_MV"."BATCH_ID" "BATCH_ID"
    FROM VWSR_ALL_MERGED_DATA_MV
    WHERE trunc(VWSR_ALL_MERGED_DATA_MV.SR_DATE_RECD)=trunc(sysdate-1)
      AND VWSR_ALL_MERGED_DATA_MV.SR_TIO_PRIORITY  IN
                                                    :P2_SR_TIO_PRIORITY
                                                   ,'CEO'
                                                   ,'TER'
                                                   ,'Priority Assistance'
                                                   ,'Enquiry'
      AND   (
            (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                                         'Business Support and Improvement'
                                       , 'Finance and Administration'
                                       , 'Cust Sat Simplification and Productivity'
                                       , 'Project New and Customer Experience'
                                       , 'Corp Strategy and Customer Experience'
                                       , 'Other'
                AND :P2_SR_BUSINESS_UNIT= htf.escape_sc('BS&I'))
       OR   (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                                         'Consumer'
                                       , 'Consumer Telstra Country Wide'
                                       , 'Customer Service and Sales'
                                       , 'Offshore Sales and Service'
                                       , 'TC and TCW Operations'
                                       , 'Telstra Country Wide'
                                       , 'Other'
                AND :P2_SR_BUSINESS_UNIT= htf.escape_sc('TC&C'))
       OR   (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                             'Telstra Customer Sales and Service'                  
                            ,'Telstra Program Office'
                            ,'Human Resources'
                            ,'IT'
                            ,'Unallocated'
                            ,'Other'
                AND :P2_SR_BUSINESS_UNIT= 'OTHER')
       OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                        'Telstra Operations'
                       ,'Telstra Networks and Services'
                       ,'Other'
                AND :P2_SR_BUSINESS_UNIT= 'TO')
       OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                      'Telstra Business'
                AND :P2_SR_BUSINESS_UNIT= 'TB')
       OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                      'Telstra Wholesale'
                AND :P2_SR_BUSINESS_UNIT= 'TW')
       OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                      'Telstra Enterprise and Government'
                AND :P2_SR_BUSINESS_UNIT= htf.escape_sc('TE&G'))
       OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                      'Sensis'
                     ,'Sensis Pty Ltd'
                AND :P2_SR_BUSINESS_UNIT= 'SENSIS')
    AND :P2_SR_TIO_PRIORITY = 'Level 0'
    UNION
    SELECT
       "VWSR_ALL_MERGED_DATA_MV"."SR_AREA" "SR_AREA",
       "VWSR_ALL_MERGED_DATA_MV"."SR_STATUS" "SR_STATUS",
       "VWSR_ALL_MERGED_DATA_MV"."SR_SUB_STATUS" "SR_SUB_STATUS",
       "VWSR_ALL_MERGED_DATA_MV"."SR_DATE_CREATED" "SR_DATE_CREATED",
       "VWSR_ALL_MERGED_DATA_MV"."SR_OPEN_DATE" "SR_OPEN_DATE",
       "VWSR_ALL_MERGED_DATA_MV"."SR_CLOSED_DATE" "SR_CLOSED_DATE",
       "VWSR_ALL_MERGED_DATA_MV"."SR_PRODUCT1" "SR_PRODUCT1",
       "VWSR_ALL_MERGED_DATA_MV"."SR_PRODUCT2" "SR_PRODUCT2",
       "VWSR_ALL_MERGED_DATA_MV"."SR_TIO_PRIORITY" "SR_TIO_PRIORITY",
       "VWSR_ALL_MERGED_DATA_MV"."SR_REF_NUMBER" "SR_REF_NUMBER",
       "VWSR_ALL_MERGED_DATA_MV"."SR_DATE_RECD" "SR_DATE_RECD",
       "VWSR_ALL_MERGED_DATA_MV"."SR_CIDN" "SR_CIDN",
       "VWSR_ALL_MERGED_DATA_MV"."SR_BUS_UNIT" "SR_BUS_UNIT",
       "VWSR_ALL_MERGED_DATA_MV"."SR_NUMBER" "SR_NUMBER",
       "VWSR_ALL_MERGED_DATA_MV"."SOURCE_SYSTEM" "SOURCE_SYSTEM",
       "VWSR_ALL_MERGED_DATA_MV"."BATCH_ID" "BATCH_ID"
    FROM
       VWSR_ALL_MERGED_DATA_MV
    WHERE trunc(VWSR_ALL_MERGED_DATA_MV.SR_DATE_RECD)=trunc(sysdate-1)
       and VWSR_ALL_MERGED_DATA_MV.SR_TIO_PRIORITY IN (:P2_SR_TIO_PRIORITY)
    AND  (
         (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN (
                         'Business Support and Improvement'
                       , 'Finance and Administration'
                       , 'Cust Sat Simplification and Productivity'
                       , 'Project New and Customer Experience'
                       , 'Corp Strategy and Customer Experience'
                       , 'Other'
    AND :P2_SR_BUSINESS_UNIT= htf.escape_sc('BS&I'))
    OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN (
                         'Consumer'
                       , 'Consumer Telstra Country Wide'
                       , 'Customer Service and Sales'
                       , 'Offshore Sales and Service'
                       , 'TC and TCW Operations'
                       , 'Telstra Country Wide'
                       , 'Other')
    AND  :P2_SR_BUSINESS_UNIT= htf.escape_sc('TC&C'))
    OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                             'Telstra Customer Sales and Service'                  
                            ,'Telstra Program Office'
                            ,'Human Resources'
                            ,'IT'
                            ,'Unallocated'
                            ,'Other'
            AND :P2_SR_BUSINESS_UNIT= 'OTHER')
    OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                          'Telstra Operations'
                          ,'Telstra Networks and Services'
                          ,'Other'
            AND :P2_SR_BUSINESS_UNIT= 'TO')
    OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                         'Telstra Business'
            AND :P2_SR_BUSINESS_UNIT= 'TB')
       OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                      'Telstra Wholesale'
            AND :P2_SR_BUSINESS_UNIT= 'TW')
       OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                      'Telstra Enterprise and Government'
            AND :P2_SR_BUSINESS_UNIT= htf.escape_sc('TE&G'))
       OR (VWSR_ALL_MERGED_DATA_MV.SR_BUS_UNIT IN
                      'Sensis'
                     ,'Sensis Pty Ltd'
            AND :P2_SR_BUSINESS_UNIT= 'SENSIS')
    AND :P2_SR_TIO_PRIORITY = 'Level 1'Edited by: user13653962 on 30/01/2013 15:11
    Edited by: user13653962 on 30/01/2013 15:14

    You have an error in the code:
    1. you don't provide a value for 'what' - you have to tell Oracle what it should execute when it submits the job.
    And remember - with ISUBMIT the next_date parameter has datatype VARCHAR2 - SUBMIT uses datatype DATE. So make sure you provide a VARCHAR2 value and do not rely on implicit conversion.
    >
    PROCEDURE DBMS_JOB.ISUBMIT
    (job IN BINARY_INTEGER
    ,what IN VARCHAR2
    ,next_date IN VARCHAR2
    ,interval IN VARCHAR2 DEFAULT 'null'
    ,no_parse IN BOOLEAN DEFAULT FALSE);
    PROCEDURE DBMS_JOB.SUBMIT
    (job OUT BINARY_INTEGER
    ,what IN VARCHAR2
    ,next_date IN DATE DEFAULT SYSDATE
    ,interval IN VARCHAR2 DEFAULT 'null'
    ,no_parse IN BOOLEAN DEFAULT FALSE);

  • Display the value of stocks per month

    Dear all,
    A user asked me if it was possible to display the values of stocks or the quantity of stocks per month for the current year?
    I tried MB52, MMBE, MB53 but there is no field to select a period, MC.B, MC.9 but the results can not be displayed by month.
    My company doesn't have WM.
    Thanks a lot for your help.
    Olivier

    HI
    Using T-code MB5B - Stock on Posting Date, the following input data to be given as follows.
    Company Code : ______
    Plant : _______
    Storage Location : ______ if required to be selected
    Selection Date : _________ to ___________ (01.05.2010 to 31.05.2010-Month)
    Stock Type - selected Valuated Stock
    List of Scope click category and following options to be tick marked
    With Opening Stock Without Closing Stock
    With Opening Stock With Closing Stock, Changed
    With Opening Stock With Closing Stock, Unchanged
    Settings - Totals Only - Non Hierarchical Representation Layout /ZMB5B tick marked
    The above input data given & options are tick marked, Executed the report shown opening, Receipt,Issues,Closing stock, UOM, Opening value, Receipt Value, Issue Value, Closing Value, Currency in columnar (like Excel format).
    Hope, it is very useful for you.
    Regards,
    K.Rajendran

  • How do I put a permanent dollar value in a numeric field?

    I'm setting up a simple order form in Adobe Livecycle Designer with UnitPrice, Qty and Total columns.
    I need to have permanent dollar values show in the UnitPrice numeric field. When they enter a qty, it will be calculated by the unitprice and give a total. I have already figured out the other calculations, just can't work out how to put the dollar values in the unitprice field. They must be showing when the person opens the pdf file. Can someone pls help, I have looked thru all the posts and couldn't find an answer.
    thanks in advance
    KerryDun

    I need the numeric field to show the actual price eg $3.50 and it needs to stay there, it's not editable. To get around this I have put a text field column next to the unitprice column, to show this value, but the filler will have to type the unitprice in again, in the unitprice column so it will make the calculation of unitprice x qty = total(when the price is already sitting there.)There must be a better way to do this. Any help is greatly appreciated.
    thanks
    KerryDun

Maybe you are looking for

  • Issue in installation oracle 11g database gateway

    Installation error logs: INFO: make: *** [/u01/oracle/product/oracle11.2/rdbms/lib/dg4msql] Error 1 INFO: End output from spawned process. INFO: ---------------------------------- INFO: Exception thrown from action: make Exception Name: MakefileExcep

  • How do I find a printer driver from a vendor's install?

    I have a Brother P-Touch 2700 label maker. I downloaded and installed the OS X 10.5.x printer driver from the Brother site. It came as a .dmg file. The P-Touch Editor installed separately. When started, it claims the driver is not installed. It's not

  • Problem loading saved documents after intall.

    Hi - In installed the pages upgrade last week, but today when I tried to open some documents saved yesterday, pages tells me I need to upgrade to a newer version. When I click on the link to the app store, it tells me I've already upgraded. Is anyone

  • Home button not turning ipod on

    for whatever reason a couple days ago I was unable to turn my touch on with the home screen button. I have been plugging it into a power source so the auto-on engages, then once on the home screen button works just as it should....anyone else wiyh th

  • Jaxb unmarshal error due to iso-8859-15 character set

    I am currently attempting to use JAXB to handle XML unmarshaling. Is there a way to set the encoding used to unMarshall a message to iso-8859-15 as the messages coming in do not have an xml header with encoding specified?