SAP HANA Articles

Page 38 of 58

Get access or point to SAP UI5 control

varma
varma
Updated on 10-Dec-2019 566 Views

You are making a small mistake over here. Method addContent is a method available for UI5 controls not over normal DOM elements.If you want to gain a reference to the button then you can try with the below snippet:this.getView().byId("").addContent(new sap.m.Button({    : }));

Read More

Using real Boolean type in SAP ABAP

Rahul Sharma
Rahul Sharma
Updated on 10-Dec-2019 488 Views

This way is called as a Predictive Method call. This will work if the initial value is false and false is the initial value. You can refer to below link to know about Predictive method call and also to see examples:https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abenpredicative_method_calls.htm

Read More

Linking ABAP Dynpro screen elements to program variables

Amit Sharma
Amit Sharma
Updated on 10-Dec-2019 622 Views

You can make the connection by using the name of Global variables. A Global variable can be defined by using this code:DATA matnr TYPE MATNR-> to create a global variable matnr. You can define DDIC structure or table like Tables: MARAIn Screen Painter, you can reference of fields of table/structure MARA. Note that one of the useful features of the screen painter is choosing dictionary/program fields and this can be done by pressing “F6”.

Read More

IMPORTING, EXPORTING and CHANGING Keywords in ABAP

Krantik Chavan
Krantik Chavan
Updated on 09-Dec-2019 5K+ Views

IMPORTING transfers a value from the caller to the called method by passing an actual parameterEXPORTING is just opposite to what IMPORTING does. IT passes value from the method to Caller.CHANGING is transferring the value from caller to method by a variable which is processed or changed and the changed value is passed back to the Caller. Thus it combines both IMPORTING and EXPORTING function.There are a couple of ways in which CHANGING can be used:CHANGING myvar or CHANGING VALUE(myvar)By using, CHANGING myvar , the value of a variable is changed and passed back to the caller or main program.Using ...

Read More

Calling external programs using SAP connector

Daniol Thomas
Daniol Thomas
Updated on 09-Dec-2019 337 Views

Yes, it is possible to address or call an external program using SAP connector SDK. From ABAP, you can reference external program by SAP’s RFC protocol.There are various SAP connector available for various programming languages. Few of them areJCo is the SAP Java connectorNCo is the .NET SAP connectorNW RFC SDK is the SAP NetWeaver RFC SDK for C/C++

Read More

Getting class of given method using T-code SE80 in SAP

Rishi Rathor
Rishi Rathor
Updated on 09-Dec-2019 3K+ Views

You would require calling transaction SE80 and then looking into Repository info system. Under that go to the class library and then to methods. You can specify selection criteria under standard selections.

Read More

Using combination of “AND” and “OR” in SELECT in ABAP

Vrundesha Joshi
Vrundesha Joshi
Updated on 09-Dec-2019 11K+ Views

You can use the following query:SELECT * FROM my_table WHERE condition 1 AND condition 2 AND ( id EQ '2' or id EQ ‘3’ ).Note: There should be space after and before bracket.Alternatively you can use IN statement as below:SELECT * FROM my_table WHERE condition 1 AND condition 2 AND EQ IN ('2', ‘3’ ).

Read More

Deleting subsequent heading from report in SAP system

Jennifer Nicholas
Jennifer Nicholas
Updated on 09-Dec-2019 139 Views

You need to add “NO STANDARD PAGE HEADING” as followsREPORT l_report MESSAGE-ID l_message NO STANDARD PAGE HEADING.

Read More

Using SSIS to load data from SQL Server to SAP BW

Krantik Chavan
Krantik Chavan
Updated on 09-Dec-2019 500 Views

I am wondering why you are planning to opt for SSIS for this. It would not be that easy and compatible. Instead, I will suggest you to for any of the below two optionsUse SAP BW standard anyDB source systemBO Data servicesBoth of the options are well compatible and do the data load well and in a native manner.

Read More

Finding a particular value in internal table itab in ABAP

Vrundesha Joshi
Vrundesha Joshi
Updated on 09-Dec-2019 2K+ Views

you can use a READ statement in combination with TRANSPORTING NO FIELDS. This will skip the values to be transferred to the work area and avoid the loop. Here is an example:READ TABLE itab WITH KEY FIELD = 'ABC' TRANSPORTING NO FIELDS. IF SY-SUBRC = 0. "Field Match.” ENDIF.

Read More
Showing 371–380 of 573 articles
« Prev 1 36 37 38 39 40 58 Next »
Advertisements