Mutual display and hidden Display

Source: Internet
Author: User

"Note: 1. When selecting a single button, the USER-command singleclick can only be in the first batch.

SELECTION-screen begin of block DEV1 with frame title T1.
 
PARAMETERS: pno radiobutton group X1 USER-command singleclick,
Dev radiobutton group X1 DEFAULT 'X '.
SELECTION-screen end of block DEV1.

"2. The modif id + namespace must be attached to the backend of each region, and the name cannot be modified or cited separately.

SELECTION-screen begin of block B1 with frame title text-002.
SELECT-options lgort for MSEG-LGORT modif id lg. "pay-as-you-go billing methods
SELECTION-screen end of block B1.


SELECTION-screen begin of block B2 with frame title text-003.
SELECT-options kostl for MSEG-KOSTL modif id ko. "cost center of non-fixed data generation
SELECTION-screen end of block B2.

"3. During initialization, the region is not selected.

INITIALIZATION.
T1 = 'select the following Select '.
"During initialization, these two interfaces are not displayed
Loop at screen.
IF SCREEN-GROUP1 = 'Ko '.
SCREEN-ACTIVE = 0.
Modify screen.
ENDIF.

ENDLOOP.

"When the screen appears, the root user selects to update the screen display.

At selection-screen output.
Loop at screen.

If pno = 'x '.
IF SCREEN-GROUP1 = 'Ko '.
SCREEN-ACTIVE = 1.
Modify screen.
ENDIF.
IF SCREEN-GROUP1 = 'LG '.
SCREEN-INPUT = 0.
Modify screen.
ENDIF.
Elseif pno is initial.
IF SCREEN-GROUP1 = 'Ko '.
SCREEN-ACTIVE = 0.
Modify screen.
ENDIF.
ENDIF.

ENDLOOP.

2. If you change SCREEN-ACTIVE to SCREEN-INPUT, you can switch between two variables.

Mutual display and hidden Display

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.