Quantcast
Channel: SCN : Unanswered Discussions - ABAP for SAP HANA
Viewing all 613 articles
Browse latest View live

Strange SQL error -10811 Numeric overflow for parameter/column

$
0
0

Dear Experts,

today we got a few ABAP short dumps:

SQL error "SQL code: -10811" occurred while accessing table "Z079_CV_LOG".


Database error text: "SQL message: Numeric overflow for parameter/column (32)

source type DECIMAL, target type UCS2 (LE), value

'0.974204418927118174949782384017408E25'"

 

An exception has occurred which is explained in more detail below. The

exception is assigned to class 'CX_SY_OPEN_SQL_DB' and was not caught in

procedure

"READ_Z079_CV_LOG" "(METHOD)", nor was it propagated by a RAISING clause.

Since the caller of the procedure could not have anticipated this

exception, the current program was terminated.

 

The reason for the exception is:

Database error text: SQL message: Numeric overflow for parameter/column (32)

source type DECIMAL, target type UCS2 (LE), value

'0.974204418927118174949782384017408E25'

Return value of the database layer: "SQL dbsl rc: 99"

 

It is very strange because the select is very simple, there is no SUM or any possibility to value conversion. It has to put all fields into structure of the same type as DB table. The table Z079_CV_LOG is a transparent table.

data LS_Z079_CV_LOG TYPE Z079_CV_LOG.

 

SELECT SINGLE *
       INTO ls_z079_cv_log
       FROM z079_cv_log
       WHERE cv_type = iv_cv_type
         AND key_ref = iv_key_ref.


When I try to reproduce the error, everything is ok. There is no strange values in the table shown in SE16N nor in Hana Studio.

We work on HANA DB version 1.00.097.03.1443520413

 

The column no. 32 in the table is of type Decimal 9,5:

 

Have you heard about such problem?

 

Best regards

Rafal


Event trigger

$
0
0

Hi Experts,

 

   I need to schedule a background job for which the data gets loaded into the flat file tables through .csv files .

So for this I had created a table for the flat file and a program to load the data into it.
When I create a job in SM36 I need to create an event for the corresponding job in SM62 right?

Can anyone please explain me how to schedule the background jobs to load the data into the custom tables.?
I am loading through flat files.

 

Can you please send me response as soon as possible. Points will be awarded.

ABAP ON HANA with search functionality

$
0
0


I am new to HANA and my requirment is Case insensitive Search functionality on group of custom tables which are in HANA DB. User enters the word(string) in UI5 screen and this will be available in some Z object in abap.

Using that string, case insensitive search must be applied on  group of custom tables which are internally linked .

Issue with Joining the tables :

The problem is data type is not compatible when joining the two tables (Casting is possible while joining? It was giving error when creating cds view with join )

I started up with two approach :

(bottom-up approach ):

Create graphical hana view with combination of attribute view and simple calculation view (using  joins and set the properties of attribute views columns as free style search as true)

To consume this view created external view and called in report . but problem is how to pass the string with wildcard in report or any other way to put wild card string search in hana studio?

I also created store procedure by combining the z tables but join is not executing because of data type is not matching in JOIN condition . In store procedure I tried to use UPPER function with string on ztable(not a view) the wild character search is happening.

Can I create a store procedure on calculation view? If yes please give some input.

 

In eclipse abap editor (top-down ):

I tried to create CDS view with joining two tables (but same issue with type compatible issue). So I tried just fetching data from z table without any join  and activated the cds view.

Created ABDP procedure method in ZCLASS and tried to consume this CDS view . but facing some issues like cds view is not found.

So please give me some overview solution how can I proceed further for this functionality .

If any other way to implement this requirement ?

Kindly help me out in this.

Alternate BAPI for BAPI_BATCH_GET_DETAIL in 1511

$
0
0

Hi,

 

in 1511, material is 40 characters whereas in BAPI - BAPI_BATCH_GET_DETAIL, material is 18 characters. Is there a alternate BAPI for this in 1511.

 

Thanks in advance.

DB Operation SELECT for ... found.

$
0
0

Hi All,

 

We have a custom program in which we have the following statement

SELECT SINGLE <FIELD1> from <TAB1> into <LV_VAR1> where <FIELD1> = P_FIELD1.

 

when we run the ATC check for the program, the following message  'DB Operation SELECT for ... found.' is displayed.

 

We tried using SELECT UPTO 1 rows, SELECT.... END SELECT.

We also tried declaring any internal table to fetch the single record into an internal table but we are still getting the same message.

 

I have referred to following thread

 

Why the ATC message "DB Operation SELECT for ... found" is a problem ?

 

But as per our client standards, this is defined as ERROR and not WARNING and hence we need to fix this.

 

Is there any solution to fix this error.

 

Thanks in advance.

 

Sindhu

CDS view with input parameters -error

$
0
0

Hi ,

 

I did try to create a CDS view with combining  two CDS view with parameters as below. No syntax error but once i am trying to execute getting exception says that "Sysstem failure :"Table is unknown or does not exist ".  . but in ABAP dictionary level(SE11)  VIEW' S are available  and tables are exist with valid data.

 

@AbapCatalog.sqlViewName: 'ZXV_CDS_05'

@AbapCatalog.compiler.CompareFilter: true

@AccessControl.authorizationCheck: #CHECK

@EndUserText.label: 'CDS view - Testing'

define view ZXV_PERS

with parameters p_string : abap.char( 14 ),

                        p_validity :abap.dats

                          

as select from  ZCDS_PERS

                    ( p_string : :p_string,

                      p_validity : :p_validity ) as PERSON

 

 

inner join Zcds_Person_Navn

                    ( p_string : :p_string,

                      p_validity : :p_validity ) as NAVN

                     

on  PERSON.root_key = NAVN.root_key

{

key NAVN.db_key,

key PERSON.db_key as person_key,

NAVN.adresseringsnavn,

PERSON.cpr_nr,

NAVN.fornavn,

PERSON.root_key

}

 

Could you please help me in that ?

 

thank you

 

Regards

Vinuta hegde

Query about HANA

$
0
0

Hi All,

 

Stupid question...does HANA replace SQL/Oracle/MaxDB etc for SAP, or does it compliment it, ie. pull information out of the main DB and run it in-memory?

 

Thanks!

Table that stores the information of all custom table in ECC which are maintained by SM30

$
0
0

Hi All

Good Afternoon.

 

Is there any such table in SAP that stores all the custom table names which are maintained by SM30 transaction.

Actually my requirement is to segregate the table that are maintained through SM30 and those which are maintained directly.

I have a list of table that contains more than 1000 custom tables.

 

Or is there any other manner i can find the tables names rather than going one by one to find that particular table is maintained via SM30 or not.

 

 

 

Thanks in Advance


error: unable to contact primary site; to hanadbp:30102

$
0
0

Hi,

 

I am in process to configure HANA replication between HANA production and HA system. while following configuration steps in Secondary system i am getting following error.

 

 

hanadbdev:/usr/sap/HAP/HDB00> hdbnsutil -sr_register --remoteHost=hanadbprd --remoteInstance=00 --replicationMode=async --operationMode=logreplay --name=HA

adding site ...

checking for inactive nameserver ...

nameserver hanadbdev:30001 not responding.

collecting information ...

error: unable to contact primary site; to hanadbprd:30102; original error: ssl: bad certificate,location=hanadbprd:30102;

failed. trace file nameserver_hanadbdev.00000.000.trc may contain more error details.

hanadbdev:/usr/sap/HAP/HDB00>

 

===========================

 

hanadbdev:/usr/sap/HAP/HDB00/hanadbdev/trace> more nameserver_hanadbdev.00000.000.trc

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.214234 i Basis            TraceStream.cpp(00463) : ==== Starting hdbnsutil, version 1.00.110.00.1447753075 (fa/newdb100_rel

), build linuxx86_64 095498d11a6d38cf8a77409ca563a794f1561aba 2015-11-17 10:50:04 ld7272 gcc (SAP release 20150717, based on SUSE gcc48-4.8.3+r212056-6.3) 4.8.3 2

0140627 [gcc-4_8-branch revision 212064]

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.214267 i Basis            TraceStream.cpp(00465) : MaxOpenFiles: 1048576

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.214280 i Basis            TraceStream.cpp(00467) : Server Mode: L2 Delta

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.214291 i Memory           AllocatorImpl.cpp(01349) : Allocators activated

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.214294 i Memory           AllocatorImpl.cpp(01365) : Using big block segment size 268435456

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.214294 i Basis            ProcessorInfo.cpp(00732) : Using GDT segment limit to determine current CPU ID

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.214295 i Basis            Timer.cpp(00642) : Using RDTSC for HR timer

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.214297 e Configuration    ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.214298 e Configuration    ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.217752 i Basis            TopologyUtil.cpp(04431) : command: hdbnsutil -sr_register --remoteHost=hanadbprd.ask.com --remote

Instance=00 --replicationMode=async --operationMode=logreplay --name=HA

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.218482 w Environment      Environment.cpp(00375) : Changing environment set SSL_WITH_OPENSSL=0

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.288536 w Environment      Environment.cpp(00352) : Changing environment set LINES=44

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.288549 w Environment      Environment.cpp(00352) : Changing environment set COLUMNS=168

[17670]{-1}[-1/-1] 2016-06-17 10:49:47.308240 i sr_nameserver    DRClientUtils.cpp(00299) : Remove takeover file: /usr/sap/HAP/SYS/global/hdb/sr_takeover.sem

[17670]{-1}[-1/-1] 2016-06-17 10:49:48.143569 e TNS              TNSClient.cpp(00821) : sendRequest dr_gethdbversion to hanadbprd.ask.com:30102 failed with NetExc

eption. data=

[17670]{-1}[-1/-1] 2016-06-17 10:49:48.189063 e TNS              TNSClient.cpp(00821) : sendRequest dr_registerdatacenter to hanadbprd.ask.com:30102 failed with N

etException. data=(S)hdbversion=1.00.110.00.1447753075|instance=00|instancename=HAP|mode=async|name=HA|opmode=logreplay...|...|(B)...|(SV)...|

[17670]{-1}[-1/-1] 2016-06-17 10:49:48.189111 e sr_nameserver    TNSClient.cpp(08574) : unable to contact primary site; to hanadbprd.ask.com:30102; original error

: ssl: bad certificate,location=hanadbprd.ask.com:30102

[17670]{-1}[-1/-1] 2016-06-17 10:49:48.189164 e sr_nameserver    TopologyUtil.cpp(02399) : unable to contact primary site; to hanadbprd.ask.com:30102; original er

ror: ssl: bad certificate,location=hanadbprd.ask.com:30102;

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.517093 i Basis            TraceStream.cpp(00463) : ==== Starting hdbnsutil, version 1.00.110.00.1447753075 (fa/newdb100_rel

), build linuxx86_64 095498d11a6d38cf8a77409ca563a794f1561aba 2015-11-17 10:50:04 ld7272 gcc (SAP release 20150717, based on SUSE gcc48-4.8.3+r212056-6.3) 4.8.3 2

0140627 [gcc-4_8-branch revision 212064]

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.517130 i Basis            TraceStream.cpp(00465) : MaxOpenFiles: 1048576

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.517144 i Basis            TraceStream.cpp(00467) : Server Mode: L2 Delta

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.517168 i Memory           AllocatorImpl.cpp(01349) : Allocators activated

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.517171 i Memory           AllocatorImpl.cpp(01365) : Using big block segment size 268435456

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.517171 i Basis            ProcessorInfo.cpp(00732) : Using GDT segment limit to determine current CPU ID

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.517172 i Basis            Timer.cpp(00642) : Using RDTSC for HR timer

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.517175 e Configuration    ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.517176 e Configuration    ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.520755 i Basis            TopologyUtil.cpp(04431) : command: hdbnsutil -sr_register --remoteHost=hanadbprd.ask.com --remote

Instance=00 --replicationMode=async --operationMode=logreplay --name=HA

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.521557 w Environment      Environment.cpp(00375) : Changing environment set SSL_WITH_OPENSSL=0

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.593773 w Environment      Environment.cpp(00352) : Changing environment set LINES=44

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.593788 w Environment      Environment.cpp(00352) : Changing environment set COLUMNS=168

[18062]{-1}[-1/-1] 2016-06-17 11:36:13.614220 i sr_nameserver    DRClientUtils.cpp(00299) : Remove takeover file: /usr/sap/HAP/SYS/global/hdb/sr_takeover.sem

[18062]{-1}[-1/-1] 2016-06-17 11:36:14.428685 e TNS              TNSClient.cpp(00821) : sendRequest dr_gethdbversion to hanadbprd.ask.com:30102 failed with NetExc

eption. data=

[18062]{-1}[-1/-1] 2016-06-17 11:36:14.472676 e TNS              TNSClient.cpp(00821) : sendRequest dr_registerdatacenter to hanadbprd.ask.com:30102 failed with N

etException. data=(S)hdbversion=1.00.110.00.1447753075|instance=00|instancename=HAP|mode=async|name=HA|opmode=logreplay...|...|(B)...|(SV)...|

[18062]{-1}[-1/-1] 2016-06-17 11:36:14.472735 e sr_nameserver    TNSClient.cpp(08574) : unable to contact primary site; to hanadbprd.ask.com:30102; original error

: ssl: bad certificate,location=hanadbprd.ask.com:30102

[18062]{-1}[-1/-1] 2016-06-17 11:36:14.472789 e sr_nameserver    TopologyUtil.cpp(02399) : unable to contact primary site; to hanadbprd.ask.com:30102; original er

ror: ssl: bad certificate,location=hanadbprd.ask.com:30102;

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.398959 i Basis            TraceStream.cpp(00463) : ==== Starting hdbnsutil, version 1.00.110.00.1447753075 (fa/newdb100_rel

), build linuxx86_64 095498d11a6d38cf8a77409ca563a794f1561aba 2015-11-17 10:50:04 ld7272 gcc (SAP release 20150717, based on SUSE gcc48-4.8.3+r212056-6.3) 4.8.3 2

0140627 [gcc-4_8-branch revision 212064]

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.398995 i Basis            TraceStream.cpp(00465) : MaxOpenFiles: 1048576

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.399010 i Basis            TraceStream.cpp(00467) : Server Mode: L2 Delta

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.399024 i Memory           AllocatorImpl.cpp(01349) : Allocators activated

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.399026 i Memory           AllocatorImpl.cpp(01365) : Using big block segment size 268435456

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.399027 i Basis            ProcessorInfo.cpp(00732) : Using GDT segment limit to determine current CPU ID

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.399028 i Basis            Timer.cpp(00642) : Using RDTSC for HR timer

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.399030 e Configuration    ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.399031 e Configuration    ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.402665 i Basis            TopologyUtil.cpp(04431) : command: hdbnsutil -sr_register --remoteHost=hanadbprd --remoteInstance

=00 --replicationMode=async --operationMode=logreplay --name=HA

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.403480 w Environment      Environment.cpp(00375) : Changing environment set SSL_WITH_OPENSSL=0

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.475571 w Environment      Environment.cpp(00352) : Changing environment set LINES=44

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.475588 w Environment      Environment.cpp(00352) : Changing environment set COLUMNS=168

[18071]{-1}[-1/-1] 2016-06-17 11:36:37.495656 i sr_nameserver    DRClientUtils.cpp(00299) : Remove takeover file: /usr/sap/HAP/SYS/global/hdb/sr_takeover.sem

[18071]{-1}[-1/-1] 2016-06-17 11:36:38.314349 e TNS              TNSClient.cpp(00821) : sendRequest dr_gethdbversion to hanadbprd:30102 failed with NetException.

data=

[18071]{-1}[-1/-1] 2016-06-17 11:36:38.360096 e TNS              TNSClient.cpp(00821) : sendRequest dr_registerdatacenter to hanadbprd:30102 failed with NetExcept

ion. data=(S)hdbversion=1.00.110.00.1447753075|instance=00|instancename=HAP|mode=async|name=HA|opmode=logreplay...|...|(B)...|(SV)...|

[18071]{-1}[-1/-1] 2016-06-17 11:36:38.360145 e sr_nameserver    TNSClient.cpp(08574) : unable to contact primary site; to hanadbprd:30102; original error: ssl: b

ad certificate,location=hanadbprd:30102

[18071]{-1}[-1/-1] 2016-06-17 11:36:38.360196 e sr_nameserver    TopologyUtil.cpp(02399) : unable to contact primary site; to hanadbprd:30102; original error: ssl

: bad certificate,location=hanadbprd:30102;

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.102962 i Basis            TraceStream.cpp(00463) : ==== Starting hdbnsutil, version 1.00.110.00.1447753075 (fa/newdb100_rel

), build linuxx86_64 095498d11a6d38cf8a77409ca563a794f1561aba 2015-11-17 10:50:04 ld7272 gcc (SAP release 20150717, based on SUSE gcc48-4.8.3+r212056-6.3) 4.8.3 2

0140627 [gcc-4_8-branch revision 212064]

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.102995 i Basis            TraceStream.cpp(00465) : MaxOpenFiles: 1048576

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.103009 i Basis            TraceStream.cpp(00467) : Server Mode: L2 Delta

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.103024 i Memory           AllocatorImpl.cpp(01349) : Allocators activated

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.103027 i Memory           AllocatorImpl.cpp(01365) : Using big block segment size 268435456

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.103027 i Basis            ProcessorInfo.cpp(00732) : Using GDT segment limit to determine current CPU ID

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.103028 i Basis            Timer.cpp(00642) : Using RDTSC for HR timer

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.103031 e Configuration    ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.103032 e Configuration    ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.106642 i Basis            TopologyUtil.cpp(04431) : command: hdbnsutil -sr_register --remoteHost=hanadbprd --remoteInstance

=00 --replicationMode=async --operationMode=logreplay --name=HA

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.107421 w Environment      Environment.cpp(00375) : Changing environment set SSL_WITH_OPENSSL=0

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.179055 w Environment      Environment.cpp(00352) : Changing environment set LINES=44

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.179069 w Environment      Environment.cpp(00352) : Changing environment set COLUMNS=168

[18149]{-1}[-1/-1] 2016-06-17 11:37:58.198950 i sr_nameserver    DRClientUtils.cpp(00299) : Remove takeover file: /usr/sap/HAP/SYS/global/hdb/sr_takeover.sem

[18149]{-1}[-1/-1] 2016-06-17 11:37:59.024083 e TNS              TNSClient.cpp(00821) : sendRequest dr_gethdbversion to hanadbprd:30102 failed with NetException.

data=

[18149]{-1}[-1/-1] 2016-06-17 11:37:59.067962 e TNS              TNSClient.cpp(00821) : sendRequest dr_registerdatacenter to hanadbprd:30102 failed with NetExcept

ion. data=(S)hdbversion=1.00.110.00.1447753075|instance=00|instancename=HAP|mode=async|name=HA|opmode=logreplay...|...|(B)...|(SV)...|

[18149]{-1}[-1/-1] 2016-06-17 11:37:59.068011 e sr_nameserver    TNSClient.cpp(08574) : unable to contact primary site; to hanadbprd:30102; original error: ssl: b

ad certificate,location=hanadbprd:30102

[18149]{-1}[-1/-1] 2016-06-17 11:37:59.068061 e sr_nameserver    TopologyUtil.cpp(02399) : unable to contact primary site; to hanadbprd:30102; original error: ssl

: bad certificate,location=hanadbprd:30102;

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.795793 i Basis            TraceStream.cpp(00463) : ==== Starting hdbnsutil, version 1.00.110.00.1447753075 (fa/newdb100_rel

), build linuxx86_64 095498d11a6d38cf8a77409ca563a794f1561aba 2015-11-17 10:50:04 ld7272 gcc (SAP release 20150717, based on SUSE gcc48-4.8.3+r212056-6.3) 4.8.3 2

0140627 [gcc-4_8-branch revision 212064]

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.795827 i Basis            TraceStream.cpp(00465) : MaxOpenFiles: 1048576

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.795841 i Basis            TraceStream.cpp(00467) : Server Mode: L2 Delta

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.795854 i Memory           AllocatorImpl.cpp(01349) : Allocators activated

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.795857 i Memory           AllocatorImpl.cpp(01365) : Using big block segment size 268435456

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.795857 i Basis            ProcessorInfo.cpp(00732) : Using GDT segment limit to determine current CPU ID

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.795858 i Basis            Timer.cpp(00642) : Using RDTSC for HR timer

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.795860 e Configuration    ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.795861 e Configuration    ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.799808 i Basis            TopologyUtil.cpp(04431) : command: hdbnsutil -sr_register --remoteHost=hanadbprd --remoteInstance

=00 --replicationMode=async --operationMode=logreplay --name=HA

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.800724 w Environment      Environment.cpp(00375) : Changing environment set SSL_WITH_OPENSSL=0

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.873462 w Environment      Environment.cpp(00352) : Changing environment set LINES=44

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.873478 w Environment      Environment.cpp(00352) : Changing environment set COLUMNS=168

[18226]{-1}[-1/-1] 2016-06-17 11:39:00.893522 i sr_nameserver    DRClientUtils.cpp(00299) : Remove takeover file: /usr/sap/HAP/SYS/global/hdb/sr_takeover.sem

[18226]{-1}[-1/-1] 2016-06-17 11:39:01.706422 e TNS              TNSClient.cpp(00821) : sendRequest dr_gethdbversion to hanadbprd:30102 failed with NetException. data=

[18226]{-1}[-1/-1] 2016-06-17 11:39:01.752105 e TNS              TNSClient.cpp(00821) : sendRequest dr_registerdatacenter to hanadbprd:30102 failed with NetException. d

ata=(S)hdbversion=1.00.110.00.1447753075|instance=00|instancename=HAP|mode=async|name=HA|opmode=logreplay...|...|(B)...|(SV)...|

[18226]{-1}[-1/-1] 2016-06-17 11:39:01.752181 e sr_nameserver    TNSClient.cpp(08574) : unable to contact primary site; to hanadbprd:30102; original error: ssl: bad cer

tificate,location=hanadbprd:30102

[18226]{-1}[-1/-1] 2016-06-17 11:39:01.752226 e sr_nameserver    TopologyUtil.cpp(02399) : unable to contact primary site; to hanadbprd:30102; original error: ssl: bad

certificate,location=hanadbprd:30102;

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.875159 i Basis            TraceStream.cpp(00463) : ==== Starting hdbnsutil, version 1.00.110.00.1447753075 (fa/newdb100_rel), bui

ld linuxx86_64 095498d11a6d38cf8a77409ca563a794f1561aba 2015-11-17 10:50:04 ld7272 gcc (SAP release 20150717, based on SUSE gcc48-4.8.3+r212056-6.3) 4.8.3 20140627 [gcc

-4_8-branch revision 212064]

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.875206 i Basis            TraceStream.cpp(00465) : MaxOpenFiles: 1048576

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.875224 i Basis            TraceStream.cpp(00467) : Server Mode: L2 Delta

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.875238 i Memory           AllocatorImpl.cpp(01349) : Allocators activated

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.875240 i Memory           AllocatorImpl.cpp(01365) : Using big block segment size 268435456

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.875241 i Basis            ProcessorInfo.cpp(00732) : Using GDT segment limit to determine current CPU ID

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.875242 i Basis            Timer.cpp(00642) : Using RDTSC for HR timer

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.875244 e Configuration    ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.875246 e Configuration    ConfigStoreManager.cpp(00693) : Configuration directory does not exist.

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.878999 i Basis            TopologyUtil.cpp(04431) : command: hdbnsutil -sr_register --remoteHost=hanadbprd --remoteInstance=00 --

replicationMode=async --operationMode=logreplay --name=HA

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.879840 w Environment      Environment.cpp(00375) : Changing environment set SSL_WITH_OPENSSL=0

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.957415 w Environment      Environment.cpp(00352) : Changing environment set LINES=29

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.957435 w Environment      Environment.cpp(00352) : Changing environment set COLUMNS=111

[18575]{-1}[-1/-1] 2016-06-17 12:15:37.978204 i sr_nameserver    DRClientUtils.cpp(00299) : Remove takeover file: /usr/sap/HAP/SYS/global/hdb/sr_takeover.sem

[18575]{-1}[-1/-1] 2016-06-17 12:15:38.815627 e TNS              TNSClient.cpp(00821) : sendRequest dr_gethdbversion to hanadbprd:30102 failed with NetException. data=

[18575]{-1}[-1/-1] 2016-06-17 12:15:38.894467 e TNS              TNSClient.cpp(00821) : sendRequest dr_registerdatacenter to hanadbprd:30102 failed with NetException. d

ata=(S)hdbversion=1.00.110.00.1447753075|instance=00|instancename=HAP|mode=async|name=HA|opmode=logreplay...|...|(B)...|(SV)...|

[18575]{-1}[-1/-1] 2016-06-17 12:15:38.894515 e sr_nameserver    TNSClient.cpp(08574) : unable to contact primary site; to hanadbprd:30102; original error: ssl: bad cer

tificate,location=hanadbprd:30102

[18575]{-1}[-1/-1] 2016-06-17 12:15:38.894564 e sr_nameserver    TopologyUtil.cpp(02399) : unable to contact primary site; to hanadbprd:30102; original error: ssl: bad

certificate,location=hanadbprd:30102;

hanadbdev:/usr/sap/HAP/HDB00/hanadbdev/trace>

 

 

Requested to please help

 

Regards

Sunil

Enhanced Search Help and weird input field length limitations behavior

$
0
0

Hey folks,

 

I am experiencing some 'weird' behavior with an enhanced search help on a classic SAP dynpro field.

 

The current setup is:

 

  • ABAP 7.40 SPS11 on HANA
  • classic dynpro screen
  • an input field with a custom data element of type characters length 110 - input length is set to 110 in screen field properties
  • a custom search help with 1 output field ( same data type ) using a custom search help exit
  • the search help works fine and the enhanced search 'works' in the sense that auto suggest values appear

 

So what is the issue ?

 

If the search help is activated then I can only enter a value of maximum 60 characters in the input field ... if the search help is not activated then I can enter 110 characters.  I checked and rechecked the search help and input field settings but cannot find anything strange.

 

Anybody having any clue or suggestion on why this is happening ?



Another 'weird' behavior is that the auto suggested values contain a list of all values in the table ( currently only 8 but should be much more in production  ) and the possible matching text value is set in bold ... which is confusing the users as they type a word and still non-relevant values are shown ... Is there a way to configure this so that only 'matching' values are shown ? ( Like is shown in some SAP video's showcasing this functionality )

 

 

 

Activating or deactivating the 'fuzzy search' option in the search help does not change anything about the 2 points above ...

 

 

Thanks,

 

Steven

ADBC Insert Query not working

$
0
0

Hi Experts,

 

I am trying to insert records in database table, but its failing.

 

When I debug the statement, the CALL C_DB_FUNCTION returns sy-subrc 12.

 

Here is my code for insertion :

 

Create the SQL statement object

  lo_sql_statement = lo_sql_connection->create_statement( ).


* To insert the records from internal table

  lo_sql_statement->set_param_table( REF #( lt_materialid ) ).


* Prepare the SQL Statement

  CONCATENATE 'INSERT INTO' c_tab_name 'VALUES( ?,? )' INTO

                   lv_sql_statement SEPARATED BY space.   " #EC NOTEXT

 

 

* Execute the SQL statement

   TRY .

    lv_rows_processed = lo_sql_statement->execute_update( lv_sql_statement ).

 

   CATCH cx_root INTO lx_root .

 

EXECUTE_UPDATE Method is not working.

 

Any reviews in this??

 

Thanks,

Sumit

ATC Configuration

$
0
0

Hi All,

 

I have couple of questions relating to ATC.

 

1. While setting up the variant for ATC in SCI transaction, when we enable the search operation "Search DB Operations", it searches all the SELECT statements as well. Now, we will definitely require UPDATE / MODIFY to be searched so that we can ensure that LOCKING concept is applied wherever necessary but we will definitely not need SELECT statements to come up in the ATC results. What is the actual use of getting SELECT in the ATC result ?

2. In continuation with the first question - if we want to set up the ATC exemption approval workflow, then it puts lot of headache on the QA to exempt SELECT statement findings (though we have date control - we can put 31/12/9999). Similar concern is with other DB operation findings viz, OPEN, FETCH, CLOSE - where we do not address the finding and have to go for exemption.

 

Is there any way, we can avoid specific sub topics to be ignored during the ATC run itself ?

 

 

Thanks & Regards

Srinivas Rao.

SU01 sap user documentation field name

$
0
0

Dear Experts,

 

 

We want to add new text in user documentation tab in  SU01--> documentation tab, through Z program, But we are unable to find table name or function module to update this field, Please help us know if you aware in which table this text saved will help us.

 

Thanks in Advance

 

Vinod

S4 HANA not having application for Quotes(similar to SD_MYQUOTES of EHP7 ERP system)

$
0
0

Hi All,

Please suggest the right option.

 

We have implemented an extension of the application sd_myquotes in ECC ehp7 where we found in the component in package UIEAAP01.

 

My questions are:

1) Does any one know a similar app in S4 HANA for quotations? Is there any new application with different name.

2) If I need to extend the same application in the new S4HANA system, do I need to get basis help to implement the UIEAAP01 as an add-on component and is this safe to do?

 

 

 

 

 

System components and packages available are shown below.

Older system which had SD_MYQUOTES:

 

UIAPFI701000002SAPK-10002INUIAPFI70UI SFIN
UIEAAP011000003SAPK-10003INUIEAAP01UI for ERP Central Applications
UIFSCM701000001SAPK-10001INUIFSCM70UI for FSCM_CCD
UIFSIS011000001SAPK-10001INUIFSIS01UI for Insurance Applications
UIGLT0011000000-UI for Gl-Trade
UIHERP011000002SAPK-10002INUIHERP01UI Hana Live Content for ERP
UIHFND011000003SAPK-10003INUIHFND01UI Hana Live Content for Sentiment Analysis
UIHSFIN11000001SAPK-10001INUIHSFIN1UI Analytical Content  for SAP Simplifie
UIRT4011000003SAPK-10003INUIRT401UI for Retail Operation Store
UISERP011000003SAPK-10003INUISERP01UI Smart Business Content for ERP
UITRV0011000001SAPK-10001INUITRV001UI for Travel
UIX01CA11000002SAPK-10002INUIX01CA1UI for Cross-Applications
UIX01EAP1000003SAPK-10003INUIX01EAPUI for ERP Central Applications
UIX01HCM1000003SAPK-10003INUIX01HCMUI for HCM Application

 

 

The new system S4HANA ON-PREMISE has the below package versions.

 

SCREEN PERSONAS3.0sap.comSAP SCREEN PERSONAS 3.0
S4HANA ON PREMISE1511sap.comSAP S/4HANA ON-PREMISE 1511
NW FOR S4HANA ONPREMISE1511sap.comNW 7.5 FOR S4HANA OP 1511
SAP SALES INTEGR SAP RAR1.0sap.comSAP SALES INTEGR SAP RAR 1.0
SAP REVENUE ACCOUNTING1.1sap.comSAP REVENUE ACCOUNTING 1.1
FIORI APPROVE REQUESTS X12.0sap.comFIORI APPROVE REQUESTS X1 2.0
SAP FIORI FOR S4HANA1511sap.comSAP FIORI FOR SAP S/4HANA 1511
SAP FIORI FRONT-END SERVER200sap.comSAP FIORI FRONT-END SERVER 2.0

 

The components available for UI are as below:

 

UIAPFI703000002SAPK-30002INUIAPFI70UI SFIN
UIHR0011000004SAPK-10004INUIHR001UI for ERP Human Capital Management
UIILM0011000007SAPK-10007INUIILM001UI for ILM
UIMDC0011000001SAPK-10001INUIMDC001UI for MDG Consolidation and Mass Proces
UIMDG0011000007SAPK-10007INUIMDG001UI for MDG
UIS4HOP11000002SAPK-10002INUIS4HOP1UI for S/4HANA On Premise
UIX01CA12000002SAPK-20002INUIX01CA1UI for Cross-Applications

Under which schema can we find the CDS view created by developers?

$
0
0

Hi Experts,

I have created a CDS view in ABAP perspective, named "ZCDS_DDL_IP_TEST3" in $TMP package. as  shown in the below screen shot.CDS_View.PNG

Now when i tried searching the same in the HANA modeller perspective,  I could not find it in any of the catalog schemas, as shown below: (Its visible  in se11 from normal GUI, but I wanted to see where its created in the HANA catalog schema)

 

CDS_View1.PNG

 

CDS_View2.PNG

 

Can someone tell where can we find it?

 

Thanks,

Mohammed


Column value as null in ABAP program while calling Calculation View

$
0
0

Hi All,

 

I have created a scripted calculation view which data from multiple standard and custom tables.

 

The output in hana studio is like below (all output fields are nvarchar type)

 

Doc NumberColumn 2Column 3Column 4Column 5Column 6Column 7Column 8
1234567890ABC12341ASAHSJHSJDHHAJSHDJHJAHS
1234567891CDF123231MMMMHAJDHJJHJADHJASJHADJ
1234567892SDS113333JCCCJHASDJHAJDHSDMMMM
1234567893ASDS176DDDDDDASDJHAJSD

 

 

But when i am calling the same view in ABAP report, doc number's value is changed to null.

 

Doc NumberColumn 2Column 3Column 4Column 5Column 6Column 7Column 8
ABC12341ASAHSJHSJDHHAJSHDJHJAHS
CDF123231MMMMHAJDHJJHJADHJASJHADJ
SDS113333JCCCJHASDJHAJDHSDMMMM
ASDS176DDDDDDASDJHAJSD

 

The columns in HANA calculation view and the internal table in ABAP report both refer to the same Database Table.

 

Please help here.

 

Thanks,

Vijay Sah

CDS Views : RSRT No Data Available

$
0
0

Dear All,

 

I am trying to read the Data in view IFIGLLITMCUBE , DDL Source, via Transient Provider 2CIFIGLLITMCUBE but it say no Data available.

 

Whereas in SE11 , I can see the underline data in the view IFIGLLITMCUBE.

 

Do need to perform any additional setup or configuration.

 

 

System : S4HANA with SAP_BASIS 750 SP1 , SAP_ABA 75A SP 01  and SAP_GWFND 750 SP3

 

 

Regards,

Subhasish

DDL Source FAA_ANEA could not be activated

$
0
0

Hii,

Upgrading support packages using SPAM done successfully on DEV & QAS but getting below error on PRD plz find attachment plz suggest.

"DDL Source FAA_ANEA could not be activated"

 

FAA_ANEA.PNG

AMDP Execution failed because of large amount of data

$
0
0

Hi experts,


 

I read data from VBAK inner join VBAP using AMDP...


Step 1: Read data from inner join


Step 2: use APPLY_FILTER

 

in Step 1, as a result of large data, the program dumps..


Is there any way to filter the data while filtering instead of doing in using Apply filter


Thanks & Regards,

Ramesh

Is it possible to call a Function Module in AMDP?

$
0
0

Hi experts,

 

is it possible to call a function module within AMDP Procedure?

 

Thanks,

Ramesh

Viewing all 613 articles
Browse latest View live