Hi to all abap guru's my querry is as follows How to trigger
the page break in smartforms forcibly ? and how to trigger
the page break in the scripts forcibly ? means for every 10
records i have to trigger the page break ? and in smart form
also ?
thanks in advance

Answer Posted / prabha

in SMARTFORMS.

as of me we have to use 'command' from
create------->flowlogic---------->command.

but dont write command node in main window

by using this u can do page break.


in SAPSCRIPTS u have to use FM 'contorl_form'

CALL FUNCTION 'CONTROL_FORM'
EXPORTING
command = new-page
* EXCEPTIONS
* UNOPENED = 1
* UNSTARTED = 2
* OTHERS = 3
.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write a bdc – how do you go about it?

661


Explain the table, which contain the details of all the name of the programs and forms?

526


What is interactive reporting?

618


Explain the Inportance of pa40? : abap hr

578


What is Transactional based Application & Role based Application?

1053






can anyone please tell me, in orient paper mill project which fields exits for creating report.

1277


What are the different methods of passing data?

599


Why do we use FOR ALL ENTRIES and what is the pre-requisite

924


What are the kinds of foreign key fields?

535


Can we use write statements in screen fields?if not how is data transferred from field data to screen fields?

555


Hi guy.. i have to face an interview in a couple of day.. so can you please give me some good and tough question on abap.

1597


if while coding power goes off , how to retrieve the codes?

1626


What are the different software packets available in the market? : sap abap hr

574


What is value table? : abap data dictionary

643


Write an abap program for creation of customer enquiry using BAPI 'BAPI_INQUIRY_CREATEFROMDATA'.

1774