Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

need help

Former Member
0 Kudos

Hi All,

I have 12 to 13 form need to be created but every form has the same format only header is diffrent. Now I have to develop a report to calll all that form. Based on that whenever I will call a any particular form it should get fetch with their respective header. How I will do that.

Thanks & regards......

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hai,

Use the START_FORM and END_FORM like below:

START_FORM.

OPEN_FORM.

*" Pass Form1

WRITE_FORM.

CLOSE_FORM.

OPEN_FORM.

*" Pass Form2

WRITE_FORM.

CLOSE_FORM.

.

.

.

upto no.of forms

END_FORM

Hope this heps you.

Regds,

Chary.

2 REPLIES 2

former_member223537
Active Contributor
0 Kudos

Hi,

Depending on the criteria of which Form is to be called write a Case statement.

Case r_form.

when '1'.

select * from ZTABLE1 into i_header.

  • CALL THE FORM & pass the necessary data

WHEN '2'.

SELECT * FROM ZTABLE2 into i_header.

  • CAll The form & pass the necessary data

....

ENDCASE.

Best regards,

Prashant

Former Member
0 Kudos

Hai,

Use the START_FORM and END_FORM like below:

START_FORM.

OPEN_FORM.

*" Pass Form1

WRITE_FORM.

CLOSE_FORM.

OPEN_FORM.

*" Pass Form2

WRITE_FORM.

CLOSE_FORM.

.

.

.

upto no.of forms

END_FORM

Hope this heps you.

Regds,

Chary.