cancel
Showing results for 
Search instead for 
Did you mean: 

forms

Former Member
0 Kudos

hi guru's,

In my form i have header window, main window and instruction window.

Main window contains item data and instrction window have some

instructions. I want instruction window to be print every time just 1

inch below the main window.

If main window is having 5 items, instruction window should start 1

inch below from 5th line item and if main window contains 15 items

instr. window should start 1 inch below from 15th item.

can we use Variable window concept in this regard. If so, how should

i implement that and if not what will be the solution.

rgds

surendraa

Accepted Solutions (1)

Accepted Solutions (1)

former_member196280
Active Contributor
0 Kudos

Why do you want to have instruction window you can print the instructions in main window itself.

Inside main window, place on counter and restrict to 20 line items,(counter = counter + 1)

IF counter EQ 20 AND &PAGE& NE &SAPSCRIPT-FORMPAGES& " <b>here if total line items are 20 per page then after 20 line items your instructions will be printed</b>*** print instruction lines.

ENDIF.

IF &PAGE& EQ &SAPSCRIPT-FORMPAGES& " <b>if your total line items are 5 just after that your instructions will be printed.</b>*** print instruction lines.

ENDIF.

Reward points to all useful answers.

Regards,

SaiRam

Answers (0)