Search This Blog

Thursday, May 7, 2020

Need for Customer Exits when User Exits were available

  • User Exits are subroutines.

  • In the earlier days for writing code inside a user exit, customer needed to register that object with SAP to obtain an access key and then write their own logic inside that subroutine, however this is not the case now.

  • Customer Exits are function modules with a custom include inside them.

Monday, May 4, 2020

Selection Screen Tabs in Executable Programs

Create Tab Strips in Executable Programs in ABAP :



Follow the below steps -

  • Declare the tabs as subscreens

Saturday, May 2, 2020

COMMIT inside a BADI Implementation

Commit work in BADI Implementation is not advisable as it can lead to process inconsistencies.

  • COMMIT WORK will end the Logical Unit of Work (LUW) and a new LUW will begin.

  • COMMIT WORK will clear/refresh the buffers.


Monday, April 27, 2020

Debugging a Background Job

  • In the Job Overview transaction SM37, select the job that has finished and enter jdbg in the command field. The Debugger will start. It will simulate the exact scenario with the same selection screen values, and the system variable SY-BATCH will be set to X (abap_true).


Differences between the Classic and the New ABAP Debugger

  • The new ABAP Debugger is executed in its own external mode, while the application which is being debugged (debuggee) uses a different mode. This is two tier architecture that is the new debugger is displayed in its own GUI window. The debuggee is inactive while the debugger is active and vice versa that is debugger remains available in inactive mode when the program displays its final output. The debugger does not close while the application which is being debugged is still alive.

Sunday, April 26, 2020

SAP Gateway Client /IWFND/GW_CLIENT Transaction Error - User no longer logged on

When trying to execute transaction /IWFND/GW_CLIENT or any other transactions in /IWFND/ namespace, many users get an error message 'User no longer logged on'.



It is believed that this problem is in older SAP GUI versions but as you can see in the image above, the error is there even in GUI version 760.

Solution