cancel
Showing results for 
Search instead for 
Did you mean: 

page break in smart form

Former Member
0 Kudos

hi friends,

i want to display different purchase requisition on different page number .

so how can i break up page in main wiondow?

Example:P.R no 1 and its material(page no1 in smart form)

P.R no 2 and its material.(page no 2 in smartform)

How can i get this type output?

thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI.

Try this way..give a command node in main window and in that give condition like new-page when pr.no changes.

Former Member
0 Kudos

hi

i take command node but in that where i write condition?

and what i do exactly?plz give me code.

plz reply me urgent.

thanks.

Former Member
0 Kudos

Hi Prashanth,

No need to write any condition(as this event will be trigerred whenever the perchase req changes), just click on the go to new page checkbox and give the same page name..

Regards,

Vidya.

Former Member
0 Kudos

HI

i done all this things but it generates error in (table DATA tabs).

the error is

"the data object itabdoes not have component like itab-ebeln".

this error is generate after selecting sorting option in DATA tab.

reply me.

Former Member
0 Kudos

Hi Prashanth,

give field name only 'EBELN' and not itab-ebeln.

Regards,

Vidya.

Former Member
0 Kudos

hi vidya

first thanks for help but i take 'EBELN' only.

so after that when i run my program it generated DUM.

in that error like

"The data object "%SE1-ACT" does not have a component called "EBELN".

This type of error generates in error analysis.

so plz reply me.

Former Member
0 Kudos

Hi prashant,

since u want a page break u will have to use a command node inside the loop...

u will have to set flag when the PR is changing and in commad node condition u will have to put this flag = 'X'....

hope this will work...but it is necessary to put the command node inside loop command...

please reward points in case usefull....

regards,

prashant

Former Member
0 Kudos

hi

plz give me coding for flag.bcoz i don't knw how to use flag?

where i wil use flag in my program?

plz write me code and condition for that.

thakns in advance.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Prashanth,

In the table node , go to the data tab..in the sort criteria give the field name purchase requisition (BANFN) ... and select event on sort end...then a node appears under the main area.. use the command node here to go to the next page.

Regards,

Vidya.