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

Empty row on UNION [ALL]

Hi, I'm getting empty rows for UNION. here is the scenario: define view Zcdsv_Mbew    with parameters p_werks : werks_das select from t001w association[1..*] to mbewon t001w.bwkey = mbew.bwkey{    key...

View Article


HANA Full Text Index and SQL

Hello Al, we are going to upgrade to HANA as a primary database and have some questions about how to access some tables. Now we can create Full Text Indexes on tables using SE11.With HANA as secondary...

View Article


I am working as abap consultant but I want learn SAP HANA any one suggest me...

I am working as abap consultant but I want learn SAP HANA any one suggest me Is that combination is good??

View Article

Image may be NSFW.
Clik here to view.

Subtraction not working in CDS View

Hi, I'm doing simple subtraction but not giving the expected result, below is the snippet and output.  I also try using CAST but it also didn't work. Need yours suggestion on this. Regards,Binay...

View Article

HANA view are not visible after transport to target system through HTC

Hi All, i have created one hana view and assigned it to delivery unit.I have created one external view for this HANA view and saved in a Transport Request in ABAP perspective.Also i have created the...

View Article


How to transport the ABAP on HANA objects after making changes in HANA view...

Hi All, when first time i transported the abap on hana content from development to Quality through HTC, it was successful.  But now again i need to do some changes in the view and transport it through...

View Article

Annotaion @EndUserText.label not working on CDS Views

Hi, I am trying to create a CDS view and provide my own labels to the fields. I have gone through multimple documentations and done exactly like in help but it does not seem to work. Below is a test...

View Article

Featured Content for ABAP for SAP HANA

Getting Started with ABAP Core Data ServicesLearn more about the next generation of data definition and access for database-centric applications in ABAP. March 9, 2016 ABAP Core Data Services @SAP...

View Article


Getting error 'Unhandled event loop exception' during activation of...

Dear all, I'm getting error as 'Unhandled event loop exception' during activating Attribute/Calculation view in SAP HANA Studio.  Could you please help me to resolve this issue ? Error is coming as...

View Article


External view is not active after importing to Quality from Development server

Hi All, i have created hana view and consumed it to ABAP program through external views.we transported to Quality system. the program is giving dump because it says external view is not active.It is...

View Article

Image may be NSFW.
Clik here to view.

AMDP ranges and normal operators in where clause?

Hi, I creating a AMDP in order to utilize the ROW_NUMBER function. My "base" sql that I need in the AMDP is shown below. As you see will MATERIAL and /BIC/TRADE_ID have to be replaced by ranges (it is...

View Article

Different result in ABAP Open SQL en HANA SQL

Hi SAP, we are upgrading from a Secondary HANA to a Primary and notice a different behaviour in JOIN in SQL. When we use this SQL we get different results in both situations (I only had to change the...

View Article

CDS View how to do sum on field without using group by with all the fields

I need to build a cds view by joining multiple tables. Now there are about 30 fields in the select.The requirement is to have a sum on the amount field based on only 2 of the fields selected.This...

View Article


CDS - Arithmetic operation on aggregated column

Hi all, I am trying to figure out the syntax (or even if it is permitted) to perform an arithmetic operation on an aggregated column. for example - we can create define view Zpo as select from ekko...

View Article

comma not allowed in ABAP development for SAP HAAN

Hi Experts, While i was trying to practice ABAP in HANA studio, i am getting below error. Could u plz help on this issue. "," is not allowed here since it contains an invalid character or it is a...

View Article


Image may be NSFW.
Clik here to view.

Performance Tuning Example 2(using a 'For All Entries' statement )

Source code below is an example of using the 'For All Entries' statementREPORT ZHIS_TUN_002_BEFORE. DATA: IT_COEP TYPE TABLE OF COEP,           IT_COBK TYPE TABLE OF COBK. SELECT * INTO CORRESPONDING...

View Article

Image may be NSFW.
Clik here to view.

Performance Tuning Example 3(using a Delete statement in the LOOP)

Source code below is an example of using the 'Delete' statement in the loop.REPORT ZHIS_TUN_003_BEFORE. DATA IT_EKKO TYPE TABLE OF EKKO WITH HEADER LINE.SELECT * APPENDING CORRESPONDING FIELDS OF TABLE...

View Article


Image may be NSFW.
Clik here to view.

Performance Tuning Example 4(using a COUNT in the LOOP)

Source code below is an example of using count in the loop.REPORT ZHIS_TUN_004_BEFORE. DATA: BEGIN OF IT_EKKO OCCURS 0 ,              EBELN LIKE EKKO-EBELN,              LIFNR LIKE EKKO-LIFNR,...

View Article

Image may be NSFW.
Clik here to view.

Performance Tuning Example 5(using a INSERT statement)

Source code below is an example of using the 'INSERT' Statement.( 'ZMARA2' is COPY  the MARA table)REPORT ZHIS_TUN_005_BEFORE. DATA: WA_MARA TYPE  MARA,            IT_MARA TYPE TABLE OF MARA,...

View Article

Image may be NSFW.
Clik here to view.

Performance Tuning Example 7(using a COLLECT statement in the LOOP)

Source code below is an example of using the 'COLLECT' statement in the loop.REPORT ZHIS_TUN_008_BEFORE. DATA : BEGIN OF  IT_VBAK  OCCURS 0,               ERDAT      TYPE VBAK-ERDAT,...

View Article
Browsing all 831 articles
Browse latest View live