Enterprise Resource
Planning Portal

 

Advertise | Founder BLOG

ERPGenie.COM

THE ultimate
ERP website

 

Forums | SAP Top Sites |

Google    Other Search Options

ERPGenie.COM -> SAP Technical -> ABAP -> OK Code Values

Original source: http://abap.mirrorz.com

OK Code Values

R/3 note no. 26171

The design of the R/3 System is such that all programs can be called via menu options. In addition the ergonomic advantages (no need to learn transaction codes), this procedure offers greater security, as the menu path tells the user the work area to which a program belongs. Use of the command field should be limited exceptions. In particular, there is no guarantee that the functionality of the command field is fully supported.

Possible entries are listed below. These are only meant for experts (System administrator). Some of them (for example. "/nex") are dangerous, because they override safety measures. "Normal" users should avoid using the command field at all. It is often easier to call a known transaction with "/nxxxx", but this can be achieved just as simply via a user menu.

Direct call of transactions, session handling:

/nxxxxThis terminates the current transaction, and starts transaction xxxx
/nThis terminates the transaction. This generally corresponds to pressing F15 to go back.
/nendThis terminates all separate sessions and logs off (corresponds to System - Logoff
/nexThis terminates all separate sessions and logs off immediately (without any warning!).
/oxxxxThis opens a new session and starts transaction xxxx in This session.
/oThis lists existing sessions and allows deletion or opening of a new session.
/iThis terminates the current session (corresponds to System End
/i1, /i2,...This terminates the session with the number given.
.xyzwFast path: 'xyzw' refers to the underlined letters in the menus. This type of navigation is uncommon and is provided more for emergencies (such as a defective mouse).

Batch

The following commands can be entered in correction mode ('Process in foreground' or 'Display errors only') when processing a batch input session:

/nThis terminates the current batch input transaction and characterizes it as
/bdelThis deletes the current batch input transaction.
/bendThis terminates batch input processing and sets the session to Failed
/bdaThis switches from Display errors only to Process in foreground
/bdeThis switches from Process in foreground to Display errors only

ABAP/4

/hThis switches into debugging mode.
/hsThis switches into debugging mode and activates the debugging of system functions.

Buffer

WARNING: Resetting buffers can significantly change the performance of the entire system for a long time. It should therefore only be used where there is a good reason to do so. As of release 3.0B system administrator authorization is required (authorization object (S_ADMI_FCD). The action is noted in the system log.

/$SYNCThis resets all buffers of the application server
/$CUAThis resets the CUA buffer of the application server
/$TABThis resets the TABLE buffers of the application server
/$NAMThis resets the nametab buffer of the application server
/$DYNPThis resets the screen buffer of the application server

R/3 note no. 45507

The note summarizes general rules for processing batch input sessions in the foreground.

/*xxxxstarts transaction xxxx and skips the first screen. So, it has the same effect as /nxxxx followed by ENTER.
=xxxxThis entry is still possible for compatibility reasons, but is no longer supported.
%scSearches character patterns in lists
%pcDownloads lists
%priPrints lists

Processing batch input sessions in the foreground is a correction mode. The operator was consciously given more freedom here. You can, for example, branch to other functions and then jump back to the previous screen, data can be edited, data records can be deleted from the session and son. As a result, processing of sessions in the foreground is very sensitive to operating errors. You should therefore always known exactly what you are currently doing. User errors can, in the worst case scenario, cause data loss. The following points are of special importance:

The window size of the SAPGUI should be set to the standard size before processing the session and should not be changed when you process the session. A resize can also cause various errors when processing batch input sessions in the foreground! In the background, the batch input automatically assumes the standard size (22 lines, 84 columns).

If the session in the foreground is processed to find the cause of a termination in the background, only the ENTER key should be pressed to get from screen to screen. The point of termination can really only be found this way.

There are some valid OK codes with which batch input processing can be influenced (/n /bend /bdel /bda /bde; see note 26171).

These OK codes can also be reached via the menu (System Services Batch input).

The keys 'Cancel' F12 or 'Back' or 'Exit' F15 in batch input mean: the transaction has been processed successfully and is deleted (see note 16629). As of Release 3.0F, a dialog box appears with a query before the action is actually executed. However, the following generally applies: only cancel the batch input prematurely via the OK code/bend or via the system menu (System Services Batch input Cancel'). The session then appears under 'Incorrect sessions' in the overview.

 

Contact Us | Polls | Add URL | Contribute | About | Privacy | Terms | Feedback | Help!

Message Board | Discussion Forum | BLOG | Consultants: Post your resume | Companies: Advertise on ERPGenie.COM | Post Job
Financials Consultant | Consultant Review | Gallia Consulting | Supply Chain Project | SAP Financials Forum
GenieHoldings.COM, Inc. | Genie Press | WorkflowGenie | ESAGenie | ERPTopSites | ABAP Tips and Tricks

Searching Survivor