Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Leave to list-processing

Former Member
0 Likes
1,058

Hello,

Can anybody Please tell me how to use

"LEAVE TO LIST-PROCESSING" in Dialog Programme.

Regards,

Rushikesh

1 ACCEPTED SOLUTION
Read only

dani_mn
Active Contributor
909

Switches from "dialog processing" (module pool, screens) of the current transaction to "list processing". You can then use all the usual list layout commands (WRITE, SKIP, ...).

After leaving the current screen, the list formatted in this way is displayed implicitly or explicitly by LEAVE SCREEN. Here, all list programming options are possible, e.g. line selection, F keys, windows.

LEAVE LIST-PROCESSING continues with "Processing Before Output" (PBO) of the screen which controls the list processing.

Regards,

Wasim Ahmed

6 REPLIES 6
Read only

Former Member
0 Likes
909

Where you want to switch to the LIST processing use the statement LEAVE TO LIST-PROCESSING.

After this, you have the entier report / write statements.

Regards,

Ravi

Read only

Former Member
0 Likes
909

Hi rushikesh,

1. Normally in a module pool programming,

we cannot use WRITE statements to show some list data.

2. In that case we have to use

LEAVE TO LIST-PROCESSING.

(so that all WRITE statements are displayed on screen)

regards,

amit m.

Read only

Bema
Active Participant
Read only

Former Member
0 Likes
909

Hi,

when you want to show the Report using write statements from the Module pool program then you have to use <b>LEAVE TO LIST-PROCESSING</b>, and you can use write statements to show the report.

Regards

vijay

Read only

dani_mn
Active Contributor
910

Switches from "dialog processing" (module pool, screens) of the current transaction to "list processing". You can then use all the usual list layout commands (WRITE, SKIP, ...).

After leaving the current screen, the list formatted in this way is displayed implicitly or explicitly by LEAVE SCREEN. Here, all list programming options are possible, e.g. line selection, F keys, windows.

LEAVE LIST-PROCESSING continues with "Processing Before Output" (PBO) of the screen which controls the list processing.

Regards,

Wasim Ahmed

Read only

Former Member
0 Likes
909

Hello ...

In module pool programming, statements like WRITE, SKIP etc. are not allowed, so in case you want to display some list, you can use LEAVE TO LIST-PROCESSING and WRITE the data. So it is used when you want to switch from "module pool" to "list processing".

You can use LEAVE LIST-PROCESSING which brings your control back to PBO of the screen.

Regards,

Richa.