Database related issue

Hi friends,
When u enter data into database table , the value entered is the actual value but its gets converted to internal value. i need the actual value to be stored not the internal value.How to get it.....?
for correct answer points are waiting
Thanks in Advance
Naveed

Just use WRITE dbtable-field TO some_variable and you will get the value as it is entered and not as it is stored. Do not force the database to store something in external format. That will cause huge issues.

Similar Messages

  • Database Relation issue

    Guys,
    I have got one more problem.
    My database relation detail
    Table.field   Link Table.field
    Project.JobID ==> Project_cost.JobID
    Project.JobID ==> ItempurchasesLines.JobID
    Project_cost.AccountNumber ==> Accounts.AccountNumber
    Project_cost.AccountID ==> Item.ExpensesAccountID
    Item.ItemID ==> ItempurchasesLines.ItemID
    What I want now is, I want a full list of accountID in my report from Project_cost table regardless of any record available in ItempurchaseLines. ItempurchaseLines table  is linked through itemID field with Item table and Item table is linked with project_cost through field Project_cost.AccountID ==> Item.ExpensesAccountID.
    Thanks
    mithani

    now no error but still not retrieving data from tabel ItemPurchaseLines.
    below is an updated sql query
    MS Access DB
    SELECT `PROJECT`.`JobID`, `PROJECT`.`PROJECT_NAME`
    FROM   `PROJECT` `PROJECT`
    ORDER BY `PROJECT`.`JobID`
    EXTERNAL JOIN PROJECT.JobID={?FACADE: ItemPurchaseLines.JobID} AND PROJECT.JobID={?MS Access DB: Project_cost.JobID}
    FACADE
    SELECT "ItemPurchaseLines"."TaxExclusiveTotal", "ItemPurchaseLines"."JobID"
    FROM   "SCHEMA"."MYOB"."ItemPurchaseLines" "ItemPurchaseLines"
    WHERE  "ItemPurchaseLines"."JobID"={?MS Access DB: PROJECT.JobID}
    MS Access DB
    SELECT `Project_cost`.`Type`, `Project_cost`.`EXPENSES_CODE_NUM`, `Project_cost`.`EXPENSES_Code`, `Project_cost`.`Description`, `Project_cost`.`Rate`, `Project_cost`.`AccountNumber`, `Project_cost`.`JobID`
    FROM   `Project_cost` `Project_cost`
    WHERE  `Project_cost`.`JobID`={?MS Access DB: PROJECT.JobID}
    ORDER BY `Project_cost`.`Type`, `Project_cost`.`EXPENSES_CODE_NUM`
    EXTERNAL JOIN Project_cost.AccountNumber={?FACADE: Accounts.AccountNumber}
    FACADE
    SELECT "Accounts"."AccountNumber"
    FROM   "SCHEMA"."MYOB"."Accounts" "Accounts"
    WHERE  "Accounts"."AccountNumber"={?MS Access DB: Project_cost.AccountNumber}
    ItempurchaseLines table contains all purchase transaction.
    My report would look something like that:
    Group header 1 "JobID" from Project table
    Group header 2 "Type"  from Project_cost table
    Group header 3 "Project_cost.Expenses_code--Project_cost.description--
    ItemPurchaseLines.TaxExclusiveTotal etc"
    now I can see all expenses code, description but still not getting any purchases from ItemPurchaseLines.
    Regards
    Mithani
    Edited by: mithani2747 on Sep 4, 2009 6:00 AM
    Edited by: mithani2747 on Sep 4, 2009 6:01 AM

  • Collaboration Room iViews give error -- Database related errors -- Pls Help

    Hello Everyone,
    We are on EP 6.0 SP 17 (Netweaver 2004).
    KMC component was installed separately (Deployed manually).
    We are trying to create simple Collaboration Rooms and we are facing some issues with the same.
    I am following the documentation on SAP Help for the Room Creation:
    Help  SAP Netweaver 2004  People Integration  Collaboration  Administration Guide
    http://help.sap.com/saphelp_nw04/helpdata/en/1d/3d59fdaa5ebb45967ea107d3fa117a/frameset.htm
    We are able to create rooms based on pre-defined templates and we are also able to add members to rooms, send/receive the invitation emails. I am able to work with Instant Messaging also.
    But the problem is that some of the iViews related to Collaboration Rooms are giving errors.
    1.<b> “Discussion” iView gives an error saying “You do not have access permission” (even the user has all the necessary roles assigned).</b>
    Log for this error is as follows:
    Exception ID = 90c3315f-c29d-2910-87ac-806aa372da7f com.sapportals.wdf.WdfError     at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:678)at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)
         at com.sapportals.htmlb.Container.preRender(Container.java:120)
         at com.sapportals.htmlb.Container.preRender(Container.java:120)
         at com.sapportals.htmlb.Container.preRender(Container.java:120) ……….
    --- Nested WDF Exception -
    com.sapportals.wcm.WcmException: The SQL statement "INSERT INTO "KMC_URIMAPPER" ("HASH_KEY","EXTERNAL_KEY","CONST_INTERNAL","VAR_INTERNAL","EK_PREFIX","EKHK00","EKHK01","EKHK02","EKHK03","EKHK04","EKHK05","EKHK06","EKHK07","EKHK08","EKHK09","EKHK10","EKHK11","EKHK12","EKHK13","EKHK14") VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)" contains the semantics error[s]: column "EK_PREFIX" not in any scope
    I tried to change the permissions of the “Discussion” iView, but it did not work either.
    2. <b>Some iViews like “Room Information” throw a Runtime Error as follows:</b>
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.sap.ip.collaboration/RoomPartContent/Generic/Pages/com.sap.netweaver.coll.RoomDiscussionPage/com.sap.netweaver.coll.RoomInformationExtended
    Component Name : com.sap.netweaver.coll.appl.ui.room.RoomInformation
    The exception was logged. Inform your system administrator..
    Exception id: 02:17_02/02/07_0006_213711350
    See the details for the exception ID in the log file
    <b>I have figured out that the following error message is common in most or the error messages:
    The SQL statement "INSERT INTO "KMC_URIMAPPER" ("HASH_KEY","EXTERNAL_KEY","CONST_INTERNAL","VAR_INTERNAL","EK_PREFIX","EKHK00","EKHK01","EKHK02","EKHK03","EKHK04","EKHK05","EKHK06","EKHK07","EKHK08","EKHK09","EKHK10","EKHK11","EKHK12","EKHK13","EKHK14") VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)" contains the semantics error[s]: column "EK_PREFIX" not in any scope</b>
    Are there any database related configurations required for making the Collaboration Room Discussion functionality work properly?
    Are there any KM related configurations necessary other than those mentioned in the document I am referring to?
    Are there any database related configurations that are required?
    I would really appreciate any help in this matter. Please advise me about any ideas you may have?
    Thanks,
    Raj Seelam

    Hello Lars,
    First of all thank you for your reply.
    <b>do u use Collaboration first time?</b>
    Yes, we just started using Collaboration and this is our first requirement.
    <b>Which roles do u have?</b>
    I have all the required roles (Super Admin, Content Management, Collaboration, Collaboration Room Creation).
    I know that these features are available in NW04 SP 17 without any limitations. I have reviewed SAP Notes 707730, 711093, 709354 and 946470 also.
    This problem is with only a few Collaboration iViews.
    I am able to create Rooms, Enter Rooms, Receive Invitation e-mails without any problem.
    Any suggestions about any possible missing configurations ?
    Thanks Again,
    Raj

  • Why database related code not wriiten in jsp's

    hi all
    what all resons are there for which database related code
    is not written in jsp's
    one thing that i know is
    it's not a j2ee architecture to do so
    so is it the thing that doing so hits the performance issue
    thanx

    Me, I'm still trying to get my head around Java 1.5, J2EE, Tomcat, JBoss, and Oracle RAC (both programming and DBAing)... My head hurts... Badly...
    Back to the topic, though... I also agree with the previous posters...
    I agree there are exceptions to the "no JDBC in JSP rule of thumb"- I have a JSP-based generic table browser as a tool for emergency maintenance from a (presumably) hostile network, it provides read-only access and automatic password rotation. The flexibility of having it in the JSP has saved my bacon in a crisis; when travelling, I had to talk a non-programmer through applying a code fix (damn developers, using reserved words as column name...)( I had the source on my laptop...). To get a class file fixed, I would have had to get a programmer on the phone, and get the server to reload the class which in our environment at the time required an application restart... The project I work on is about 70 man-years of work, mostly Java, and we have maybe 6 or 8 JSPs that access the DB directly...
    Most of the time though, good design says that you access a particular "type" of data (table or group of tables) in the same "chunk" of code, jsp or class file. It's a lot harder to share a jsp among different invokers than it is a class file. It's also better to isolate presentation from data access.
    Imagine that you have a "USER" table, with first name, last name, username, and password. You program a "login" jsp, a user "edit" jsp and an administrator "edit" jsp. Then a security audit declares that saving an unexcrypted password in the database is insecure; you now have to change evey place that can access the password. If the user object was accessed through a single Java class file, then there would be only one place to fix. Of course, it's possible to use jsp includes to simulate class files, but that's just about as much work as creating the class file to begin with, with more problems.
    Another big advantage of keeping your data access out of JSPs is that you can write unit tests much more easily for the Java classes, using something like JUnit. You can have a set of tests for all your persisted data, which can be run anytime your data model changes. This makes it a lot harder for "side effect" bugs to creep into your code.

  • JCA database adapter issue due to database schema dependency

    Hi,
    I am using the JCA database adapter to call a stored procedure. The adapter uses the database schema name while calling the Stored procedure. The schema name is added in the namespace of XSD, wsdl files.
    If I have to use a different database schema name, how can I update the existing code without much modification.
    Thanks!

    Thanks for your reply Prabhu.
    But the modification in JCA file is resulting in the following Exception.
    I think this change has resulted in references related issue. Please let me know if any further changes are required.
    <> <Error> <oracle.soa.adapter> <BEA-000000> <JCABinding=> Could not invoke operation against the 'Database Adapter' due to:
    BINDING.JCA-11811
    Stored procedure invocation error.
    Error while trying to prepare and execute the old_schema_name.stored_procedure_name.
    An error occurred while preparing and executing the old_schema_name.stored_procedure_name.
    API. Cause: java.sql.SQLException: ORA-06550: line 1, column 7:
    PLS-00201: identifier old_schema_name.stored_procedure_name.
    must be declared
    ORA-06550: PL/SQL: Statement ignored

  • Security related issues

    Hi everybody,
    We know that weblogic stores all its configuration
    parameters in an xml file,including the userid and password for the database
    in clear text form .
    I want to know whether it is a security flaw?
    Is there a way to encrypt the file contents,so that the userid and password
    will not be in clear text form.
    Any suggestions to increase the security on the config file by appliying os
    restriction or by any third party tool will be helpful.
    Thanks in advance
    prashant

    I am a co-founder of Calendar of Updates http://www.calendarofupdates.com/updates/index.php?act=idx This is a site that is primarily a Windows based security forum (I switched about 4-5 years ago). Over the years, I've tried to grow the Mac side of our forum, but, as you may know, there is little or no interest in security within the Mac community. For many, the feel security is a Windows issue.
    It's a free site, so don't think I have a vested interest in growing the membership, I'm not an owner, either.
    I just created an *Apple OS X Security Issues* forum http://www.calendarofupdates.com/updates/index.php?showforum=209
    Right now it's an empty forum since it was created 10 minutes ago. Please feel free to join the forum and share security related issues and questions.
    I am not aware of any other forums that deal with OS X security issues
    exclusively, so this forum could be a good place to bookmark and visit from time to time.

  • Database consistency issue..

    Hi.
    SCCM 2012 English, RTM
    For unknown reason the DR link broke between CA and primary.
    It says Site Replication status both way Active, but data replication is mixed. Parent to child Global data - failed and child to parent site data failed. Child to parent global - Active. Replication link analyzer performs several checks and then informs
    - Database consistency issues detected for site XXX.   (parent). Skiping rule  - shows different replication groups which are failed. I tried to replicate those, but nothing changed.(according to following article last step)
    http://blogs.msdn.com/b/minfangl/archive/2012/05/16/tips-for-troubleshooting-sc-2012-configuration-manager-data-replication-service-drs.aspx
    Any more ideas?

    Now i have read more about DRS and SCCM 2012 and get in state where 2 from 3 replications are active.
    Mainly with puting  relevatnt pub  files to RCM.BOX. But global data replication from CAs to PRI is still failed. No idea ....
     More related articles:  
    http://blogs.technet.com/b/sudheesn/archive/2012/10/21/drs-initialization-in-configuration-manager-2012.aspx
    http://anoopcnair.com/2012/06/20/sccm-configmgr-2012-site-to-site-replication-sql-data-replication-service-replication-configuration-management-sql-service-broker-replication-groups-and-manual-sync/
    And one more thing - do not know it is related or not
    Severity Type Site code Date / Time System Component Message ID Description
    Error Milestone XXX 12/14/2012 10:34:29 AM server.domain.local SMS_POLICY_PROVIDER 620 Microsoft SQL Server reported SQL message 547, severity 16: [23000][547][Microsoft][SQL Server Native Client 10.0][SQL Server]The INSERT
    statement conflicted with the FOREIGN KEY constraint "ResPolicyMap_PolicyAssignment_FK". The conflict occurred in database "CM_XXX", table "dbo.PolicyAssignment", column 'PADBID    Please refer to your Configuration Manager documentation, SQL
    Server documentation, or the Microsoft Knowledge Base for further troubleshooting information.
    It is jaming replication ? and how fix DB inconsistency detected by Replication Link analyzer ?

  • EM 12C: Fails to detect database related targets

    Hi
    I have been trying to add database target on a remote host but fails to detect it as its looking into a wrong ORACLE_HOME directory how can I make it to look into the right ORACLE_HOME,
    the ORACLE_HOME is already defined in .bash_profile however its reading GRID_HOME as ORACLE_HOME and fails to detect database and related targets, I have already added the cluster target and want to add database related targets for the RAC.
    Thanks for your help.
    Regards
    Terry

    Terry,
    Have a look at support bulletin "Understanding Database Discovery in Enterprise Manager 12cCloud Control [ID 1400463.1]". The oracle home location is pulled from oratab which the agent needs access to ( see section "Has the database been discovered" ) for details.
    Let us know if the resolves your issue.
    Regards,
    Dave

  • Urgent help needed; Database shutdown issues.

    Urgent help needed; Database shutdown issues.
    Hi all,
    I am trying to shutdown my SAP database and am facing the issues below, can someone please suggest how I can go about resolving this issue and restart the database?
    SQL> shutdown immediate
    ORA-24324: service handle not initialized
    ORA-24323: value not allowed
    ORA-01089: immediate shutdown in progress - no operations are permitted
    SQL> shutdown abort
    ORA-01031: insufficient privileges
    Thanks and regards,
    Iqbal

    Hi,
    check SAP Note 700548 - FAQ: Oracle authorizations
    also check Note 834917 - Oracle Database 10g: New database role SAPCONN
    regards,
    kaushal

  • Can we set up a forum for Security related issues?

    I know many of us think security is a Windows related issue, but from time to time there are security issues that may come up. I had a question so I looked and couldn't find a forum, so I posted in one of the OS X 10.6 sub forums.
    Thanks!

    I am a co-founder of Calendar of Updates http://www.calendarofupdates.com/updates/index.php?act=idx This is a site that is primarily a Windows based security forum (I switched about 4-5 years ago). Over the years, I've tried to grow the Mac side of our forum, but, as you may know, there is little or no interest in security within the Mac community. For many, the feel security is a Windows issue.
    It's a free site, so don't think I have a vested interest in growing the membership, I'm not an owner, either.
    I just created an *Apple OS X Security Issues* forum http://www.calendarofupdates.com/updates/index.php?showforum=209
    Right now it's an empty forum since it was created 10 minutes ago. Please feel free to join the forum and share security related issues and questions.
    I am not aware of any other forums that deal with OS X security issues
    exclusively, so this forum could be a good place to bookmark and visit from time to time.

  • To everyone with IOS6 Sound related issues & Others

    If you are facing a problem of not having any system sounds, notification sounds, no calls or other software sound related issues I'd suggest you read below it's a stupidly simple fix and it should solve most software issues after an immediate iOS6 update:
    After updating unplug the phone from your computer and leave the phone alone for 5-10 minutes, if you still have problems: reboot, wait a few minutes and all sound related problems should be fixed.
    When I updated to iOS 6 I had lost my system sounds, so I unplugged from the computer, rebooted the phone and still no go. I decided to just let the system "settle in" for a bit, let it lock and when I unlocked after 5-10 minutes sounds were back and everythings up and running again.

    Well, to break it down. After my sounds finally came back (2nd time losing them) last night I decided to restore the phone in itunes. I did it twice. First time I backed up my data. Second time I restored it as a factory iPhone. Both times guess what NO SOUNDS! I also realized that last night I had lost my sounds after charging my phone and unplugging it from the data cord. I still have ringtones (when someone calls), but text messages, emails, and any other alert tones do not work. I cannot turn the volume up or down with the side buttons and also music does not play. It doesn't even have a slide bar at the bottom.
    I am on the phone with apple care now. They seem to not be aware of the problem at all.
    While I was on the phone with them my sounds ended up coming back, imagine that. Hopefully every time I charge my phone I am not going to have this issue.

  • Many Sporadic Preview Related Issues

    Not sure if this is where to post/report Lightroom 5 issues or not, but here are preview-related issues I am experiencing...
    Preview panel "preview" freezes indefinitely.
    App very slow to load while creating new previews. (previews take forever to create and update)
    Wrong previews showing for wrong images when swapping between folders, etc. (ie: all photos, last import, custom collections)
    This one is a little different...
    Ratings lost when switching between folders, etc. (ie: all photos, last import, custom collections)
    This was a clean install that ran beautifully at first. Started noticing this more and more after using the spot tool. (my last step in processing a job)
    I use separate catalogs per job. Some as small as a few dozen images. (family stuff) Others, as large as 500-600. (engagement and wedding clients)
    Hope you are working on this. It's making work a struggle. I'm not just a "consumer". ;-)

    This is a user to user forum so the responces you recieve here will mostly be from users like your self. I am sure someone will respond on how to help dealing with the problem you are experiencing.
    The official forum for reporting bugs and making feature requests is at the web link below.
    http://feedback.photoshop.com/photoshop_family/products/photoshop_family_photoshop_lightro om

  • Unicode related issue in 4.6c to ECC 6.0 upgrade

    Hi
    I am doing upgrade from 4.6c to ECC 6.
    Here I am getting one unicode related issue.
    "The data object A948 does not have a component called ZZMATWA.".
    This type of issues , how can I resolve.
    I am very new to upgrade, Plese do help me.
    Regards
    Sandeep Reddy.

    Hi,
    Can you give the error what you are coming across.
    Regards,
    Suhas

  • Database performance issue (8.1.7.0)

    Hi,
    We are having tablespace "payin" in our database (8.1.7.0) .
    This tablespace is the main Tablespace of our database which is dictionary managed and heavily accessed by the user SQL statements.
    Now we are facing the database performance issue during the peak time (i.e. at the month end) when no. of users use to run the no. of large reports.
    We have also increased the SGA sufficiently on the basis of RAM size.
    This tablespace is heavily accessed for the reports.
    Now my question is,
    Is this performance issue is because the tablespace is "dictionary managed" instead of locally managed ?
    because when i monitor the different sessions through OEM, the no. of hard parses is more for the connected users.
    Actually the hard parses should be less.
    In oracle 8.1.7.0 Can we convert dictionary managed tablespace to locally managed tablespace ?
    by doing so will the problem will get somewhat resolve ? will it reduce the overhead on the dictionary tables and on the shared memory ?
    If yes then how what is procedure to convert the tablespace from dictionary to locally managed ?
    With Regards

    If your end users are just running reports against this tablespace, I don't think that the tablespace management (LM/DM) matters here. You should be concerned more about the TEMP tablespace (for heavy sort operations) and your shared pool size (as you have seen hard parses go up).
    As already stated, get statspack running and also try tracing user sessions with wait events. Might give you more clues.

  • How to add data in related issue field in issue tracking list sharepoint 2013

    Hi,
    I'm using out of box Issue Tracking List. In Related Issue I want to add some data like :- Business, Technical, HR, Contractor etc in right side so user can select one of them add it. Not sure how to add these data in Related Issue column. Please advice.

    Related Issues is a lookup column to the same list which is Issue Tracking List. so you can add new items where title is Business, Technical, HR, Contractor etc then you will get those under related issues.
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

Maybe you are looking for

  • Announcements /events / FAQs web part in a scrolling fashion on the landing page

    hi, can anyone help how to develop the below kind of UI in my SP 2013 KM  portal using cqwp/cewp/ jquery. i tried with the custom visual web part, but my customer says they want me to use client side / OOTB feature of SP.  i am wanting to display the

  • Stock Report with Batch Number

    Hi , My Client requires stock report with Batch numbers .required report format is Item Code,BatchNumber,OpenQty,OpenVal,PurchaseQty,PurchaseVal,SalesQty,SalesVal,ClosQty,CloseVal I tried using query on wiki for stock report but that query is written

  • Can't create Windows partition!

    Hello, I'm trying to create a new partition to install Windows 7 on, but I am unable to do so. At first I tried to do this with Boot Camp Assistant, but it didn't work. Then I tried to create a FAT partition with Disk Utility, which didn't work eithe

  • Interaction with Microsoft Word using Java Programming

    writing Text ON TO MICROSOFT WORD USING java Programming Urgently required

  • Adding to Galleries.xml

    I am attempting to use the gallery as a project portfolio for an architectural firm. Everything about the Gallery itself is working, but I am attempting to add a description for each gallery of basic information about the project. In the galleries.xm