如何在选择屏幕上跳过必填字段? [英] How to skip mandatory fields on selection screen?

查看:82
本文介绍了如何在选择屏幕上跳过必填字段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我单击İptal"按钮时,我希望它跳过必填字段.

I want it to skip mandatory fields when i clicked on 'İptal' button .

但是我不想在没有"b强制"的情况下控制必填字段.我想在诸如屏幕截图之类的文本框中看到复选标记.

But i don't want to control mandatory fields without "obligatory" . I want to see check mark in textboxes like screenshot.

通常,在没有必填字段时,İptal"按钮会调用其他屏幕.

Normally 'İptal' button calls a different screen when there is no mandatory fields.

注意:屏幕是标准选择屏幕.

Note: Screens are standard selection screens.

推荐答案

我解决此问题的方法不是使字段在布局中是必填项,而是在您的代码中创建一些条件示例,我将输入输出字段称为ekpo-ebeln:

the way that I have solved this not to make the fields obligatory in the layout but in your code to create some conditions example I have my input output field called ekpo-ebeln:

 IF ekpo-ebeln IS INITIAL.
    CASE ok_code.
      WHEN 'EXIT'.
        LEAVE PROGRAM.
      WHEN 'BACK'.
        CALL SCREEN 100.
    ENDCASE.
    MESSAGE 'Fill both of the fields' TYPE 'I'.

这解决了我的问题,并且有效!

this solved my problem,and it works!

这篇关于如何在选择屏幕上跳过必填字段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆