如何跳过选择屏幕上的必填字段? [英] How to skip mandatory fields on selection screen?
问题描述
当我点击İptal"按钮时,我希望它跳过必填字段.
I want it to skip mandatory fields when i clicked on 'İptal' button .
但我不想控制没有强制性"的必填字段.我想在屏幕截图等文本框中看到复选标记.
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屋!