cancel
Showing results for 
Search instead for 
Did you mean: 

Query Regarding Position Of Secondary Window After Main Window

Former Member
0 Kudos

Dear Friends,

I have query regarding position of secondary window that depends on contents on table in main window

Problem can be summarized as follow.

See i have main window in which i am displaying contents of internal table ( item level details) containing include text as well .

1. now my problem is i have to display contents( signature and date) of secondary window at the end of second page ( which is the fixed position for secondary window ) ,if records of internal table end at first page itself .

2.But if records fit in first page itself ,with space there for secondary window right below it,then display secondary window contents at end of that page.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

keep that secondary window in each page both FIRST and NEXT

But keep a condition to print the contents of that window such that it prints in the last page itself

/: IF &PAGE& EQ &SAPSCRIPT-FORMPAGES&

......PRINT ALL THE SECONDARY WINDOW DETAILS...

/: ENDIF.

so if the line items end in one page it will be printed in first page itself

means the data is always correctly printed.

write this and see.

it will work

<b>Reward points for useful Answers</b>

Regards

Anji

Answers (0)