SELECT Screen finishing 2 reprint

Source: Internet
Author: User

(4)Selection-screen INCLUDE (invokes a screen element that already exists)
Create a reference to an already defined screen element, such as the following code:

Pager Screen 1234.

*parameters matnr like Mara-matnr.
*call selection-screen 1234. The Call Subform

selection-screen BEGIN of screen 1111.
selection-screen BEGIN of BLOCK block1 with FRAME TITLE text-w01.
select-options SELO for sy-repid.
selection-screen Uline. the line break
PARAMETERS PARO.
selection-screen END of BLOCK block1.
selection-screen END of screen 1111.

selection-screen BEGIN of screen 1234.
selection-screen INCLUDE BLOCKS block1.
selection-screen END of screen 1234.
The program run interface is as follows:

(5)Selection-screen Uline
the horizontal line must be used in block to be effective.

(6)Selection-screen SKIP N
generates a newline in the block.

(7)Selection-screen POSITION Pos
creates a space in the block.

(8)Selection-screen BEGIN of line.
......
Selection-screen END of Line.
controls the resulting screen element on one line.

(9)At Selection-screen
Is PAI processing, select screen display, used to respond to carriage return, F8,F1,F4 and other events.
(1) Select the screen event, where the variable declared here is a local variable.
(2) Check Sy-ucomm to determine the user command.
(3) In this event response, the screen field can be validated, etc., but the selection screen cannot be modified.
Divided into the following areas:
... On <field>:
This syntax is used to control the error handling of screen element input, check whether the specific input field (selection-options or parameters) is complete or correct, if the input is wrong or does not meet the conditions, other screen elements will become gray, do not accept input until the field is entered correctly.
... On value-request for <field Low/high>:Select-options The event is triggered by selecting Help <F4> keys.
... On help-request for <field low/high>: Selection-options Press the Select Help <F1> key when the key is sent to the event.
... On RADIOBUTTON GROUP <radio>: radio button event, the overall input check must be performed.
... On BLOCK <block>: trigger event of the frame (input of the value of the screen element in the control frame).
... Output: the control of the value of each screen element for screen output (PBO processing is called before the selection screen is displayed, the event on the screen is called, the user Returns or F8, and the selection screen field can be modified by modify screens).
... On Exit-command: used to respond to events such as "Back", "Cancel", "EXIT" and so on.
[For Example]

Select-options SEL0For SY-TVAR0.
Selection-screenBEGINOfBLOCK BL0.
Select-options SEL1For SY-TVAR1.
Selection-screenBEGINOfBLOCK BL1.
PARAMETERS P1RADIOBUTTONGROUP RAD1.
PARAMETERS P2RADIOBUTTONGROUP RAD1.

Selection-screenBEGINOfBLOCK BL2.
PARAMETERS P3.
Selection-screenENDOfBLOCK BL2.
Select-options SEL2For SY-TVAR2.
Selection-screenENDOfBLOCK BL1.
Selection-screenENDOfBLOCK BL0.

At Selection-screen on SEL1.
at selection-screen on RADIOBUTTON GROUP RAD1.
at selection-screen on P3.
at selection-screen on BLOCK BL1.
At selection-screen on BLOCK BL2.

SELECT Screen finishing 2 reprint

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.