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: 

Command similar to protect..endprotect in abap

Former Member
0 Kudos

Hi All

Is there any command similar to protect endprotect in abap list output so that salutation doesn't fragment over next page.

or any other logic that one can use for same?

For e.g.,

THANKING YOU

FOR XYZ COMPANY LTD,

AUTHORIZED SIGNATORY.

Regards

Babita

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Babita,

Try this syntax: RESERVE.

Cheers,

Patrick

4 REPLIES 4

Former Member

Former Member
0 Kudos

hi babita , try to use Reserve Key word for tht .

Here is the standard help on tht -

Basic form

RESERVE n LINES.

Effect

If there is not enough space left on the current page for at least n lines, this statement starts a new page. n can be a constant (1,2,3,...) or a variable.

Notes

Before starting a new page, the END-OF-PAGE processing is executed. This differs from NEW-PAGE.

If the RESERVE statement does not trigger a new page, output is continued on the current page.

Use BACK to return to the first line output after RESERVE.

Note

Performance:

The runtime required to execute a RESERVE statement is approx. 1 msn (standardized microseconds).

hope this will help.

amit

Former Member
0 Kudos

Hi Babita,

Try this syntax: RESERVE.

Cheers,

Patrick

0 Kudos

Thanks for the help..problem solved..