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

Problem in screen list output

Former Member
0 Likes
1,321

HI Friends,

I am modifying one of the module program, where I have internal table with 3 fields and now as per requirement I added fourth field. At output it is showing data for all four fields but in header it is showing 3 fields only.

I tried to find out where this header is coming, so that I can change there and add fourth column, but there is no syntax like top-of-page, or any write statement in program.

Any idea how to find where this header data is coming.

Thanks

Priyank

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,299

i think they used in table control in module pool check it

HI Friends,

I am modifying one of the module program, where I have internal table with 3 fields and now as per requirement I added fourth field. At output it is showing data for all four fields but in header it is showing 3 fields only.

I tried to find out where this header is coming, so that I can change there and add fourth column, but there is no syntax like top-of-page, or any write statement in program.

Any idea how to find where this header data is coming.

Thanks

Priyank

9 REPLIES 9
Read only

Former Member
0 Likes
1,299

i think they used control check in module pool

Read only

Former Member
0 Likes
1,300

i think they used in table control in module pool check it

Read only

0 Likes
1,299

No,

In layout there is no any table control, only one field material is there ,and based on material previously we are showing material group,description. Now I added plant in output.

So here I added plant in internal table for displaying data. But To add in header I couldn't find anything.

I checked that in program we are using LIST-PROCESSING.

But not defined TOP-OF-PAGE any-where.

Is there anything like, if we have not defined in module program then somewhere else we defined TOP-OF-PAGE.

No Clue ???

Thanks for reply.

PP

Read only

0 Likes
1,299

Hi Guys,

Any Idea, May be if you have faced this type of problem,

I have module pool program, and there is no code for top-of-page in my module pool, and all PBO,PAI modules. But still it is getting header when first LIST statement is executed, like in my case is SKIP.

Here is my code if it helps to you finding a problem solution.

MODULE PROGRAM ZABC.

INCLUDE ZINC1. " global Data

INCLUDE ZINC2. " modules

INCLUDE ZINC3. " forms

*in one of the routine I am retrieving data and displaying as list output.

FORm DISPLAY_OUTPUT.

LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 10.

PERFORM DISPLAY-LIST_PROCESS.

ENDFORM.

FORM DISPLAY-LIST_PROCESS.

SET PF-STATUS 'LIST'.

SET TITLEBAR 'LIST' WITH HEADER_DATE HEADER_TIME.

NEW-PAGE LINE-SIZE 80.

LOOP AT IDATA.

SKIP. " When this syntax is executing it has header with material,batch . I added plant as new req. but * how to add in header that is my question,I coudlnt find any top-of-page in this program.

AT NEW IDATA-MATNR.

WRITE: 5(24) IDATA-MATNR.

ENDAT.

WRITE: 32(4) IDATA-WERKS.

WRITE: 39(5) ICROSS-BATCH.

ENDLOOP.

ENDFORM.

So in module program where we are defining header syntax.

It looks simple but I tried all ways like searching text TOP-of-PAGE in main program, also used RS_ABAP_SCAN_PROGRAM to scan TOP-OF-pAGE in relevant Z program but no-luck.

Any Idea where I can find TOP-OF-PAGE syntax.

Pls. Help me.

Thanks

PP

Read only

0 Likes
1,299

No Response yet, ABAPER's, pls. help me.

Love ABAPING.

PP

Read only

0 Likes
1,299

some times, header will get from by using a Z func module(in my past cleint), or like, PERFORM XXXX(any stabdard SAP prog or Z prog YYYY) USING ........CHAING.

or.....use SEARCH globally for WRITE or TOP-OF-PAGE key words. thanq

Read only

0 Likes
1,299

What happens (where does the program go) at the first SKIP. You can put a break-point there to find out.

Never mind - In SE80, in the include that has this code, follow this menu path:

Goto -> Text Elements -> List Headings

You can change it there

Rob

Edited by: Rob Burbank on Jan 23, 2009 5:18 PM

Read only

0 Likes
1,299

Problem solved...

Thanks Rob....

Read only

Former Member
0 Likes
1,299

Anybody have any idea why it is behaving like this....

Thanks

PP