cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple start_form

Former Member
0 Kudos

Hi friends,

Can we use multiple Start forms in side the script? if so what could be the scenario?

Regards,

Sathish Kumar.N

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi sathish,

multiple start_form is possible.

open_form

start_form----


>form1

write_form

end_form

start_form----


>form 2

write_form

end_form

............

............

...........

close_form.

Multiple start_form are used for printing multiple forms

for each form we need mention start_form,write_form,end_form

within the open_form and close_form.

Regards,

Sravanthi

Former Member
0 Kudos

Hi Sravanthi,

I have the following code as per your suggestion above,

I need to print the below mentioned two form thru the two transactions without having to open a form second time.

But the result of the below code is that only first form gets printed the second does not.

What could have been wrong?please comment.

SET PARAMETER ID 'VKO' FIELD IN_VKORG.

SET PARAMETER ID 'VF' FIELD IN_NO.

CALL TRANSACTION 'ZU73_71_A' AND SKIP FIRST SCREEN.

PERFORM OPEN_FORM.

PERFORM START_FORM.

PERFORM PRINT_FORM.

PERFORM END_FORM.

  • Print Packing List

SET PARAMETER ID 'VKO' FIELD IN_VKORG.

SET PARAMETER ID 'VF' FIELD IN_NO.

CALL TRANSACTION 'ZU158_71_A' AND SKIP FIRST SCREEN.

PERFORM START_FORM_158.

PERFORM PRINT_FORM_158.

PERFORM END_FORM_158.

PERFORM CLOSE_FORM.

Thanks,

Swati

Former Member
0 Kudos

Hi,

Yes you can use multiple Start_forms in the print program of the Script between open_form and close_form.

This is used when you want ot use different forms. You can combine differnt forms through single print program.

Former Member
0 Kudos

Sathish,

You can use multiple start_forms in script. If you want to print multiple page formats or multiple scripts in one spool request you wil use this multiple start_forms concept.

Hope this helps you.

Regards,

Partha

former_member182354
Contributor
0 Kudos

Hi,

Multiple format supporting ...

Raghav