SAP ABAP 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 tergonomic advantages (nneed tlearn transaction codes), this procedure offers greater security, as the menu path tells the user the work area twhich a program belongs. Use of the command field should be limited texceptions. In particular, there is nguarantee 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 tcall 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 termiantes 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 tdso. As of release 3.0B system administator 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 nlonger 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 tother functions and then jump back tthe 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 toperating 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 tthe standard size before processing the session and should not be changed when you process the session. A resize can alscause 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 tfind the cause of a termination in the background, only the ENTER key should be pressed tget from screen tscreen. 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 alsbe 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.

转载于:https://www.cnblogs.com/omygod/archive/2007/12/18/1005147.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值