leave screen & suppress dialog

首先无语。在网上gg了一两天,发现都是copy来copy去的资料。看了半天都看不明白。

自己去sap Library看!五分钟就看明白了。毛病吗?!

另外说,SAP workbench本身自带的help怎么也解释地云里雾里。

 

两个概念 the dialog processor & the list processor,list是没有screen的。

 

LEAVE TO LIST-PROCESSING [AND RETURN TO SCREEN <nnnn>].

 

以上是用来 To pass control from the dialog processor to the list processor。

 

看看sap的recommended procedure:

 

  1. First, use the
    LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.

    statement to call the list display at the end of the screen, and to ensure that, after leaving the list, you return to the point from which the screen was called.
  2. Next, set a GUI status for the list; for example, the default list status SPACE or a list status of your own.
  3. Use one of the following statements to ensure that the empty screen is not displayed:

    SUPPRESS DIALOG.

    or

    LEAVE SCREEN. Instead, the list is displayed immediately at the end of the screen.
  4. Now define the entire basic list, and place any necessary data in the HIDE area.

 

 

leave screen

 

The LEAVE SCREEN statement ends the current screen and calls the subsequent screen. The next screen is either the static next screen or a dynamic next screen .

 

静态下一个屏幕是在设计时field里写死的。

动态可以:

SET SCREEN Next Screen.
LEAVE SCREEN.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值