radhakrishna

radhakrishna

62 Articles Published

Articles by radhakrishna

62 articles

Getting Error while calling XBP Function Module via SAP.net connector

radhakrishna
radhakrishna
Updated on 13-Mar-2026 169 Views

When calling XBP Function Modules via SAP .NET connector, you may encounter session-related errors. This typically happens because XBP functions require maintaining a consistent session context throughout the execution. Solution Using JCoContext Note that you need to execute function calls in a single session, so you have to wrap your logic into JCoContext. The JCoContext ensures that all function calls within the block use the same SAP session, which is essential for XBP operations that depend on session state. Example Implementation Try using the below method − try { JCoContext.begin(destination); ...

Read More

Sorting an already sorted internal table in ABAP

radhakrishna
radhakrishna
Updated on 13-Mar-2026 2K+ Views

When working with internal tables in ABAP, sorting performance can be optimized by understanding how sorting affects subsequent operations. If you leave the second sort operation, it would be quicker as the internal table (itab) will already be in the right order. Sorting and Binary Search Example Consider the following example where we sort by multiple fields and then perform binary searches − SORT itab BY f1 f2 f3. READ TABLE itab WITH KEY f1 = 'A' f2 = 'B' ...

Read More

How to join tables in SAP system

radhakrishna
radhakrishna
Updated on 13-Mar-2026 1K+ Views

If you want to check the relation between different tables, you need to have a minimum read-only access to SAP system. Table joins in SAP allow you to combine data from multiple related tables based on common fields. Dictionary Structure Reference Below is the link to refer information about dictionary structure − https://help.sap.com/saphelp_46c/helpdata/en/ea/e9a3bb4c7211d189520000e829fbbd/frameset.htm Common Table Join Methods in SAP There are several ways to join tables in SAP system − ...

Read More

Finding where-used list of SAP standard programs

radhakrishna
radhakrishna
Updated on 13-Mar-2026 1K+ Views

You would need to run SAPRSEUB to enable the where-used functionality for standard SAP programs. This report generates comprehensive indices that help you track program dependencies and references throughout your SAP system. Please note that this program runs for a considerable amount of time and requires significant disk space. SAPRSEUB is a standard Executable ABAP Report available within your SAP system that creates where-used lists for all programs in the system. Related SAP Reports Several reports work together to maintain program references and object lists − SAPRSEUB − Generate Where-Used List (For ...

Read More

Best option for locking bulk user accounts in SAP

radhakrishna
radhakrishna
Updated on 13-Mar-2026 4K+ Views

As you need to do mass maintenance involving user locking and unlocking, you can opt for using SU10 transaction. This is the most efficient method for bulk user account management in SAP systems. You can also access this from SAP Menu by navigating to this path − Tools → Administration → User Maintenance → User mass maintenance In SAP system, you have different transactions under User Maintenance that you can use for different purposes. ...

Read More

Changed SAP password not working while resetting using BAPI

radhakrishna
radhakrishna
Updated on 13-Mar-2026 440 Views

You are using the structure Password for resetting the password. It is of type BAPIPWD and comprises of a field which is again named as BAPIPWD. When you need to reset the password, you need to specify the correct field name instead of password. The issue occurs when developers incorrectly reference the structure or use wrong field names in the BAPI call. Solution To properly reset the password using BAPI, you must correctly reference the password structure and set the value using the appropriate field name. Here's the correct implementation − JCO.Structure structPassword = userChangeInput.getStructure("PASSWORD"); ...

Read More

Identify the qualification and Employee relationship table in SAP system

radhakrishna
radhakrishna
Updated on 13-Mar-2026 469 Views

In SAP systems, qualification and employee relationship data is distributed across multiple tables rather than stored in a single location. Understanding these table relationships is crucial for HR data management and reporting. Primary Tables for Qualifications Qualifications in SAP are stored as object type 'Q' in the Personnel Development (PD) tables. The main tables involved are − HRP1000 − Stores qualification master data with object type 'Q' HRP1001 − Captures the relationship between qualifications and employees HRPAD31 − Contains qualification ratings and assessment data ...

Read More

Distinguish SAP ABAP code between clients

radhakrishna
radhakrishna
Updated on 13-Mar-2026 338 Views

In SAP ABAP, you can distinguish code execution between different clients by using the system field sy-mandt. This field contains the current client (mandant) number and allows you to implement client-specific logic in your programs. Using sy-mandt for Client Identification The sy-mandt system field is automatically populated with the current client number when a user logs into the system. You can use this field in conditional statements to execute different code blocks based on the client − IF sy-mandt = '002'. * do ...

Read More

How do we upload external file on a website using HTML forms?

radhakrishna
radhakrishna
Updated on 11-Mar-2026 5K+ Views

If you want to allow a user to upload an external file to your website, you need to use a file upload box, also known as a file select box. This is also created using the element but type attribute is set to file.ExampleYou can try to run the following code to upload an external file to your website −           File Upload                                   Here are the attributes of the file upload box −Sr.NoAttribute & Description1nameUsed ...

Read More

How to get last 4 characters from string in\\nC#?

radhakrishna
radhakrishna
Updated on 11-Mar-2026 3K+ Views

Firstly, set the string −string str = "Football and Tennis";Now, use the substring() method to get the last 4 characters −str.Substring(str.Length - 4);Let us see the complete code −Exampleusing System; public class Demo {    public static void Main() {       string str = "Football and Tennis";       string res = str.Substring(str.Length - 4);       Console.WriteLine(res);    } }Outputnnis

Read More
Showing 1–10 of 62 articles
« Prev 1 2 3 4 5 7 Next »
Advertisements