DP_FATAL_ERROR => DpMsAttach: local hostname ‘HOSTNAME’ is resolved to loopback address

Problem Servers seems to start without any problems. Dispatcher and Message Server are green. After trying to log in to the system via SAP GUI, Dispatcher suddenly stops. Analysis Open the following file: “/usr/sap/<SID>/</instance/work/dev_disp“ (find more information about this file here). When having this file opened, search for “ERROR” string. Here the error which I have found in...

The most important information for SAP Netweaver troubleshooting

The most important information for SAP Netweaver troubleshooting, are called developer traces. This information may be helpful to you when you are running your SAP Netweaver Trial system and you are having issues, e.g. during startup of SAP server. Where to find out what is going on? Read further: [sociallocker id=1191] The most important pieces of information while...

How to put table contents into transport?

How to put table contents into transport? Here is step by step guide on how to do it. If you are in the view of transport objects in SE09 transaction, just manually add rows containing: Program ID: R3TR Object Type: TABU Object Name: Database table with content, which you want to transport Then hit Key button, to choose which data...

How to download records from database table into CSV file?

When you need to download records from database table into CSV file, you need to tweak a bit around to get the final file, because SAP does not provide straightforward function on how to do it. So, how to download records from database table into CSV file? Here is how you do it. [sociallocker id=1191] Go to SE16...

How to change record in database table using debugger?

Sometimes you need to change specific database record but you don’t have ability to edit record in database directly using edit button, because database table has defined Delivery and Maintenance parameter to ‘Display/Maintenance Not Allowed’. In such case you can do the small hack using Debugger. How to change record in database table using debugger? [sociallocker id=1191] Go...

Extend system value causing TIME_OUT runtime error

Do this only when you are allowed to do so, or you are on your own SAP trial system and you want to play around with system variables. There is a system parameter called ‘RDISP/MAX_WPRUN_TIME‘, which holds the value. To change it, follow these steps: [sociallocker id=1191] Go to transaction RZ11. Put ‘rdisp/max_wprun_time’ into Param. Name input...

TIME_OUT ABAP Programming Error

Whenever ABAP program is executed for more than certain period of time, you may get the following runtime error. Category: ABAP Programming Error Runtime Errors: TIME_OUT When does it happen? If you run ABAP program typically by pressing F8 either in SE80 or SE38 (in foreground). What does it mean? SAP has defined system parameter which says that you...

Index is not Used in SELECT

If you realize that index is not used in select, you need to force database to use it. For this, you need to use database hints in your code.  Hints depend on database server. In the following example, here is how to force database to use index when using SAP Trial system (with MaxDB): SELECT *       FROM zaa_bd_wpo_vol...

How to Run ABAP Program in Background Manually? (Easy Way)

Sometimes your program may contain logic that must run long time. In such case, you can’t easily run it by pressing ‘Execute’ program, because SAP has defined maximum number of seconds that is able to run any programs this way (it’s called foreground processing). In such case, you must execute the program differently. You have...

How to Run ABAP Program in Background Manually?

Sometimes your program may contain logic that must run long time. In such case, you can’t easily run it by pressing ‘Execute’ program, because SAP has defined maximum number of seconds that is able to run any programs this way (it’s called foreground processing). In such case, you must execute the program differently. You have...