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

list in dialog programming.

Former Member
0 Likes
726

Hi,

can anytone tell me the list in dialog programming.

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
703

You can do this simply by using the LIST TO LIST-PROCESSING statement in the PAI of your dialog program, then have your WRITE statements after this.

Regards,

Rich Heilman

Read only

0 Likes
703

can explain briefly..

Regards,

Thanuskodi T.

Read only

Read only

Former Member
0 Likes
703

try LEAVE to list-processing.

Read only

90070279
Participant
0 Likes
703

In the PAI section for another screen, you can call another screen number and display the text or you can popup the text in a window as done here..

This will call the PBO module of screen 601. In screen 601, there is no PAI so any keystroke simply returns them to the calling screen..

call screen 601

starting at 05 01

ending at 55 15.

module status_0601 output.

set pf-status '601'.

set titlebar '601'.

suppress dialog.

leave to list-processing and return to screen 0.

w-dynnr = '601'.

write:/ 'Sales',

12 'Sales',

19 'Avail',

44 'Open'.

write:/ 'Order',

12 'Line',

19 'Date',

45 'Qty'.

sort t_vbbe by vbeln descending posnr.

loop at t_vbbe.

write:/ t_vbbe-vbeln color col_heading intensified on,

t_vbbe-posnr,

t_vbbe-mbdat,

t_vbbe-omeng.

hide: t_vbbe-vbeln, t_vbbe-posnr, t_vbbe-etenr.

endloop.

clear t_vbbe.

leave screen.

endmodule. " STATUS_0601 OUTPUT

-Tim