Quantcast
Channel: SCN : Unanswered Discussions - Database
Viewing all 230 articles
Browse latest View live

IW33 Open Work Order Count

$
0
0

Hello!

 

 

I'm trying to get a count of the number of records which contain "CPPD" as the Plant Work Center and "I0002" (or "REL") as the System Status. However, when using the code below, I get work orders in which the "REL" value isn't contained in the System Status field. Could someone take a look at it and let me know what corrections I need to make?

 

 

Any help is greatly appreciated.

 

 

select count (a.aufnr)

from sapecc.aufk a

left outer join sapecc.afko b

on a.aufnr = b.aufnr

left outer join sapecc.afvc c

on b.aufpl = c.aufpl

left outer join sapecc.jest d

on a.objnr = d.objnr

where c.werks = 'CPPD'

and d.stat = 'I0002'


SQLAnywhere 16 or 17 for upgrade (from 9.0)

$
0
0

hi folks,
I have an older application written in Delphi, using Sybase SQL Anywhere 9.0, 32bit, on Windows XP, that I have been asked to upgrade. 
Having options to upgrade to either Sybase SQL Anywhere 16 or 17 64 bit (I believe), I was wondering, which version of Sybase is the more stable or better overall choice?

 

thanks much for any pointers and thoughts,

Cosmin

Revenue by Customer: ECC Tables

$
0
0

Hello All,

 

I am trying to find revenue by customer in our system. I have already tried VBREVE but it does not contain revenue recognized for all of our customers, only contracts. Does anyone know what tables I need to be using? I know customer master info is in KNA1 and GL line items are in FAGLFLEXA which is where I can find revenue. How do I join these two? I am also trying to access these tables in SQL server as I have no knowledge of ABAP and I am not a developer so preferably transparent tables.

 

Alternatively, is there any standard report that will provide customer names and the revenue associated with the customer?

 

Thank you in advance!

JS

How to insert Data to MS access using C#

$
0
0

I created a database in ms access, in the database I have a table with two columns, fist column is Name with Text data type, and the other column is Date with Date/time data type. and I want to insert values in the table, but it give this error for the month calendar

 

Data type mismatch in criteria expression.

 

string sqlQuery = "INSERT INTO register (`Name`,`Date`) values (?,?)";

   using (OleDbConnection conn = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=E:\DB.accdb"))

   using (OleDbCommand cmd = new OleDbCommand(sqlQuery, conn))

  {

 

  conn.Open();

  cmd.Parameters.AddWithValue("@Name", this.textBox1.Text);

  cmd.Parameters.AddWithValue("@Date", this.monthCalendar1.Text);

  cmd.ExecuteNonQuery();

  }

DBIF_DSQL2_SQL_ERROR dump on Mcod database

$
0
0

Hi ,

 

i am getting dump DBIF_DSQL2_SQL_ERROR in one of the SAP CRM application. while we are having Mcod database on ECC .

 

database is comman between ECC and CRM system. database is installed on ECC.

 

dump details-:

 

dump.png

 

This is on CRM application.

 

please advise.

Get Data From Sap Table in Java Eclipse

$
0
0

Please Help me to get Data from sap table in java eclipse

Please Help me quick

Database reorganize.

$
0
0

Hi,

Recently I've deleted two unused clients from my quality system for free up some space. But after successful deletion, I've found no free space. It was same as before. I'm using SAP ECC6.0 Ehp4 with AIX 6 & oracle 10g database. Any need of database reorganize. If required then please share me the procedure..

 

Thanks,

Sandipan

SE16 table

$
0
0

Hi all,

 

 

Not sure if I clicked the correct area for this but would you know if there is a table in SE16 wherein I can view list of contracts using a certain formula number used by the formula prices. Much more like a table that could have the same details as this transaction code /DS1/SD_C_PRICE_DOWN (if this even exists in other SAP areas).

 

Thanks!


Db space

$
0
0

Hi Experts,

 

As per DBACOCKPIT

Db size

DateNameSize(Gb)Chg.SizeFree(Gb)Chg.FreeUsed(%)
12/1/2015XXX216.300.0089.10-5.2559
11/2/2015XXX216.301.5094.35-0.0956
10/1/2015XXX214.800.0094.44-2.6256
9/1/2015XXX214.800.0097.06-2.1955
8/1/2015XXX214.800.0099.25-2.1254
7/1/2015XXX214.800.16101.37-4.7853
6/1/2015XXX214.6463.48106.1544.0051
5/1/2015XXX151.160.0062.15-1.4459
4/1/2015XXX151.160.0063.59-0.8258
3/1/2015XXX151.1613.7064.4113.0657
2/1/2015XXX137.460.2151.35-0.7163
1/1/2015XXX137.250.2252.06-0.8462
12/1/2014XXX137.030.2352.90-0.4561

5/1/2015 to 6/1/2015 we added 65 Gb manually

but there is a chg.size like .23,.22....1.50 and as per the attached screen shots sapdata file size is 299GB and free space is 144GB

as per DB02 the size of ORA is 222.86GB and free space is 88.9GB

How to understand the DB growth

and we plan to increase the file size, kindly advice which are the file size needs to be increased.

Thanks and Regards,

Kathir

Rest client doesn't see new UDTs

$
0
0

Hi,

 

I created a new table in sap B1 client.

Now I am trying to connect to my table through REST client.

REST client doesn't see my new table.

 

When I try a GET request like this: "GET https://hanab1:50000/b1s/v1/U_ROUTES" I get a "405 Method Not Allowed"

 

What could be the problem and how to solve it ?

 

Thanks,

Irina

Sybase Dump History Check ASE Error 11277

$
0
0

Dears,


I get the following error in sybase DBA Cockpit while checking "Database Dump History" :


[ASE Error SQL11277][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Operating system error 2: 'No such file or directory'


Moreover same error is taken when I type the command " sp_dump_history 'list' " in operating system level as expected.


Sybase DB Release:16.0.01.01


Please advice me how to correct the error.

Difference between Fields and Tables in a Database

$
0
0

Hi again everyone

I have a quick question on the difference between fields and tables in a Database.

 

My understanding of it is as follows:

 

A table is a grouping of data for example: House number.

A field is one entry in that table for example: 1, 50, 99.

 

Another table would be for First Name

Fields in this table would be John, Mike, Joe...

 

Am I correct in my assumptions here.

Please advise if not.

 

Thanks again

Adrian

SRM-MDM Unable to connect with database server

$
0
0

Hi,

 

 

This is first time for me to install SRM-MDM.

 

I've installed MDM 7.1 SPS08 and DB2 10.5 on SLES11

 

I'm able to mount the MDM server where all these are installed. But when I try to mount the repository in MDM Console with the SYSTEM user, I have problem with error "unable to connect with database server".

 

mdm.jpg

 

 

 

FYI. I've installed MDM console and ODBC in Windows.

 

odbc.jpg

 

Can someone please help me to resolve this issue ?

 

Regards,

Object not found error

$
0
0

All,

 

Have a strange one for you,

 

Have an outer stored procedure which uses an inner stored procedure as follows:

 

SELECT * FROM SplitString (PLACEHOLDER."$$iv_split_string$$"=>:VSTR, PLACEHOLDER."$$iv_split_character$$"=>',');

 

SplitString is the inner reference, now it was working but then stopped working and I didn't change the code at all.

 

Does anyone know if specific permissions are required to be able to use a stored procedure in this way?

 

The inner procedure is using:

LANGUAGE SQLSCRIPT READS SQL DATA WITH RESULT VIEW SplitString

 

 

Thanks,

Will

Solman Technical Monitoring for SAP HANA Replicated Database.

$
0
0

Hello All,

 

We implemented technical monitoring for SAP HANA Database.

 

My question is related to the replicated instance. Do we also have to install an SMD agent on the replicated instance (FYI, dbacockpit is pointing to the HANA database logical ip)?

 

In order to test, we switched our HANA system to the replicated instance. The monitoring is still working (metrics updated) even if there is no smd agent installed on the replicated instance host.

 

Do you know what is the goal of the SMD agent for HANA Database monitoring?

 

Thanks a lot for your feedback

KR,

Benjamin


database tables missing in db02

$
0
0

hello,

I have problem with text master data tables with SE11 the system tell me that I have 200 tables but in DB02 I get only 7 tables

How to restore a sap table from backup

$
0
0

Hi experts,

 

I want to know whether it is possible to restore a SAP table from the backup?

 

If so, how it is possible?

 

my problem is as:

One filed of eban table wrongly updated because of a bug and now I want to restore the table from by latest backup.

 

Thanks,

 


Lalit

SQL error "-99999" occurred when accessing program

$
0
0

Hello experts ,

 

I am getting following dump while moving data from R/3 system to BW system                                                                                                                                                 image.png                                                                       DB2 9.1.0.8

 

           Please provide appropriate solution urgent.

Redo log Backup failed with Return code:0005 Error during proce....

$
0
0

Hi all,

 

Unexpectedly on our Production server scheduled Redo log backup getting failed.

 

OS is Windows server 2008. database oracle 11g.

 

at OS level we found that backup file is creating with . (dot). (ex: .SEPARCH1_20961_756760855.DBF)

 

 

Backup detailed  action log:

 

BR0002I BRARCHIVE 7.20 (34)

BR0006I Start of offline redolog processing: aeshkxxe.svd 2016-01-16 10.00.14

BR0484I BRARCHIVE log file: E:\oracle\SEP\saparch\aeshkxxe.svd

BR0477I Oracle pfile E:\oracle\SEP\11204\database\initSEP.ora created from spfile E:\oracle\SEP\11204\database\spfileSEP.ora

BR1301W Error message from likeywlib:

===...could not load SSF library \\\saploc\\D00\exe\sapcrypto.dll .

BR1301W Error message from likeywlib: 543 likey_init: Couldn't load SAPSECULIB ("\\\saploc\\D00\exe\sapcrypto.dll") using function SsfSup

BR1301W Error message from likeywlib: 542 likey_init: At least one more attempt to load the SAPSECULIB will follow.

BR0101I Parameters

Name                           Value

oracle_sid                     SEP

oracle_home                    E:\oracle\SEP\11204

oracle_profile                 E:\oracle\SEP\11204\database\initSEP.ora

sapdata_home                   E:\oracle\SEP

sap_profile                    E:\oracle\SEP\11204\database\initsep.sap

backup_dev_type                disk

archive_copy_dir               F:\Production_SRVR\Oraarch

compress                       no

disk_copy_cmd                  copy

cpio_disk_flags                -pdcu

archive_dupl_del               only

system_info                    SBELERPP\SAPServiceSEP SBELERPP Windows 6.0 Build 6002 Service Pack 2 AMD64

oracle_info                    SEP 11.2.0.4.0 8192 21070 582103472 SBELERPP UTF8 UTF8 2865387195 &SEP

sap_info                       701 SAPSR3 0002LK0003SEP0011V00389219560015Maintenance_ORA

make_info                      NTAMD64 OCI_10201_SHARE Dec  4 2013 721_EXT_REL

command_line                   brarchive -u / -jid LOG__20120522100000 -c force -p initsep.sap -sd

br_env                         NLS_LANG=AMERICAN_AMERICA.UTF8,

                               ORACLE_HOME=E:\oracle\SEP\11204,

                               ORACLE_SID=SEP,

                               SAPDATA_HOME=E:\oracle\SEP,

                               TNS_ADMIN=E:\usr\sap\SEP\SYS\profile\oracle

BR0280I BRARCHIVE time stamp: 2016-01-16 10.03.08

BR0008I Offline redolog processing for database instance: SEP

BR0009I BRARCHIVE action ID: aeshkxxe

BR0010I BRARCHIVE function ID: svd

BR0048I Archive function: save_delete

BR0011I 109 offline redolog files found for processing, total size 1166.039 MB

BR0112I Files will not be compressed

BR0130I Backup device type: disk

BR0106I Files will be saved on disk in directory: F:\Production_SRVR\Oraarch

BR0134I Unattended mode with 'force' active - no operator confirmation allowed

BR0202I Saving init_ora

BR0203I to F:\Production_SRVR\Oraarch\SEP ...

BR0202I Saving E:\oracle\SEP\11204\database\initsep.sap

BR0203I to F:\Production_SRVR\Oraarch\SEP ...

BR0280I BRARCHIVE time stamp: 2016-01-16 10.03.08

BR0198I Profiles saved successfully

BR0202I Saving E:\oracle\SEP\oraarch\SEPARCH1_20961_756760855.DBF

BR0203I to F:\Production_SRVR\Oraarch\SEPARCH1_20961_756760855.DBF ...

BR0278E Command output of 'copy E:\oracle\SEP\oraarch\SEPARCH1_20961_756760855.DBF F:\Production_SRVR\Oraarch\SEPARCH1_20961_756760855.DBF':

Incorrect function.

        0 file(s) copied.

BR0280I BRARCHIVE time stamp: 2016-01-16 10.03.11

BR0279E Return code from 'copy E:\oracle\SEP\oraarch\SEPARCH1_20961_756760855.DBF F:\Production_SRVR\Oraarch\SEPARCH1_20961_756760855.DBF': 1

BR0222E Copying E:\oracle\SEP\oraarch\SEPARCH1_20961_756760855.DBF to/from F:\Production_SRVR\Oraarch\SEPARCH1_20961_756760855.DBF failed due to previous errors

BR0016I 0 offline redolog files processed, total size 0.000 MB

BR0007I End of offline redolog processing: aeshkxxe.svd 2016-01-16 10.03.11

BR0280I BRARCHIVE time stamp: 2016-01-16 10.03.11

BR0005I BRARCHIVE terminated with errors

 

 

 

thanks

 

regard's

 

Shaik

long2lob conversion of table SOFFCONT1 ends with ora-03113: end-of-file on communication channel

$
0
0

We have to do long2lob conversion before online reorganization of the table (~55GB) will be possible, because field CLUSTD is LONG RAW.

 

Name                  Null?    Type

--------------------- -------- ----------------------------

MANDT                NOT NULL VARCHAR2(3)

RELID                NOT NULL VARCHAR2(2)

PHIO_ID              NOT NULL VARCHAR2(32)

SRTF2                NOT NULL NUMBER(10)

PH_CLASS              NOT NULL VARCHAR2(10)

CLUSTR                NOT NULL NUMBER(5)

CLUSTD                LONG RAW

 

Analysis of table was done before reorg:
analyze table sapmib.soffcont1 validate structure online;

Table analyzed.

 

The actual command used by brspace was:

brspace -p initP57.sap -s 20 -l E -u / -f tbreorg -a long2lob -t SOFFCONT1


But in the end I always get this error:

BR0301E SQL error -3113 at location tab_onl_reorg-63, SQL statement:

'BEGIN DBMS_REDEFINITION.FINISH_REDEF_TABLE (UNAME => '"SAPMIB"', ORIG_TABLE => '"SOFFCONT1"', INT_TABLE => '"SOFFCONT1#

$"'); END;'

ORA-03113: end-of-file on communication channel


System Details:

DB: Oracle 11.2.0.2.0

SAP: ERP 6.0, NW 7.4, EHP 7 SP4

Kernel: HP-UX ia64, 741_REL, Patch 216

BR*Tools: 740, Patch 13


At the moment, I don't know what to do about this, are there any ideas?

Find attached the alert log from that day plus the ddl-statement and brspace log.

Viewing all 230 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>