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 by Sai Subramanyam
67 articles
Convert CHAR to HEX in SAP system and functions
When working with SAP systems, converting character data to hexadecimal format is a common requirement. However, developers often encounter exceptions when using standard conversion functions due to data type compatibility issues. Understanding CHAR to HEX Conversion Issues When attempting to use standard conversion functions, you may encounter exceptions. Based on system dump analysis, only character type data objects are compatible with most conversion functions. This limitation requires using specific function modules designed for data type conversion. Using CRM_EI_KB_CONV_DEC_TO_HEX Function Module For ECC 6.0 environments, you can utilize the function module 'CRM_EI_KB_CONV_DEC_TO_HEX' which converts decimal values to ...
Read MoreRecovery database SBO-COMMON in SAP Business One
In SAP Business One, SBO-Common is a system database that serves as a central repository for managing and tracking your company databases. While normal day-to-day business functions operate entirely within the company database, SBO-Common handles the administrative and structural aspects of your SAP Business One environment. The SBO-Common database acts as a master database that maintains critical system information and ensures proper coordination between different company databases in your SAP Business One installation. What SBO-Common Database Contains The SBO-Common database stores essential system information − DB List − Complete list of databases ...
Read MoreEdit report generated from SAP Crystal Reports
In SAP Crystal Reports, it is not feasible to directly edit a report once it has been generated. The generated reports are read-only by default, and you cannot add constraints or logic to make your report editable in the standard Crystal Reports viewer. Workaround Solution However, there is a practical workaround that involves exporting the report and then modifying the document properties. Here's the approach − Step-by-Step Process Step 1: First, export the generated Crystal Report to your desired format (such as ...
Read MoreUsing ABAP, changing a value in itab by getting data from database table
You should do this using a MODIFY statement as shown below − LOOP AT itab. SELECT SINGLE matnr INTO itab-matnr FROM zlldet WHERE palet = itab-palet. MODIFY itab. ENDLOOP. Also note that when you have an internal table itab with a header line, it means that you have a table itab and structure itab and usage of this depends on the situation. Few of the commands like MODIFY and LOOP AT use both at the same time. Modern Approach Without Header Line ...
Read MoreDynamically creating parameters from table entries in SAP system
Note that parameter statement compiles into selection screen at compile time, so it is not possible to declare dynamic parameters as traditionally expected. The parameter definitions must be known at design time. An alternative approach is to load the dynpro (dynamic program) and change the screen dynamically at runtime. This involves modifying the screen elements programmatically, then activating and running the report that calls the changed screen. This same approach is used in T-code SE16 to generate a selection screen dynamically from any table structure. The system reads the table's field definitions and creates corresponding input fields on ...
Read MoreReplace Tab with space in SAP ABAP
In SAP ABAP, replacing tab characters with spaces is a common requirement when processing text data. You just need to make a small change by adding an "If condition" for handling the tab character as shown below − Method To replace tab characters with spaces, you need to check if the field contains the tab character using the CO (Contains Only) operator and a hexadecimal constant − if CO gc_hex_char Complete Example Here's a more complete implementation showing how to replace tab characters with spaces − DATA: lv_text TYPE string, ...
Read MoreComparing SAP ABAP Field symbols and data reference with Pointers in C
Field symbols resemble pointers in C but there is one main difference: you can use field symbols only to access the values present in them but not the memory address. Similar to a pointer in actual implementation, a field symbol stores the memory address of the variable that was assigned to it. You can see the data held by the variable but you cannot fetch the memory address. Similar to a pointer, if you make changes to data referenced by field symbol, it changes the value at the original location too. ...
Read MoreWhat is constructor chaining in Java?
Constructors are similar to methods but, They do not have any return type. The name of the constructor is same as the name of the class. Every class has a constructor. If we do not explicitly write a constructor for a class, the Java compiler builds a default constructor for that class. Each time a new object is created, at least one constructor will be invoked. A class can have more than one constructor. this() and super() are used to call constructors explicitly. Where, using this() you can call the current class’s constructor and using super() you can ...
Read MoreHow to set the width of an element's border with JavaScript?
To set the width of an element’s border in JavaScript, use the borderWidth property. Set the width using this property. You can try to run the following code to learn how to set the width of an element’s border − Example Live Demo #box { border: thick solid gray; width: 300px; height: 200px } Demo Text Change border width function display() { document.getElementById("box").style.borderWidth = "thin"; }
Read MoreHow to set outline color with JavaScript?
To set outline color, use the outlineColor property in JavaScript. You can try to run the following code to learn how to implement outlineColor property − Example Live Demo #box { border: 2px solid red; } Demo Content Change outline color function display() { document.getElementById("box").style.outlineColor = "#FF5733"; document.getElementById("box").style.outline = "2px solid"; }
Read More