cancel
Showing results for 
Search instead for 
Did you mean: 

Main window not getting printed in next page

Former Member
0 Kudos

Hi Friends,

I have passed the select-options to the form, where i wnt to display info for every input value in a new page.

I ve recursively called same page using command type. For first value all window gets printed. For second value except main window, all other windows gets printed and am not gettting preceding pages. What should i do to print the main window in second and preceding pages.

Thanks in advance.

Regards

Prabhu

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thank u friends

Former Member
0 Kudos

for every new value u need call start_form..........

write at new 'value' [field]

call function start form.

populate u r window name and page.....

it will work.

reward points if helpful

Former Member
0 Kudos

Main window will print only once.

Only if it could not print on the first page it will spill over to the next page.

Even if it is defined in the next page. It is the same Main Window

Try putting the Main Logic in a loop. and then call the command node

Former Member
0 Kudos

Hi Fonseca,

So u r saying that main window cant be executed twice?

But am in a situation to print info of the range of invoice numbers in seperate pages, how can I do it.

Regards,

Prabhu

Former Member
0 Kudos

Inside your main window loop at the itab which has the 2 invoice data.

When uve finsihed processing for the first issuue a command to go to next page

using command node. all this inside the loop.

so that the main window processing does not end.

Former Member
0 Kudos

Hi Fonseca,

I couldnt pass variable from one window to another. Isn't it possible?

Regards

Prabhu

john_fitzgerald
Participant
0 Kudos

You dont need to pass it.

if its declared in global variables.

Its vaue will remain thorught the form

Former Member
0 Kudos

There is no need to actually pass it.

A global variable has its value visible for the whole form

What r u excactly trying to do?.

If youre trying to pass a variable from a local code snippet it wont work

If it is global then u still have to declare it in the local code snippet interface params

Former Member
0 Kudos

Hi,

For the Seocond page you need to call the WRITE_FROM function module in the Driver rpgoram to print the values

Regards

Sudheer