Found 92 Articles for ABAP

Use decimal in where clause in SAP ABAP

karthikeya Boyini
Updated on 14-Feb-2020 10:05:41

122 Views

You are trying to use the user-specific setting in your queries, but ABAP does not support it. You need to use ‘.’ as the decimal separator instead of ‘,’.So the query would look something like −SELECT * FROM INTO WHERE amount = 10.15

Declare dynamically in SAP ABAP

Monica Mona
Updated on 14-Feb-2020 08:25:23

556 Views

I think for your implementation, you can declare an internal table in a dynamic manner.DATA:  tbl_TEST TYPE REF TO DATA. FIELD-SYMBOLS: < tbl_TEST > TYPE STANDARD TABLE CREATE DATA tbl_TEST TYPE (Received_Type) ASSIGN tbl_TEST TYPE ->* to < tbl_TEST TYPE >

Using logarithm in SAP ABAP

Swarali Sree
Updated on 10-Dec-2019 07:46:01

438 Views

Yes, there is a log function. You can use it to implement your requirement.Here is a code snippet which might be of some help for your implementation.DATA:  NUMBER  TYPE INT,        BASE TYPE INT,        RESULT  TYPE FLOATLet’s say:Number=16 BASE=4 RESULT= log(NUMBER)/log(BASE)RESULT will be 2.

Use workbench along with SAP Business One

Sharon Christine
Updated on 30-Jul-2019 22:30:20

278 Views

The answer is No. Workbench is not present in business one. The reason being the core of business one is not based on ABAP or NetWeaver.Business one relies heavily on SQL. It has a SQL database and you can write queries for fetching data. These data are then used for creating reports.But When you analyze business one with ABAP, the extension capabilities are very little in business one as available in ABAP.But you have other options for achieving the same; you can integrate with either JAVA or .NET using their connectors for writing your custom requirements.

SAP Associate Level Exam preparation

Sharon Christine
Updated on 13-Jun-2020 14:45:10

74 Views

First, let me make your core basics clear.When you are referring to SAP ECC, you are referring to SAP ERP Central Component which is more or less equivalent to the prior SAP R3 System.  ABAP does not play any much part over here.But ABAP resides in the kernel of SAP which is referred to SAP BASIS.Speaking about your pointers for referenceHorst Keller - ABAP objects (For ABAP)Help.SAP.com  - (overall SAP)SAP ECC 6.0 Black book Then there are blogs, Q&A, and other online help always available. You can start from anywhere and when you move along, you will discover online assets as ... Read More

Source code of ABAP reports without restriction

Sai Subramanyam
Updated on 14-Feb-2020 08:00:24

318 Views

If you have to use RFC, you can write RFC enabled function module. You can write a new FM that allows you to retrieve program source code. To start with, you need to create a structure as shown in below and based on which you have to create a table type. This table can be passed to a RFC function.Here shows a table type that you can use in Function Module:Next step is to create a function module with RFC-enabled. You have to pass parameters while creating function module.function zsrcex_extractor . *"---------------------------------------------------------------------- *"*"Local Interface: *"  IMPORTING *"     VALUE(PACKAGE_SIZE) ... Read More

What should I install to start learning SAP ABAP?

Samual Sam
Updated on 30-Jul-2019 22:30:20

212 Views

SAP NetWeaver is a Java-based stack and its developer edition is available.https://www.sap.com/developer/trials-downloads.htmlIn SAP system, Function modules are like web services. They are used to expose the structure of the data dictionary or to expose business objects.Function modules are sub-programs that contain a set of reusable statements with importing and exporting parameters. Unlike Include programs, function modules can be executed independently. SAP system contains several predefined function modules that can be called from any ABAP program. The function group acts as a kind of container for a number of function modules that would logically belong together. For instance, the function modules ... Read More

Installing free version of SAP ERP to learn ABAP

usharani
Updated on 30-Jul-2019 22:30:20

1K+ Views

You can install a free trial from SAP site, but for that, you require an SAP Partner ID. SAP also provides developer trial and you can install the following link:https://www.sap.com/developer/trials-downloads.htmlThe SAP NetWeaver Application Server ABAP comes with a temporary license that allows you to logon to the system. As a first step before using the system, you need to install a 90 days Minisap licenseYou can see all SAP NetWeaver AS ABAP version available for download, Installation Procedure and How to Guide as well.You can also refer to this link to know about license terms, PAM and other details related ... Read More

Sorting an already sorted internal table in ABAP

radhakrishna
Updated on 14-Feb-2020 08:06:16

2K+ Views

If you leave 2nd sort, it would be quicker as itab will be there in right order.SORT itab by f1 f2 f3. READ TABLE itab WITH KEY f1 = 'A'    f2 = 'B'    f3 = 'C' BINARY SEARCH. READ TABLE itab WITH KEY f1 = 'A' BINARY SEARCH.When 2nd READ TABLE is by f2, you should leave the SORT and BINARY SEARCH as well. In best case scenario, SORT + BINARY SEARCH speed is n+log(n).Also note that worst case of sort is n log n.

Moving TABKEY from CDPOS table into field structure in ABAP

mkotla
Updated on 30-Jul-2019 22:30:20

276 Views

I would suggest you make use of Function Module CHANGEDOCU_KEY_ANY2CHAR and other FM’s of function group SCD8. This function module performs the reverse function.Function Module: CHANGEDOCU_KEY_ANY2CHARFunction Group: SCD8Program Name: SAPLSCD8You can refer this SAP link to see all Function modules available and their description under this Function Group:https://help.sap.com/viewer/c14d25a8f471453590980dbb47a2aa0e/7.40.15/en-US/48d8fd10f63a3e49e10000000a421937.html

Advertisements