Application Development 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: 

Leave to list processing displays standard page header

Former Member
0 Kudos

I am trying to display data using the leave to list-processing command. The data displays in a modal dialog screen as required, but displayed at the top of the screen is the user name, date and page number. I cannot stop this from displaying. Does anyone know how to do this?

4 REPLIES 4

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

In the main program, in the program statement, add the extension NO STANDARD PAGE HEADING.

program  sapmzmmphyinv
<b>         no standard page heading</b>
         line-size 132
         line-count 65
         message-id zmm.

Regards,

Rich Heilman

0 Kudos

Thanks for that Rich, but I already do that.

The initial report is ALV. When a line is selected, this calls a screen sequence. When an action is carried out within the screen program a report is output as follows:

LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.

SET PF-STATUS '6000'.

SET TITLEBAR '6000'.

SUPPRESS DIALOG.

LOOP AT it_bdc_log.

WRITE: / it_bdc_log-text.

ENDLOOP.

The text outputs ok, but the header displays and I can't prevent it.

Former Member
0 Kudos

Hi,

use no standard page heading in report statement

it overides the standard headind.

report ztest no standard page heading.

Regards

Amole

Former Member
0 Kudos

Hi Kevin,

Hope you are calling a custom modal dialog screen from your report and then coming back to the report program using Leave to list processing.

In that case for the modal screen set the titlebar option inside the PBO of the modal screen.

SET TITLEBAR 'JK'.

Cheers

JK

PS: Award points if this helps you