Tables in HANA / ABAP
Hi,
I have a question about the synchronization of tables between ABAP and HANA. When I create an se11 table in my ABAP on HANA trial system, the table is visible in the HANA studio schema SAPHANAABAP.
When I create a table in the HANA studio (same schema) , this table is not visible in the ABAP se11. Are these tables only exposed by procedures that are consumed in ABAP ?
Dear Marcus,
The tables and views maintained from ABAP Data Dictionary(SE11) gets created in the SAP<SID> Schema in the underlying HANA DB.
Nevertheless the opposite is not true, i.e when you create a DB artefact in HANA directly in HANA Studio it is not visible as a ABAP DDIC object and hence you cannot consume it in your ABAP code using Open SQL. If you need to consume them you need to use the HANA native artefacts. (I would really do a double check before doing so to verify if this is needed at all)
And this has been the case with any database which lies underneath the ABAP Application Server.
Hope this helps.
Thanks
Sundar
Similar Messages
-
Error while creating virtual table in Hana
Hi Folks,
Good Day!
I am trying to create the virtual table in Hana system from Hadoop data base but am getting some privilege issue.
Please help me to resolve the issue.
Error Screen shot:
Thanks,
HariHi Hari,
Check if you have the following privileges assigned to your user ID in Object privileges for the created Remote DNS
Regards,
Nehal -
SAP BW 7.4 on HANA ABAP & JAVA stack
Hello,
We have requirement for SAP BW 7.4 on HANA ABAP & JAVA stack integration.
Please clarify the doubts.
1. Is there any possibility to install ABAP & JAVA stack same SID?
2. If install different with SIDs, How can we do integration? Any restriction is there to integrate?
3. Can we use same HDB SID for both ABAP & JAVA stack?
4.We plan to configure the JAVA stack as UME data source from ABAP stack, Is it good practice?
Any one share the better ideas & solutions for this issue.
Regards,
V SrinivasanHi Experts,
Great for viewers.
But still expecting some ideas above questions kindly answer.
Also i got some important points.
Java Stack for BW on HANA
At least any one answer the purpose of BW Java Stack.
Regards,
V Srinivasan -
To know the functionality of table control in ABAP Objects
Hi,
Is there any technique to achieve the functionality of table conrol in ABAP Objects?
Thanks.Hello Raja
If you are using an editable ALV grid then you have the functionality of a table control and much much more.
ABAP-OO based ALV grids are much more powerful (and easier) than simple table controls.
Regards
Uwe -
Customise table inconsistency between ABAP Dictionary and the databas
Hi all,
I have encountered a problem where by, I was not able to activate a table due to inconsistency between ABAP Dictionary and the database.
After I run the SE14--> Check Database object. It has show that there is a missing Unique Index(Primary Index) at the Database Level, but at ABAP Dictionary it is there.
I have try to recreate the primary index at the Database level, but failed. Because one of the primary key field is been dropped from this table.
So now, may I know how can I still make this table Active again?
Is it save to folllow the following solution that I found on internet?
Syntax error in SDCC, table inconsistency between ABAP Dictionary and the database, transport error 8 during the generation of ABAP Dictionary. When you call Transaction SDCC, a termination occurs due to a putative syntax error because a table is not known or active. When you check this with the ABAP dictionary (SE11), you notice, that the table is active or inactive, however it is not possible to activate it. The activation might terminate with the error message 'Inconsistency between ABAP Dictionary and database'. A check of the affected object also delivers this error.
Solution
Proceed as follows:
Log on as user DDIC
Call Transaction SE14
Enter the affected table name and
select EDIT
In the following screen, choose Table -> Reconstruct
Confirm the execution
Call Transaction SE11
Enter the affected table name
Display
Activate
Thanks.
CKI managed to solved this by
Solution
Proceed as follows:
Log on as user DDIC
Call Transaction SE14
Enter the affected table name and
select EDIT
In the following screen, choose Table -> Reconstruct
Confirm the execution
Call Transaction SE11
Enter the affected table name
Display
Activate
Thanks.
CK -
Make entries in a table in webdynpro abap
Hi all,
We have a requirement to make multiple entries in a Table in webdynpro ABAP.
We have created a table and inserted inputfield as cellEditor
but at runtime it is being displayed in readonly mode we cannot enter anything in that inputfield.
inputfield is binded with a context and table is not in readonly mode.
Please help in this regards
thanks & regards.....
Gaurav MakinHi Gaurav,
Make sure the context node bound to the table has cardinality 0..N.
When the app starts you probably need to read the table contents from the database or some other source and populate the contect node.
The table will allow the user to edit values only for the rows that have a corresponding element in the context node.
If the initial content is empty, i.e. no elements in the context node then the user will not be able to edit.
You will need to either initialize the context node with a bunch of elements if the number of entries is fixed and known beforehand, or provide a way for the user to create a new row.
You can do this by adding a toolbar to the table with a create button with a CREATE action and the following method:
method onactioncreate.
data:
lo_element type ref to if_wd_context_element,
lo_node type ref to if_wd_context_node.
lo_node = wd_context->get_child_node( name = 'your node name here' ).
lo_element = lo_node->create_element( ).
lo_node->bind_element( new_item = lo_element set_initial_elements = abap_false ).
endmethod.
Regards... Lucio Menzel -
How can I change column name in ALV table in WebDynpro ABAP?
Hi Everyone,
I have created an ALV table in WebDynpro ABAP. I have created a context node and added the required attributes there - for the ALV display.
Now I want to change one columnn name of the ALV table.... Currently it is showing the description of the data element, which I don't want to show. I cannot create a new DE only for this purpose.
Please let me know how can I change the name of the column.
RegardsHi,
This may help you to define your own column text in the ALV Table of webdynpro.
see the below code.
Here 'STATUS_ICON' is the column of the the output display of the ALV Table of webdynpro.
"change the label of the report.
DATA: lr_weeknum TYPE REF TO cl_salv_wd_column.
CALL METHOD l_value->if_salv_wd_column_settings~get_column
EXPORTING
id = 'STATUS_ICON'
RECEIVING
value = lr_weeknum.
SET THE LABEL OF THE COLUMN
DATA: hr_weeknum TYPE REF TO cl_salv_wd_column_header.
CALL METHOD lr_weeknum->get_header
RECEIVING
value = hr_weeknum.
CALL METHOD lr_weeknum->set_resizable
EXPORTING
value = abap_false.
hr_weeknum->set_prop_ddic_binding_field(
property = if_salv_wd_c_ddic_binding=>bind_prop_text
value = if_salv_wd_c_ddic_binding=>ddic_bind_none ).
set the text of the column
CALL METHOD hr_weeknum->set_text
EXPORTING
value = 'C Form'.
regarads,
balu -
hi,
Can anybody tell me what are clusters tables in HR ABAP.
Thanks,
Sriram Ponna.Hi,
Please check this link ... perhaps it may help.
http://www.hrexpertonline.com/downloads/12-04.doc .
Regards,
Ferry Lianto -
How to refresh interal table in Webdynpro ABAP
Hi all,
I want to delete/free/refresh interal table in webdynpro abap.
One of the form gave solution to pass blank internal table?
I cleared node and itab in webdynpro, but internally SAP doesn't delete the context node and itab values.
Please help me in how to refresh itab in webdynpro abap.
Regards,
PrasadHi Srinivas,
it doesn't work.
I wrote like this in action list method.
method lta_task.
if not lcontext_node_task is intial.
context_node_task->invalidate().
endif.
select.......
populate data into internal table lt_task_output_table .
if not lt_task_output_table is inital.
context_node_task = wd_context->get_child_node( name = 'TASK_PER').
context_node_task->bind_table( wd_this->lt_task_output_table ).
endif.
endmethod.
Starting of the mehod i have written to inavlidate, before upating the itab
but donesn;t work. Where should I write the code
Reagards,
Prasad -
Internal table declaration -OO ABAP
Hi,
I am looking to declare an internal table using OO objects. My declaration are as follows..
TYPES : Begin of itab,
f1 type c,
f2 type c,
End of itab.
DATA : itab1 type standard table of itab.
DATA: wa_tab type itab.
I have an internal table to say itab_pa2001 which i am reading all the records of pernr into ITAB_PA2001.To get the text i want to select * from t5*** into ..... Finally wht am looking is to move some of the fields into the final table ITAB. Could you please let me know how to set this up as i am getting wrong values when i am looping as below.
how to declare a structure in ITAB using ABAP OO....??
LOOP at ITAB_PA2001 into wa_itab.
ENDLOOP.
Thanks,
VindHi,
Please refer to following links :
[How to declare an internal table in OO-ABAP programming? |Re: How to declare an internal table in OO-ABAP programming?;
[sample object oriented ABAP program |http://wiki.sdn.sap.com/wiki/display/Snippets/sampleobjectorientedABAPprogram]
Hope this helps.
Regards,
Chandravadan -
Read data from MDM For Lookup and Flat table using MDM ABAP API
Hi,
I have requriment to read data from MDM from FLAT and Lookup table using MDM ABAP API. My design is like this ,
I have one ITEMS (Main table in MDM) and inside that i have one Lookup flat table ITEM_TYPE , my requriment is to read Item number and its related Item type.
From ABAP.
Please help if any body has any idea.
Regards,
ShyamHI Guys,
I found my solution by myself. Below is the solution , hope this will help others:-
Retrieve data from MDM using MDM ABAP API.
Step- 1. Create structure in SAP with the same name as that of MDM field code for MDM Main table.
Step-2. Create another structure in SAP having all lookup fields of MDM , fieldname in ECC must be same as that of MDM field
code.
Step-3.Create structure in SAP for individual lookup field(Single Field only) with the same name as MDM Field code.
Step-4.
DATA: IT_QUERY TYPE STANDARD TABLE OF MDM_QUERY, "MDM_QUERY_TABLE,
WA_QUERY TYPE MDM_QUERY,
WA_CDT_TEXT TYPE MDM_CDT_TEXT,
IT_RESULT_SET_KEY TYPE MDM_SEARCH_RESULT_TABLE,
WA_RESULT_SET_KEY TYPE MDM_SEARCH_RESULT,
WA_STRING TYPE STRING.
DATA:<Internal table> TYPE STANDARD TABLE OF <SAP Str Having all LOOKup Fields>
DATA: :<Internal table>TYPE STANDARD TABLE OF <SAP Str one LOOKup field>,
<Workarea> LIKE LINE OF :<Internal table>.
*PASS LOGICAL OBJECT NAME.
V_LOG_OBJECT_NAME = 'Logical object name defined in Customization'.
Define logon language, country & region for server
WA_LANGUAGE-LANGUAGE = 'eng'.
WA_LANGUAGE-COUNTRY = 'US'.
WA_LANGUAGE-REGION = 'USA'.
TRY.
CREATE OBJECT LR_API
EXPORTING
IV_LOG_OBJECT_NAME = V_LOG_OBJECT_NAME.
ENDTRY.
CONNECT to repository. Apply particular logon language info
CALL METHOD LR_API->MO_ACCESSOR->CONNECT
EXPORTING
IS_REPOSITORY_LANGUAGE = WA_LANGUAGE.
*NOW PASS ITEM NO AND GET KEY FROM MDM.
CLEAR WA_QUERY.
WA_QUERY-PARAMETER_CODE = <MDM FIELD CODE>. "Field code
WA_QUERY-OPERATOR = 'EQ'. "Contains
WA_QUERY-DIMENSION_TYPE = 1. "Field search
WA_QUERY-CONSTRAINT_TYPE = 8. "Text search
WA_STRING = <Field Value>.
GET REFERENCE OF WA_STRING INTO WA_QUERY-VALUE_LOW.
APPEND WA_QUERY TO IT_QUERY.
CLEAR WA_QUERY.
*PASS ITEM NUMBER AND GET RELATED KEY FROM MDM.
TRY.
CALL METHOD LR_API->MO_CORE_SERVICE->QUERY
EXPORTING
IV_OBJECT_TYPE_CODE = <MDM Main Table>
IT_QUERY = IT_QUERY
IMPORTING
ET_RESULT_SET = IT_RESULT_SET_KEY.
CATCH CX_MDM_COMMUNICATION_FAILURE .
CATCH CX_MDM_KERNEL .
CATCH CX_MDM_NOT_SUPPORTED .
CATCH CX_MDM_USAGE_ERROR .
CATCH CX_MDM_PROVIDER .
CATCH CX_MDM_SERVER_RC_CODE .
ENDTRY.
Pass record id into keys.
LOOP AT IT_RESULT_SET_KEY INTO WA_RESULT_SET_KEY.
WA_KEYS = WA_RESULT_SET_KEY-RECORD_IDS.
ENDLOOP.
WA_RESULT_SET_DEFINITION-FIELD_NAME = <Look field name>.
APPEND WA_RESULT_SET_DEFINITION TO IT_RESULT_SET_DEFINITION.
CALL METHOD LR_API->MO_CORE_SERVICE->RETRIEVE
EXPORTING
IV_OBJECT_TYPE_CODE = <MDM Main Table>
IT_RESULT_SET_DEFINITION = IT_RESULT_SET_DEFINITION
IT_KEYS = WA_KEYS
IMPORTING
ET_RESULT_SET = IT_RESULT_SET.
LOOP AT IT_RESULT_SET INTO
WA_RESULT_SET.
*PASS KEYS INTO MAIN TABLE TO GET Structure for FALT or Look up Table
TRY.
CALL METHOD LR_API->MO_CORE_SERVICE->RETRIEVE_SIMPLE
EXPORTING
IV_OBJECT_TYPE_CODE = <MDM Main Table>
IT_KEYS = WA_KEYS
IMPORTING
ET_DDIC_STRUCTURE =<SAP Strct having all Look up fileds of MDM>
ENDTRY.
LOOP AT <SAP Strct having all Look up fileds of MDM> INTO <Work area>.
CLEAR WA_KEYS.
APPEND <Work area>-field name TO WA_KEYS.
CALL METHOD LR_API->MO_CORE_SERVICE->RETRIEVE_SIMPLE
EXPORTING
IV_OBJECT_TYPE_CODE = <MDM Lookup table name>
IT_KEYS = WA_KEYS
IMPORTING
ET_DDIC_STRUCTURE = <Single Structure in SAP For Lookup field>.
READ TABLE <Single Structure in SAP For Lookup field>. INTO <Work Area> INDEX 1.
Here you can get the value of realted lookup fields associated with main table data.
ENDLOOP.
ENDLOOP.
LR_API->MO_ACCESSOR->DISCONNECT( ).
Edited by: Shyam Babu Sah on Nov 24, 2009 4:52 AM -
Tcode to upload data into CATSDB table in HR ABAP
Hi All,
Could anyone let me know what is the TCODE to upload data into CATSDB table in HR ABAP.
Regards,
Srinivas.Thanks for your reply but i'm not able to find the required fields to upload.
those are : pernr - employee number(ok)
workdate - date
awart - att./absence type
lgart - wage type
meinh - unit of measure
catsquantity- quantity number
Regards,
Srinivas -
Readind APO tables from ECC ABAP program
Hi,
I want to know if it is possible to read APO tables from a ABAP program in ECC 6.0.
If it is possible , please lt me know how?
RegardsHi,
There's a remote-enabled function module (think it's either RFC_READ_TABLE or RFC_TABLE_READ) which you can pass a table name, some selection criteria and a list of fields to be returned. That should allow you to read those table entries from the remote system.
Regards, Andy -
Long time for the replication tables in Hana
Hi Gurus,
We are replicating some tables in Hana these being Standard (AFPO) and Customer Table.
We have two tables being already replicated to 3 days and not over yet.
The replication takes so long?
Thanks !
In other words and in order to try to be clearer:
we are replicating standard tables (AFPO, …) and one z-table in HANA, but this process is spending a long long time (more than 4 days and this process has not been finished yet). We are working at QAS. Is this duration correct? What can we do to improve it? We appreciate if you have any suggestions like portitioning scheme/parallel loads.
Standard tables: around 1.000.000
Z-Table: around 1000 ecords
Thanks in advance. Regards.Hi Gurus,
We are replicating some tables in Hana these being Standard (AFPO) and Customer Table.
We have two tables being already replicated to 3 days and not over yet.
The replication takes so long?
Thanks !
In other words and in order to try to be clearer:
we are replicating standard tables (AFPO, …) and one z-table in HANA, but this process is spending a long long time (more than 4 days and this process has not been finished yet). We are working at QAS. Is this duration correct? What can we do to improve it? We appreciate if you have any suggestions like portitioning scheme/parallel loads.
Standard tables: around 1.000.000
Z-Table: around 1000 ecords
Thanks in advance. Regards. -
Replicating Pool and Cluster tables in HANA
Hi,
Has anyone been able to successfully replicate the Pool and Cluster tables to HANA? I browsed around but am not able to find any solid material/documents related to the same. Please point me to the same.
yogeshHi Yogesh,
Maybe you skiped this one. The sample uses BSEG from cluster RFBLG and it's very well explained by Tobias Koebler
How to enable parallel replication
Regards, Fernando Da Rós
Maybe you are looking for
-
Relationship between PAYR and VBRK
Hi All, Below are the fields related to Party Wise Ledger. Bill no--( VBRK-VBELN ) Inv. Date--( VBRK-FKDAT ) Destination-- ( KNVA-ABLAD ) Quantity-- ( VBRP-FKIMG ) Inv. Amount-- ( VBRP-WAVWR ) Cheque No.-- ( PAYR-BANCD ) Cheq
-
Hi, Oracle database version : 9.2.0.8 OS: Linux4 as per client requirement we need to enable Fine Grain Auditing. So please provide the process to enable FGA in 9.20.8 database and also provide procedure how to enable FGA on particular table or parti
-
Price Value getting aggregated
Hey everyone... Here is my scenario... I'm having a report of inventory value by material group and storage location... Matgrp Qty Value Total 1 Material 10 3
-
Restoring with Blackberry Link
Help please, Moved to Blackberry Classic. I have groups setup in my contacts to do group text messages. When I back with Blackberry Link and then restore the Classic from the desktop the groups are removed. Had a Bold 9900 with Balckberry desktop b
-
Viewer in FCP 5 Skipping Frames
Hey everyone, This is really annyoing. Everytime I try to watch something in the viewer it goes really slow/skips a lot of frames. I tried puting the playback quality on Safe RT and reduced the playback to low. That did nothing. Is there anyway to fi