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: Screen size ?

Former Member
0 Likes
872

Hi,

I have a screen 0105, which has a command "leave to list processing" to call list.

Now the list assumes the same size as 0105 because that is the parent.

Now, I want the list to be bigger in size. Screen 0105 is 4017. I want the list to be 13217. So my question is, is there any way I can actually change the size of the list without changing the dimensions of the screen 0105.

Regards,

Prashanth.

6 REPLIES 6
Read only

Former Member
0 Likes
721

U can change

REPORT ZTEST NO STANDARD PAGE HEADING

<b> LINE-SIZE 0

LINE-COUNT 65(increase line-count)

MESSAGE-ID ZM</b>.

Also check in F1 docu

LEAVE TO LIST-PROCESSING.

Addition:

... AND RETURN TO SCREEN scr.

Effect

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.

Notes

After switching to list processing mode with SET PF-STATUS ..., you are recommended to define a GUI (Graphical User Interface) of type List or List in dialog box.

Please consult Data Area and Modularization Unit Organization documentation as well.

Addition

... AND RETURN TO SCREEN scr.

Read only

0 Likes
721

Thanks Judith.

But this statement is called from a Module Pool program.

So which report is it calling. Actually I have no report.

I think if it were to be called from a report (whihc also has screens), it makes sense. But from a Module Pool ???

Can u throw some light ?

Read only

0 Likes
721

Here is a sample program what u want check this out

http://www.sapgenie.com/abap/code/abap24.htm

Also check this one

http://help.sap.com/saphelp_46c/helpdata/en/9f/db9d2f35c111d1829f0000e829fbfe/content.htm

http://www.sap4.com/codigo-146.html

Please reward points for helpful answers.

Read only

0 Likes
721

Thanks for the links Judith. I ahve already gone thro the sap docu.

See this..

In Func Group CV117, Check include LCV117F08.

Last few lines...

U will understand the scenario better.

The starting point is not a report program at all, unlinke the example programs...

Infact there is no report program at all involved !!!

Prash.

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
721

Hi,

I am not sure,but try it in attributes of the screen.In the screen,check the other attributes tab.In that , Lines/columns Mainten , change it.

Read only

0 Likes
721

Jayanthi,

If I were to change the dimension of the screen, it will work fine. But the idea is, I dont want to do this.

In Func Group CV117, Check include LCV117F08.

Last few lines...

IF gf_d105_list_flag = 'X' AND NOT gt_d105_protocol[] IS INITIAL.

SET PF-STATUS space.

LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN '0105'.

LOOP AT gt_d105_protocol INTO ls_prot.

WRITE: / ls_prot-line.

ENDLOOP.

ENDIF.

ENDFORM.