Quantcast
Channel: SCN : All Content - ABAP for SAP HANA
Viewing all 831 articles
Browse latest View live

please suggest me how does an abap on7.4 different from lower versions apart from coding standards?

$
0
0

HiGurus ,

 

I am very new to HANA . Our company is going to implement the HANA database with netweaver 7.4 .Ap viewpreciate your suggestions on this ?

 

Do we have tables EKKO . EKPO , EKBE  as usual from lower verions ?  or any changes from the tables as i see some blogs tables with SNWD*

 

Do we reallly need to change our programming style other than the CDS views consumption , AMDP concumption ?

 

Would like to know how would be the requirements coming up ? what are all should be my area of strengths ?

 

The same ALV reports enhancements , funtion modules are still there from abap perspective?

 

Thanks and regards,

siva


SAP shadow schema password

$
0
0

Hi,

 

I would like to know the default password for a shadow schema.

 

We are updating sap using sum and I reset the user password and I can't connect.

 

We have ERP 6.0 ehp7 with hana.

ALV with IDA and background job

$
0
0

Hello,

 

However new ALV surpass old solutions in almost every aspect, I have noticed a small limitation.

When I run the report in background (either manually or via job), I get the short dump and job is cancelled.


I know that the purpose of paging is obvious in case of transactional use, but there are plenty of usecases, when users want to get the result of the whole list from the spool (e.g. as an attachment in the e-mail).

 

If background job is not supported, I think, it is worth to be mentioned explicitly.

I have gone through the reference in help.sap.com and there is nothing written about background processing in Restrictions tab.

 

 

Kind regards,

Radek Gref

An error occurred while creating DDL views: Time limit exceeded run RUTDDLSCREATE manually

$
0
0

I'm trying to install SFIN2 on 7.4 ABAP SR2 on HANA 96. The RUTDDLSCREATE report times out if I try to run it manually.

 

Has anyone seen this before?

ALV IDA On External Dictionary View

$
0
0


Hi All,

 

I came across a situation like to built ALV IDA on external dictionary view and it is working smooth and supports to External view for calculation view with projection node(non cube) and attribute view only.

 

For more information about ALV IDA SAP GUI - SAP Library

 

Steps Involved :

1. Create HANA calculation view either attribute view.

     CV VIEW.JPG

2. Create external dictionary view(Sync & activate).

Ext View.JPG

3.Create ALV IDA ABAP program.

 

ALV.JPG

4. ALV IDA output with nested aggregation.

 

Output.JPG

 

I hope this might be useful or helpful.

 

- Cheers

   Amol

Sorting Order in SQL Queries

$
0
0

Hi Colleagues,

 

We notice difference in the output when executing the SELECT queries on traditional DB and HANA. We are using side car approach so we have both the databases.

 

    SELECT Query 1 without HANA

 

     SELECT * FROM

                     EKPO

          INTO   TABLE LT_EKPO

             FOR ALL ENTRIES IN LT_EKKO

    WHERE    ebeln = lt_ekko-ebeln

          AND   werks IN s_werks.

 

    SELECT Query 2 with HANA

 

     SELECT * FROM

                     EKPO

          connection (gv_dbcon)

          INTO   TABLE LT_EKPO

             FOR ALL ENTRIES IN LT_EKKO

    WHERE    ebeln = lt_ekko-ebeln

          AND   werks IN s_werks.

 

 

Both the queries give me the same result set, but with different order.

What could be the reason? and how this should be avoided.

Thank you.

 

Regards,

Harshad Mishrikotkar.

Hana DB switch for DR setup

$
0
0

Hello Experts,

 

 

I have a few questions related to the HANA DR setup.

 

 

In our landscape the HANA Primary and Secondary instance was not installed using any Virtual hostname. I understand that to be able to switch to the secondary site all we need to do is perform a take over and stop replication on the Primary. My question here is how do we make the application server connect to the Secondary Hana DB. Changing only the SAPDBHOST parameters in the DEFAULT.PFL will not help.Please let me know what else needs to be changed.

 

 

Regards,

Raj

Reg: How to Create Transport for Database Procedure on HANA DB

$
0
0

Hello ,

 

I have created Database procedure and view on HANA DB.

 

But it does not ask for Transport request.

 

How to assign Transport Request for Procedure and view .

 

 

Thanks in Advanced.

 

Laxman Sankhla.


ALV on HANA -> Tree Display format

$
0
0

Hi,

 

   I am converting a report to use ALV for HANA to have a better performance, however I need to use ALV_TREE in order to group lines in a hierarchical format.

 

   Do you know whether is possible to use ALV on HANA on the same format as CL_GUI_ALV_TREE ?

 

 

Thank you

Carlos Machado

Problem during upgrade to HANA - Database Procedure does not exist in the catalog

$
0
0

Hi all,

 

During the upgrade from our ECC-system to HANA we get a log (LONGPOST.LOG) that contains several types of issues for which I found a relevant Oss Note, but not for this one:

 

### CURRENT PHASE: JOB_RUTACTDBPROCPROXY_POST

1PEPU203X  > Messages extracted from log file "RUTACTDBPROCPROXY.SBX" <

1PEAD010'"For Proxy" "PPH_SP02_FINALIZE_NON_AGG" "an activation error occurred." " "

1PEAD010'"For Proxy" "PPH_SP02_FIN_INDV" "an activation error occurred." " "


Several Database Procedure Proxies report an activation error.

 

I opened Eclipse and I saw that the proxy is active, but also contains the following error:

"Database procedure _SYS_BIC sap.erp.sappl.pph.sp02.read.finalize/FINALIZE_NON_ does not exist in the catalog"

Type: ABAP Syntax check Problem.

 

When I try to activate the proxy, I get a short dump " OBJECTS_OBJREF_NOT_ASSIGNED"

Class: CL_SQSC_WB_TOOL

Method: ADD_TO_CHECKLIST

 

Could not find a relevant OSS Note for this class (there are some notes, but they cannot be implemented because our sp-level is higher)

 

I also tried to use the Synchronize option (synchronize with HANA repository) but then I get error message:

"Database Procedure Proxy <proxy name> version N could not be read"

 

Can anyone help me out?

Is there a real problem?

 

Regards

Ben Meijs

Accessing Table from Different Schema in CDS in ABAP

$
0
0

Hi,

We have Different Schema Containing Source Data replicated from SAP R/3/Non SAP systems.

Currently we are using concept of external view to access data in ABAP, But i want to access it in CDS in ABAP Without Creating External View through table in source system. I also tried "SOURCE"."TABLE". But its doesn't work.

So, How can i access table in different scheme in CDS?

A view on T012K showing different results than actual table?

$
0
0

Hello Experts,

 

We have created a CDS view using a very simple query as below.

 

@AbapCatalog.sqlViewName: 'ZCDS_T012K'

@EndUserText.label: 'testing'

define view Zcds_Testing as select from t012k

 

 

{

mandt,

bukrs,

hbkid,

hktid,

bankn 

}

 

As this view is only created on T012K, it should show all the records of that table. However its giving some erroneous results. please see below.

 

In System1 Client 1, If T012K is only having 8 records, the view shows 385 records. - Error

In System2 Client 2, if T012K is only having 6 records, the view shows 1 record. - Error

In SystemX Client100, if T012K is having 21 records, the view shows 21 records  - Correct

 

 

SystemX is on Sfin 1.0 and System1 is on Sfin 2.0.

 

Not sure what can be the issue, please suggest?

 

Thanks

How to extract resule datafrom ECC Z query

$
0
0

Hi,

 

We all know we can copy the ECC tables and build up the model on HANA for analysis purpose. But if there's already Z query on ECC side to calculate something, is it possible to extract the result data directly from this Z program to HANA instead of rebuilding the whole logics on HANA?

 

If no, there is any work around to extract the result data directly from ECC Z program to BW side?

 

Thanks,

Derek

Create a Schema-Privileges

$
0
0

Hi gurus,

 

I need the exact privileges I need in order to create a schema in SAP HANA Studio.

 

Do you know how to find it?

 

Thanks,

 

Kind regards,

Questions on CDS Views with input parameters

$
0
0

Dear Experts,

 

1. Can we call a CDS View (or generated database view) with input parameters inside an AMDP? I am looking for something similar to the feature in HANA where we can consume calculation view with filters inside SQL Script?

 

2. I understand we can next CDS Views, but how we can next (call) a CDS View with input parameters inside another CDS View?

 

 

Thanks,

Giri


Featured Content for ABAP for SAP HANA

$
0
0

CDS - One Concept, Two Flavors

If you've being asking yourself what the difference between ABAP CDS and HANA CDS, then read this blog written by Horst. It tackles exactly this question, by pointing at the similarities and differences between both implementations.

 

Handling of SELECT-OPTIONS parameters within AMDP

One difficulty faced by developers when working with AMDP methods is the handling of SELECT-OPTIONS parameters (selection tables or range tables). This blog written by Carine blog exactly tackles that topic.

 

DEV201@SAP TechEd && d-code 2014 Las Vegas and Berlin

This blog series compiles the demo-rich session DEV201 (Overview of ABAP 7.4 Development for SAP HANA) that was held at SAP TechEd && d-code 2014 in Las Vegas and Berlin. Start with Part 1.

 

openSAP course "ABAP Development for SAP HANA" now in self-paced mode

Enroll yourself to the self-paced openSAP course ABAP Development for SAP HANA and learn what it means to develop ABAP-based applications optimized for SAP HANA. Read this blog by Jasmin. November 27, 2014

 

Want to try ABAP for SAP HANA yourself ? Check out the brand new E2E Development Guide

This document guides you through an end-to-end development example for SAP NetWeaver 7.4 SP5 on SAP HANA. You'll learn to leverage the power of SAP HANA via the code-pushdown capabilities provided by AS ABAP 7.4. Have a look in it here. April 24, 2014

 

See more recently featured content.

ALV with IDA for a CDS View - AND a parameter?

$
0
0

I want to have an ALV with IDA for a CDS View but I also want to pass a parameter into my CDS View to use in my JOINS and WHERE clause.

 

Is this possible?

Optional parameters on CDS Views?

$
0
0

As far as I can tell (as I cannot find reference to it anywhere), it's not possible to define an optional parameter for a CDS view.

 

Is that correct? Thanks.

CDS - Date calculation

$
0
0

Hi,

 

I'm trying to do som calculation with date type fields.

 

@AbapCatalog.sqlViewName: 'ZDEMOSDN'

@EndUserText.label: 'test'

define view ZDEMOSDN as select from aufk as a inner join afko as b

    on a.aufnr = b.aufnr

{

    key a.aufnr,

    a.erdat - a.idat2 as date2   

}

 

I'm getting the error messages:

Data type DATS is currently not supported in an arithmetic expression

 

Will this be supported in near future? Is there kind of workaround .

 

Regards,

 

Bart



"Number of fields in selection lists in unions must be the same"

$
0
0

me again!

 

I'm getting this error in a CDS View in which I'm using a 'UNION ALL' and I can't figure out why I'm getting it.

 

I have the same number of fields in both selection lists (that is the Projection List, right?) and their types are all the same. The help says you don't have to call them the same thing but I have anyway.

 

Although the fields are of the same type, they come from different tables - that can't be the reason surely?

 

I've even debugged this and taken a look at the xml but that hasn't thrown up anything.

 

Any ideas please?

 

Thanks again,

Malcolm.

Viewing all 831 articles
Browse latest View live


Latest Images

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