Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Articles on Trending Technologies
Technical articles with clear explanations and examples
Is it possible to delete the actives while you are running a loop over an internal table in SAP ABAP?
The DELETE command will have a result. You should make sure that once you delete the row, there should not be any reference or use of that row subsequently in the loop. The best practice is to use CONTINUE as soon as you perform deletion. Best Practices for Deleting Records I suggest avoiding "DELETE lt_itab INDEX sy-tabix" because it will change the sy-tabix (table index) and can lead to unexpected behavior. When you delete a row, all subsequent rows shift up, making the index unreliable for the ...
Read More\\\\\\\\nParsing IDoc files to extract information from SAP system
There are few third party libraries which can be used to perform this task however they involve some cost. The best way here is to use an SAP Connector. SAP Connectors are available for almost all prevalent programming languages like Java, C#, Python. You can program against these connectors and read data from IDoc. You can do many things with these connectors from reading data to converting them to flat files for further usage. Using Java Connector for IDoc Parsing I have used ...
Read MoreWhat is ABAP? Explain ABAP OOP feature in detail?
ABAP stands for Advanced Business Application Programming. It is one of the primary programming languages used for developing programs and applications for SAP R/3 systems and its related modules. It is a high-level language with respect to SAP as it is understood and known only to SAP environment. The latest version of ABAP which is ABAP Objects follows Object Oriented paradigm. Also, it is fully backward compatible with applications written in previous versions of ABAP whether it is ABAP/4 or other which were highly impressed by COBOL. ...
Read MoreUsing SAP T-code SM37 to check background jobs in SAP system
In SM37 you can only see the scheduled background jobs as it is not used for foreground jobs. This transaction code is essential for monitoring and managing batch processes that run behind the scenes in your SAP system. Accessing SM37 Transaction To access the background job monitoring screen, enter SM37 in the SAP command field and press Enter. Below shows the initial screen of SM37 Transaction code − Key Features of SM37 ...
Read MoreUsing Aggregate function to fetch values from different tables in SAP
When working with SAP databases, you often need to retrieve data from multiple related tables while handling duplicate or varying descriptions for the same entity. Aggregate functions provide an effective solution for consolidating data and selecting specific values when joins result in multiple records. If your query returns different descriptions for the same fund and you want to keep any one description, you can use aggregation functions like MIN() or MAX() to select a single value from the duplicates. Using MIN() Aggregate Function The following example demonstrates how to use the MIN() aggregate function to fetch fund ...
Read MoreInserting an Array to a table in SAP HANA database
As far as I know, there is no direct way of inserting an Array using SQL query in SAP HANA. You will first have to combine the columns (EMPL_Id + Skill Id) using the code and then do a bulk insert to the database. Array to Table Insert Methods In SAP HANA, when you need to insert array data into a table, you have several approaches to handle this limitation − Method 1: Using UNNEST Function The UNNEST function can convert an array into individual rows, which can then be inserted into a table − ...
Read MoreEdit an ABAP Program using Transaction SE93, SE80
You need to go to SE93 and input your transaction code. It will display the program name behind your transaction code. You can edit the programs using SE80 and SE38 transaction codes. Using SE93 to Find Program Name Transaction code SE93 is used to maintain transaction codes and find the associated program names. This is the first step to identify which program you want to edit. Below shows Transaction code SE93 − Editing ABAP Programs Using SE80 − ABAP Development Workbench Transaction Code SE80 opens the ABAP ...
Read MoreViewing field names or tables names of the forms in SAP Business One
It is possible that the older version of SAP B1 may not show you all the fields of all the forms. If you have the latest version, you should be able to see the data sources that are mapped to given field. You need to open the forms in SAP Business One Studio. There are a couple of methods to view fields. Method 1: Using SAP Business One Studio Integration This method allows you to directly edit forms from within SAP Business One using the integrated Visual Studio environment ...
Read MoreCalling a JAVA method through JavaScript in SAPUI5 project
Create a REST service hosted on a server and place java method inside it. Now you can call this REST service from a SAPUI5 application using AJAX by passing required parameters. Understanding the Architecture In SAPUI5, you cannot directly call Java methods from JavaScript. Instead, you need to expose your Java functionality through a REST API that acts as a bridge between your frontend SAPUI5 application and backend Java services. SAPUI5 App REST Service Java ...
Read MoreCreating a variable with dynamic variable type in SAP ABAP
You can use RTTS (Run Time Type Services) related API to create a standard table like RANGE which has components like LOW, HIGH, SIGN, and OPTION. This technique allows you to dynamically create variables with types determined at runtime. Variable Declarations First, declare the necessary variables and references for dynamic type creation − DATA: rr_data TYPE REF TO data, rt_range_string TYPE RANGE OF string, ...
Read More