The sequence of event processing for the selection screen of the ABAP-SAP

Source: Internet
Author: User
The sequence of event processing for the selection screen of the ABAP-SAP

I. processing sequence diagram

Ii. handling instructions

1,ProgramFirst, execute the initialization event;

2. Execute the at selection screen output event (PBO). In this event, you can modify some properties of the screen by modifying the default screen table;
Parameters: test1 (10) modif ID SC1,
Test2 (10) modif ID SC2,
Test3 (10) modif ID SC1,
Test4 (10) modif ID SC2.
At selection-screen output.
Loop at screen.
If SCREEN-GROUP1 = 'sc1 '.
Screen-intensified = '1 '.
Modify screen.
Continue.
Endif.
If SCREEN-GROUP1 = 'sc2 '.
Screen-intensified = '0 '.
Modify screen.
Endif.
Endloop.

3. The system outputs the screen to the user end to perform interactive operations. That is, Pai processing, which is divided
3.1 field at selection-screen on XXXX.
Report event_demo.
Nodes spfli.
At selection-screen on city_fr.
If CARRID-LOW EQ 'A' and city_fr ne 'New Benjamin '.
Message e010 (HB ).
Endif.
3.2 area at selection-screen on block XXXX.
Report event_demo.
Selection-screen begin of block Part1 with frame.
Parameters: number1 type I,
Number2 type I,
Numbe R3 Type I.
Selection-screen end of block part1.

Selection-screen begin of block Part2 with frame.
Parameters: number4 type I,
Number5 type I,
Number6 type I.
Selection-screen end of block part2.

At selection-screen on block part1.
If Number3 lt number2 or
Number3 lt number1 or
Number2 lt number1.
Message e020 (HB ).
Endif.

At selection-screen on block part2.
If number6 lt number5 or
Number6 lt number4 or
Number5 lt number4.
Message e030 (HB ).
Endif.

3.3 screen at selection-Screen
In this event, you can check the integrity of user input.
If an error occurs during Pai processing, the system returns to the screen and requests the user to re-enter it;

4. When all Pai instances are executed, the start-of-selection event is executed.

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.